/* Custom overrides and enhancements */

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Scroll-reveal animations (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

    .reveal.visible {
        opacity: 1;
        transform: none;
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Subtle gold accent line on section headers */
section > div > div:first-child > span::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #C8962E;
    margin-top: 8px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A1628;
}
::-webkit-scrollbar-thumb {
    background: #1B3A6B;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C8962E;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #C8962E;
    outline-offset: 2px;
}
