/* Custom styles for Smoken BBQ */

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

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

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

::-webkit-scrollbar-thumb {
    background: #2e5272;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4fd09a;
}

/* Selection color */
::selection {
    background: #4fd09a;
    color: #0d1c2b;
}

/* Navbar glass effect */
.navbar-scrolled {
    background: rgba(7, 15, 24, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(46, 82, 114, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Menu card hover effect */
.menu-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.menu-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(79, 208, 154, 0.1);
}

/* Image hover zoom */
.menu-card img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Fade in animation for scroll reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Pulse animation for badge */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(79, 208, 154, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(79, 208, 154, 0);
    }
}

.animate-pulse-glow {
    animation: pulse-glow 2s infinite;
}

/* Mobile menu transition */
#mobileMenu {
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

#mobileMenu.open {
    max-height: 400px;
    opacity: 1;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .menu-card:hover {
        transform: none;
    }
    
    .menu-card img {
        transform: none;
    }
    
    .fade-in-up {
        animation: none;
        opacity: 1;
    }
    
    @keyframes pulse-glow {
        0%, 100% {
            box-shadow: 0 0 0 0 rgba(79, 208, 154, 0.4);
        }
        50% {
            box-shadow: 0 0 0 10px rgba(79, 208, 154, 0);
        }
    }
    
    .animate-pulse-glow {
        animation: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}
