/* Custom styles for El Nuevo Harlem Restaurant */

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

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

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled .nav-logo-text {
    color: #1c1917;
}

#navbar.scrolled .nav-link {
    color: #44403c;
}

#navbar.scrolled .nav-link:hover {
    color: #e05322;
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero scroll indicator */
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Button hover effects */
a:hover {
    transition: all 0.2s ease;
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Selection color */
::selection {
    background-color: #f9c4b2;
    color: #6e2416;
}

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

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

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

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

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

/* 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;
    }
}

/* Tablet and up adjustments */
@media (min-width: 768px) {
    .nav-logo-text {
        font-size: 1.1rem;
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}
