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

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

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #f5ece4;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0709;
}
::-webkit-scrollbar-thumb {
    background: #2a1518;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6b1d2a;
}

/* Navbar */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(13, 7, 9, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Menu Tabs */
.menu-tab {
    background: transparent;
    border: 1px solid rgba(201, 168, 76, 0.2);
    color: #9a8078;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-tab:hover {
    color: #c9a84c;
    border-color: rgba(201, 168, 76, 0.5);
}

.menu-tab.active {
    background: rgba(107, 29, 42, 0.4);
    border-color: rgba(201, 168, 76, 0.5);
    color: #c9a84c;
}

/* Menu Items */
.menu-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(42, 21, 24, 0.6);
}

.menu-item:last-child {
    border-bottom: none;
}

/* Mobile Menu */
.mobile-link {
    font-size: 1.5rem;
}

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

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    border-color: rgba(201, 168, 76, 0.5) !important;
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.1);
}
