/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ── Custom Properties ── */
:root {
    --forest-500: #1a4d2e;
    --forest-400: #528540;
    --cream-50: #fafaf7;
    --cream-100: #f5f5f0;
    --cream-200: #eae8e0;
}

/* ── Eyebrow ── */
.eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest-400);
    margin-bottom: 0.75rem;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--forest-500);
    color: #f5f5f0;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.85rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid var(--forest-500);
}
.btn-primary:hover {
    background: var(--forest-600);
    border-color: var(--forest-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 77, 46, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--forest-500);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.85rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    border: 1.5px solid var(--forest-200);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-secondary:hover {
    border-color: var(--forest-400);
    background: rgba(26, 77, 46, 0.05);
    transform: translateY(-2px);
}

/* ── Hero Blobs ── */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blobFloat 12s ease-in-out infinite;
}
.blob-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #c5d9be, #e8f0e5);
    top: -10%; left: -10%;
    animation-delay: 0s;
}
.blob-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #9bbf8e, #f5f5f0);
    bottom: 5%; right: -5%;
    animation-delay: -4s;
}
.blob-3 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, #f2d9b0, #f9edd8);
    top: 30%; right: 15%;
    animation-delay: -8s;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ── Hero Animations ── */
.hero-eyebrow {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}
.hero-headline {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}
.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}
.hero-ctas {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

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

/* ── Menu ── */
.menu-category-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--forest-400);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1.5px solid var(--cream-200);
}
.menu-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cream-100);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.menu-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Contact Block ── */
.contact-block {
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.contact-block.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── Scroll Reveal ── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Navbar ── */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
#navbar.scrolled {
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(26, 77, 46, 0.08);
}
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--forest-400);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* ── Mobile Menu ── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
#mobile-menu.open .mobile-link {
    animation: mobileLinkIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
#mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }
@keyframes mobileLinkIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.hamburger-line {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
#mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .scroll-reveal, .feature-card, .menu-item, .contact-block {
        opacity: 1;
        transform: none;
    }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-blob { opacity: 0.25; }
    .blob-1 { width: 300px; height: 300px; }
    .blob-2 { width: 200px; height: 200px; }
    .blob-3 { display: none; }
}
