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

:root {
    --midnight-800: #0c1a2c;
    --midnight-950: #02070e;
    --mint-300: #9dd5c0;
    --mint-400: #6fbaa1;
    --mint-500: #4a9e84;
    --mint-600: #337d68;
    --mint-100: #e5f7ef;
    --mint-200: #c9eadd;
}

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

body {
    background-color: #faf8f5;
    color: #1a2d42;
}

/* ─── NAVBAR ─────────────────────────────────────── */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(2, 7, 14, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(157, 213, 192, 0.08);
}

#navbar.scrolled .navbar-brand {
    color: #e5f7ef;
}

/* ─── MOBILE MENU ────────────────────────────────── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    color: #c9eadd;
    transition: color 0.3s ease;
}

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

.menu-line {
    display: block;
    background-color: #c9eadd;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

body.menu-open .menu-line:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

body.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

body.menu-open .menu-line:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
    width: 1.25rem;
}

/* ─── HERO ───────────────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, #050d18 0%, #0c1a2c 40%, #172a41 70%, #223a56 100%);
}

.hero-gradient {
    background: radial-gradient(ellipse at 70% 40%, rgba(74, 158, 132, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(157, 213, 192, 0.06) 0%, transparent 50%);
}

.hero-pattern {
    background-image: radial-gradient(circle, rgba(157, 213, 192, 0.5) 1px, transparent 1px);
    background-size: 32px 32px;
}

.hero-img-wrap {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
}

.hero-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 13, 24, 0.3) 0%, transparent 40%);
    border-radius: 1.25rem;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* ─── BUTTONS ────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #4a9e84 0%, #337d68 100%);
    color: #f5fcf9;
    font-family: 'Lato', system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(74, 158, 132, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 158, 132, 0.4);
    background: linear-gradient(135deg, #6fbaa1 0%, #4a9e84 100%);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: #c9eadd;
    font-family: 'Lato', system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0.5rem;
    border: 1px solid rgba(157, 213, 192, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: rgba(157, 213, 192, 0.6);
    background: rgba(157, 213, 192, 0.08);
    transform: translateY(-2px);
}

/* ─── SECTIONS ───────────────────────────────────── */
.section-light {
    background-color: #faf8f5;
}

.section-dark {
    background: linear-gradient(160deg, #050d18 0%, #0c1a2c 50%, #172a41 100%);
}

/* ─── FLAVOR CARDS ───────────────────────────────── */
.flavor-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(157, 213, 192, 0.08);
    border-radius: 1rem;
    padding: 1.25rem;
    transition: all 0.4s ease;
}

.flavor-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(157, 213, 192, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.flavor-img-wrap {
    border-radius: 0.75rem;
    overflow: hidden;
}

.flavor-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.flavor-card:hover .flavor-img {
    transform: scale(1.05);
}

/* ─── INPUTS ─────────────────────────────────────── */
.input-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(157, 213, 192, 0.15);
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    color: #e5f7ef;
    font-family: 'Lato', system-ui, sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.input-dark::placeholder {
    color: rgba(157, 213, 192, 0.35);
}

.input-dark:focus {
    border-color: rgba(157, 213, 192, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(74, 158, 132, 0.1);
}

.input-dark:invalid:not(:placeholder-shown) {
    border-color: rgba(239, 68, 68, 0.5);
}

/* ─── REVEAL ANIMATIONS ──────────────────────────── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ─── FOCUS STYLES ───────────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #9dd5c0;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ─── 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; }
    .scroll-indicator { animation: none; opacity: 0.7; }
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 767px) {
    .hero-section {
        min-height: auto;
        padding-top: 5rem;
    }

    .hero-img-wrap {
        margin-top: 2rem;
        min-height: 300px;
    }

    .hero-accent {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section {
        min-height: 100vh;
    }
}

/* ─── PRINT ──────────────────────────────────────── */
@media print {
    #navbar, .scroll-indicator, #contact-form button { display: none; }
    .hero-section { background: #0c1a2c !important; color: white !important; }
    body { background: white !important; color: black !important; }
}
