/* Custom styles that extend Tailwind */

html {
    scroll-behavior: smooth;
}

body {
    /* Ensures text is readable over backgrounds */
    background-color: #FAFAF5;
    color: #064E3B;
}

/* Animation Utilities */
.animate-float-slow {
    animation: float 6s ease-in-out infinite;
}

.animate-float-medium {
    animation: float 5s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

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

/* If JS is disabled or slow, content is still visible by default due to opacity: 1 above */
@media (prefers-reduced-motion: no-preference) {
    .reveal-on-scroll {
        /* Only hide initially if we want the animation effect */
        /* Note: Keeping opacity 1 ensures accessibility and no FOUC */
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #10B981;
}
