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

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

body {
    overflow-x: hidden;
}

/* Gold button */
.btn-gold {
    background: linear-gradient(135deg, #C8971E 0%, #D4A937 50%, #C8971E 100%);
    color: #0A1628;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #D4A937 0%, #E0BC56 50%, #D4A937 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-gold:hover::before {
    opacity: 1;
}

.btn-gold span,
.btn-gold svg,
.btn-gold .btn-text {
    position: relative;
    z-index: 1;
}

/* Nav links */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C8971E;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #fff !important;
}

/* Menu tabs */
.menu-tab {
    color: rgba(255, 255, 255, 0.5);
    background: transparent;
}

.menu-tab:hover {
    color: rgba(255, 255, 255, 0.8);
}

.menu-tab.active {
    background: linear-gradient(135deg, #C8971E, #D4A937);
    color: #0A1628;
    font-weight: 700;
}

/* Mobile nav links */
.mobile-nav-link {
    position: relative;
}

.mobile-nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #C8971E;
    margin: 4px auto 0;
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::after {
    width: 60%;
}

.mobile-nav-link:hover {
    color: #fff !important;
}

/* Scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
}

/* Fallback: if JS is disabled, all content is visible */
.no-js .reveal,
.js-fallback .reveal {
    opacity: 1;
    transform: none;
}

/* Selection */
::selection {
    background: rgba(200, 151, 30, 0.3);
    color: #fff;
}

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

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

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

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

/* Focus visible */
:focus-visible {
    outline: 2px solid #C8971E;
    outline-offset: 2px;
}

/* Image loading */
img {
    loading: lazy;
    decoding: async;
}
