/**
 * Custom Styles for Los Gallos 2026
 * Using modern CSS features.
 */

:root {
    --primary: #0a0a0a;
    --accent: #e67e22;
    --highlight: #f1c40f;
}

/* Base Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection transparency */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #e67e22;
    border-radius: 10px;
}

/* Menu Image Hover Fixes (Safari/WebKit & General Reliability) */
#menu a.group {
    transform: translateZ(0);
    /* Fixes border-radius clipping bug in WebKit */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#menu a.group img {
    will-change: transform;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#menu a.group:hover img {
    transform: scale(1.1) !important;
}

#menu a.group>div.absolute {
    pointer-events: none;
    /* Let pointer events pass to the container */
}

/* Glassmorphism Buttons */
.glass-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Custom Nav Transition on scroll */
#main-header.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Animations Custom */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.5, 0, 0, 1) forwards;
}

/* Nav Link hover effects */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Parallax utility - simple */
.parallax {
    transform: translateY(var(--p-shift, 0px));
    will-change: transform;
}

/* Special Typography */
.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Montserrat', sans-serif;
}