/* ===== Custom Styles for Green Light Lounge #GLL ===== */

/* Base */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Navbar ===== */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-blur-xl;
    border-bottom: 1px solid rgba(10, 26, 48, 0.06);
    box-shadow: 0 1px 20px rgba(10, 26, 48, 0.06);
}

.nav-transparent {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
}

/* ===== Mobile Menu ===== */
#mobileMenu {
    max-height: 0;
}

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

#bar1.open {
    transform: translateY(4px) rotate(45deg);
}

#bar2.open {
    opacity: 0;
}

#bar3.open {
    transform: translateY(-4px) rotate(-45deg);
}

.mobile-link {
    display: block;
}

/* ===== Float Animation ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

/* ===== Reveal Animations ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .animate-float {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ===== Button Focus States ===== */
a:focus-visible, button:focus-visible {
    outline: 2px solid rgba(61, 209, 160, 0.6);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Selection ===== */
::selection {
    background: rgba(61, 209, 160, 0.25);
    color: rgba(10, 26, 48, 1);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(10, 26, 48, 0.03);
}
::-webkit-scrollbar-thumb {
    background: rgba(10, 26, 48, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(10, 26, 48, 0.25);
}
