/* Custom styles for Pollo Burger */

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

/* Float animations for hero cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

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

.animate-float-delayed {
    animation: float-delayed 4s ease-in-out infinite;
    animation-delay: 1s;
}

/* Scroll reveal base - content always visible by default */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only apply hidden state when JS is active (progressive enhancement) */
.js-active .reveal {
    opacity: 0;
    transform: translateY(30px);
}

.js-active .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(6, 19, 36, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(94, 234, 209, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

::-webkit-scrollbar-track {
    background: #0a1f38;
}

::-webkit-scrollbar-thumb {
    background: #1e457a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5eead1;
}

/* Selection color */
::selection {
    background: rgba(94, 234, 209, 0.3);
    color: #ffffff;
}
