/* Custom styles and overrides */

/* Scroll reveal base styles - content is visible by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animated state applied via JS for progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.animated {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .scroll-reveal.animated.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header scroll state */
.header-scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Smooth focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #ff5a3f;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f6f6f7;
}
::-webkit-scrollbar-thumb {
    background: #c4c6cb;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9fa2aa;
}

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