/* ==============================
   Canciones – Elegancia Oceánica
   (véase banner contenido)
   ============================== */

/* 1. Variables de color */
:root {
  --azul-marino:   #00284d;
  --azul-profundo: #003a66;
  --turquesa:      #38b2ac;
  --celeste:       #81d4fa;
  --blanco-espuma: #e0f7fa;
  --gris-oscuro:   #0a1a2a;
}

/* 2. Reset y box-sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 3. Fondo con imagen y overlay */
body.pagina-canciones {
  position: relative;
  font-family: 'Caveat', cursive;
  color: var(--blanco-espuma);
  background: url("../assets/fondocanciones.png") no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  padding-bottom: 3rem;
}
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 32, 0.4);
  backdrop-filter: blur(4px);
  z-index: 0;
}

/* 4. Header y navegación */
header {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1rem;
  background: transparent;
}
.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.nav-buttons .btn-portal {
  font-size: 1rem;
  padding: 0.6rem 1.2rem;
}

/* 5. Perfil de artista */
.artist-profile {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 900px;
  margin: 2rem auto;
  background: rgba(0, 20, 60, 0.5);
  backdrop-filter: blur(6px);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.artist-banner {
  flex: 1 1 100%;
}
.artist-image {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}
.artist-info {
  flex: 1 1 100%;
}
.artist-info h2 {
  color: var(--celeste);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.artist-info h3 {
  color: var(--turquesa);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-style: italic;
}
.artist-info p {
  color: var(--blanco-espuma);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.artist-info h4 {
  color: var(--celeste);
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--turquesa);
}
.artist-info a {
  color: var(--turquesa);
  text-decoration: none;
  transition: color 0.3s ease;
}
.artist-info a:hover {
  color: var(--celeste);
  text-decoration: underline;
}
.iframe-container {
  margin: 1rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* 6. Listado de canciones */
.song-list {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 2rem auto;
  background: rgba(0, 20, 60, 0.5);
  backdrop-filter: blur(6px);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.song-list h2 {
  color: var(--celeste);
  font-size: 1.8rem;
  margin: 1.5rem 0 0.5rem;
  text-align: center;
}
.song-list p {
  color: var(--blanco-espuma);
  font-style: italic;
  margin-bottom: 1rem;
}

/* 7. Cartas flotantes para cada canción */
.song-list .song-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 800px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.song-list .song-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* 8. Contenedor de iframe */
.song-list .song-card .iframe-container {
  margin: 1rem 0 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.song-list .song-card .iframe-container iframe {
  width: 100%;
  display: block;
}

/* 9. Botón “Volver” */
.return {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 2rem 0;
}
.return a {
  display: inline-block;
  background: linear-gradient(135deg, var(--turquesa), var(--celeste));
  color: var(--gris-oscuro);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}
.return a:hover {
  transform: scale(1.05);
}

/* 10. Responsive general */
@media (max-width: 768px) {
  .artist-profile {
    flex-direction: column;
  }
  .song-list, .song-card {
    margin: 1rem;
    padding: 1.5rem;
  }
  .iframe-container {
    width: 100%;
  }
}

/* 11. Ajuste banner: ocupa toda la fila y altura contenida */
.artist-banner .artist-image,
.banner-img {
  width: 100%;
  height: auto;
  max-height: 150px;      /* Ajuste: altura máxima reducida */
  margin: 0 auto 1rem;
  object-fit: contain;
  display: block;
}
@media (min-width: 769px) {
  .artist-banner .artist-image {
    max-height: 200px;    /* Un poco más alto en pantallas grandes */
  }
}
