/* Custom styles for El Paisano */

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

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .menu-card,
    .group {
        transition: none;
    }
    .group img {
        transition: none;
    }
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Menu card hover */
.menu-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Hero text animation - only for below-fold progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .hero-badge {
        animation: fadeInUp 0.6s ease forwards;
    }
    
    .hero-title {
        animation: fadeInUp 0.6s ease 0.1s forwards;
        opacity: 0;
    }
    
    .hero-text {
        animation: fadeInUp 0.6s ease 0.2s forwards;
        opacity: 0;
    }
    
    .hero-cta {
        animation: fadeInUp 0.6s ease 0.3s forwards;
        opacity: 0;
    }
    
    .hero-trust {
        animation: fadeInUp 0.6s ease 0.4s forwards;
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Selection color */
::selection {
    background: #0d9488;
    color: white;
}
