@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary-white: #ffffff;
    --dark-bg: #000000;
    --glass: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--dark-bg);
    color: var(--primary-white);
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

/* --- ESTILO DEL MENÚ CON LOGO EN ESQUINA --- */
.navbar {
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid var(--glass);
    padding: 10px 40px; /* Un poco más estrecho para que no ocupe tanto */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px; /* Más ancho para que el logo y el menú respiren */
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Logo a un lado, menú al otro */
    align-items: center;
}

/* El logo pequeño del menú */
.nav-logo img {
    height: 40px; /* Tamaño del logo en el menú */
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.2));
    transition: 0.3s;
}

.nav-logo img:hover {
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #888;
    font-size: 0.75rem; /* Un poco más pequeño para que sea elegante */
    font-weight: 600;
    letter-spacing: 2px;
    transition: 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-white);
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column; /* En móvil, uno encima del otro */
        gap: 15px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 0.65rem;
    }
}
/* --- AJUSTE DEL LOGO Y HEADER --- */
header {
    text-align: center;
    padding: 60px 20px;
}

.logo-container {
    max-width: 250px; /* Ajusta este tamaño según sea tu logo */
    margin: 0 auto 20px;
}

.main-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.2));
}

.tagline {
    font-size: 0.9rem;
    letter-spacing: 5px;
    color: #666;
    text-transform: uppercase;
}

/* --- AJUSTE DE ÁLBUMES --- */
.album-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.album-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9; /* Formato más panorámico y moderno */
    border: 1px solid var(--glass);
    display: block;
}

.album-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: 0.7s ease;
}

.album-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.album-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.day-label {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    line-height: 1;
}

.date-label {
    color: #888;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* Responsive para móviles */
@media (max-width: 600px) {
    .nav-links { gap: 15px; }
    .nav-links a { font-size: 0.7rem; }
    header h1 { font-size: 2rem; }
    .album-container { padding: 15px; }
}

/* --- SECCIÓN PRÓXIMAS FECHAS --- */

.fechas-header {
    padding-bottom: 20px;
}

.flyers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.flyer-card {
    position: relative;
    background: #111;
    border: 1px solid var(--glass);
    transition: all 0.4s ease;
    line-height: 0; /* Quita espacios raros bajo la imagen */
}

.flyer-card img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: 0.5s ease;
}

/* Al pasar el ratón el cartel cobra vida */
.flyer-card:hover {
    border-color: var(--primary-white);
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
}

.flyer-card:hover img {
    filter: grayscale(0%);
}

/* Etiqueta de estado (Próximamente, Entradas, etc) */
.flyer-status {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    padding: 5px 15px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    font-weight: bold;
    pointer-events: none; /* Para que no moleste al hacer click */
}

/* Ajuste móvil para carteles */
@media (max-width: 768px) {
    .flyers-grid {
        grid-template-columns: 1fr; /* Un cartel por fila en móviles */
        padding: 20px;
    }
}
/* --- ESTILO SECCIÓN HERO (INICIO) --- */
.hero {
    position: relative;
    height: calc(100vh - 70px); /* Ocupa todo el alto menos el menú */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: grayscale(100%) brightness(0.4); /* Imagen oscura para resaltar texto */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, #000 100%);
    z-index: -1;
}

.hero-content {
    padding: 20px;
    z-index: 10;
}

.hero-logo {
    max-width: 180px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
}

.hero-title {
    font-size: 3.5rem;
    margin: 0;
    letter-spacing: 10px;
    font-weight: 700;
}

.hero-subtitle {
    color: #888;
    letter-spacing: 3px;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* --- BOTONES --- */
.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-main {
    background: var(--primary-white);
    color: #000;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-main:hover {
    background: #ccc;
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid var(--primary-white);
    color: var(--primary-white);
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

/* Móvil */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; letter-spacing: 5px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn-main, .btn-outline { width: 100%; max-width: 250px; }
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-logo { width: 200px; margin-bottom: 20px; }
.btn-main { background: white; color: black; padding: 15px 30px; text-decoration: none; font-weight: bold; margin: 10px; display: inline-block; }
.btn-outline { border: 2px solid white; color: white; padding: 13px 28px; text-decoration: none; margin: 10px; display: inline-block; }
.section-title { text-align: center; letter-spacing: 5px; margin: 50px 0; font-size: 2.5rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; padding: 40px; }
.feature-item { padding: 40px; border: 1px solid #222; transition: 0.3s; }
.feature-item:hover { border-color: #fff; }

/* --- ESTILOS DJ RESIDENTS --- */
.residents { padding: 80px 0; background: #050505; }
.dj-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 40px; 
    padding: 0 20px;
}
.dj-card { 
    position: relative; 
    overflow: hidden; 
    border: 1px solid #1a1a1a; 
    background: #000;
}
.dj-img img { 
    width: 100%; 
    height: 400px; 
    object-fit: cover; 
    filter: grayscale(100%); 
    transition: 0.5s; 
}
.dj-card:hover .dj-img img { 
    filter: grayscale(0%); 
    transform: scale(1.05); 
}
.dj-info { padding: 20px; text-align: center; }
.dj-info h3 { letter-spacing: 2px; margin-bottom: 5px; color: #fff; }
.dj-info p { color: #888; font-size: 0.8rem; text-transform: uppercase; }

/* --- ESTILOS PATROCINADORES --- */
.sponsors { padding: 60px 0; border-top: 1px solid #111; background: #000; }
.sponsors-label { text-align: center; font-size: 0.7rem; color: #444; letter-spacing: 3px; margin-bottom: 30px; }
.sponsors-list { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    align-items: center; 
    gap: 50px; 
    opacity: 0.5;
}
.sponsors-list img { 
    height: 60px; 
    filter: grayscale(100%) brightness(200%); 
    transition: 0.3s;
}
.sponsors-list img:hover { opacity: 1; filter: grayscale(0%) brightness(100%); }
/* Contenedor del Modal (fondo negro) */
.modal-zoom {
    display: none; 
    position: fixed; 
    z-index: 10000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.9); 
    cursor: zoom-out;
}

/* Imagen dentro del modal */
.modal-content-zoom {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 600px; /* Tamaño máximo cuando se hace grande */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    transition: 0.3s;
    border: 2px solid #333;
}

/* Animación de entrada */
.modal-zoom[style*="display: block"] .modal-content-zoom {
    transform: translate(-50%, -50%) scale(1);
}

/* Botón de cerrar */
.close-zoom {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Efecto hover en la miniatura */
#horarioImg:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
}

.horario-destacado {
    background: linear-gradient(to bottom, #050505, #000);
    border-top: 1px solid #111;
}

#horarioImg:hover {
    border-color: #fff !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}

/* Modal mejorado */
.modal-zoom {
    display: none; 
    position: fixed; 
    z-index: 10000; 
    left: 0; top: 0;
    width: 100%; height: 100%; 
    background-color: rgba(0,0,0,0.95);
    cursor: zoom-out;
}

.modal-content-zoom {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 85vh;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #333;
    box-shadow: 0 0 50px rgba(0,0,0,1);
}

.close-zoom {
    position: absolute;
    top: 30px; right: 40px;
    color: #fff; font-size: 50px;
    font-weight: 200; cursor: pointer;
}

/* --- Añade esto dentro de tus etiquetas <style> --- */

.ticket-footer {
    padding: 15px;
    background: #0a0a0a;
    text-align: center;
    border-top: 1px solid #111;
}

.btn-ticket {
    display: inline-block;
    background: #fff; /* Botón blanco resalta en fondo negro */
    color: #000;
    text-decoration: none;
    padding: 12px 25px;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: 0.3s;
    width: 80%;
}

.btn-ticket:hover {
    background: #d4af37; /* Color dorado al pasar el ratón */
    color: #fff;
    transform: scale(1.05);
}

.img-wrapper {
    cursor: zoom-in;
}