/* ── Base & Typography ────────────────────────────────────── */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(5, 150, 105, 0.2);
    color: #064e3b;
}

/* ── Decorative Patterns ──────────────────────────────────── */
.hero-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(253, 248, 240, 0.08) 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, rgba(253, 248, 240, 0.05) 1px, transparent 1px);
    background-size: 60px 60px, 40px 40px;
}

.menu-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-pattern {
    background-image: radial-gradient(ellipse at 30% 50%, rgba(5, 150, 105, 0.15) 0%, transparent 60%),
                      radial-gradient(ellipse at 70% 50%, rgba(4, 120, 87, 0.1) 0%, transparent 60%);
}

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

#navbar.scrolled {
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}

/* ── Hero Animations ──────────────────────────────────────── */
.hero-eyebrow {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

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

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

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

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

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #059669;
    color: #FDF8F0;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #FDF8F0;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 60px;
    border: 1.5px solid rgba(253, 248, 240, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: rgba(253, 248, 240, 0.7);
    background: rgba(253, 248, 240, 0.08);
    transform: translateY(-2px);
}

/* ── Section Labels ───────────────────────────────────────── */
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #059669;
}

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

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

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

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

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

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

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

/* ── Menu Cards ───────────────────────────────────────────── */
.menu-card {
    transform: translateY(20px);
    opacity: 1;
    transition: transform 0.6s ease, opacity 0.6s ease, box-shadow 0.3s ease;
}

.menu-card.reveal-visible {
    transform: translateY(0);
}

.menu-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px) !important;
}

/* ── Mobile Menu ──────────────────────────────────────────── */
.mobile-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: #059669;
}

/* ── Form ─────────────────────────────────────────────────── */
input::placeholder,
textarea::placeholder {
    color: rgba(165, 214, 183, 0.35);
}

/* ── 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;
    }
}

/* ── Mobile Responsive ────────────────────────────────────── */
@media (max-width: 767px) {
    .hero-headline {
        font-size: 2.5rem;
    }

    @media (max-width: 480px) {
        .hero-headline {
            font-size: 2rem;
        }
    }
}
