/* Custom styles and animations */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
    
    .reveal-on-scroll.revealed {
        opacity: 1;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .animate-float {
        animation: none;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #c8dfcb;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9cc59f;
}

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

/* Print styles */
@media print {
    nav,
    .animate-float,
    .reveal-on-scroll {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
