/* Custom styles for Flautas Chayito */

html {
    scroll-behavior: smooth;
}

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

.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

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

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

/* Image hover effects */
.group:hover img {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.group img {
    transition: transform 0.5s ease;
}

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

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

/* Subtle line animations */
@keyframes lineExpand {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

/* Fade in animation for scroll sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .group:hover img {
        transform: none;
    }
    
    .fade-in-up {
        animation: none;
    }
}
