/* Custom Styles for Tacos Don Patron */

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

/* Navbar Styles */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a84c;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

/* Menu Card Styles */
.menu-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 4px;
    padding: 2rem;
    transition: all 0.4s ease;
}

.menu-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

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

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

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

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Animation */
.mobile-menu-open #menu-line-1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open #menu-line-2 {
    opacity: 0;
}

.mobile-menu-open #menu-line-3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

.mobile-menu-visible {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Decorative Divider */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.3), transparent);
}

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

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

::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.5);
}

/* Selection Color */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #fff;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .gallery-item img {
        transition: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .menu-card {
        padding: 1.5rem;
    }
    
    .floating-card {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 1rem;
    }
}
