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

::selection {
    background: #166534;
    color: #fefdf8;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f0;
}
::-webkit-scrollbar-thumb {
    background: #166534;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #14532d;
}

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

.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #052e16;
}

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

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

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

/* ── Hero Animations ── */
@keyframes heroUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tagline,
.hero-headline,
.hero-subtext,
.hero-ctas,
.hero-stats {
    animation: heroUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image-wrapper {
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ── Menu Tabs ── */
.menu-tab {
    background: transparent;
    border: 1.5px solid rgba(254, 253, 248, 0.2);
    color: rgba(254, 253, 248, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-tab:hover {
    border-color: rgba(254, 253, 248, 0.5);
    color: rgba(254, 253, 248, 0.9);
}

.menu-tab.active {
    background: #166534;
    border-color: #166534;
    color: #fefdf8;
}

.menu-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(254, 253, 248, 0.06);
    animation: menuItemIn 0.4s ease forwards;
    opacity: 0;
}

.menu-item:nth-child(1) { animation-delay: 0.05s; }
.menu-item:nth-child(2) { animation-delay: 0.1s; }
.menu-item:nth-child(3) { animation-delay: 0.15s; }
.menu-item:nth-child(4) { animation-delay: 0.2s; }
.menu-item:nth-child(5) { animation-delay: 0.25s; }
.menu-item:nth-child(6) { animation-delay: 0.3s; }
.menu-item:nth-child(7) { animation-delay: 0.35s; }
.menu-item:nth-child(8) { animation-delay: 0.4s; }

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

/* ── Gallery ── */
.gallery-item {
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 46, 22, 0);
    transition: background 0.4s ease;
    border-radius: inherit;
}

.gallery-item:hover::after {
    background: rgba(5, 46, 22, 0.1);
}

.gallery-item {
    position: relative;
}

/* ── Contact Form ── */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.1);
}

/* ── Mobile Menu ── */
.mobile-link {
    transition: opacity 0.3s ease;
}

/* ── Scroll Reveal (below fold only) ── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

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

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-float-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
        max-width: 100%;
    }
}
