/* ===== Custom Styles for Tom's Diner ===== */

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #1B2A4A;
}
::-webkit-scrollbar-thumb {
    background: #D4A843;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E0B95E;
}

/* Hero Animations */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s ease forwards;
    animation-delay: 0.3s;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu Card Hover */
.menu-card {
    transform: translateY(0);
}

.menu-card:hover {
    transform: translateY(-4px);
}

/* Special Card Hover */
.special-card {
    transform: translateY(0);
}

/* Navbar Scroll State */
.nav-scrolled {
    background: rgba(15, 29, 54, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Intersection Observer Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }

/* Mobile Menu Transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

#mobile-menu.open {
    max-height: 500px;
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, #D4A843 0%, #E0B95E 50%, #E8C97A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image Hover Zoom */
img {
    transition: transform 0.3s ease;
}

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

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

/* Print Styles */
@media print {
    nav, #mobile-menu-btn, .hero-content a {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
