/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

/* ----------------------
   Header / Navigation
----------------------- */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
  border-bottom: 1px solid #ddd;
  padding: 1rem 2rem;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.nav-logo {
  font-weight: bold;
  font-size: 1.25rem;
  color: #333;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #0070f3;
}

.nav-cta {
  padding: 0.5rem 1.5rem;
  background-color: #FE724C;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.nav-cta:hover {
  background-color: #e6603e;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  width: 30px;
  height: 21px;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: #333;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-label span::before {
  top: -8px;
}

.nav-toggle-label span::after {
  bottom: -8px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-toggle-label {
    display: flex;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    display: none;
    margin-top: 1rem;
  }

  /* Show menu when toggle is checked */
  .nav-toggle:checked + .nav-toggle-label + .nav-logo + .nav-links {
    display: flex;
  }

  .nav-cta {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
  }
}

/* ----------------------
   Banner
----------------------- */
.banner {
  background-color: #FE724C;
  background-size: cover;        /* Ensures it fills the width */
  background-position: center;   /* Centers the middle of the image */
  background-repeat: no-repeat;  /* Prevents tiling */

  color: white;
  text-align: center;
  padding: 8rem 2rem;            /* Creates the tall hero effect */
}


.banner-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  background-color: white; /* contrast with banner */
  color: #FE724C;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
  background-color: #fce2da;
  color: #FE724C;
}

/* ----------------------
   Feature Sections
----------------------- */
.feature-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 6rem 2rem;
  gap: 2rem;
}

.feature-section.reverse {
  flex-direction: row-reverse;
}

.feature-image img {
  max-width: 500px;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.feature-text {
  flex: 1;
}

.feature-section h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

/* Alternating section background colors (optional) */
.feature-section:nth-child(even) {
  background-color: #f9f9f9;
}

/* ----------------------
   Footer
----------------------- */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #f5f5f5;
  margin-top: 2rem;
}

/* ----------------------
   Main container
----------------------- */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ----------------------
   Responsive
----------------------- */
@media (max-width: 768px) {
  .feature-section,
  .feature-section.reverse {
    flex-direction: column;
    padding: 4rem 1rem;
  }

  .feature-image img {
    max-width: 100%;
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-cta {
    align-self: flex-end;
  }
}
