/* Custom CSS for Rooted Coffee Co. */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Base Typography */
body {
    font-feature-settings: "cv02", "cv03", "cv04";
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Scroll Reveal Logic (Progressive Enhancement) */
/* By default, content is visible. JS adds the animated state. */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* These classes are added by JS when element enters viewport */
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        transition: none;
    }
    .animate-fade-in-up {
        animation: none;
        opacity: 1;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #3f0a19;
}
::-webkit-scrollbar-thumb {
    background: #be2652;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9c1b42;
}
