/* ── Base ── */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Navbar ── */
.nav-scrolled {
    background: rgba(255, 253, 247, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(5, 158, 105, 0.08);
}

.nav-scrolled .font-heading {
    text-shadow: none;
}

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

.blob-1 {
    width: 500px;
    height: 500px;
    background: #A7F3D0;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #FFF3D6;
    bottom: -50px;
    left: -50px;
    animation-delay: -3s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: #D1FAE5;
    top: 50%;
    left: 40%;
    animation-delay: -5s;
}

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

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

.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: -1.3s; }
.card-3 { animation-delay: -2.6s; }

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

/* ── Menu Cards ── */
.menu-card {
    transform: translateY(0);
    will-change: transform, box-shadow;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Mobile Menu ── */
.mobile-link {
    position: relative;
}

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

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

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FFFDF7;
}
::-webkit-scrollbar-thumb {
    background: #A7F3D0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #34D399;
}

/* ── Selection ── */
::selection {
    background: #A7F3D0;
    color: #064E3B;
}
