/* Custom styles for Tacos Jalisco */

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Smooth transitions for interactive elements */
a, button {
    transition: all 0.3s ease;
}

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

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

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

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

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(251, 191, 36, 0.6);
    }
}

/* Floating animation for decorative elements */
.floating {
    animation: float 3s ease-in-out infinite;
}

/* Glow effect for CTA buttons */
.glow-amber {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Button focus states for accessibility */
button:focus-visible,
a:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

/* Reduced motion preference */
@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;
    }
}

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

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

/* Card hover effects */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Ensure all text is readable */
.text-plum-200 {
    color: #f9d0d9;
}

.text-plum-300 {
    color: #f4a8b8;
}

.text-plum-400 {
    color: #ec738d;
}

/* Ensure good contrast on all backgrounds */
.bg-plum-950 {
    background-color: #3d0a17;
}

.bg-plum-900 {
    background-color: #6f1f37;
}

.bg-plum-800 {
    background-color: #841d3b;
}

/* Ensure buttons are accessible */
button,
a.btn {
    min-height: 44px;
    min-width: 44px;
}

/* Print styles */
@media print {
    header,
    footer,
    .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
