/* === Base & Utilities === */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(16, 185, 129, 0.3);
    color: #fdfbf7;
}

/* === Navbar === */
.nav-scrolled {
    background: rgba(10, 15, 13, 0.92) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

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

/* === Menu Tabs === */
.menu-tab {
    color: rgba(250, 245, 236, 0.5);
    background: transparent;
}

.menu-tab:hover {
    color: rgba(250, 245, 236, 0.8);
}

.menu-tab.active {
    color: #fdfbf7;
    background: rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

/* === Menu Panels === */
.menu-panel {
    animation: panelIn 0.4s ease-out forwards;
}

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

/* === Mobile Menu === */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

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

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

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

/* === Image Hover === */
.reveal-image {
    overflow: hidden;
}

.reveal-image img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

::-webkit-scrollbar-track {
    background: #0a0f0d;
}

::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.5);
}

/* === Focus Styles === */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid rgba(16, 185, 129, 0.6);
    outline-offset: 2px;
}

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