/* ===== Global Reset ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', sans-serif;
  background-color: #6d8f66;
  color: #1e2b1f;
}

/* ===== Navigation Bar ===== */
nav.main-nav {
  background-color: #F8F8F2;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

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

.headshot-nav {
  border-radius: 0; /* remove circular shape */
  border: none;      /* remove the ring */
  width: 80px;       /* optional: increase logo size */
  height: auto;      /* maintain aspect ratio */
  object-fit: contain; /* scale image properly */
}


/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #306e38;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #9aca42
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1100;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #306e38;
  margin: 4px 0;
}

/* Side panel */
.side-panel {
  height: 100%;
  width: 0;
  position: fixed;
  top: 60px; /* below navbar */
  right: 0;
  background-color: #ffffff;
  overflow-x: hidden;
  transition: 0.3s;
  z-index: 999;
  padding-top: 30px;
}

.side-panel a {
  display: block;
  color: #306e38;
  padding: 15px 20px;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background 0.2s;
}

.side-panel a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.side-panel .close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* ===== Main Content Spacing ===== */
main {
  margin-top: 60px; /* avoids content hidden behind navbar */
}

/* ===== Hero Section ===== */
.about-container {
  position: relative;
  background: url('images/greenery-hero-background.png') no-repeat center center/cover;
  height: 70vh; /* adjust height as needed */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  color: white;
  overflow: hidden; /* ensures the blur stays contained */
}

/* Full background blur layer */
.about-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/greenery-hero-background.png') no-repeat center center/cover; 
  z-index: 0; /* behind everything */
}

/* Text container (sharp and readable) */
.about-text {
  position: relative;
  z-index: 1; /* above blurred background */
  padding: 1rem 2rem; /* optional padding around text */
}

/* Text styling */
.about-text h1 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 3rem; /* adjust for hero */
  margin: 0;
}

.about-text h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #285125;
  margin-top: 0.5em;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .about-text h1 {
    font-size: 2rem;
  }
  .about-text h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .about-text h1 {
    font-size: 1.5rem;
  }
  .about-text h2 {
    font-size: 1rem;
  }
}

/* ===== Hero Section ===== */
.intro {
  position: relative;
  min-height: 80vh; /* adjust height as needed */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #F8F8F2;
  padding: 3rem 8%;
  z-index: 1; /* text above background */
}

/* Background image layer with blur */
.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/greenery-hero-background.png") no-repeat center center/cover;
  filter: blur(4px); /* background blur */
  z-index: -1; /* behind text */
}

/* Text styling */
.intro h1,
.intro h2 {
  position: relative;
  z-index: 2;
}

.intro h1 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 3rem; /* adjust for hero */
  margin: 0;
}

.intro h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #9aca42;
  margin-top: 0.5em;
}

/* Responsive */
@media (max-width: 768px) {
  .intro h1 { font-size: 2rem; }
  .intro h2 { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .intro h1 { font-size: 1.5rem; }
  .intro h2 { font-size: 1rem; }
}

/* ===== Products Section ===== */
#products {
  padding: 4rem 8%;
  margin-top: 0;
  background-color: #F8F8F2; /* */
}

#products h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #306e38;
}
/* ===== Products Grid ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: #306e38;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 0 auto 2rem auto;
  text-align: center;
  max-width: 700px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.products-intro {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  text-align: center;
  color: #000000; /* text */
  font-size: 1.1rem;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px ;
}

.product-card img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.product-card h3 {
  margin: 0.5rem 0;
  color: #ffffff;
}

.product-card p {
  color: #9aca42;
  font-size: 1rem;
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card .price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff; /* or any color you want */
  margin: 10px 0;
}

.buy-btn {
  display: inline-block;
  padding: 10px 18px;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.buy-btn:hover {
  background:  #417b07;
  transform: translateY(-1px);
}
 
/* ===== Benefits Section ===== */
.benefits {
  padding: 4rem 8%;
  background-color: #285125; /* darker green for section separation */
  color: #ffffff;
}

.benefits h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.benefits-intro {
  max-width: 750px;
  margin: 0 auto 3rem auto;
  text-align: center;
  font-size: 1.1rem;
  color: #9aca42;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;          /* allows cards to wrap into multiple rows */
  justify-content: center;  /* centers all rows, including the last row */
  gap: 2rem;                /* space between cards */
  max-width: 1100px;
  margin: 0 auto;
}

.benefit-card {
  background-color: #306e38;
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex: 0 1 220px;          /* flex-grow:0, flex-shrink:1, base width: 220px */
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.benefit-card i {
  font-size: 2rem;
  color: #9aca42;
  margin-bottom: 0.8rem;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.benefit-card p {
  font-size: 0.95rem;
  color: #9aca42;
}



/* ===== Contact Section ===== */
#contact {
  padding: 4rem 8%;
  text-align: center;
}

#contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

#contact p {
  margin-bottom: 1.5rem;
  color: #9aca42;
  font-size: 1.1rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1em;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6em 1.2em;
  border: 2px solid #9aca42;
  border-radius: 30px;
  color: #9aca42;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-links a i {
  font-size: 1.2em;
}

.contact-links a:hover {
  background-color: #9aca42;
  color: #fff;
}
/* ===== Contact CTA Section ===== */
.contact-cta {
  background-color: #2a7135; /* brand green */
  color: #ffffff;
  padding: 4rem 8%;
  text-align: center;
}

.contact-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #e6f2e6;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8em 1.5em;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
}

.cta-btn i {
  font-size: 1.2em;
}

/* Button Colors */
.cta-btn.whatsapp { background-color: #25d366; color: white; }
.cta-btn.whatsapp:hover { background-color: #1ebe5d; }

.cta-btn.instagram { background-color: #e1306c; color: white; }
.cta-btn.instagram:hover { background-color: #c1275b; }

.cta-btn.facebook { background-color: #1877f2; color: white; }
.cta-btn.facebook:hover { background-color: #145ec0; }

.cta-btn.tiktok { background-color: #010101; color: white; }
.cta-btn.tiktok:hover { background-color: #333333; }

/* Responsive Buttons */
@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }
}

/* ===== Responsive tweaks ===== */
@media (max-width: 768px) {
  .intro {
    padding: 2rem 5%;
    min-height: 50vh;
  }

  .product-card {
    padding: 1rem;
  }

  .product-card p {
    font-size: 0.9rem;
  }

  .headshot-about {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .intro h1 {
    font-size: 1.8rem;
  }
  .intro h2 {
    font-size: 1.1rem;
  }
}
/* ===== Floating WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.whatsapp-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-btn i {
  color: #ffffff;
  font-size: 1.8rem;
}

.whatsapp-bubble {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 260px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: none;
}

.whatsapp-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 22px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  transform: rotate(45deg);
}

.bubble-text {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.8rem;
}

.whatsapp-send {
  display: block;
  text-align: center;
  background-color: #25D366;
  color: #ffffff;
  padding: 0.6rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}

.whatsapp-send:hover {
  background-color: #1ebe5d;
}
.bubble-title {
  font-weight: bold;
  margin-bottom: 0.6rem;
  color: #222;
  font-size: 0.95rem;
}

.whatsapp-option {
  display: block;
  text-decoration: none;
  background-color: #25D366;
  color: white;
  padding: 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.whatsapp-option:last-child {
  margin-bottom: 0;
}

.whatsapp-option:hover {
  background-color: #1ebe5d;
}
.whatsapp-bubble.show {
  display: block;
}
/* ===== Scroll Fade Animations ===== */
.fade-left,
.fade-right {
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.fade-left {
  transform: translateX(-40px);
}

.fade-right {
  transform: translateX(40px);
}

/* When visible */
.fade-in {
  opacity: 1;
  transform: translateX(0);
}
/* ===== Desktop animations (default) ===== */
.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Mobile override: fade UP instead ===== */
@media (max-width: 768px) {
  .fade-left,
  .fade-right {
    transform: translateY(40px);
  }

  .fade-in {
    transform: translateY(0);
  }
}
