/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(110, 231, 183, 0.3);
    color: #E8EDF4;
}

/* ===== Navbar ===== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(3, 12, 24, 0.92);
    backdrop-blur-xl;
    border-bottom: 1px solid rgba(110, 231, 183, 0.08);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

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

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

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

/* ===== Menu Tabs ===== */
.menu-tab {
    color: #9BB0CC;
    background: transparent;
}

.menu-tab.active {
    color: #061528;
    background: #6EE7B7;
    box-shadow: 0 4px 20px rgba(110, 231, 183, 0.3);
}

.menu-tab:not(.active):hover {
    color: #E8EDF4;
    background: rgba(255, 255, 255, 0.05);
}

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

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

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

    .reveal.hidden-reveal {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }

    img, .group img {
        transition: none;
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2E4F8A;
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #6EE7B7;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Image Hover Enhancement ===== */
.group:hover img {
    transform: scale(1.05);
}

/* ===== Gradient Divider ===== */
.gradient-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(110, 231, 183, 0.2), transparent);
}
