/* Custom styles for Rain Lounge and Bar */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Navbar transition */
#navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#navbar.scrolled {
    background: rgba(2, 6, 23, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Menu card hover effects */
.menu-card {
    transform: translateY(0);
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px -20px rgba(13, 148, 136, 0.15);
}

/* Vibe card hover */
.vibe-card {
    transform: translateY(0);
}

.vibe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px -20px rgba(13, 148, 136, 0.2);
}

/* Mobile menu link transitions */
.mobile-link {
    transition: all 0.2s ease;
}

.mobile-link:hover {
    padding-left: 8px;
}

/* Geometric floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

.float-1 {
    animation: float 6s ease-in-out infinite;
}
.float-2 {
    animation: float-slow 8s ease-in-out infinite;
}
.float-3 {
    animation: float 7s ease-in-out infinite reverse;
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .reveal.revealed {
        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; }
}

/* Button focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #2dd4bf;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: rgba(13, 148, 136, 0.3);
    color: #f0fdfa;
}
