/* Custom styles for Abe's Delicatessen */

/* Base & Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0f0a;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .group:hover img {
        transform: none;
    }
}

/* Navbar Glass Effect */
.navbar-scrolled {
    background: rgba(10, 15, 10, 0.9) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 149, 46, 0.1);
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, #f0d890, #c9952e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Glow */
.card-glow:hover {
    box-shadow: 0 0 40px rgba(201, 149, 46, 0.15);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #3d633d;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Mobile link hover */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #c9952e, transparent);
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Image aspect ratios */
img {
    max-width: 100%;
    height: auto;
}

/* Selection color */
::selection {
    background: rgba(201, 149, 46, 0.3);
    color: #f0d890;
}

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