/* =========================
   Color Palette (Logo Based)
   ========================= */

:root {
  --green-dark: #2f4f2f;
  --green-main: #4f6f3a;
  --green-soft: #8fa36b;
  --beige: #ead2b8;
  --cream: #faf8f4;
  --dark: #1e1e1e;
}

/* =========================
   Reset
   ========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   Base
   ========================= */

html, body {
  height: 100%;
}


body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: #333;
  line-height: 1.6;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1; /* pushes footer to bottom */
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--green-dark);
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   Layout
   ========================= */

.container {
  width: 90%;
  margin: auto;
}

.site-content {
  flex: 1;
}


/* =========================
   Top Call Bar
   ========================= */

.top-bar {
  background: var(--green-dark);
  color: #fff;
  font-size: 14px;
  padding: 4px 0;
  text-align: left;
}

.top-bar .container {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center;     /* Optional: center vertically */
}

/* =========================
   Header
   ========================= */

.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-flex {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo img {
  height: 110px;
  width: 110px;
}

.nav {
  justify-self: center;
}

.nav a {
  margin-left: 22px;
  text-decoration: none;
  color: var(--green-dark);
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}

.nav a:hover {
  color: var(--green-main);
}

/* =========================
   HERO (VIDEO)
   ========================= */

.hero {
  position: relative;
  height: 80vh;
  min-height: 700px;
  overflow: hidden;
}

/* Video background */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

/* Overlay tint */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(47, 79, 47, 0.45);
  z-index: 2;
}

/* Hero text */
.hero-overlay {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #fff;
}

.hero-overlay p {
  font-size: 1.1rem;
}


/* Feature Head text */
.feature-head {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding-top: 60px;
}

.feature-head h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #fff;
}

.feature-head p {
  font-size: 1.1rem;
}

.about-content h1,
.contact-content h1 {
    font-size: 2.5rem;
    color: var(--green-dark);
    margin-bottom: 20px;
    text-align: center;
}

.about-content p,
.contact-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.contact-form {
    max-width: 600px;       /* limits width */
    margin: 40px auto;      /* centers horizontally with spacing top/bottom */
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form .form-group {
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border-radius: 8px;
}

.contact-form .btn {
    width: 100%;
    font-size: 16px;
    padding: 15px 0;
    border-radius: 12px;
    background: var(--green-main);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form .btn:hover {
    background: var(--green-dark);
}


/* =========================
   Buttons
   ========================= */

.btn {
  margin-top: 25px;
  padding: 12px 34px;
  color: var(--green-main);
  background: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn:hover {
  color: var(--green-dark);
  background: #fff;
}

.orderbtn {
  margin-top: 25px;
  color: var(--green-main);
  background: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: background 0.3s ease;
}

.orderbtn:hover {
  color: var(--green-dark);
  background: #fff;
}

/* =========================
   Features
   ========================= */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 70px auto;
}

.feature-box {
    display: flex;
    flex-direction: column; /* stack image, heading, and text */
    align-items: center;    /* center horizontally */
    text-align: center;     /* also center text */
    background: var(--green-main);
    color: #fff;
    padding: 35px 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.feature-box h3 {
  color: #fff;
  margin-bottom: 10px;
}

/* =========================
   Products
   ========================= */

.products {
  margin-bottom: 80px;
}

.products h2 {
  text-align: center;
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.product-card h4 {
  padding: 18px;
}

/* =========================
   Footer
   ========================= */

.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-logo {
  height: 45px;
  margin-bottom: 12px;
}

.site-footer p {
  color: #ccc;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 12px;
}

.site-footer a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin: 6px 0;
  font-size: 14px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: #aaa;
}

        .gallery-container {
            display: flex;
            gap: 10px;
            
            /* --- ADJUSTMENTS --- */
            padding: 0 95.25px; /* 0 top/bottom, 20px left/right padding */
            box-sizing: border-box; /* Includes padding in the element's total width */
            margin-bottom: 40px; /* Adds space below the gallery container */
        }

        /* 
         The container for the four smaller images.
         We give it a specific width to control the layout proportions.
        */
        .small-images-grid {
            display: grid;
            grid-template-columns: 1fr 1fr; /* 2 equal columns */
            grid-template-rows: 1fr 1fr;    /* 2 equal rows */
            gap: 10px;
            width: 55%; /* The grid takes up half the container's width */
        }

        /* The container for the single large image */
        .large-image-container {
            flex-grow: 1; /* This container takes up the remaining horizontal space */
        }

        /* 
         This is the key part for making images fit.
         We target the images inside the grid and the large image container.
        */
        .small-images-grid img,
        .large-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* This scales the image to cover the container, cropping excess */
            display: block;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Optional: adds a subtle shadow */
        }


/* =========================
   Responsive
   ========================= */
.mobile-nav {
  display: none;
}
@media (max-width: 768px) {
  .header-flex {
    display: flex;
    justify-content: center; /* centers horizontally */
    align-items: center;
    padding: 10px 0;
  }

  .logo {
    display: block;
  }

  .logo img {
    height: 80px; /* adjust if needed */
    width: auto;
  }

  /* hide desktop nav */
  .site-header .nav {
    display: none;
  }

  /* Show mobile bottom navbar */
  .mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  }

  .mobile-nav a {
    color: var(--green-dark);
    text-decoration: none;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    text-align: center;
  }

  .mobile-nav a:hover {
    color: var(--green-main);
  }
	
  .hero-overlay h1 {
    font-size: 2.1rem;
  }

  .top-bar .container {
    justify-content: center;
  }

  .hamburger {
    display: block;
    justify-self: end;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
  }

  .nav.active {
    display: flex;
  }


  /* Fallback image on mobile */
  .hero-video {
    display: block;
  }
  
  
  
  
  
  
  
  
  
}


/* =========================
   Order Page
   ========================= */

.order-page {
  max-width: 900px;
  margin: 80px auto;
}

  /* STACK PRODUCT IMAGE AND INFO */
  .order-product {
    display: flex !important;        /* override grid */
    flex-direction: column;          /* stack vertically */
    align-items: center;             /* center items */
    gap: 20px;                       /* space between image and details */
    padding: 20px;
    width: 100%;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-radius: 12px;
    background: #fff;
    margin-bottom: 30px;
  }

  /* PRODUCT IMAGE */
  .order-product img {
    width: 100%;                     /* full width of container */
    max-width: 300px;                /* optional max width */
    height: auto;
    object-fit: cover;
    border-radius: 12px;
  }

  /* PRODUCT DETAILS */
  .order-product-info {
    width: 100%;
    text-align: center;              /* center text for mobile */
    padding: 0 10px;
  }

  .order-product-info h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .order-price {
    font-size: 1.5rem;
    margin: 8px 0;
    color: var(--green-main);
  }

  .order-description {
    font-size: 14px;
    line-height: 1.5;
  }

  /* PLACE ORDER BUTTON */
  .order-form .btn {
    width: 100%;
    font-size: 16px;
    padding: 15px 0;
    border-radius: 12px;
    margin-top: 10px;
  }

  /* FORM INPUTS */
  .order-form input,
  .order-form textarea {
    width: 100%;
    font-size: 14px;
    padding: 12px 14px;
  }

  .form-group {
    margin-bottom: 16px;
  }
/* Success Message */
.order-success {
  background: var(--green-soft);
  color: #fff;
  padding: 14px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 500;
}
