/* Base styles and custom components */
:root {
    --gold: #C9952E;
    --gold-light: #D4A853;
    --navy: #0A1628;
    --navy-light: #1A2744;
}

html {
    scroll-behavior: smooth;
}

/* Gold button component */
.gold-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background-color: var(--gold);
    color: var(--navy);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

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

.gold-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px -8px rgba(201, 149, 46, 0.5);
}

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

.gold-button span {
    position: relative;
    z-index: 1;
}

/* Mobile nav links */
.mobile-nav-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--gold-light);
}

/* Selection color */
::selection {
    background-color: var(--gold);
    color: var(--navy);
}

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

::-webkit-scrollbar-track {
    background: var(--navy);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .gold-line {
        width: 64px !important;
    }
}
