/* Southwinds Lounge — Custom Styles */

/* Base */
html {
    scroll-behavior: smooth;
}

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

/* Selection */
::selection {
    background: rgba(217, 160, 44, 0.3);
    color: #f0f3f9;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0b1526;
}
::-webkit-scrollbar-thumb {
    background: #1e3557;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2d4a7a;
}

/* Reveal animations — progressive enhancement, only apply when JS runs */
.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .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; }
}

/* Navbar scroll state */
.navbar-scrolled #navbar {
    background: rgba(6, 13, 24, 0.97);
    backdrop-filter: blur(16px);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Hero image parallax feel */
#hero img {
    will-change: transform;
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #d9a02c;
    outline-offset: 2px;
}

/* Input focus states */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 1px rgba(217, 160, 44, 0.3);
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#mobile-menu.open {
    max-height: 400px;
}

/* Image hover zoom */
.group img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.group:hover img {
    transform: scale(1.03);
}
