/* =========================
   GLOBAL RESET
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Prevent layout overflow */
}

/* =========================
   BODY BACKGROUND
   ========================= */
body {
  min-height: 100vh;

  /* White overlay for better readability */
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.35)
    ),
    url("../images/bg.jpeg");

  background-size: cover;        /* Fill screen */
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Desktop parallax */
}

/* Fix background-attachment issue on mobile */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}

/* =====================================================
   NAVBAR WRAPPER
   ===================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;                 /* Keep navbar above all content */

  background: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
}

/* =====================================================
   NAVBAR INNER CONTAINER
   ===================================================== */
.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 12px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;           /* 🔥 Needed for absolute dropdown */
}

/* =====================================================
   LOGO
   ===================================================== */
.logo img {
  height: 66px;
  max-width: 100%;
}

/* =====================================================
   NAV LINKS (DESKTOP DEFAULT)
   ===================================================== */
.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}

/* Nav links */
.nav-links a {
  text-decoration: none;
  color: #e0e0e0;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #5b7b55;
}

/* Active page */
.nav-links a.active {
  color: #5b7b55;
  font-weight: 600;
}

/* =====================================================
   CTA BUTTON
   ===================================================== */
.btn {
  background: #5b7b55;
  color: #ffffff;
  padding: 9px 22px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

/* =====================================================
   HAMBURGER ICON (HIDDEN ON DESKTOP)
   ===================================================== */
.hamburger {
  display: none;                /* Hidden on desktop */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;                /* Above dropdown */
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #5b7b55;
  border-radius: 3px;
}

/* =====================================================
   TABLET & MOBILE NAV
   ===================================================== */
@media (max-width: 992px) {

  /* Show hamburger icon */
  .hamburger {
    display: flex;
  }

  /* Dropdown navigation */
  .nav-links {
    position: absolute;
    top: 100%;                  /* Directly below navbar */
    left: 0;
    width: 100%;

    background: #1a1a1a;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    padding: 24px 0;

    display: none;              /* Hidden by default */
    z-index: 1050;              /* Above page sections */
  }

  /* Show menu when JS adds `.active` */
  .nav-links.active {
    display: flex;
  }

  /* Larger tap targets */
  .nav-links a {
    font-size: 17px;
  }
}

/* =====================================================
   SMALL MOBILE SCREENS
   ===================================================== */
@media (max-width: 480px) {

  .nav-container {
    padding: 12px 16px;
  }

  .logo img {
    height: 56px;
  }

  .btn {
    padding: 8px 18px;
    font-size: 13px;
  }
}


/* =====================================================
   ABOUT HERO SECTION
   ===================================================== */
.about-hero {
  text-align: center;
  padding: 70px 20px 30px;
}

.about-hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.about-hero p {
  max-width: 760px;
  margin: auto;
  font-size: 17px;
  color: #1a1a1a;
  line-height: 1.6;
}

/* =====================================================
   ABOUT CONTENT SECTION
   ===================================================== */
.about-section {
  padding: 40px 20px 50px;
}

.about-grid {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* Text | Image */
  gap: 40px;
  align-items: center;
}

/* Text content */
.about-text p {
  font-size: 17px;
  margin-bottom: 18px;
  color: #1a1a1a;
  line-height: 1.7;
}

.about-text h3 {
  margin: 22px 0 10px;
  font-size: 22px;
  color: #1a1a1a;
}

.about-text ul {
  padding-left: 20px;
}

.about-text li {
  margin-bottom: 8px;
  font-size: 16px;
  color: #1a1a1a;
}

/* =====================================================
   ABOUT IMAGE
   ===================================================== */
.about-image img {
  width: 100%;
  max-height: 420px;

  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;

  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

/* =====================================================
   VISION SECTION
   ===================================================== */
.vision {
  text-align: center;
  padding: 50px 20px 40px;
}

.vision h2 {
  font-size: 32px;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.vision p {
  max-width: 820px;
  margin: auto;
  font-size: 17px;
  color: #1a1a1a;
  line-height: 1.6;
}

/* =====================================================
   GALLERY SECTION
   ===================================================== */
.gallery-section {
  padding: 30px 20px;
}

.gallery {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery img {
  width: 100%;
  height: 260px;

  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;

  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta {
  max-width: 900px;
  margin: 50px auto 60px;

  background: #1e1e1e;
  padding: 40px;
  border-radius: 22px;
  text-align: center;
}

.cta h2 {
  font-size: 28px;
  margin-bottom: 12px;
  color: #ffffff;
}

.cta p {
  font-size: 16px;
  margin-bottom: 22px;
  color: #bdbdbd;
  line-height: 1.6;
}

/* =====================================================
   RESPONSIVE BREAKPOINTS
   ===================================================== */

/* -------- TABLET -------- */
@media (max-width: 992px) {

  .about-grid {
    grid-template-columns: 1fr; /* Stack content */
    gap: 32px;
  }

  .about-hero h1 {
    font-size: 36px;
  }

  .vision h2 {
    font-size: 28px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -------- MOBILE -------- */
@media (max-width: 600px) {

  .about-hero {
    padding: 50px 16px 24px;
  }

  .about-hero h1 {
    font-size: 30px;
  }

  .about-hero p,
  .about-text p,
  .vision p {
    font-size: 15px;
  }

  .about-text h3 {
    font-size: 20px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: 220px;
  }

  .cta {
    padding: 30px 20px;
  }

  .cta h2 {
    font-size: 24px;
  }
}

/* =====================================================
   SIMPLE FOOTER (MINIMAL BAR)
   ===================================================== */
.footer {
  text-align: center;
  padding: 18px;
  font-size: 14px;
  color: #9e9e9e;
  border-top: 1px solid #2a2a2a;
}

/* =====================================================
   PRIMARY BUTTON (GLOBAL)
   ===================================================== */
.btn-primary {
  background: #5b7b55;                 /* Green accent */
  color: #ffffff;
  padding: 10px 26px;
  border-radius: 26px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;

  display: inline-block;
  transition: background 0.3s ease, transform 0.2s ease;
}

/* Hover state */
.btn-primary:hover {
  background: #6f9468;
  transform: translateY(-1px);
}

/* Active / click */
.btn-primary:active {
  transform: translateY(0);
}

/* Disabled state */
.btn-primary:disabled,
.btn-primary.disabled {
  background: #3a3a3a;
  color: #9e9e9e;
  cursor: not-allowed;
}

/* =====================================================
   FULL SITE FOOTER
   ===================================================== */
.site-footer {
  background: #0b0b0b;
  color: #ccc;
  padding: 80px 0 0;
}

/* Footer grid container */
.footer-container {
  max-width: 1300px;
  margin: auto;
  padding: 0 40px;

  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr; /* Brand | Links | Contact */
  gap: 80px;
}

/* -----------------------------------------------------
   FOOTER BRAND
   ----------------------------------------------------- */
.footer-brand img {
  width: 180px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #aaa;
}

/* -----------------------------------------------------
   FOOTER LINKS & CONTACT
   ----------------------------------------------------- */
.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #5b7b55;
}

/* Contact text */
.footer-contact p {
  font-size: 14px;
  margin-bottom: 12px;
}

/* -----------------------------------------------------
   SOCIAL ICONS
   ----------------------------------------------------- */
.social-icons {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;

  background: #5b7b55;
  color: #000;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: bold;
  text-decoration: none;
}

/* -----------------------------------------------------
   FOOTER CTA BUTTON
   ----------------------------------------------------- */
.footer-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;

  background: #5b7b55;
  color: #000;
  font-weight: 600;

  border-radius: 30px;
  text-decoration: none;
}

/* -----------------------------------------------------
   FOOTER BOTTOM BAR
   ----------------------------------------------------- */
.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 60px;
  padding: 20px 40px;

  text-align: center;
  font-size: 13px;
  color: #777;
}

/* =====================================================
   MOBILE & TABLET RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {

  /* Footer grid stacks */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  /* Center social icons */
  .social-icons {
    justify-content: center;
  }

  /* Reduce bottom padding */
  .footer-bottom {
    padding: 20px;
  }

  /* About section stacks */
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Gallery becomes single column */
  .gallery {
    grid-template-columns: 1fr;
  }

  /* Mobile navigation dropdown */
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;

    background: #1e1e1e;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    padding: 20px 0;
    display: none;
    border-bottom: 1px solid #2a2a2a;
  }

  .nav-links.active {
    display: flex;
  }

  /* Show hamburger */
  .hamburger {
    display: flex;
  }
}
