/* ── Base & Typography ── */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background-color: #A7F3D0;
    color: #064E3B;
}

/* ── Section Labels & Headings ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #059669;
}

.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #059669, #6EE7B7);
    border-radius: 2px;
}

.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: #064E3B;
}

.section-label-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6EE7B7;
}

.section-label-light::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #6EE7B7, #A7F3D0);
    border-radius: 2px;
}

.section-heading-light {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: #FDFCF8;
}

/* ── Product Tags ── */
.product-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #059669;
    background: #D1FAE5;
    padding: 3px 10px;
    border-radius: 20px;
}

/* ── Navbar ── */
#navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(5, 150, 105, 0.08);
}

.nav-logo-text {
    transition: color 0.4s ease;
}

#navbar:not(.scrolled) .nav-logo-text {
    color: #FDFCF8;
}

#navbar.scrolled .nav-logo-text {
    color: #064E3B;
}

#navbar:not(.scrolled) .nav-link {
    color: rgba(253, 252, 248, 0.85);
}

#navbar:not(.scrolled) .nav-link:hover {
    color: #FDFCF8;
}

.nav-link {
    transition: color 0.3s ease;
}

/* ── Hero ── */
.hero-bg {
    will-change: transform;
}

.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(6, 78, 59, 0.88) 0%,
        rgba(5, 150, 105, 0.75) 50%,
        rgba(4, 120, 87, 0.82) 100%
    );
}

.hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 0.8s ease forwards 0.2s;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.8s ease forwards 0.4s;
}

.hero-badge {
    opacity: 0;
    transform: translateY(15px);
    animation: heroReveal 0.8s ease forwards 0.1s;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.8s ease forwards 0.5s;
}

.hero-stats {
    opacity: 0;
    transform: translateY(15px);
    animation: heroReveal 0.8s ease forwards 0.6s;
}

.hero-scroll-indicator {
    opacity: 0;
    animation: heroReveal 0.8s ease forwards 0.8s;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btn-primary {
    position: relative;
    overflow: hidden;
}

.hero-btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-btn-primary:hover::after {
    opacity: 1;
}

/* ── Product Cards ── */
.product-card {
    will-change: transform;
}

.product-card-img-wrap {
    overflow: hidden;
}

/* ── Why Cards ── */
.why-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.why-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.why-card:hover .why-card-icon-wrap {
    background: rgba(110, 231, 183, 0.15);
    border-color: rgba(110, 231, 183, 0.3);
    transform: scale(1.05);
}

.why-card-icon-wrap {
    transition: all 0.3s ease;
}

/* ── Scroll Reveal ── */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up {
    transform: translateY(40px);
}

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

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

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: none;
}

/* ── Mobile Menu ── */
.mobile-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(5, 150, 105, 0.1);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-link:hover {
    color: #059669;
    padding-left: 8px;
}

#mobile-menu {
    animation: mobileMenuIn 0.3s ease forwards;
}

@keyframes mobileMenuIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Form ── */
#contact-form input,
#contact-form textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 16px;
    }
}
