/* Custom styles and overrides */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #f5f5f4;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #3c5776;
}

/* Selection color */
::selection {
    background: #c99b3e;
    color: #ffffff;
}

/* Reveal animations - progressive enhancement */
.reveal-text {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal-text {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

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

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

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

/* Form focus states */
input:focus,
textarea:focus {
    border-color: #c99b3e;
}

/* Image lazy loading placeholder */
img {
    background-color: #e7e5e4;
}
