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

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

::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #f0fdfa;
}

/* ─── Floating Card Animations ─── */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

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

.card-sling {
    animation-delay: -2s;
}

.card-hours {
    animation-delay: -4s;
}

.card-location {
    animation-delay: -1s;
}

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

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

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* ─── Navbar ─── */
.nav-scrolled {
    background: rgba(2, 6, 23, 0.92) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ─── Mobile Menu ─── */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none;
    }

    .reveal {
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .floating-card {
        display: none;
    }

    #hero {
        min-height: 100vh;
        padding-top: 80px;
    }
}
