/* Base styles and custom properties */
:root {
    --navy-900: #0a1128;
    --navy-800: #1a2744;
    --gold-400: #f5c542;
    --gold-500: #e6b422;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--navy-900);
}

/* Geometric background shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.03;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border: 60px solid var(--gold-400);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    border: 40px solid var(--gold-400);
    border-radius: 50%;
    bottom: 10%;
    left: -100px;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid var(--gold-400);
    top: 40%;
    right: 5%;
    opacity: 0.02;
}

.shape-square {
    width: 200px;
    height: 200px;
    border: 30px solid var(--gold-400);
    top: 60%;
    left: 8%;
    transform: rotate(45deg);
    opacity: 0.02;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(40px);
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--navy-700);
    border-radius: 5px;
}

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

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold-400);
    outline-offset: 2px;
    border-radius: 4px;
}

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