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

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

body {
    overflow-x: hidden;
}

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(
        135deg,
        #1a3a1a 0%,
        #0d260d 25%,
        #1e4d2e 50%,
        #0f3018 75%,
        #1a3a1a 100%
    );
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(68, 141, 68, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(151, 199, 150, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 50% 50%, rgba(45, 110, 45, 0.2) 0%, transparent 60%);
}

/* ── Navigation ── */
.nav-logo {
    letter-spacing: 0.02em;
}

.nav-link {
    position: relative;
}

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

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

/* ── Navbar Scroll State ── */
.navbar-scrolled {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* ── Mobile Menu ── */
.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.menu-line.active:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.menu-line.active:nth-child(2) {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* ── Hero Animations ── */
.hero-subtitle {
    animation: heroFadeUp 0.8s ease forwards 0.2s;
}

.hero-title {
    animation: heroFadeUp 0.8s ease forwards 0.4s;
}

.hero-desc {
    animation: heroFadeUp 0.8s ease forwards 0.6s;
}

.hero-cta {
    animation: heroFadeUp 0.8s ease forwards 0.8s;
}

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

/* ── Scroll Indicator ── */
.scroll-indicator {
    opacity: 0.6;
}

/* ── Divider Line ── */
.divider-line {
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(68, 141, 68, 0.2) 20%,
        rgba(68, 141, 68, 0.2) 80%,
        transparent
    );
}

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

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

.reveal:not(.revealed) {
    opacity: 1;
    transform: translateY(0);
}

/* ── Menu Items ── */
.menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 5px;
}

.menu-item:last-child {
    border-bottom: none;
}

/* ── Buttons ── */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.btn-primary:hover::before {
    opacity: 1;
}

/* ── Contact Input ── */
.contact-input {
    border-image: linear-gradient(to right, #d1d5db, #6b7280) 1;
}

.contact-input:focus {
    border-image: linear-gradient(to right, #6aad6a, #448c44) 1;
}

.contact-input::placeholder {
    color: #a8b8a8;
}

/* ── Visit Detail ── */
.visit-detail {
    padding-left: 16px;
    border-left: 1px solid rgba(68, 141, 68, 0.15);
}

/* ── 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 {
        opacity: 1;
        transform: none;
    }
    .hero-subtitle,
    .hero-title,
    .hero-desc,
    .hero-cta {
        opacity: 1;
        transform: none;
    }
}

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

    .hero-title br {
        display: none;
    }

    .hero-title::after {
        content: ' the good stuff.';
        display: block;
        font-size: 0.6em;
        margin-top: 0.25em;
    }
}
