/* Custom styles for 26th Street Cafe */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #030810;
}
::-webkit-scrollbar-thumb {
    background: #1e4498;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2858c4;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(3, 8, 16, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Menu tabs */
.menu-tab {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
}
.menu-tab.active {
    background: #059669;
    color: #030810;
}
.menu-tab:hover:not(.active) {
    color: #6ee7b7;
    background: rgba(110, 231, 183, 0.1);
}

/* Mobile menu */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Menu line animation */
.menu-line {
    transition: all 0.3s ease;
}
#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 5px;
}

/* Reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: ensure content is visible without JS */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Ensure no JS = fully visible content */
.js-enabled .reveal {
    opacity: 0;
    transform: translateY(30px);
}
.js-enabled .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hero image shimmer */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Floating animation for cards */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.floating-card {
    animation: float 4s ease-in-out infinite;
}

/* Image hover effect */
img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Link underline animation */
a {
    text-decoration: none;
}

/* Selection color */
::selection {
    background: #059669;
    color: #f0fdf4;
}

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

/* Print styles */
@media print {
    nav, #menuBtn, .reveal {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
