/* --- VARIABLES Y RESET --- */
:root {
    --bg-dark: #000000;
    --bg-darker: #050505;
    --primary: #0070ff; /* Azul Eléctrico LËVEL */
    --primary-glow: rgba(0, 112, 255, 0.4);
    --secondary: #ff00ff; /* Magenta para toques de neón */
    --secondary-glow: rgba(255, 0, 255, 0.3);
    --text-main: #ffffff;
    --text-muted: #ffffff;
    
    --font-head: 'Anton', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition-fast: 0.3s ease;
    --transition-slow: 0.8s ease-out;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* TRABA ESTRICTA: Bloquea cualquier scroll horizontal fantasma */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* --- ANIMACIÓN DE SCROLL --- */
html {
    scroll-behavior: smooth; /* Hace que el viaje a las secciones sea fluido y animado */
    scroll-padding-top: 90px; /* Frena el scroll antes para que la barra de navegación no tape los títulos */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    position: relative;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }

img { max-width: 100%; height: auto; }

/* --- CLASES DE UTILIDAD --- */
.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 15px; 
    text-align: center;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 6vw, 3.5rem); 
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

/* Alineación forzada al centro para la línea de neón de los títulos */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 50px;
}

/* Grilla centrada */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    text-align: center; /* Se cambió a centro */
}

.placeholder-img {
    background-color: #0a0a0a;
    border: 1px solid #1a1a1a;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-weight: 900;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background-color var(--transition-fast);
}

.navbar.scrolled {
    background-color: #000;
    border-bottom: 1px solid #111;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav-img { max-height: 35px; }

.nav-menu { list-style: none; display: flex; gap: 25px; }
.nav-menu a { text-transform: uppercase; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; }
.nav-menu a:hover { color: var(--primary); }

/* --- SECCIÓN HÉROE --- */
.hero {
    width: 100%;
    height: 100vh;
    min-height: 100dvh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/IMG_0022.jpg'); 
    background-size: cover; 
    background-position: center; 
    filter: blur(8px);
    transform: scale(1.08);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.9) 80%);
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; padding: 0 15px; width: 100%; }
.logo-hero-img { width: 100%; max-width: 350px; margin-bottom: 30px; filter: drop-shadow(0 0 15px var(--primary-glow)); }

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-title span {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    letter-spacing: 3px;
    color: var(--text-muted);
    display: block;
    margin-top: 5px;
}

/* --- BOTONES --- */
.btn-main {
    display: inline-block;
    padding: 16px 35px;
    background: linear-gradient(45deg, #0044ff, var(--primary));
    color: #fff;
    border-radius: 50px;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 30px;
    box-shadow: 0 4px 15px var(--primary-glow);
    font-size: clamp(0.9rem, 3vw, 1rem);
}

.btn-main:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 112, 255, 0.6); }

.btn-neon {
    display: inline-block;
    padding: 14px 30px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-neon:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 25px var(--primary-glow);
}

.btn-ig {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 50px;
    font-weight: 700;
    margin-top: 10px;
}

/* --- PASSLINE SECTION --- */
.entradas { background-color: var(--bg-darker); }
.passline-wrapper { width: 100%; max-width: 800px; margin: 0 auto 30px; background: #0d0d0d; padding: 15px; border-radius: 15px; border: 1px solid #111; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.passline-iframe { border-radius: 10px; width: 100%; display: block; }

/* --- CLUB SECTION --- */
.club-img {
    width: 100%;
    aspect-ratio: 16 / 9; 
    height: auto; 
    border-radius: 20px;
    border: 2px solid #1a1a1a;
    object-fit: cover;
    object-position: center; 
}

/* --- DJS GRID (LA CABINA) --- */
.djs { background-color: var(--bg-darker); }
.dj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.dj-card { background: #0a0a0a; border-radius: 15px; overflow: hidden; border: 1px solid #111; transition: all var(--transition-fast); cursor: pointer; }

.dj-card:hover, .dj-card:active {
    transform: scale(1.03) translateY(-5px);
    border: 2px solid var(--secondary);
    box-shadow: 0 10px 30px var(--secondary-glow);
    z-index: 10;
}

.dj-card:hover h3 { color: var(--secondary); }

.dj-img {
    aspect-ratio: 4 / 5; 
    width: 100%; 
    height: auto; 
    border-bottom: 1px solid #111;
    object-fit: cover;
    object-position: center top; 
}

.dj-info { padding: 20px; }
.dj-info h3 { text-transform: uppercase; font-weight: 900; margin-bottom: 5px; font-size: clamp(1.1rem, 3vw, 1.4rem); transition: color 0.3s; }
.dj-info p { font-size: 0.85rem; color: var(--text-muted); }

/* --- UBICACIÓN --- */
.map-img { width: 100%; height: clamp(250px, 40vw, 350px); border-radius: 15px; object-fit: cover; }
.address { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }

/* --- FOOTER --- */
footer { padding: 40px 15px; border-top: 1px solid #111; color: #444; font-size: 0.8rem; text-align: center; }

/* --- ANIMACIONES --- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity var(--transition-slow), transform var(--transition-slow); }
.fade-in.visible { opacity: 1; transform: translateY(0); }



@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; gap: 30px; }
    .dj-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
    
    /* --- ARREGLO DEL MENÚ PARA CELULAR --- */
    .nav-container { 
        flex-direction: column; /* Apila el menú abajo del logo */
        gap: 10px;
        padding: 10px;
    }
    .nav-menu { 
        display: flex; /* Vuelve a hacer visible el menú */
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap; /* Si la pantalla es muy chica, los acomoda en dos renglones */
    }
    .nav-menu a {
        font-size: 0.75rem; /* Achicamos un toque la letra para que entre perfecto */
    }
}

@media (max-width: 480px) {
    .section-container { padding: 60px 15px; }
    .passline-wrapper { padding: 5px; }
    .hero-content { padding: 0 10px; }
    .logo-hero-img { max-width: 280px; }
    .dj-card:hover, .dj-card:active { transform: scale(1.01) translateY(-2px); }
    
    /* Ajuste extra para celulares muy angostos */
    .nav-menu { gap: 12px; }
    .nav-menu a { font-size: 0.7rem; }
}