/* Custom styles for Los Agavez Taqueria */

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

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(3deg);
    }
    50% {
        transform: translateY(-10px) rotate(3deg);
    }
}

@keyframes float-reverse {
    0%, 100% {
        transform: translateY(0px) rotate(-3deg);
    }
    50% {
        transform: translateY(10px) rotate(-3deg);
    }
}

/* Apply floating animations to cards */
.floating-card-1 {
    animation: float 3s ease-in-out infinite;
}

.floating-card-2 {
    animation: float-reverse 3.5s ease-in-out infinite;
}

.floating-card-3 {
    animation: float 4s ease-in-out infinite;
}

/* Hover effects for menu items */
.menu-card:hover {
    transform: translateY(-5px);
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

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

/* Ensure images don't cause layout shift */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

/* Pulse animation for CTA buttons */
@keyframes pulse-amber {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(251, 191, 36, 0);
    }
}

.pulse-amber {
    animation: pulse-amber 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
        animation: none;
        transform: none;
    }
}

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

/* Selection color */
::selection {
    background: #fbbf24;
    color: #500724;
}
