/* Custom styles for Las Buenas Nuevas Restaurant */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #500724;
}
::-webkit-scrollbar-thumb {
    background: #9d174d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #be185d;
}

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

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

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

/* Gallery item hover */
.gallery-item {
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(80, 7, 36, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
    transform: translateX(0);
}

/* About section animations */
.about-image {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-text {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(80, 7, 36, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Button hover glow */
button:hover,
a:hover {
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.2);
}

/* Focus styles */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* 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;
    }
    
    .menu-card:hover {
        transform: none;
    }
    
    .gallery-item img {
        transform: none;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
    
    #hero h1 {
        font-size: 3rem;
    }
    
    .about-text {
        margin-top: 2rem;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    #hero h1 {
        font-size: 4.5rem;
    }
}

/* Large screens */
@media (min-width: 1024px) {
    #hero h1 {
        font-size: 5.5rem;
    }
}

/* Ultra-wide screens */
@media (min-width: 1440px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}
