/* reset básico */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    font-family: Arial, sans-serif;
}

body {
    background: #000;              /* fondo negro */
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 3vh;
}

/* ---------- header ---------- */
.cabecera { text-align: center; }

.logo img {
            max-width: 90%;
            height: auto;
}

/* ---------- nav morada ---------- */
.nav-principal {
    border-top: 3px solid #ac40f8;
    border-bottom: 3px solid #ac40f8;
    background: rgba(0,0,0,.75);
    padding: .5rem 0;
    margin-top: 1rem;
}
.nav-principal ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
}
.nav-principal a {
    color: #ffff00;
    text-decoration: none;
    font-weight: bold;
    padding: .4rem .7rem;
    border-radius: 4px;
    transition: background .25s;
}
.nav-principal a:hover,
.nav-principal a.active {
    background: #ac40f8;
    color: #ffffff;
}

/* ---------- contenido general ---------- */
.contenido {
    width: 90%;
    max-width: 1000px;
    margin: 2rem auto 4rem;
    padding: 0 1rem;
    text-align: center;          /* todo centrado por defecto */
}

/* ----- biografía ----- */
.bio-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}
.integrantes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}
.integrante {
  text-align: center;
  flex: 0 0 180px; /* no crecer, no encoger, base 180px */
  /* o para permitir crecimiento:
     flex: 1 1 180px; */
}
.integrante img {
    width: 100%;
    border-radius: 8px;
    transition: transform .3s;
}
.integrante img:hover { transform: scale(1.05); }
.nombre {
    font-weight: bold;
    color: #ffff00;
    margin-top: .5rem;
}
.lapida { max-width: 150px; }

.center { text-align: center; }
.big  { font-size: 1.8rem; }
.rojo { color: #ff0000; }

/* ---------- discografía ---------- */
.discografia h2 {
    color: #ff0000;
    margin: 2rem 0 1rem;
    text-align: center;
}
.disco {
    margin-bottom: 3rem;
    text-align: center;
}
.disco img {
    width: 150px;
    height: auto;
    margin: .5rem;
    border-radius: 8px;
    transition: transform .3s;
}
.disco img:hover { transform: scale(1.05); }
.disco ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.disco li {
    padding: .2rem 0;
    font-size: .95rem;
}

/* ---------- galería ---------- */
.galeria h1 { color: #ff0000; margin-bottom: 1.5rem; }
.galeria-grupo { margin-bottom: 3rem; }
.galeria-grupo h2 {
    color: #ffff00;
    text-align: center;
    margin-bottom: 1rem;
}
.grid-fotos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    justify-items: center;
}
.grid-fotos a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    transition: transform .3s;
}
.grid-fotos img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    display: block;
}
.grid-fotos a:hover { transform: scale(1.05); }

/* ---------- letras ---------- */
.letras h1 { color: #ff0000; text-align: center; margin-bottom: 1.5rem; }

.indice-letras {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem 1rem;
    margin-bottom: 2rem;
}
.indice-letras a {
    color: #ffff00;
    text-decoration: none;
    font-size: .9rem;
    padding: .2rem .4rem;
    border-radius: 4px;
    transition: background .25s;
}
.indice-letras a:hover {
    background: #ac40f8;
    color: #ffffff;
}

.cancion {
    margin-bottom: 3rem;
    text-align: center;
}
.cancion h2 {
    color: #ff0000;
    margin-bottom: .5rem;
}
.letra {
    font-family: "Courier New", monospace;
    font-size: .95rem;
    line-height: 1.5;
    color: #fff;
    white-space: pre-line;
    max-width: 700px;
    margin: 0 auto 1rem;
}
.credito {
    font-size: .95rem;
    line-height: 1.5;
    color: #ac40f8;
    white-space: pre-line;
    max-width: 700px;
    margin: 0 auto 1rem;
}

.volver {
    font-size: .8rem;
}
.volver a {
    color: #ffeb3b;
    text-decoration: none;
}
.volver a:hover { text-decoration: underline; }

/* ---------- prensa ---------- */
.prensa h1 { color: #ff0000; text-align: center; margin-bottom: 1.5rem; }
.prensa h2 {
    color: #ffff00;
    text-align: center;
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
}
.grid-prensa {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    justify-items: center;
}
.grid-prensa a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    transition: transform .3s;
}
.grid-prensa img {
    width: 150px;
    height: auto;
    display: block;
}
.grid-prensa a:hover { transform: scale(1.05); }

.prensa hr {
    border: none;
    border-top: 1px solid #ac40f8;
    margin: 3rem auto;
    max-width: 600px;
}

/* ------ VÍDEOS ------ */
.video-wrapper {
    max-width: 640px;
    margin: 3rem auto 0;
}
.video-wrapper iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.video-title {
  text-align: center;
  margin: 0 0 .5rem 0;   /* espacio entre título y vídeo */
  font-size: 1.1rem;
  color: #ff0000; 
  font-weight: 700;
}

/* Sección memoria */
        .memoria {
            margin-top: 3rem;
        }
        .foto-memoria {
            width: 150px;
            height: 150px;
            object-fit: cover;
            border-radius: 50%;
            border: 3px solid #ff0000;
        }
        .texto-memoria {
            margin-top: 1rem;
            font-size: 1.1rem;
            line-height: 1.4;
        }


/* ----------  LIGHTBOX  ---------- */
#lb-overlay{
  position:fixed; inset:0;                 /* cubre toda la ventana */
  background:rgba(0,0,0,.85);
  display:none; justify-content:center; align-items:center;
  z-index:9999;
}
#lb-overlay img{
  max-width:90vw; max-height:90vh;
  border:3px solid #fff;
  box-shadow:0 0 20px #000;
}
/* flechas */
#lb-prev, #lb-next{
  position:absolute; top:50%; transform:translateY(-50%);
  font-size:50px; color:#fff; cursor:pointer;
  padding:20px; user-select:none;
}
#lb-prev{ left:20px; }
#lb-next{ right:20px; }
#lb-prev:hover, #lb-next:hover{ background:rgba(255,255,255,.2); }

/* X cerrar */
#lb-close{
  position:absolute; top:20px; right:30px;
  font-size:40px; color:#fff; cursor:pointer;
}



/* ----------- RESPONSIVE ----------- */
@media (max-width: 600px) {
    .logo img { max-height: 120px; }
    .nav-principal ul { gap: .6rem; }
    .nav-principal a { font-size: .9rem; padding: .3rem .5rem; }
    .integrantes { gap: 1rem; }
    .integrante { max-width: 140px; }
}