/* Custom CSS for Don Elote - Mexican-inspired modern aesthetic */

:root {
    --mexican-gold: #F59E0B;
    --mexican-orange: #EA580C;
    --mexican-red: #DC2626;
    --mexican-green: #16A34A;
    --mexican-cream: #FFFBEB;
    --mexican-brown: #78350F;
}

body {
    font-family: 'Poppins', sans-serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

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

::-webkit-scrollbar-track {
    background: var(--mexican-cream);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--mexican-orange), var(--mexican-red));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--mexican-red), #991B1B);
}

/* Button hover animations */
button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.3);
}

button:active {
    transform: translateY(-1px);
}

/* Card hover effects */
.bg-white {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-white:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(234, 88, 12, 0.2);
}

/* Mexican-inspired gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--mexican-gold), var(--mexican-orange), var(--mexican-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative corn pattern background */
.corn-pattern {
    background-color: var(--mexican-cream);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(234, 88, 12, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.05) 0%, transparent 60%);
}

/* Mexican decorative border */
.mexican-border {
    border: 3px solid;
    border-image: linear-gradient(135deg, var(--mexican-green), var(--mexican-gold), var(--mexican-red)) 1;
}

/* Focus states for accessibility */
button:focus-visible {
    outline: 3px solid var(--mexican-orange);
    outline-offset: 3px;
}

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

/* Mexican pattern overlay */
.mexican-pattern-overlay {
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(245, 158, 11, 0.03) 10px,
            rgba(245, 158, 11, 0.03) 20px
        );
}

/* Custom price badge */
.price-badge {
    background: linear-gradient(135deg, var(--mexican-gold), var(--mexican-orange));
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* Mexican-themed section divider */
.section-divider {
    height: 4px;
    background: linear-gradient(90deg, var(--mexican-green), var(--mexican-gold), var(--mexican-red));
    border-radius: 2px;
}

/* Card decorative accent */
.card-accent {
    position: relative;
}

.card-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mexican-gold), var(--mexican-orange), var(--mexican-red));
    border-radius: 4px 4px 0 0;
}

/* Mexican street food cart aesthetic */
.street-cart-accent {
    background: linear-gradient(180deg, #8B4513 0%, #A0522D 100%);
}

/* Authentic Mexican colors for ingredients */
.ingredient-chile { border-color: #DC2626; }
.ingredient-limon { border-color: #84CC16; }
.ingredient-queso { border-color: #FCD34D; }
.ingredient-mayonesa { border-color: #FEF3C7; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-7xl {
        font-size: 3rem;
    }
    
    button {
        transform: none;
    }
    
    button:hover {
        transform: translateY(-2px);
    }
}

/* Mexican-style button shadows */
.mexican-button-shadow {
    box-shadow: 
        0 4px 15px rgba(234, 88, 12, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Footer pattern */
.footer-pattern {
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(220, 38, 38, 0.1) 0%, transparent 50%);
}
