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

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

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: #48D1A5;
    color: #0A2540;
}

/* ─── Hero Blobs ─── */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blobFloat 8s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #48D1A5;
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #bcf3d1;
    bottom: 15%;
    left: 5%;
    animation-delay: -3s;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: #fef08a;
    top: 40%;
    right: 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 Animations ─── */
.hero-badge {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-title {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-subtitle {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-cta {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.hero-stats {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1s;
}

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

/* ─── Floating Cards ─── */
.floating-card {
    animation: float 4s ease-in-out infinite;
}

.card-fresh {
    animation-delay: 0s;
}

.card-locals-fav {
    animation-delay: -2s;
}

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

/* ─── Decorative Dots ─── */
.dot-deco {
    animation: dotPulse 2s ease-in-out infinite;
}

.dot-deco:nth-child(2) { animation-delay: 0.3s; }
.dot-deco:nth-child(3) { animation-delay: 0.6s; }

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* ─── Scroll Dot ─── */
.scroll-dot {
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ─── Section Labels ─── */
.section-label {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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

/* ─── Section Titles ─── */
.section-title {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* ─── About Items ─── */
.about-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.about-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ─── Product Cards ─── */
.product-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

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

/* ─── Why Cards ─── */
.why-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s ease;
}

.why-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ─── Visit Items ─── */
.visit-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.visit-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ─── Buttons ─── */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:active::after {
    width: 300px;
    height: 300px;
}

/* ─── Input Fields ─── */
.input-field {
    font-family: 'Nunito', system-ui, sans-serif;
}

.input-field:focus {
    border-color: #48D1A5;
    box-shadow: 0 0 0 4px rgba(72, 209, 165, 0.15);
}

/* ─── Navbar ─── */
#navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

#navbar.scrolled {
    background: rgba(254, 252, 232, 0.95);
    box-shadow: 0 4px 30px rgba(10, 37, 64, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #48D1A5;
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

/* ─── Mobile Menu ─── */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    transition: all 0.2s ease;
}

/* ─── Image Hover ─── */
img {
    max-width: 100%;
    height: auto;
}

/* ─── Focus Styles ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #48D1A5;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero-blob {
        opacity: 0.25;
    }

    .blob-1 {
        width: 250px;
        height: 250px;
    }

    .blob-2 {
        width: 180px;
        height: 180px;
    }

    .blob-3 {
        width: 120px;
        height: 120px;
    }

    .floating-card {
        display: none;
    }
}

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