/* Custom Styles for La Ke Sabrosa Restaurant */

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

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

::-webkit-scrollbar-track {
    background: #FDF9F3;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #C4432B;
}

/* Hero Cards Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(var(--rotate, 0deg));
    }
    50% {
        transform: translateY(-10px) rotate(var(--rotate, 0deg));
    }
}

/* Apply float animation to floating cards */
.absolute.bottom-20.left-0,
.absolute.top-10.left-10,
.absolute.bottom-0.right-10 {
    animation: float 4s ease-in-out infinite;
}

.absolute.top-10.left-10 {
    animation-delay: 0.5s;
}

.absolute.bottom-0.right-10 {
    animation-delay: 1s;
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background: rgba(253, 249, 243, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Form Focus Effects */
input:focus,
select:focus,
textarea:focus {
    border-color: #D4593F !important;
    box-shadow: 0 0 0 3px rgba(212, 89, 63, 0.2) !important;
}

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

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

/* Mobile Menu Transitions */
#mobileMenu {
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

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

#mobileMenu:not(.hidden) {
    opacity: 1;
    max-height: 500px;
}

/* Print Styles */
@media print {
    nav,
    #mobileMenuBtn,
    button {
        display: none !important;
    }
    
    body {
        color: #1C1917 !important;
        background: white !important;
    }
}
