/* 
 * Cafe Mac - Custom Styles
 * Base overrides and animations that complement Tailwind
 */

html {
    scroll-behavior: smooth;
}

body {
    /* Custom font rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Initial state for elements that will be revealed (handled by JS) */
.js-enabled .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Animation Delays */
.animation-delay-200 {
    animation-delay: 200ms;
}
.animation-delay-400 {
    animation-delay: 400ms;
}
.animation-delay-600 {
    animation-delay: 600ms;
}

/* Hero 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 1s ease-out forwards;
    opacity: 0; /* Start hidden */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #F9F7F2;
}
::-webkit-scrollbar-thumb {
    background: #1A4D3E;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0f2e25;
}

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