/* Custom styles for Bob's Big Boy */

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

/* Header scroll state */
#site-header {
    background: transparent;
}

#site-header.scrolled {
    background: rgba(255, 247, 237, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(6, 78, 59, 0.08);
}

.header-logo-text {
    color: #fff;
    transition: color 0.3s ease;
}

.header-nav-text {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

#site-header.scrolled .header-logo-text {
    color: #022c22;
}

#site-header.scrolled .header-nav-text {
    color: #065f46;
}

/* Mobile menu */
.mobile-nav-link {
    font-size: 1rem;
}

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

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

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

/* Menu card hover */
.bg-white.rounded-2xl {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-white.rounded-2xl:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(6, 78, 59, 0.1);
}

/* Hero subtle parallax on scroll */
#hero {
    perspective: 1px;
}

#hero .absolute.inset-0 img {
    will-change: transform;
}

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

/* Selection */
::selection {
    background: rgba(5, 150, 105, 0.2);
    color: #022c22;
}
