/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: var(--fs-base); color: var(--color-text-muted); background: var(--color-white); line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Container ─── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--section-px); }

/* ─── Buttons ─── */
.elicious-btn { display: inline-block; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; border: none; transition: opacity .2s, transform .2s; text-align: center; }
.elicious-btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-primary { background: var(--color-text); color: var(--color-white); padding: 12px 30px; border-radius: var(--btn-radius-square); }
.btn-yellow { background: var(--color-yellow); color: var(--color-red); padding: 14px 32px; border-radius: var(--btn-radius-square); }
.btn-yellow-pill { background: var(--color-yellow); color: var(--color-red); padding: 14px 32px; border-radius: var(--radius-pill); font-weight: 700; }
.btn-red { background: var(--color-red); color: var(--color-white); padding: 14px 32px; border-radius: var(--btn-radius-square); }

/* ─── Announcement Bar ─── */
.announcement-bar { background: var(--color-red); color: var(--color-white); text-align: center; padding: 8px 16px; font-size: var(--fs-sm); font-family: var(--font-body); }

/* ─── Header ─── */
.site-header { background: var(--color-yellow); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; gap: 16px; padding: 12px 24px; max-width: 1600px; margin: 0 auto; }
.header-logo { flex-shrink: 0; }
.header-logo img, .header-logo .custom-logo { height: 56px; width: auto; }
.logo-text { font-family: var(--font-heading); font-weight: 800; font-size: var(--fs-xl); color: var(--color-red); }

/* Nav */
.header-nav { flex: 1; }
.nav-list { display: flex; align-items: center; justify-content: center; gap: 4px; background: var(--color-white); border-radius: var(--radius-pill); padding: 6px 16px; }
.nav-item > a { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 500; color: var(--color-text); padding: 8px 20px; border-radius: var(--radius-pill); transition: background .2s, color .2s; white-space: nowrap; display: block; }
.nav-item > a:hover, .nav-item.active > a { background: var(--color-yellow); color: var(--color-red); }
.dropdown-arrow { font-size: 11px; }

/* Dropdown */
.nav-item.has-dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--color-white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); min-width: 200px; padding: 8px 0; z-index: 500; }
.nav-item.has-dropdown:hover .dropdown-menu, .nav-item.has-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu li a { display: block; padding: 10px 20px; font-size: var(--fs-sm); color: var(--color-text); transition: background .15s, color .15s; }
.dropdown-menu li a:hover { background: var(--color-yellow); color: var(--color-red); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-search input[type="search"] { background: var(--color-white); border: none; border-radius: var(--radius-pill); padding: 8px 20px; font-size: var(--fs-sm); font-family: var(--font-body); width: 200px; outline: none; }
.header-search input[type="search"]:focus { box-shadow: 0 0 0 2px var(--color-red); }
.header-phone-btn, .header-account-btn { background: var(--color-red); color: var(--color-white); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s; }
.header-phone-btn:hover, .header-account-btn:hover { background: var(--color-red-alt); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--color-red); border-radius: 2px; transition: .3s; }

/* ─── Section Titles ─── */
.section-title { font-family: var(--font-heading); font-size: var(--fs-2xl); font-weight: 700; color: var(--color-red); text-align: center; margin-bottom: 48px; }

/* ─── Hero Slideshow ─── */
.hero-slideshow { position: relative; overflow: hidden; background: var(--color-red); }
.hero-slides-wrapper { position: relative; }
.hero-slide { display: none; position: relative; }
.hero-slide.active { display: block; }
.hero-slide-img { width: 100%; height: 100vh; min-height: 560px; max-height: 1000px; object-fit: cover; }
.hero-slide-content { position: absolute; bottom: 0; left: 0; padding: 40px 60px; }
.hero-headline { font-family: var(--font-heading); font-size: var(--fs-4xl); font-weight: 700; color: var(--color-white); line-height: 1.1; text-transform: uppercase; margin-bottom: 16px; text-shadow: 2px 2px 8px rgba(0,0,0,.3); }
.hero-subheadline { color: var(--color-white); font-size: var(--fs-lg); margin-bottom: 24px; }
.hero-controls { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px; background: rgba(0,0,0,.1); }
.hero-prev, .hero-next, .hero-pause { background: none; border: none; color: var(--color-white); font-size: 28px; cursor: pointer; line-height: 1; transition: opacity .2s; }
.hero-prev:hover, .hero-next:hover, .hero-pause:hover { opacity: .7; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); border: none; cursor: pointer; transition: background .2s; }
.hero-dot.active { background: var(--color-white); }

/* ─── Trust Bar ─── */
.trust-bar { background: var(--color-yellow); padding: 20px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.trust-icon { width: 60px; height: 60px; object-fit: contain; }
.trust-label { font-size: var(--fs-xs); font-weight: 600; color: var(--color-red); text-transform: uppercase; letter-spacing: .05em; text-align: center; }

/* ─── Welcome Section ─── */
.welcome-section { padding: var(--section-py) 0; background: var(--color-white); }
.welcome-title { margin-bottom: 40px; }
.welcome-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.welcome-gallery-slider { position: relative; overflow: hidden; }
.welcome-gallery-slider .welcome-img { width: 100%; max-width: 400px; height: auto; margin: 0 auto; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-light-grey); border: none; cursor: pointer; transition: background .2s; }
.slider-dot.active { background: var(--color-red); }
.welcome-subheading { font-family: var(--font-heading); font-size: var(--fs-4xl); font-weight: 800; color: var(--color-red); font-style: italic; line-height: 1.2; margin-bottom: 20px; }
.welcome-body { color: var(--color-text-muted); font-size: var(--fs-base); line-height: 1.7; margin-bottom: 28px; }

/* ─── Why Elicious ─── */
.why-elicious { background: var(--color-yellow); padding: var(--section-py) 0; }
.why-elicious .section-title { color: var(--color-red); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.why-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.why-icon { width: 80px; height: 80px; object-fit: contain; }
.why-title { font-family: var(--font-heading); font-size: var(--fs-lg); font-weight: 700; color: var(--color-red); }
.why-desc { font-size: var(--fs-sm); color: var(--color-red); line-height: 1.6; text-align: center; }

/* ─── Make Your Style ─── */
.make-your-style { background: var(--color-red); padding: var(--section-py) 0; }
.style-inner { display: grid; grid-template-columns: 1fr 1fr; max-width: var(--container); margin: 0 auto; padding: 0 var(--section-px); align-items: center; gap: 60px; }
.style-italic { font-family: var(--font-heading); font-size: var(--fs-xl); font-style: italic; color: var(--color-white); margin-bottom: 16px; }
.style-img { width: 100%; border-radius: var(--radius-lg); }
.style-headline { font-family: var(--font-heading); font-size: var(--fs-3xl); font-weight: 800; color: var(--color-white); font-style: italic; line-height: 1.2; margin-bottom: 20px; }
.style-body { color: rgba(255,255,255,.85); font-size: var(--fs-base); line-height: 1.7; margin-bottom: 32px; }
.style-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── Testimonials ─── */
.testimonials-section { background: var(--color-light-grey); padding: var(--section-py) 0; }
.testimonials-section .section-title { color: var(--color-text); }
.testimonials-slider { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; overflow: hidden; }
.testimonial-card { background: var(--color-white); border-radius: var(--radius-lg); padding: 32px 24px; box-shadow: var(--shadow-card); position: relative; text-align: center; }
.testi-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; }
.quote-open, .quote-close { font-family: Georgia, serif; font-size: 36px; color: var(--color-yellow); line-height: 0; vertical-align: middle; }
.testimonial-text { font-size: var(--fs-sm); font-style: italic; color: var(--color-text-muted); line-height: 1.7; margin: 12px 0; }
.testimonial-name { font-weight: 700; color: var(--color-text); font-size: var(--fs-sm); }
.testimonials-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.testi-prev, .testi-next { background: none; border: 2px solid var(--color-text); border-radius: 50%; width: 36px; height: 36px; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .2s; }
.testi-prev:hover, .testi-next:hover { background: var(--color-text); color: var(--color-white); }
.testi-dots { display: flex; gap: 8px; }
.testi-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-light-grey); border: 2px solid var(--color-text-muted); cursor: pointer; transition: .2s; }
.testi-dot.active { background: var(--color-yellow); border-color: var(--color-yellow); }

/* ─── Farm Infographic ─── */
.farm-section { background: var(--color-yellow); }
.farm-header { background: var(--color-red); padding: 24px 40px; display: flex; align-items: center; justify-content: center; gap: 24px; }
.farm-heading { font-family: var(--font-heading); font-size: var(--fs-2xl); font-weight: 900; color: var(--color-white); text-transform: uppercase; text-align: center; }
.farm-star { color: var(--color-yellow); font-size: var(--fs-2xl); }
.farm-timeline { position: relative; padding: 60px var(--section-px); max-width: var(--container); margin: 0 auto; }
.farm-timeline-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; background: var(--color-white); transform: translateX(-50%); }
.farm-step { display: flex; align-items: center; gap: 24px; margin-bottom: 48px; position: relative; }
.farm-step--left { flex-direction: row; }
.farm-step--right { flex-direction: row-reverse; }
.farm-step-card { background: var(--color-white); border-radius: var(--radius-lg); padding: 24px 28px; flex: 1; box-shadow: var(--shadow-card); }
.farm-step-title { font-family: var(--font-heading); font-size: var(--fs-lg); font-weight: 700; color: var(--color-red); font-style: italic; margin-bottom: 8px; }
.farm-step-desc { font-size: var(--fs-sm); color: var(--color-text-muted); line-height: 1.6; }
.farm-step-icon { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; }
.farm-icon { width: 56px; height: 56px; object-fit: contain; }
.farm-step-label { background: var(--color-red); color: var(--color-white); font-size: var(--fs-sm); font-weight: 700; font-style: italic; border-radius: 50%; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.2; }
.farm-arrow { font-size: 24px; color: var(--color-red); }
.farm-arrow--left { transform: rotate(0deg); }
.farm-arrow--right { transform: rotate(180deg); }

/* ─── Footer ─── */
.site-footer { background: var(--color-red); color: var(--color-white); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo-text { font-family: var(--font-heading); font-size: var(--fs-xl); font-weight: 800; color: var(--color-white); }
.footer-inner .custom-logo { max-height: 60px; width: auto; }
.footer-tagline { font-size: var(--fs-sm); color: rgba(255,255,255,.75); margin-top: 12px; }
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: var(--fs-sm); color: rgba(255,255,255,.85); transition: color .2s; }
.footer-links a:hover { color: var(--color-yellow); }
.footer-social-label { font-weight: 700; font-size: var(--fs-sm); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; }
.social-icons { display: flex; gap: 12px; }
.social-icon { color: var(--color-white); transition: color .2s, transform .2s; }
.social-icon:hover { color: var(--color-yellow); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 48px; padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: var(--fs-xs); color: rgba(255,255,255,.6); }

/* ─── WhatsApp Float ─── */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; background: #25D366; color: var(--color-white); border-radius: 50%; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-btn); z-index: 9999; transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.1); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .header-search { display: none; }
    .testimonials-slider { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .header-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--color-white); padding: 16px; box-shadow: var(--shadow-card); }
    .header-nav.open { display: block; }
    .nav-list { flex-direction: column; background: none; gap: 0; }
    .nav-item > a { padding: 12px 16px; }
    .hamburger { display: flex; }
    .hero-slide-img { height: 60vh; min-height: 300px; }
    .hero-headline { font-size: var(--fs-2xl); }
    .welcome-inner { grid-template-columns: 1fr; gap: 32px; }
    .why-grid { grid-template-columns: 1fr; }
    .style-inner { grid-template-columns: 1fr; }
    .testimonials-slider { grid-template-columns: 1fr; }
    .farm-timeline-line { display: none; }
    .farm-step, .farm-step--right { flex-direction: column; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .section-title { font-size: var(--fs-xl); }
}

/* ─── Farm Section — single infographic image ─── */
.farm-image-wrap { background: var(--color-yellow); padding: 40px 0; text-align: center; }
.farm-infographic-img { width: 100%; max-width: 1200px; height: auto; margin: 0 auto; display: block; }

/* ─── Slider: hide inactive slides ─── */
.welcome-gallery-slider .welcome-img { display: none; }
.welcome-gallery-slider .welcome-img.active { display: block; }
.hero-slide { display: none; }
.hero-slide.active { display: block; }
