/* ========================================
   New Level Bar and Lounge — Custom Styles
   ======================================== */

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Selection color */
::selection {
    background-color: #d4a574;
    color: #0d1f0d;
}

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

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

::-webkit-scrollbar-thumb {
    background: #1a3c1a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2c5f2c;
}

/* ========================================
   Navbar
   ======================================== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(253, 252, 250, 0.97);
    box-shadow: 0 1px 20px rgba(26, 60, 26, 0.08);
    backdrop-filter: blur(12px);
}

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(26, 60, 26, 0.1);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-link:last-child {
    border-bottom: none;
}

.mobile-link:hover {
    color: #d4a574;
    padding-left: 0.75rem;
}

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

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

/* ========================================
   Buttons & Links
   ======================================== */
a {
    text-decoration: none;
}

/* ========================================
   Form Styles
   ======================================== */
input:focus,
textarea:focus {
    outline: none;
}

textarea {
    min-height: 120px;
}

/* ========================================
   Image hover effects
   ======================================== */
img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 767px) {
    .font-serif {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}

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

/* ========================================
   Focus visible for accessibility
   ======================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d4a574;
    outline-offset: 2px;
    border-radius: 4px;
}
