/* ========================================
   HL VANILLA PRODUCT — style.css
   ======================================== */

:root {
  --green-dark:  #2d4a2d;
  --green-mid:   #4a6741;
  --green-light: #6b8f5e;
  --gold:        #b8923a;
  --gold-light:  #d4a855;
  --cream:       #f7f2e8;
  --cream-dark:  #ede5d0;
  --brown:       #3d2008;
  --red:         #9b2335;
  --white:       #ffffff;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--brown);
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 3px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem; height: 72px;
  background: rgba(247,242,232,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(45,74,45,0.13);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(45,74,45,0.13); }

.nav-logo img { height: 52px; object-fit: contain; display: block; }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--green-dark);
  font-size: 0.8rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  position: relative; padding-bottom: 4px; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--green-dark) !important; color: var(--cream) !important;
  padding: 0.5rem 1.3rem !important; border-radius: 2px;
}
.nav-cta:hover { background: var(--gold) !important; color: #fff !important; }
.nav-cta::after { display: none !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--green-dark); display: block; transition: 0.3s; }

/* ── HERO ── */
.hero {
  height: 100vh; min-height: 640px;
  position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('images/farm1.jpg') center / cover no-repeat;
  transform: scale(1.08);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0);  }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(20,40,15,0.80) 0%,
    rgba(45,74,45,0.52) 55%,
    rgba(15,8,0,0.68) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  padding: 2rem; max-width: 800px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 0.73rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1.1rem; font-weight: 300;
  animation: fadeUp 1.1s 0.2s ease both;
}
.hero-badge {
  display: inline-block; background: var(--red); color: #fff;
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.35rem 1.1rem; margin-bottom: 1.3rem;
  animation: fadeUp 1.1s 0.3s ease both;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 0.6rem;
  animation: fadeUp 1.1s 0.4s ease both;
}
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.2rem); font-weight: 300;
  letter-spacing: 0.07em; color: rgba(255,255,255,0.82);
  margin-bottom: 2.4rem;
  animation: fadeUp 1.1s 0.55s ease both;
}
.hero-btns {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 1.1s 0.7s ease both;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none;
  padding: 0.88rem 2.1rem;
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; transition: all 0.3s; cursor: pointer;
  border: none; font-family: 'Lato', sans-serif;
}
.btn-primary {
  background: var(--gold); color: #fff;
  box-shadow: 0 4px 20px rgba(184,146,58,0.38);
}
.btn-primary:hover {
  background: var(--gold-light); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(184,146,58,0.5);
}
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }
.btn-full  { width: 100%; justify-content: center; display: block; }
.btn-wa    { display: inline-flex; }

/* HERO SCROLL HINT */
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.45); font-size: 0.68rem;
  letter-spacing: 0.3em; text-transform: uppercase; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  animation: fadeUp 1.1s 1s ease both;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:0.3} 50%{opacity:1} }

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--green-dark);
  display: flex; justify-content: center; flex-wrap: wrap;
}
.stat-item {
  flex: 1; min-width: 160px;
  padding: 2rem 1.5rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.09);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; color: var(--gold-light); font-weight: 600; line-height: 1;
}
.stat-label {
  font-size: 0.7rem; color: rgba(255,255,255,0.55);
  letter-spacing: 0.2em; text-transform: uppercase; margin-top: 0.35rem;
}

/* ── SHARED SECTION STYLES ── */
section { padding: 6rem 2rem; }
.container { max-width: 1180px; margin: 0 auto; }

.section-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.7rem; font-weight: 700;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: var(--green-dark); line-height: 1.2; margin-bottom: 1.1rem;
}
.section-title em { color: var(--gold); font-style: italic; }
.section-lead {
  font-size: 1rem; line-height: 1.85;
  color: rgba(61,32,8,0.72); max-width: 560px;
}
.divider { width: 48px; height: 3px; background: var(--gold); margin: 1.4rem 0; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── ABOUT ── */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-images { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-img { border-radius: 2px; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-img:first-child { grid-row: span 2; }
.about-img:first-child img { height: 480px; }
.about-img:not(:first-child) img { height: 228px; }

.about-feature {
  display: flex; gap: 1rem; margin-top: 1.5rem;
  padding: 1.1rem; background: var(--cream);
  border-left: 3px solid var(--green-mid);
}
.feature-icon { font-size: 1.4rem; flex-shrink: 0; }
.feature-text h4 { font-size: 0.88rem; color: var(--green-dark); font-weight: 700; margin-bottom: 0.2rem; }
.feature-text p  { font-size: 0.83rem; color: rgba(61,32,8,0.68); line-height: 1.6; }

/* ── PRODUCTS ── */
.products { background: var(--cream); }
.products-header { text-align: center; margin-bottom: 3.5rem; }
.products-header .section-lead { margin: 0 auto; text-align: center; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--white);
  border: 1px solid rgba(45,74,45,0.09);
  overflow: hidden; transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(45,74,45,0.11); }
.product-img { height: 255px; overflow: hidden; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; display: block; }
.product-card:hover .product-img img { transform: scale(1.07); }
.product-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--red); color: #fff;
  font-size: 0.67rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.28rem 0.7rem;
}
.product-body { padding: 1.5rem; }
.product-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; color: var(--green-dark); margin-bottom: 0.45rem;
}
.product-body p  { font-size: 0.86rem; color: rgba(61,32,8,0.68); line-height: 1.7; margin-bottom: 0.9rem; }
.product-specs   { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.spec {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green-mid); font-weight: 700;
  border: 1px solid var(--green-light); padding: 0.22rem 0.55rem;
}

/* ── PROCESS ── */
.process { background: var(--white); }
.process-header { text-align: center; margin-bottom: 3.5rem; }
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0; position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 39px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(to right, transparent, var(--green-mid), transparent);
}
.step { text-align: center; padding: 0 1.2rem; }
.step-num {
  width: 78px; height: 78px;
  background: var(--green-dark); color: var(--gold-light);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 700;
  margin: 0 auto 1.1rem; position: relative; z-index: 1;
  box-shadow: 0 0 0 5px var(--white), 0 0 0 6px var(--green-mid);
}
.step h4 { font-family: 'Playfair Display', serif; font-size: 0.95rem; color: var(--green-dark); margin-bottom: 0.35rem; }
.step p   { font-size: 0.8rem; color: rgba(61,32,8,0.62); line-height: 1.6; }

/* Process photo strip */
.process-photos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem; margin-top: 3.5rem;
}
.process-photo { position: relative; overflow: hidden; border-radius: 2px; }
.process-photo img {
  width: 100%; height: 200px; object-fit: cover;
  display: block; transition: transform 0.4s;
}
.process-photo:hover img { transform: scale(1.06); }
.process-photo span {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(45,74,45,0.82);
  color: #fff; font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; text-align: center;
  padding: 0.5rem;
}

/* ── GALLERY ── */
.gallery { background: var(--green-dark); padding: 5rem 2rem; }
.gallery-header { text-align: center; margin-bottom: 2rem; }
.gallery-header .section-eyebrow { color: var(--gold-light); }
.gallery-header .section-title   { color: #fff; }
.gallery-header .section-title em { color: var(--gold-light); }

/* Tab buttons */
.gallery-tabs {
  display: flex; justify-content: center; gap: 1rem; margin-bottom: 2.5rem;
}
.tab-btn {
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.6rem 1.6rem; cursor: pointer;
  font-family: 'Lato', sans-serif; font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: all 0.3s; border-radius: 2px;
}
.tab-btn:hover { background: rgba(255,255,255,0.18); color: #fff; }
.tab-btn.active {
  background: var(--gold); color: #fff;
  border-color: var(--gold);
}

/* Gallery grid */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.gallery-item { overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s; display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:first-child { grid-row: span 2; height: 500px; }
.gallery-item:not(:first-child) { height: 242px; }

/* 6-item grid (products tab) — no spanning */
#tab-product .gallery-item { height: 260px; grid-row: span 1; }
#tab-product .gallery-item:first-child { height: 260px; }

.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(45,74,45,0);
  transition: background 0.3s;
}
.gallery-item:hover .gallery-overlay { background: rgba(45,74,45,0.22); }

/* ── WHY US ── */
.why { background: var(--cream-dark); }
.why-header { text-align: center; margin-bottom: 3.5rem; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1.8rem; }
.why-card {
  background: var(--white); padding: 1.8rem;
  border-bottom: 3px solid var(--green-mid);
  transition: transform 0.3s, border-color 0.3s;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.why-icon { font-size: 2rem; margin-bottom: 0.9rem; }
.why-card h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--green-dark); margin-bottom: 0.45rem; }
.why-card p  { font-size: 0.84rem; color: rgba(61,32,8,0.68); line-height: 1.7; }

/* ── CONTACT ── */
.contact { background: var(--green-dark); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info .section-eyebrow { color: var(--gold-light); }
.contact-info .section-title   { color: #fff; }
.contact-info .section-title em { color: var(--gold-light); }
.contact-info .section-lead    { color: rgba(255,255,255,0.68); max-width: 100%; }

.contact-detail {
  display: flex; gap: 1rem; margin-top: 1.6rem; padding: 1rem;
  background: rgba(255,255,255,0.06); border-left: 2px solid var(--gold);
}
.contact-detail-icon { font-size: 1.2rem; flex-shrink: 0; }
.contact-detail-text h4 {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 0.2rem;
}
.contact-detail-text a,
.contact-detail-text p {
  color: rgba(255,255,255,0.82); text-decoration: none;
  font-size: 0.92rem; line-height: 1.55; transition: color 0.3s;
}
.contact-detail-text a:hover { color: var(--gold-light); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 0.9rem; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff; font-family: 'Lato', sans-serif; font-size: 0.88rem;
  border-radius: 1px; transition: border-color 0.3s; outline: none;
}
.contact-form select option { background: var(--green-dark); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.38); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--gold); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-success {
  display: none; margin-top: 1rem;
  color: var(--gold-light); font-size: 0.85rem;
  padding: 1rem; background: rgba(255,255,255,0.07);
  border-left: 2px solid var(--gold-light);
}

/* ── FOOTER ── */
footer { background: #0d1a0d; padding: 3rem 2rem 1.5rem; }
.footer-inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 2rem; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 2rem; margin-bottom: 1.2rem;
}
.footer-logo-wrap img { height: 64px; object-fit: contain; display: block; }
.footer-center { text-align: center; }
.footer-brand {
  font-family: 'Playfair Display', serif; color: #fff;
  font-size: 1.1rem; font-weight: 700; display: block; margin-bottom: 0.3rem;
}
.footer-tagline { color: rgba(255,255,255,0.4); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; align-items: flex-end; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.82rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-copy   { color: rgba(255,255,255,0.3); font-size: 0.75rem; }
.footer-copy a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-credit { color: rgba(255,255,255,0.3); font-size: 0.75rem; }
.footer-credit a { color: var(--gold-light); text-decoration: none; transition: color 0.3s; }
.footer-credit a:hover { color: var(--gold); }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 998;
  width: 56px; height: 56px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.38); text-decoration: none;
  animation: waPulse 2.5s ease-in-out infinite; transition: transform 0.3s;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 18px rgba(37,211,102,0.38), 0 0 0 0  rgba(37,211,102,0.28); }
  50%      { box-shadow: 0 4px 18px rgba(37,211,102,0.38), 0 0 0 12px rgba(37,211,102,0); }
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ── LIGHTBOX ── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.92);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 88vh;
  object-fit: contain; border-radius: 2px;
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
}
.lightbox-close {
  position: absolute; top: 1.5rem; right: 2rem;
  background: none; border: none; color: #fff;
  font-size: 2rem; cursor: pointer; opacity: 0.7; transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .process-photos { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(247,242,232,0.98);
    padding: 1.5rem; gap: 1.5rem;
    border-bottom: 1px solid rgba(45,74,45,0.1);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .about-images { grid-template-columns: 1fr 1fr; }
  .about-img:first-child img { height: 280px; }
  .about-img:not(:first-child) img { height: 130px; }

  .form-row { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { height: 280px; }
  .gallery-item:not(:first-child) { height: 140px; }
  #tab-product .gallery-item { height: 160px; }
  #tab-product .gallery-item:first-child { height: 160px; }

  .process-steps::before { display: none; }
  .process-photos { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { align-items: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  section { padding: 4rem 1.2rem; }
  .about-images { grid-template-columns: 1fr; }
  .about-img:first-child { grid-row: span 1; }
  .about-img:first-child img  { height: 220px; }
  .about-img:not(:first-child) img { height: 180px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child,
  .gallery-item:not(:first-child) { height: 220px; grid-row: span 1; }
  #tab-product .gallery-item,
  #tab-product .gallery-item:first-child { height: 220px; }
  .process-photos { grid-template-columns: repeat(2, 1fr); }
  .process-photo img { height: 150px; }
}
