/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; background: #111; color: #eee; }

/* 🔹 HERO */
#hero { position: relative; height: 100vh; width: 100%; overflow: hidden; }
#videoFondo { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: white; background: rgba(0,0,0,0.4); }
.hero-content h1 { font-size: 4rem; letter-spacing: 5px; margin-bottom: 1rem; }
.hero-content p { font-size: 1.5rem; font-weight: 300; margin: 0;}
#hero h2 {
  font-family: "Wallpoet", sans-serif;
  font-weight: 400;
  margin: 0;
}


/* 🔹 NAVBAR */
.navbar { display: flex; justify-content: flex-end; align-items: center; padding: 1rem 2rem; position: absolute; top: 45px; left: 0; width: 100%; background: transparent; z-index: 2; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links li a { color: #fff; text-decoration: none; font-weight: bold; font-size: 1.3rem; }
.nav-links li a:hover { color: #f00; }
.menu-toggle { display: none; font-size: 2rem; background: none; border: none; color: #fff; cursor: pointer; }

/* 🔹 SECCIONES */
.seccion {
  height: 100vh;            /* asegura que cada sección ocupe toda la pantalla */
  width: 100%;
  display: flex;
  flex-direction: column;    /* mantiene tu estructura interna */
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  opacity: 1 !important;     /* quitamos la transparencia inicial que hacía efecto fantasma */
  transform: none !important;/* eliminamos transform inicial */
   z-index: 1 /* 👈 las secciones quedan sobre el video */
}

.seccion.active { opacity: 1; transform: translateY(0); }
h2 { margin-bottom: 1.5rem; }

/* 🔹 EVENTOS */
.event-list { max-width: 600px; margin: 0 auto; list-style: none; }
.event-list li { display: flex; justify-content: space-between; padding: 0.8rem; border-bottom: 1px solid #333; }
.sold-out { color: red; font-weight: bold; }
.disponible { color: lime; font-weight: bold; }

/* 🔹 EVENTO DESTACADO */
#evento-destacado { background: url('assets/banner.jpg') no-repeat center/cover; height: 100vh; position: relative; }
#evento-destacado .overlay { background: rgba(0,0,0,0.6); height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; color: white; }
.boton-cta { margin-top: 1rem; padding: 1rem 2rem; background: #e33; border: none; color: white; font-size: 1.2rem; cursor: pointer; border-radius: 8px; }
.boton-cta:hover { background: #ff5555; }

/* 🔹 HISTORIAL */
.historial-lista { display: grid; gap: 1rem; max-width: 600px; margin: auto; }
.historial-item { background: #686767; padding: 1rem; border-radius: 8px; color: white;}

/* 🔹 AFTER */
#after { background: #222; color: #fff; color: white;}

/* 🔹 FOOTER */
footer { background: #000; padding: 1rem; text-align: center; }
.cookies-banner { position: fixed; bottom: 0; width: 100%; background: rgba(20,20,20,0.9); padding: 1rem; display: flex; justify-content: space-between; align-items: center; }
.legal a { color: #aaa; margin: 0 0.5rem; font-size: 0.9rem; }

/* 🔹 RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; background: #111; position: absolute; top: 60px; right: 0; width: 200px; padding: 1rem; }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
}

/* SPLASH SCREEN */
#splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black; /* color de fondo */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease;
}

#splash h1 {
  color: white;
  font-size: 4rem;
  letter-spacing: 5px;
}

/* Tipografías desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&family=Anton&family=Pacifico&display=swap');

#splash {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: black;
  display: flex; justify-content: center; align-items: center;
  z-index: 9999;
}

.splash-text {
  color: white;
  font-size: 4rem;
  opacity: 0;
  transition: all 0.5s ease;
}

/* Contenedor de cada sección */
.seccion-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;       /* aparece desde el inicio */
  transform: none;  /* sin desplazamiento inicial */
  transition: none; /* sin transición que interfiera */
}


/* Cuando la sección se activa */
.seccion.active .seccion-container {
  opacity: 1;
  transform: translateY(0);
}

/* Título grande */
.seccion-title {
  font-size: 5rem;
  font-weight: bold;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out 0.2s; /* retraso para aparecer antes */
}

/* Información de la sección */
.event-list {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out 0.6s; /* aparece después del título */
}

/* Cuando se activa la sección */
.seccion.active .seccion-title,
.seccion.active .event-list {
  opacity: 1;
  transform: translateY(0);
}


/* 🔹 HISTORIAL - estilo igual a evento destacado */
#historial {
  background: url('assets/historial-bg.jpg') no-repeat center/cover; /* poné tu imagen */
  position: relative;
  padding: 4rem 2rem;
  color: white;
}

#historial .overlay {
  background: rgba(0,0,0,0.6);
  padding: 2rem;
  border-radius: 12px;
}

.historial-lista {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 2rem auto 0 auto;
}

.historial-item {
  background: rgba(255,255,255,0.05);
  padding: 1rem;
  border-radius: 8px;
  color: white;
  transition: all 0.3s ease;
}

.historial-item:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-5px);
}

/* 🔹 AFTER - estilo igual a evento destacado */

#after {
  background: url('assets/after-bg.jpg') no-repeat center/cover; /* tu imagen */
  position: relative;
  padding: 4rem 2rem;
  color: white;
  min-height: 100vh; /* 🔹 asegura espacio para scrollear */
}


#after .overlay {
  background: rgba(0,0,0,0.6);
  padding: 2rem;
  border-radius: 12px;

  /* 🔹 Para centrar el texto como en evento destacado */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 300px; /* asegurás que tenga espacio */
}


/* 🔹 FECHAS - estilo igual a evento destacado */
#fechas {
  background: url('assets/fechas-bg.jpg') no-repeat center/cover; /* poné tu imagen */
  position: relative;
  padding: 4rem 2rem;
  color: white;
}

#fechas .seccion-container {
  background: rgba(0,0,0,0.6);
  padding: 2rem;
  border-radius: 12px;

  /* 🔹 Para centrar el texto como en evento destacado */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 300px; /* asegurás que tenga espacio */
}

.event-list li {
  background: rgba(255,255,255,0.05);
  padding: 0.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.event-list li:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}



/* Hero: video y contenido */
#videoFondo {
  z-index: 1; /* video detrás */
  transition: opacity 0.3s ease-out; /* animación suave si se usa JS */
}

.hero-content {
  z-index: 2; /* encima del video */
  transition: opacity 0.3s ease-out; 
}

/* FECHAS */
#fechas {
  position: relative;
  height: auto; /* ✅ ocupa toda la pantalla */
  background: url('assets/fechas.png') no-repeat center/cover;
  background-size: cover;
  padding: 4rem 2rem; /* espacio interno */
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* centra vertical */
  overflow: hidden;
}

#fechas .seccion-title {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  margin-bottom: 2rem;
  text-align: center;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
  z-index: 2;
}

#fechas .seccion-container {
  position: relative;
  background: rgba(0,0,0,0.6); /* semitransparente */
  padding: 2rem;
  border-radius: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* 🔹 REDES SUPERIORES */
.redes-superiores {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;         /* separación entre íconos */
  z-index: 2000;
}

.redes-superiores a {
  color: white;        /* íconos blancos */
  font-size: 2rem;     /* tamaño de los íconos */
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.redes-superiores a:hover {
  color: #ff5555;      /* detalle rojo al pasar el mouse */
  transform: scale(1.2);
}

/* 🔹 HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent; /* o negro si lo preferís */
  z-index: 1000;
}

/* Subtítulo más compacto */
.seccion-title {
  font-size: 1.8rem; /* mucho más chico */
  font-weight: 500;
  margin-bottom: 1rem; /* menos separación */
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

/* Contenedor de meses en columnas */
.fechas-meses {
  display: flex;
  justify-content: center;
  gap: 3rem; /* separación más ajustada */
  flex-wrap: wrap; /* ajustable en móviles */
}

/* Cada mes en columna vertical */
.mes-fechas {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Título de mes */
.mes-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem; /* menos margen */
  color: #fff;
  text-transform: uppercase;
  text-align: center;
}

/* Lista de eventos más compacta */
.event-list li {
  padding: 0.5rem 1rem;
  margin-bottom: 0.3rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  width: 180px; /* más compacto */
}

.event-list li:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

/* Sidebar derecho fijo con imágenes */
.sidebar-derecha {
  position: fixed;
  top: 100px;       /* altura desde el top */
  right: 20px;      /* distancia del borde derecho */
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}

.sidebar-derecha .sidebar-item img {
  width: 200px;       /* ancho de cada imagen */
  height: auto;       /* mantiene proporción */
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-derecha .sidebar-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Sección DJ */
.dj-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

/* Video de fondo difuminado */
.dj-section .video-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) brightness(0.5);
  z-index: 1;
}

/* Overlay oscuro */
.dj-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2;
}

/* Contenedor principal */
.dj-container {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  padding: 2rem;
}

/* Foto del DJ */
.dj-foto img {
  width: 350px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

/* Texto del DJ */
.dj-info {
  max-width: 600px;
}

.dj-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.dj-info p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Sección recorrido */
.recorrido-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.recorrido-section .video-fondo {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) brightness(0.5);
  z-index: 1;
}

.recorrido-section .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2;
}

.recorrido-container {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  padding: 2rem;
}

.recorrido-foto img {
  width: 350px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.recorrido-info {
  max-width: 600px;
}

.recorrido-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.recorrido-info p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero-logo {
  font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    font-weight: 200; /* bien finito */
    letter-spacing: 4px;
    text-transform: uppercase;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

html {
  scroll-behavior: smooth;
}

#fechas {
  padding: 60px 20px;
  background: url('assets/FondoFechas.jpg') no-repeat center center;
  background-size: cover;
  color: #fff;
  text-align: center;
  position: relative; /* para overlay */
}

/* Overlay semitransparente */
#fechas::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); /* oscurece la imagen para mejor legibilidad */
  z-index: 0;
}

/* Contenedor de contenido sobre overlay */
#fechas .seccion-container {
  position: relative;
  z-index: 1;
}

/* Resto de estilos existentes */
.seccion-title { font-size: 3rem; margin-bottom: 10px; letter-spacing: 2px; }
.subtitulo { font-size: 1.5rem; margin-bottom: 40px; color: #aaa; }

.selector-meses {
  display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-bottom: 30px;
}
.mes-btn {
  padding: 10px 20px; background: #1a1a1a; color: #fff; border: none; border-radius: 8px;
  cursor: pointer; transition: all 0.3s;
}
.mes-btn.active, .mes-btn:hover { background: #e74c3c; }

.meses-contenido { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.mes-contenido { display: none; flex-wrap: wrap; justify-content: center; gap: 20px; width: 100%; }
.mes-contenido.active { display: flex; }

.evento-card {
  background: #1a1a1a; border-radius: 15px; padding: 20px;
  width: 220px; text-align: left; display: flex; flex-direction: column;
  justify-content: space-between; transition: transform 0.3s, box-shadow 0.3s;
}
.evento-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.5); }

.evento-fecha { font-size: 1.2rem; font-weight: bold; margin-bottom: 10px; color: #f39c12; }
.evento-info h3 { font-size: 1.1rem; margin: 0; }
.evento-info p { font-size: 0.9rem; color: #aaa; margin: 3px 0 0; }
.estado { margin-top: 10px; font-weight: bold; padding: 5px 10px; border-radius: 6px; font-size: 0.8rem; align-self: flex-start; }
.sold-out .estado { background: #e74c3c; color: #fff; }
.disponible .estado { background: #2ecc71; color: #fff; }

.seccion {
  min-height: 100vh;
  position: relative;
  z-index: 1;
}


/*Contacto*/

#contacto {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

#contacto .seccion-title {
  font-size: 3rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

#contacto .subtitulo {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: #aaa;
}

.boton-whatsapp {
  display: inline-block;
  background: #25d366;
  color: #fff;
  padding: 15px 30px;
  font-size: 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.boton-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.boton-whatsapp i {
  margin-right: 10px;
}

/* ================== SECCIÓN FECHAS RESPONSIVE ================== */
#fechas {
  padding: 60px 20px;
  background: url('assets/FondoFechas.jpg') no-repeat center center;
  background-size: cover;
  color: #fff;
  text-align: center;
  position: relative;
}

#fechas::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}

#fechas .seccion-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Selector de meses */
.selector-meses {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.mes-btn {
  padding: 10px 20px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.mes-btn.active,
.mes-btn:hover {
  background: #e74c3c;
}

/* Contenedor de meses */
.meses-contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.mes-contenido {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.mes-contenido.active {
  display: flex;
}

/* Contenedor de cada mes */
.fechas-meses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.mes-fechas {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mes-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
}

/* Tarjetas de eventos: tamaño más pequeño, máximo 3 por fila */
.mes-eventos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  justify-items: center;
}

.evento-card {
  background: #1a1a1a;
  border-radius: 15px;
  padding: 15px;
  width: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s, box-shadow 0.3s;
}

.evento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.evento-fecha {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #f39c12;
}

.evento-info h3 {
  font-size: 1rem;
  margin: 0;
}

.evento-info p {
  font-size: 0.85rem;
  color: #aaa;
  margin: 3px 0 0;
}

.estado {
  margin-top: 10px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  align-self: flex-start;
}

.sold-out .estado {
  background: #e74c3c;
  color: #fff;
}

.disponible .estado {
  background: #2ecc71;
  color: #fff;
}

/* ================== RESPONSIVE ================== */
/* RESPONSIVE SECCIÓN FECHAS */
@media (max-width: 768px) {
  #fechas {
    height: auto; /* permite que la sección crezca según el contenido */
    padding: 40px 20px;
  }

  .meses-contenido {
    flex-wrap: wrap; /* permite que las tarjetas bajen de fila */
    justify-content: center;
    gap: 15px;
  }

  .mes-contenido {
    justify-content: center; /* centrar tarjetas en cada mes */
  }

  .evento-card {
    width: calc(33.33% - 10px); /* 3 tarjetas por fila */
    min-width: 150px; /* evita que se achiquen demasiado */
  }
}

/* 🔹 DJ Y RECORRIDO RESPONSIVE */
@media (max-width: 768px) {
  .dj-container,
  .recorrido-container {
    flex-direction: column;   /* imagen arriba, info debajo */
    align-items: center;
    text-align: center;       /* centra el texto */
    gap: 1.5rem;              /* espacio entre imagen y texto */
    padding: 1rem;
  }

  .dj-foto img,
  .recorrido-foto img {
    width: 80%;               /* ajusta tamaño de la imagen */
    max-width: 300px;
    height: auto;
    border-radius: 12px;
  }

  .dj-info,
  .recorrido-info {
    max-width: 90%;
  }

  .dj-info h2,
  .recorrido-info h2 {
    font-size: 2rem;          /* tamaño del título más adecuado */
  }

  .dj-info p,
  .recorrido-info p {
    font-size: 1rem;          /* tamaño del párrafo más legible en móvil */
    line-height: 1.5;
  }
}

/* ================== SIDEBAR HERO RESPONSIVE ================== */
@media (max-width: 768px) {
  /* Por defecto la escondemos */
  .sidebar-derecha {
    display: none;
  }

  /* Mostramos solo después del hero */
  #hero + .sidebar-derecha {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    position: static;
    width: 100%;
    z-index: 1;
  }

  .sidebar-derecha .sidebar-item img {
    width: 120px; /* más chicas */
    height: auto;
  }
}

/* SPLASH SCREEN RESPONSIVE */
@media (max-width: 1024px) {
  .splash-text {
    font-size: 3.5rem;
    text-align: center;
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .splash-text {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .splash-text {
    font-size: 2rem;
  }
}


