/* --- RVTroubleshoot: Refined Warm Layout --- */
body {
  font-family: 'Poppins', sans-serif;
  color: #2b2b2b;
  background-color: #fefcf8;
  margin: 0;
  line-height: 1.6;
}

/* --- Navbar --- */
.navbar {
  background: #2d2a26;
  border-bottom: 2px solid #f2e6d9;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
  color: #e67e22;
  letter-spacing: 0.5px;
}

.menu-toggle {
  background: none;
  border: none;
  color: #f8f5f1; /* visible on dark navbar */
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
}

/* --- Desktop Nav --- */
.nav-links ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #f8f5f1;
  transition: color 0.3s, border-color 0.3s;
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}

.nav-links a:hover {
  color: #e67e22;
  border-color: #e67e22;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(180deg, #fff1dc 0%, #fffaf2 100%);
  text-align: center;
  padding: 4rem 1rem 2.5rem;
}

.hero-content {
  max-width: 650px;
  margin: auto;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.hero p {
  font-size: 1.05rem;
  color: #3d3d3d;
  margin-bottom: 1.5rem;
}

.hero-buttons a {
  display: inline-block;
  margin: 0.25rem 0.3rem;
  padding: 0.75rem 1.4rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.9rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  margin: 0.4rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #e67e22;
  color: #fff;
}

.btn-primary:hover {
  background: #cf711f;
}

.btn-secondary {
  border: 2px solid #e67e22;
  color: #e67e22;
  background: transparent;
}

.btn-secondary:hover {
  background: #e67e22;
  color: #fff;
}

/* --- Section Titles --- */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: #2b2b2b;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #e67e22;
  border-radius: 2px;
}

/* --- Highlights --- */
.highlights {
  background: #fffaf2;
  padding: 2.5rem 1rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.2rem;
  text-align: center;
}

.highlight-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.highlight-card h3 {
  color: #e67e22;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

/* --- About --- */
.about {
  padding: 3rem 1rem;
  background: #fefcf8;
  text-align: center;
}

.about h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.about p {
  max-width: 680px;
  margin: auto;
  font-size: 1rem;
  line-height: 1.6;
}

/* --- Footer --- */
footer {
  background: #2d2a26;
  color: #f8f5f1;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

footer a {
  color: #e67e22;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* --- Mobile Nav & Layout --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: #fffaf2;
    border-top: 2px solid #f2e6d9;
    display: none;
    z-index: 999;
  }

  .nav-links.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
  }

  .nav-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 1rem 0;
    gap: 0.75rem;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 0;
    color: #3b2e1b;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
  }

  .nav-links a:hover {
    color: #e67e22;
  }

  .hero {
    padding: 3rem 1rem 2rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    padding: 1.25rem;
  }

  .about {
    padding: 2.5rem 1rem;
  }
}

@media (min-width: 769px) {
  .highlight-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Animations --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
