/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* ── Navigation ── */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 249, 246, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.nav-fixed.scrolled {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(45, 84, 45, 0.1);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #2d542d;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ── Mobile Menu ── */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border-top: 1px solid rgba(45, 84, 45, 0.1);
    animation: slideDown 0.3s ease forwards;
}

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

.mobile-menu.hidden {
    display: none;
}

.mobile-nav-link {
    display: block;
}

/* ── Hero Section ── */
.hero-section {
    position: relative;
}

.hero-bg {
    will-change: transform;
}

.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(13, 26, 13, 0.92) 0%,
        rgba(26, 50, 26, 0.85) 50%,
        rgba(45, 84, 45, 0.78) 100%
    );
}

.hero-eyebrow {
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-headline {
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-sub {
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-ctas {
    opacity: 0;
    animation: fadeUp 0.8s ease 0.8s forwards;
}

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

/* ── Marquee ── */
.marquee-strip {
    overflow: hidden;
    border-top: 1px solid rgba(156, 198, 156, 0.15);
    border-bottom: 1px solid rgba(156, 198, 156, 0.15);
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    width: max-content;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── Section Styles ── */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #4d8a4d;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.05;
    color: #1a321a;
    margin-bottom: 0;
}

.section-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #3a6b3a;
    margin-top: 1.25rem;
}

/* ── Category Cards ── */
.category-card {
    background: #faf9f6;
    border-radius: 0;
    padding: 0;
    transition: transform 0.4s ease;
}

.category-card:hover {
    transform: translateY(-4px);
}

.category-card:hover .category-img {
    transform: scale(1.05);
}

/* ── Buttons ── */
.btn-primary {
    box-shadow: 0 4px 24px rgba(77, 138, 77, 0.3);
    transition: box-shadow 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    box-shadow: 0 8px 32px rgba(77, 138, 77, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    transform: translateY(-1px);
}

.btn-cta {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-cta:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.reveal-animated {
    opacity: 0;
    transform: translateY(32px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal.reveal-animated {
        opacity: 0;
        transform: translateY(32px);
    }

    .reveal.reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal.reveal-animated,
    .reveal.reveal-visible {
        opacity: 1;
        transform: none;
    }
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f3ed;
}

::-webkit-scrollbar-thumb {
    background: #9cc69c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6ea86e;
}

/* ── Selection ── */
::selection {
    background: rgba(45, 84, 45, 0.2);
    color: #1a321a;
}

/* ── Focus ── */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #4d8a4d;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .hero-headline {
        font-size: clamp(3rem, 12vw, 5rem);
    }
}
