/* Custom Styles for Zippy's Tacos */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: #1C1917;
}

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

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

/* Scroll Reveal Animations */
.scroll-trigger {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-trigger.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Reveal Animations */
.reveal-element {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.8s ease-out forwards;
}

.reveal-element:nth-child(1) { animation-delay: 0.2s; }
.reveal-element:nth-child(2) { animation-delay: 0.4s; }
.reveal-element:nth-child(3) { animation-delay: 0.6s; }
.reveal-element:nth-child(4) { animation-delay: 0.8s; }

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translate-x: 0;
}

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

/* Image Hover Effects */
img {
    transition: transform 0.3s ease;
}

/* Focus States for Accessibility */
a:focus-visible, button:focus-visible {
    outline: 3px solid #FF6B6B;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
