/* Custom styles for Shack Attack Burgers */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #FFF8F0;
}
::-webkit-scrollbar-thumb {
    background: #d9522a;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c73d1a;
}

/* Selection color */
::selection {
    background: #d9522a;
    color: #FFF8F0;
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(61, 33, 23, 0.1);
}

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

/* Pulse ring animation */
@keyframes ring {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.animate-ring {
    animation: ring 1.5s ease-in-out infinite;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
#mobile-menu.open {
    max-height: 400px;
    padding-top: 0;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #f5c4b6 0%, #f9ecbe 100%);
}

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