/* Custom styles and overrides */

html {
    scroll-behavior: smooth;
}

/* Prevent scroll-reveal from hiding content by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #6d9c53;
}

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

/* Selection color */
::selection {
    background-color: #c4d8b0;
    color: #1f3217;
}
