/* Custom styles for Old 360 Diner */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #060d14;
}
::-webkit-scrollbar-thumb {
    background: #1a2733;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c9a84c;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(6, 13, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

/* Nav links hover effect */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a84c;
    transition: width 0.3s ease;
}
.nav-link:hover {
    color: #c9a84c !important;
}
.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu animations */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}
.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* Hamburger animation */
.menu-line {
    transition: all 0.3s ease;
}
#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 5px;
}

/* Gold shimmer effect on hover for cards */
.bg-deep\/60 {
    transition: all 0.5s ease;
}
.bg-deep\/60:hover {
    border-color: rgba(201, 168, 76, 0.2);
    box-shadow: 0 0 40px rgba(201, 168, 76, 0.05);
}

/* Image hover zoom */
.group img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button hover glow */
.bg-gold:hover {
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.3);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .group img {
        transition: none;
    }
    .bg-deep\/60 {
        transition: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }
    #hero h1 span:last-child {
        font-size: 1.5rem !important;
    }
}
