/* ===== Custom Properties ===== */
:root {
    --midnight-950: #0A1628;
    --midnight-900: #0D1F3C;
    --midnight-800: #12294F;
    --midnight-700: #1A3A6B;
    --gold-500: #C9A84C;
    --gold-400: #D4B85E;
    --gold-300: #E0C970;
    --mint-500: #4ECDC4;
    --mint-400: #6DD5CD;
    --mint-300: #8EDBD5;
    --gray-100: #F3F4F6;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
}

/* ===== Base Styles ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--midnight-950);
    color: var(--gray-100);
    overflow-x: hidden;
}

.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

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

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

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

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

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

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-400);
    transition: width 0.3s ease;
}

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

/* ===== Mobile Menu ===== */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    position: relative;
    padding-left: 0;
}

.mobile-link::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 100%;
    background: linear-gradient(to right, var(--gold-500), transparent);
    opacity: 0.3;
    transition: width 0.3s ease;
}

.mobile-link:hover::before {
    width: 4px;
}

/* ===== Section Animations ===== */
.fade-in-section {
    opacity: 1 !important;
    transform: none !important;
}

/* ===== Hero Decorations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* ===== Gold Shimmer Effect ===== */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.gold-shimmer {
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300), var(--gold-500));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* ===== Card Hover Effects ===== */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* ===== Button Ripple ===== */
button, a {
    position: relative;
    overflow: hidden;
}

/* ===== Selection ===== */
::selection {
    background: var(--gold-500);
    color: var(--midnight-950);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

/* ===== Print Styles ===== */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .bg-midnight-950,
    .bg-midnight-900 {
        background: white !important;
    }
    
    .text-white,
    .text-gray-100,
    .text-gray-400 {
        color: black !important;
    }
}
