*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #fff7ed;
    color: #064e3b;
    line-height: 1.6;
    overflow-x: hidden;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #065f46;
    color: #fff7ed;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    z-index: 100;
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus {
    top: 1rem;
}

/* ─── HEADER ─── */
#header {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
#header.scrolled {
    background: rgba(255, 247, 237, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}

.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #059669;
    border-radius: 1px;
    transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero:hover .hero-img {
    transform: scale(1.08);
}

.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(6, 78, 59, 0.88) 0%,
        rgba(4, 90, 67, 0.82) 40%,
        rgba(6, 95, 70, 0.72) 70%,
        rgba(10, 101, 83, 0.65) 100%
    );
}

.hero-pattern {
    background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 24px 24px;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles .dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    animation: float-dot 6s ease-in-out infinite;
}

@keyframes float-dot {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.3); opacity: 0.7; }
}

.hero-badge {
    animation: fadeInUp 0.8s ease both;
}
.hero-content h1 {
    animation: fadeInUp 0.8s ease 0.15s both;
}
.hero-content p {
    animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-content .flex-wrap {
    animation: fadeInUp 0.8s ease 0.45s both;
}
.hero-stats {
    animation: fadeInUp 0.8s ease 0.6s both;
}

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

.hero-scroll-indicator {
    animation: fadeInUp 0.8s ease 0.9s both;
}

/* ─── BUTTONS ─── */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.btn-primary:hover::before {
    opacity: 1;
}

/* ─── SECTION LABELS ─── */
.section-label {
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ─── FEATURE CARDS ─── */
.feature-card {
    transform: translateY(0);
}
.feature-card:hover {
    transform: translateY(-4px);
}

/* ─── MENU ─── */
.menu-item {
    border-radius: 1rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

/* ─── GALLERY ─── */
.gallery-item {
    aspect-ratio: 1;
    cursor: pointer;
}
.gallery-item:nth-child(2),
.gallery-item:nth-child(4) {
    aspect-ratio: 3/4;
}
.gallery-item img {
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}

/* ─── VISIT SECTION ─── */
.visit-pattern {
    background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 32px 32px;
}

.visit-dots .vdot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(110, 231, 183, 0.3);
    border-radius: 50%;
    animation: float-dot 5s ease-in-out infinite;
}

/* ─── CONTACT FORM ─── */
.input-emerald {
    font-family: 'Inter', system-ui, sans-serif;
}
.input-emerald:focus {
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* ─── SCROLL REVEAL (below-fold only) ─── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ─── MOBILE MENU ─── */
.mobile-link {
    display: block;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-link:hover {
    color: #059669;
    padding-left: 0.5rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2.75rem;
    }
    .hero-stats {
        gap: 1rem !important;
    }
    .hero-stats > div {
        min-width: 80px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-content h1 {
        font-size: 4rem;
    }
}

@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;
    }
}
