/* Bear's Deli — Custom Styles */

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

body {
    background-color: #0d0a08;
    color: #f5f0eb;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0a08;
}
::-webkit-scrollbar-thumb {
    background: #2a221c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c9a227;
}

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

/* Nav transitions */
#navbar {
    backdrop-filter: blur(0px);
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(13, 10, 8, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 162, 39, 0.1);
}

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

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

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Gold shimmer on hover for cards */
.group:hover .group-hover\:bg-gold-500\/20 {
    background-color: rgba(201, 162, 39, 0.2);
}

/* Image hover zoom */
.rounded-2xl.overflow-hidden img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Button focus */
a:focus-visible, button:focus-visible {
    outline: 2px solid #c9a227;
    outline-offset: 2px;
    border-radius: 9999px;
}

/* Map container fix */
.rounded-2xl.overflow-hidden {
    position: relative;
}

.rounded-2xl.overflow-hidden iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
