/* ============================================================
   Mithilablooms — Custom Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --green-dark:   #1a4731;
  --green-main:   #2d6a4f;
  --green-mid:    #40916c;
  --green-light:  #74c69d;
  --green-pale:   #d8f3dc;
  --gold:         #c9a227;
  --gold-light:   #f0d080;
  --cream:        #f8f4ec;
  --white:        #ffffff;
  --text-dark:    #1a1a2e;
  --text-muted:   #6b7280;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 8px 24px rgba(0,0,0,.12);
  --shadow-lg:    0 20px 48px rgba(0,0,0,.16);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   all .3s ease;
}

/* ============================================================
   CONSTRUCTION BANNER
   ============================================================ */
.construction-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: linear-gradient(90deg, #7b3f00 0%, #c9a227 50%, #7b3f00 100%);
  background-size: 200% auto;
  animation: bannerShimmer 4s linear infinite;
  color: var(--white);
  font-size: .82rem;
  line-height: 1.4;
}

@keyframes bannerShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 48px 9px 16px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.banner-icon {
  font-size: 1rem;
  flex-shrink: 0;
  opacity: .9;
}

.banner-text {
  text-align: center;
  letter-spacing: .01em;
}

.banner-text strong { font-weight: 800; }
.banner-text em     { font-style: normal; text-decoration: underline; text-underline-offset: 3px; }

.banner-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.2);
  border: none;
  color: var(--white);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: .75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.banner-close:hover { background: rgba(255,255,255,.35); }

/* When banner is dismissed */
body.banner-hidden .construction-banner { display: none; }
body.banner-hidden #mainNav            { top: 0; }
body.banner-hidden .hero-section       { padding-top: 0; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

img { max-width: 100%; }

a { text-decoration: none; color: inherit; }

/* ---------- Utility ---------- */
.bg-cream        { background-color: var(--cream); }
.section-padding { padding: 96px 0; }

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-main);
  background: var(--green-pale);
  padding: 4px 14px;
  border-radius: 50px;
}

.section-tag-light {
  color: var(--gold-light);
  background: rgba(255,255,255,.15);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.25;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
}

.section-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  background: transparent;
  transition: var(--transition);
  padding: 18px 0;
}

#mainNav.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

#mainNav.scrolled .nav-link { color: var(--text-dark) !important; }
#mainNav.scrolled .brand-name { color: var(--green-dark) !important; }
#mainNav.scrolled .brand-icon { color: var(--green-main) !important; }
#mainNav.scrolled .navbar-toggler-icon {
  filter: invert(0);
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.brand-icon {
  font-size: 1.5rem;
  color: var(--green-light);
  transition: var(--transition);
}

.nav-link {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: rgba(255,255,255,.9) !important;
  padding: 6px 12px !important;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white) !important;
  background: rgba(255,255,255,.15);
}

#mainNav.scrolled .nav-link:hover,
#mainNav.scrolled .nav-link.active {
  background: var(--green-pale);
  color: var(--green-dark) !important;
}

.btn-cta {
  background: var(--green-main);
  color: var(--white) !important;
  font-size: .85rem;
  font-weight: 700;
  padding: 8px 22px !important;
  border-radius: 50px;
  border: 2px solid var(--green-main);
  transition: var(--transition);
}

.btn-cta:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.navbar-toggler {
  border: 2px solid rgba(255,255,255,.6);
  padding: 4px 8px;
}

#mainNav.scrolled .navbar-toggler {
  border-color: var(--green-main);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: url('https://images.unsplash.com/photo-1500937386664-56d1dfef3854?w=1920&auto=format&fit=crop&q=80')
    center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,71,49,.82) 0%,
    rgba(26,71,49,.55) 60%,
    rgba(0,0,0,.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.organic-pill {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.15;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.88);
  font-weight: 300;
  line-height: 1.7;
}

.btn-hero-primary {
  background: var(--gold);
  color: var(--text-dark);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  border: 2px solid var(--gold);
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,162,39,.45);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,.7);
  transition: var(--transition);
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-indicator a {
  color: rgba(255,255,255,.7);
  font-size: 1.4rem;
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--green-dark);
  padding: 52px 0;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.stat-label {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.about-img-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.organic-stamp {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-dark);
  font-weight: 700;
  font-size: .7rem;
  line-height: 1.3;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}

.organic-stamp i {
  font-size: 1.2rem;
  color: var(--green-dark);
  display: block;
  margin-bottom: 2px;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: .82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(45,106,79,.2);
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green-main);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}

.product-badge-gold {
  background: var(--gold);
  color: var(--text-dark);
}

.product-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-icon {
  width: 44px;
  height: 44px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-main);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.product-title {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.product-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.product-footer {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}

/* ============================================================
   WHY ORGANIC
   ============================================================ */
.organic-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 100%);
  position: relative;
  overflow: hidden;
}

.organic-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}

.organic-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 260px; height: 260px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}

.organic-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 32px 24px;
  color: var(--white);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.organic-card:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-4px);
}

.organic-icon {
  width: 60px;
  height: 60px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.3rem;
  margin: 0 auto 18px;
}

.organic-card h5 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--white);
}

.organic-card p {
  font-size: .88rem;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.team-img-wrap {
  background: var(--green-pale);
  padding-top: 28px;
}

.team-img-wrap img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.team-body {
  padding: 18px 20px 24px;
}

.team-name {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.team-role {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-main);
  background: var(--green-pale);
  padding: 3px 12px;
  border-radius: 50px;
}

.team-bio {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--green-main);
  color: var(--white);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.contact-card .contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin: 0 auto 14px;
}

.contact-card strong {
  display: block;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: .9rem;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.65;
}

.contact-link {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.contact-link:hover {
  color: var(--green-main);
}

.contact-link i {
  color: var(--green-main);
  font-size: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--green-main);
  color: var(--white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.75);
  padding: 64px 0 24px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.footer-leaf {
  color: var(--green-light);
  font-size: 1.5rem;
}

.footer-about {
  font-size: .88rem;
  line-height: 1.75;
  color: rgba(255,255,255,.6);
  max-width: 300px;
}

.footer-heading {
  font-family: 'Lato', sans-serif;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--green-light);
  padding-left: 6px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact-list i {
  color: var(--green-light);
  margin-top: 2px;
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: var(--transition);
}

.footer-social:hover {
  background: var(--green-main);
  color: var(--white);
}

.footer-divider {
  border-color: rgba(255,255,255,.1);
  margin: 24px 0 20px;
}

.footer-copy {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-main);
  color: var(--white);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .section-padding { padding: 72px 0; }
  .about-img-wrap img { height: 340px; }
  .organic-stamp { bottom: -16px; right: -10px; width: 84px; height: 84px; font-size: .65rem; }
}

@media (max-width: 767px) {
  .section-padding { padding: 56px 0; }
  .navbar-collapse { background: rgba(26,71,49,.97); padding: 16px; border-radius: var(--radius); margin-top: 8px; }
  .nav-link { color: rgba(255,255,255,.9) !important; }
  #mainNav.scrolled .navbar-collapse { background: rgba(255,255,255,.97); }
  #mainNav.scrolled .navbar-collapse .nav-link { color: var(--text-dark) !important; }
  .hero-section { min-height: 100svh; }
  .about-img-wrap img { height: 260px; }
  .contact-form { margin-top: 8px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .btn-hero-primary, .btn-hero-outline { padding: 12px 24px; font-size: .9rem; }
  .stat-number { font-size: 1.9rem; }
}
