/* Custom styles for Taquería Tonantzin */

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

/* Custom selection color */
::selection {
    background-color: #FF6B4A;
    color: #0D0D0D;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background-color: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(58, 58, 58, 0.5);
}

/* Gold gradient text */
.text-gold-gradient {
    background: linear-gradient(135deg, #D4A853 0%, #C9952E 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.menu-card:hover {
    transform: translateY(-4px);
}

/* Image hover zoom */
.img-zoom {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-zoom:hover {
    transform: scale(1.05);
}

/* Button shine effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform: rotate(30deg);
    transition: all 0.6s;
    opacity: 0;
}

.btn-shine:hover::after {
    opacity: 1;
    left: 100%;
}

/* Decorative pattern */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(212, 168, 83, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .img-zoom:hover {
        transform: none;
    }
}

/* Fade-in animation for scroll reveals */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
