/* Custom Styles for Tacos Victor */

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

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

::-webkit-scrollbar-track {
    background: #0a1f14;
}

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

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

/* Selection color */
::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #faf9f6;
}

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

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Feature items animation */
.feature-item {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
}

/* Menu cards */
.menu-card {
    opacity: 1;
    transform: translateY(0);
}

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

/* Gallery items */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 31, 20, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

/* Mobile menu animations */
.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu:not(.active) {
    opacity: 0;
    pointer-events: none;
}

/* Mobile link animations */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Navbar glass effect when scrolled */
.nav-scrolled {
    background: rgba(10, 31, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(rgba(212, 168, 67, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}
