/* ========================================
   REBAR ON MAIN — Custom Styles
   Premium Dark Luxury Theme
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0A0A0A;
    color: #F2D7D9;
}

/* Selection */
::selection {
    background-color: #781F2A;
    color: #F2D7D9;
}

/* ========================================
   NAVBAR
   ======================================== */
#navbar {
    background: transparent;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(212, 175, 55, 0.1);
}

/* Mobile menu lines animation */
#menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-toggle.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 24px;
}

/* Mobile menu open */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    font-size: 1.125rem;
}

/* ========================================
   HERO
   ======================================== */
#hero {
    position: relative;
}

/* ========================================
   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; }
}

/* ========================================
   MENU TABS
   ======================================== */
.menu-tab {
    background: transparent;
    border: 1px solid rgba(242, 215, 217, 0.1);
    color: rgba(242, 215, 217, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-tab:hover {
    color: #D4AF37;
    border-color: rgba(212, 175, 55, 0.3);
}

.menu-tab.active {
    background: rgba(120, 31, 42, 0.3);
    border-color: rgba(212, 175, 55, 0.4);
    color: #F2D7D9;
}

/* ========================================
   INPUTS
   ======================================== */
input, select, textarea {
    background-color: #121212 !important;
}

input::-webkit-calendar-picker-indicator {
    filter: invert(0.7);
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #781F2A;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #942733;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .font-display {
        word-spacing: -0.02em;
    }
}
