/* Custom Styles for O & T's Chicken Burgers & More */

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

/* Floating Animation for Hero Cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

.floating-card {
    animation: float 4s ease-in-out infinite;
}

.floating-card.card-chicken {
    animation-delay: 0s;
}

.floating-card.card-burger {
    animation-delay: 1s;
}

.floating-card.card-location {
    animation-delay: 2s;
}

/* Menu Card Hover Effects */
.menu-card {
    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(5, 14, 31, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a1f3f;
}

::-webkit-scrollbar-thumb {
    background: #1d8967;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #32ab85;
}

/* Selection Color */
::selection {
    background-color: #1d8967;
    color: #f4f6f9;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 300px;
    opacity: 1;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .menu-card {
        transition: none;
    }
}

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

/* Print Styles */
@media print {
    .floating-card {
        animation: none;
    }
    
    nav,
    .animate-bounce {
        display: none;
    }
}
