/* Custom styles for Jazzies Bar & Grill */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #060B19;
}
::-webkit-scrollbar-thumb {
    background: #1DC98A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3FD399;
}

/* Hero geometric animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-2deg); }
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(3deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-geo.shape-1 {
    animation: float-slow 8s ease-in-out infinite;
}
.hero-geo.shape-2 {
    animation: float-medium 6s ease-in-out infinite;
}
.hero-geo.shape-3 {
    animation: spin-slow 60s linear infinite;
}
.hero-geo.shape-4 {
    animation: float-fast 7s ease-in-out infinite;
}
.hero-geo.shape-5 {
    animation: float-medium 9s ease-in-out infinite reverse;
}

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

.card-1 {
    animation-delay: 0s;
}
.card-2 {
    animation-delay: 1.5s;
}

@keyframes card-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* Menu card hover effects */
.menu-card {
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}
.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(29, 201, 138, 0.15);
}

/* Vibe card hover */
.vibe-card {
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease, border-color 0.4s ease;
}
.vibe-card:hover {
    transform: translateY(-5px);
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(6, 11, 25, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.5s; }

/* Intersection Observer animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Mobile menu button animation */
.menu-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}
#menu-toggle.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 20px;
    margin-left: 0;
}

/* Button glow effect */
.btn-glow:hover {
    box-shadow: 0 0 40px rgba(29, 201, 138, 0.4);
}

/* Image hover zoom container */
img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-geo.shape-1 {
        width: 60px;
        height: 60px;
        top: 20%;
        left: -10px;
    }
    .hero-geo.shape-2 {
        width: 40px;
        height: 40px;
        bottom: 30%;
        right: 5%;
    }
    .hero-geo.shape-4 {
        display: none;
    }
    .hero-geo.shape-5 {
        display: none;
    }
    .floating-card {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        margin: 12px 0;
        animation: none;
    }
}

/* Pulse animation for live indicator */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}
.animate-pulse::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #1DC98A;
    animation: pulse-ring 1.5s ease-out infinite;
}
