/* Custom styles for Paik's Noodle Glenview */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0c180d;
}
::-webkit-scrollbar-thumb {
    background: #2a4f2d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #366339;
}

/* Selection color */
::selection {
    background: rgba(201, 162, 39, 0.3);
    color: #faf9f6;
}

/* Scroll reveal base - content always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Only apply hidden state when JS is enabled via progressive enhancement */
.js-enabled .scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
}

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

/* Navbar glass effect */
.nav-scrolled {
    background: rgba(12, 24, 13, 0.92) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gold shimmer on hover for CTA buttons */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

.hero-float-1 {
    animation: float 6s ease-in-out infinite;
}
.hero-float-2 {
    animation: float 7s ease-in-out infinite 1s;
}
.hero-float-3 {
    animation: float 5s ease-in-out infinite 0.5s;
}
.hero-float-4 {
    animation: float 8s ease-in-out infinite 2s;
}

/* Subtle gradient text */
.gradient-text {
    background: linear-gradient(135deg, #d4af55 0%, #e8d5a3 50%, #c9a227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile menu transitions */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Image hover overlay */
.img-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 24, 13, 0.4) 0%, transparent 50%);
    pointer-events: none;
}
