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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Quicksand', system-ui, sans-serif;
    background: #fefdf8;
    color: #064e3b;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 25%, #a7f3d0 50%, #6ee7b7 75%, #34d399 100%);
}

/* Floating blobs */
.hero-blob {
    animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #10b981 0%, transparent 70%);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #34d399 0%, transparent 70%);
    top: 40%;
    right: -5%;
    animation-delay: -3s;
}

.hero-blob-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #6ee7b7 0%, transparent 70%);
    bottom: 5%;
    left: 30%;
    animation-delay: -5s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Hero entrance animation */
.hero-badge {
    animation: fadeUp 0.8s ease-out both;
}

.hero-badge:nth-child(1) { animation-delay: 0.1s; }

h1 {
    animation: fadeUp 0.8s ease-out 0.2s both;
}

#hero p {
    animation: fadeUp 0.8s ease-out 0.4s both;
}

#hero .flex-col {
    animation: fadeUp 0.8s ease-out 0.6s both;
}

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

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

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(5, 150, 105, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #059669;
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

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

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

.mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

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

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

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

/* Card hover effects */
.card-flavor {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-flavor:hover {
    transform: translateY(-6px);
}

/* Smooth focus */
:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection */
::selection {
    background: #a7f3d0;
    color: #064e3b;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefdf8;
}
::-webkit-scrollbar-thumb {
    background: #a7f3d0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6ee7b7;
}

/* Map container */
.leaflet-container, iframe {
    border-radius: 1.5rem;
}
