/* ---------------------------------
   ESTILOS BASE
----------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
  color: rgb(138, 138, 138);
}

body {
  background: url('banda/DIAFANOS4.png') center center / cover no-repeat fixed;
}

header {
  box-shadow: 0 2px 5px rgb(0, 0, 0);
}

/* ---------------------------------
   NAVBAR
----------------------------------*/
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icono {
  width: 30px;
  height: auto;
}

.logo-texto {
  width: 240px;
  height: auto;
}

/* --- NUEVO CONTENEDOR PARA EL MENÚ Y EL SELECTOR --- */
.menu-container {
  display: flex;
  flex-direction: column; /* Apila los elementos verticalmente */
  align-items: flex-end; /* Alinea los ítems a la derecha (para nav-links y el selector) */
  gap: 10px; /* Espacio entre los links y el selector */
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1rem;
  font-size: 0.7rem;
  margin-right: 0; /* Asegura que no haya margen que lo desplace */
}

.nav-links a {
  text-decoration: none;
  color: #f3f3f3;
  font-weight: bold;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #d1d1d1;
}

/* --- Submenú desplegable --- */
.dropdown {
  position: relative; /* 🔧 necesario para que el submenu se ubique correctamente */
}

.dropdown-content {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  top: 100%; /* debajo del botón "GALERÍA" */
  left: 0;
  background-color: #2e2e2e;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  border-radius: 4px;
  z-index: 1000;
}

.dropdown-content li {
  padding: 2px;
}

.dropdown-content a {
  display: block;
  color: #f3f3f3;
  font-weight: normal;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #444;
  color: #fff;
}

/* Mostrar el submenú al pasar el puntero */
.dropdown:hover .dropdown-content {
  display: block;
}

/*-------------------------------
CONTENEDOR DE SHOWS SOBRE EL HERO
--------------------------------*/
.shows-container {
  margin-top: 120px;
  text-align: center;
  color: rgb(255, 255, 255);
  backdrop-filter: blur(1px); /* efecto suave */
  padding: 20px 30px;
}

.shows-container h5 {
  font-size: 2rem;
  color: #ddd;
  -webkit-text-stroke: 1px rgb(70, 70, 70); /* grosor + color del contorno */
  margin-bottom: 5px;
  letter-spacing: 3px;
  font-weight: 300;
}

.show-item {
  display: block;
  color: #dfdfdf;
  font-size: 1rem;
  text-decoration: none;   /* <-- quita la línea */
  padding: 6px 0;
  border-bottom: 1px solid rgb(255, 255, 255);
  width: 100%;
  max-width: 700px;
  margin: auto;
}

.show-item:last-child {
  border-bottom: none;
}

.show-item:hover {
  color: #ffffff; /* pequeño efecto al pasar el mouse */
}

/* ---------------------------------
   HERO / PORTADA
----------------------------------*/
#hero {
  padding-top: 1rem;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(rgba(122, 9, 9, 0), rgba(0, 0, 0, 0.274)),
              url('banda/PORTADA1.jpg') center/cover no-repeat;
  color: white;
  animation: cambioFondo 15s infinite alternate ease-in-out;
}

#hero .cta-button {
  margin-top: 50px;
  margin-bottom: 0.5rem;
}

/* ---------------------------------
   BOTÓN PRINCIPAL
----------------------------------*/
.cta-button {
  display: inline-block;
  background: rgba(0, 0, 0, 0.1);
  border: 2px solid #b6bba8;
  color: #fff;
  padding: 12px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  border-color: #ff0000;
  text-shadow: 0 0 5px #ff0037, 0 0 10px #ff002b;
  animation: neonPulse 2s infinite alternate;
}

/* ---------------------------------
   INTEGRANTES
----------------------------------*/
#integrantes {
  user-select: none;
  padding: 1rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

#integrantes h2 {
  text-align: center;
  margin: 4rem 0 2rem 0;
  line-height: 1.1;
}

#integrantes p {
  font-size: large;
  text-align: center;
  margin-bottom: 1rem;
}

.integrantes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.integrantes-card {
  background: rgb(223, 221, 221);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 350px;
  margin: 0 auto;
}

.integrantes-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.integrantes-card h3,
.integrantes-card h4 {
  color: black;
}

.integrantes-card h3 {
  padding: 0.5rem 0;
}

.integrantes-card h4 {
  margin-bottom: 1.5rem;
}

.descripcion {
  font-size: 0.8rem;
  color: #202020;
  line-height: 1.4;
}

/* ---------------------------------
   CONTACTO
----------------------------------*/
#contacto {
  background-color: rgb(156, 156, 156);
  padding: 1rem;
  margin-top: 4rem;
}

#contacto h2 {
  text-align: center;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.9);
  padding-bottom: 0.8%;
}

form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

input, textarea {
  padding: .5rem;
  font-size: 0.9rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

textarea {
  height: 100px;
  resize: vertical;
}

form button {
  background: black;
  color: white;
  border: none;
  padding: 0.7rem;
  font-size: 0.9rem;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background: rgb(37, 37, 37);
}

/* ---------------------------------
   FOOTER
----------------------------------*/
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 1rem;
}

.redes {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.redes img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.redes img:hover {
  transform: scale(1.2);
}

/*---------------------------------
        SELECTOR DE IDIOMA
---------------------------------*/
  #language-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 5px 10px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.75rem;
  transition: 0.3s ease;
  margin-top: 1rem;
}

.lang-btn img {
  width: 16px;
  height: 16px;
  filter: brightness(0.95);
}

.lang-btn:hover {
  background: rgba(255,255,255,0.25);
}

.lang-btn.active {
  background: rgba(255,255,255,0.35);
  border-color: rgba(255,255,255,0.5);
}


/* ---------------------------------
   EFECTOS Y ANIMACIONES
----------------------------------*/
@keyframes neonPulse {
  0%,100% {
    box-shadow: 0 0 5px #ff0080, 0 0 10px #ff0080, 0 0 20px #ff0080;
  }
  50% {
    box-shadow: 0 0 20px #ff4da6, 0 0 40px #ff4da6, 0 0 60px #ff4da6;
  }
}

@keyframes cambioFondo {
  0% {
    background-image: linear-gradient(rgba(122, 9, 9, 0), rgba(0, 0, 0, 0.274)), url('banda/PORTADA1.jpg');
  }
}

/* ---------------------------------
   RESPONSIVE
----------------------------------*/

/* --- 1280px --- */
@media (max-width: 1280px) {
  .integrantes-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- 1024px --- */
@media (max-width: 1024px) {
  .dropdown-content { left: -30px; }
  .integrantes-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  #hero h1 { font-size: 1.5rem; letter-spacing: 0.2rem; margin-bottom: 10rem; }
  #hero .cta-button { margin-top: 150px; }

  #hero { background-size: cover; background-position: center; min-height: 100vh; }
}

/* --- Ajustes para celulares y tablets en modo horizontal (600px–950px) --- */
@media (max-width: 950px) and (min-width: 600px) and (orientation: landscape) {

  nav {
    padding: 0.5rem 1rem;
  }

  .nav-links {
    gap: 1.2rem !important;         /* 🔹 Reduce espacio entre items */
    font-size: 0.65rem !important;  /* 🔹 Letras un poco más pequeñas */
    justify-content: flex-end;      /* 🔹 Empuja TODO a la derecha */
  }

  .logo {
    gap: 6px;
  }

  .logo-texto {
    width: 180px;                   /* Ajuste para que no empuje el menú */
  }
}


/* --- 768px --- */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .nav-links {
    flex-direction: column;
    justify-content: center;   /* 🔹 mantiene centrado el bloque */
    align-items: center;       /* 🔹 centra los ítems */
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .dropdown-content { left: -60px; }

  #integrantes { margin-top: -10px; }
  .integrantes-grid { grid-template-columns: 1fr; }
  .cta-button { margin-top: 2rem; padding: 0.8rem 1.5rem; }

  #hero { background-size: contain; min-height: 80vh; }
}

/* --- 480px --- */
@media (max-width: 480px) {
  .dropdown-content { left: -80px; transform: translateX(-10px); }

  .logo-texto { width: 180px; }
  #hero h1 { font-size: 1rem; }
  .integrantes-card { max-width: 100%; }
  form { width: 100%; padding: 0 1rem; }

  #hero { background-size: contain; min-height: 80vh; }

  nav {
    flex-direction: column;
    align-items: center;
    padding-bottom: 0.2rem;
  }

  .nav-links {
    flex-direction: column;
    justify-content: center;   /* 🔹 mantiene centrado el bloque */
    align-items: center;       /* 🔹 centra los ítems */
    gap: 1.5rem;
    margin-top: 0.3rem;
  }
   .menu-container {
    gap: 5px !important;
  }

}

/* --- 400px --- */
@media (max-width: 400px) {
  .logo-texto { width: 160px; }
  #hero { background-size: 200%; min-height: 100vh; }

  nav {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .nav-links {
    flex-direction: column;
    justify-content: center;   /* 🔹 mantiene centrado el bloque */
    align-items: center;       /* 🔹 centra los ítems */
    gap: 0.5rem;
    margin-top: 1rem;
    gap: 1rem;
  }



}

/*------------- IMAGEN PROMOCIONAL -------------*/

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-overlay.active {
  display: flex;
}

.popup-content {
  background: #fff;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  border-radius: 10px;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
}