/* Custom styles for Rita's Cafe */

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

/* Navbar styles */
#navbar {
    background: rgba(254, 252, 251, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(114, 47, 55, 0.1);
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(114, 47, 55, 0.1);
}

/* Menu tabs */
.menu-tab {
    background: transparent;
    color: #722F37;
    border: 1px solid transparent;
}

.menu-tab.active {
    background: #722F37;
    color: #fefcfb;
}

.menu-tab:hover:not(.active) {
    border-color: #722F37;
}

/* Menu items */
.menu-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(114, 47, 55, 0.1);
}

.menu-item:last-child {
    border-bottom: none;
}

/* Mobile menu */
.mobile-link {
    font-size: 1.875rem;
}

/* Decorative elements */
.gold-accent {
    background: linear-gradient(135deg, #c9a84c, #b8943f);
}

/* Button hover effects */
a, button {
    transition: all 0.3s ease;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #4a1520;
}

/* Selection color */
::selection {
    background: #722F37;
    color: #fefcfb;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #722F37;
    outline-offset: 2px;
}

/* Animation for scroll reveal (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);
    }
}

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

/* Print styles */
@media print {
    #navbar,
    #menuBtn,
    #mobileMenu {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
