/* Custom Styles for Taco Mex Inc. */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #020617;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Selection color */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #f1f5f9;
}

/* Navbar styles */
#navbar {
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

#navbar.scrolled {
    background: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.open .mobile-nav-link {
    animation: fadeSlideIn 0.3s ease forwards;
}

#mobileMenu.open .mobile-nav-link:nth-child(1) { animation-delay: 0.05s; }
#mobileMenu.open .mobile-nav-link:nth-child(2) { animation-delay: 0.1s; }
#mobileMenu.open .mobile-nav-link:nth-child(3) { animation-delay: 0.15s; }

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

/* Menu cards */
.menu-card {
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.menu-card:hover::before {
    opacity: 1;
}

/* Feature items */
.feature-item {
    opacity: 1;
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #fcd34d, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.75rem;
    }
    
    #hero h1 br {
        display: none;
    }
    
    .menu-card {
        padding: 1.5rem;
    }
}

/* Gold shimmer animation for special elements */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.text-shimmer {
    background: linear-gradient(
        90deg,
        #fbbf24 0%,
        #fcd34d 25%,
        #fbbf24 50%,
        #fcd34d 75%,
        #fbbf24 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.02);
    }
}

/* Pulse animation for CTA button */
@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(251, 191, 36, 0);
    }
}

.cta-pulse:hover {
    animation: pulse-gold 1.5s ease-in-out infinite;
}
