/* Capital Café & Bar — Custom Styles */

/* Base reset & typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #0d0a0a;
    color: #f5d5c0;
    overflow-x: hidden;
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #f5d5c0;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Menu tabs */
.menu-tab {
    background: transparent;
    border: 1px solid rgba(212, 168, 67, 0.15);
    color: rgba(245, 213, 192, 0.5);
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    transition: all 0.3s ease;
}

.menu-tab:hover {
    border-color: rgba(212, 168, 67, 0.4);
    color: rgba(245, 213, 192, 0.8);
    background: rgba(212, 168, 67, 0.05);
}

.menu-tab.active {
    background: rgba(212, 168, 67, 0.15);
    border-color: rgba(212, 168, 67, 0.5);
    color: #d4a843;
}

/* Mobile menu lines animation */
#menu-btn.open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-btn.open .menu-line:nth-child(2) {
    opacity: 0;
}
#menu-btn.open .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile links */
.mobile-link {
    font-family: 'Playfair Display', Georgia, serif;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.4s ease forwards;
}
.mobile-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-link:nth-child(2) { animation-delay: 0.15s; }
.mobile-link:nth-child(3) { animation-delay: 0.2s; }
.mobile-link:nth-child(4) { animation-delay: 0.25s; }

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

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(13, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* 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;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .float-slow, .float-medium, .float-fast {
        animation: none !important;
    }
    .gold-shimmer {
        animation: none !important;
        background: #d4a843;
        -webkit-background-clip: unset;
        -webkit-text-fill-color: #d4a843;
        background-clip: unset;
    }
}

/* High contrast support */
@media (prefers-contrast: high) {
    .luxury-card {
        border-color: rgba(212, 168, 67, 0.5);
    }
    .nav-link {
        color: #f5d5c0 !important;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #menu-btn, footer {
        display: none !important;
    }
    body {
        background: white;
        color: #1a1a1a;
    }
    .hero-bg {
        background: white !important;
    }
}
