/* Custom Styles for Cafecito Bar */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #145320;
}

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

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Reduced Motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal.animate {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Hero Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Focus Styles */
*:focus-visible {
    outline: 3px solid #1a6b23;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image Loading */
img {
    background-color: #e5e7eb;
}

/* Navbar Scroll State */
nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav.scrolled .text-forest-950 {
    color: #0a2a11;
}
