/* Custom styles for Dandy Lion Restaurant */

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

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

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

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

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

/* Selection color */
::selection {
    background: rgba(232, 101, 75, 0.3);
    color: #ffffff;
}

/* Base animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Scroll reveal animations - progressive enhancement only */
.scroll-reveal {
    /* Default state: fully visible */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        /* Hidden state only applied when JS adds the class */
        opacity: 0;
        transform: translateY(30px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 101, 75, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gold shimmer effect for special elements */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Button hover glow */
.btn-glow:hover {
    box-shadow: 0 0 40px rgba(232, 101, 75, 0.3);
}

/* Image hover container */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* Decorative line animation */
@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Loading state for images */
img {
    background: linear-gradient(135deg, #1C1C1C 0%, #252525 100%);
}

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

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

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

/* Subtle pattern overlay for dark sections */
.pattern-overlay {
    background-image: radial-gradient(rgba(232, 101, 75, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        line-height: 1.1;
    }
}
