/* Custom styles for Faded to a T */

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

/* Only animate when JS adds the class (progressive enhancement) */
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .scroll-reveal {
        transition: none;
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .group img {
        transition: none;
    }
}

/* Smooth focus styles */
*:focus-visible {
    outline: 2px solid rgb(79, 163, 136);
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgb(244, 250, 248);
}
::-webkit-scrollbar-thumb {
    background: rgb(155, 212, 192);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgb(79, 163, 136);
}
