/* Custom styles for Taqueria El Paisano */

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

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(128, 0, 32, 0.1);
}

.nav-scrolled .nav-link {
    color: #800020 !important;
}

.nav-scrolled .nav-text {
    color: #800020 !important;
}

/* Initial navbar state - transparent */
#navbar {
    background: transparent;
}

#navbar .nav-link {
    color: #800020;
}

#navbar .nav-text {
    color: #800020;
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu-link {
    border-bottom: 1px solid #f9e4e4;
    padding-bottom: 0.5rem;
}

.mobile-menu-link:last-child {
    border-bottom: none;
}

/* Float animation for floating card */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

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

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .animate-float {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #7a001e;
}

/* Selection color */
::selection {
    background: #800020;
    color: #fff5f5;
}
