  :root {
    --green: #4f7f52;
    --light-green: #e8f3ea;
    --white: #ffffff;
    --dark: #2e2e2e;
    --font-heading: 'Lobster Two', cursive;
  }

  html {
    scroll-behavior: smooth;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background: var(--white);
  }

  /* HEADER */
  .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 6%;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--green);
  }

/* HEADER NAVIGATION */
.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 1rem;
  display: inline-block; /* Required for the 'transform' animation to work */
  
  /* This defines WHICH properties animate and how long it takes */
  transition: color 0.3s ease, transform 0.1s ease-out;
}

/* HOVER: When the mouse is over the link */
.nav-links a:hover {
  color: var(--green);
}

/* ACTIVE: The "Click" animation */
.nav-links a:active {
  transform: scale(0.92); /* Makes the link shrink slightly when clicked */
  color: #3e6341;         /* Darkens the green slightly for feedback */
}

/* STICKY INDICATOR: For the current page link */
.nav-links a.active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}

.hamburger:active {
  transform: scale(0.9); /* Shrinks the entire icon when tapped */
  transition: transform 0.1s ease;
}

  .hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--green);
    margin: 4px 0;
  }

  /* HERO */
  .hero {
    background: url('assets/hero-bg.png') center/cover no-repeat;
    padding: 80px 6%;
  }

  .hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .section h2 {
    font-family: var(--font-heading);
    font-size:4.2rem;
    color: var(--green);
    margin-bottom: 5px;
  }

  .footer-top h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--green);
  }

  .hero-text {
    flex: 1;
    text-align: left; /* Aligns text and button to the left like the image */
  }

  .hero-text h1 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 5rem;
    color: var(--light-green); /* Using the light green from your vars */
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4), 
               0px 0px 15px rgba(0, 0, 0, 0.2);

  }

  .hero-text p {
    font-size: 20px;
    color: #134816;
    font-family: 'Poppins', sans-serif;
    max-width: 500px; /* Prevents the text from stretching too wide */
  }

  .hero-image img {
    max-width: 350px;
    width: 100%; /* Ensures it scales down on small screens */
    border-radius: 12px;
    display: block; /* Need4ed for margin auto to work */
    
    /* Desktop Margin */
    margin-right: 40px;
  }

  /* SECTIONS */
  .section {
    padding: 80px 6%;
    text-align: center;
  }

  .section-sub {
    margin-bottom: 30px;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.1rem;
  }

  .card {
    max-width: 700px;
    margin: auto;
    padding: 30px;
    background: var(--light-green);
    border-radius: 16px;
  }

  .card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #134816;
    margin-top: 20px;
    margin-bottom: 40px;
    font-family: 'Poppins', sans-serif;
  }
  /* BOOK */
  .book-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .book-cover img {
    max-width: 580px;
  }

  /* GALLERY */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
  }

  .gallery-grid img {
    width: 100%;
    border-radius: 12px;
  }

  /* CONTACT */
  .contact-form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
  }

  /* BUTTONS */
  .btn {
  display: inline-block; /* Allows vertical margins to work */
  margin-top: 30px;      /* Adds the space from the text above */
  background: var(--green);
  color: var(--white);
  padding: 12px 28px;    /* Improved padding for a better button shape */
  border-radius: 30px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease; /* Smooth hover effect */
}

.btn:hover {
  background: #3e6341; /* Slightly darker green on hover */
}
  .btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--green);
    color: var(--green);
    border-radius: 30px;
    text-decoration: none;
  }

  /* FOOTER */
  .footer {
    background: var(--light-green);
    padding: 40px 6% 20px;
  }

  .footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .footer-links a {
    display: block;
    text-decoration: none;
    color: var(--dark);
  }

  .footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
  }

  /* MOBILE */
  @media (max-width: 768px) {
    .nav-links {
      display: none;
    }

    .hero-text h1 {
      font-size: 2.8rem;
      line-height: 1.2;
    }

    .hamburger {
      display: block;
    }

    .hero-image img {
      /* Reset margin and center the image on mobile */
      margin-left: auto;
      margin-right: auto;
      margin-top: 20px; /* Adds a little space between text and image */
    }

    .hero-content,
    .book-grid {
      flex-direction: column;
      grid-template-columns: 1fr;
    }
  }

  /* BOOK SECTION STYLING */
.book-info {
  text-align: left; /* Ensures text is left-aligned like the reference image */
}

.book-info h3 {
  font-family: 'Poppins', sans-serif; /* Modern bold font for the sub-title */
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 25px;
}

.book-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 10px;
}

.book-meta {
  font-weight: 500;
  color: var(--green) !important; /* Makes the category stand out */
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 5px;
}

/* Ensure the button in this section doesn't have too much top margin */
.book-info .btn {
  margin-top: 20px;
}

/* MOBILE FIX: Center text on small screens */
@media (max-width: 768px) {
  .book-info {
    text-align: center;
    padding: 0 10px;
  }
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--green);
  margin: 4px 0;
  transition: all 0.3s ease-in-out; /* Smooth movement */
}

.hamburger:active span {
  background: #3e6341;
}