/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: url('../img/fondo.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff; /* opcional: cambiar el color del texto si el fondo es oscuro */
}

header {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 20px;
  text-align: center;
}

header nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

header nav a:hover {
  color: #ff6600;
}

h1 {
  font-size: 48px;              /* tamaño grande para destacar */
  font-weight: 900;             /* negrita extrema */
  color: #ff6600;               /* color destacado */
  text-transform: uppercase;    /* todas mayúsculas */
  text-shadow: 3px 3px 6px rgba(0,0,0,0.6); /* sombra para resaltar sobre fondo */
  margin-bottom: 10px;
  text-align: center;           /* centrado */
  letter-spacing: 2px;          /* espaciado entre letras */
}
 
h2 {
  font-size: 28px;             /* tamaño destacado */
  font-weight: 700;            /* negrita */
  text-transform: uppercase;   /* opcional para impacto */
  color: #ff6600;              /* color principal destacado */
  margin-bottom: 15px;
  display: inline-block;       /* necesario para borde inferior */
  padding-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* sombra sutil */
  border-radius: 3px;          /* bordes levemente redondeados si se usa fondo */
 text-align: center;
   width: 100%; 
}

.album-contenedor {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9); /* semi-transparente */
  border-radius: 10px;
  box-shadow: 0 6px 10px rgba(0,0,0,0.1);
  max-width: 900px;
  margin: 20px auto; /* centrado */
}

.portada {
  width: 200px;
  border-radius: 10px;
}

.lista-canciones {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cancion {
  display: grid;
  grid-template-columns: 50px 1fr 60px 60px 120px; /* Número, Título, Play, Stop, Descargar */
  align-items: center;
  background: #f8f8f8;
  padding: 8px 12px;
  border-radius: 5px;
  gap: 10px;
}

.numero, .titulo {
  margin-right: 10px;
  color:#000000;
}

.play-btn, .stop-btn {
  background: #ff6600;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-weight: bold;
  margin-right: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.play-btn:hover, .stop-btn:hover {
  background: #ff8800;
}

.btn-descarga {
  padding: 5px 10px;
  background: #222;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  transition: background 0.3s;
}

.btn-descarga:hover {
  background: #444;
}

.descarga-todas {
  text-align: center;
  margin: 20px 0;
}

.btn-descarga-todas {
  padding: 12px 25px;
  background: #ff6600;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-descarga-todas:hover {
  background: #ff8800;
}

.bio-contenedor {
  background-color: rgba(0, 0, 0, 0.6); /* negro semitransparente */
  border: 1px solid rgba(255,255,255,0.2); /* borde tenue */
  padding: 20px;
  border-radius: 8px;
  margin: 15px auto; /* centra horizontalmente y margen arriba/abajo */
  color: #ffffff; /* texto blanco */
  line-height: 1.6; /* mejora lectura */
  max-width: 800px; /* ancho máximo de la caja */
  width: 90%; /* ancho relativo para pantallas pequeñas */
}

section#sobre, section#contacto {
  padding: 40px 20px;
  text-align: center;
}

form input, form textarea {
  width: 80%;
  max-width: 400px;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

form button {
  padding: 10px 25px;
  background: #ff6600;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background: #ff8800;
}

/* Footer redes sociales */
.redes-footer {
  margin-top: 10px;
  display: flex;
  justify-content: center; /* centra los íconos horizontalmente */
  gap: 20px; /* espacio entre íconos */
}

.redes-footer a {
  color: #ffffff !important; /* siempre blanco */
  font-size: 24px; /* tamaño de los íconos */
  transition: transform 0.2s;
}

.redes-footer a:hover {
  transform: scale(1.2); /* efecto de zoom al pasar el mouse */
}


footer {
  text-align: center;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
}

/* Responsive */
@media (max-width: 480px) {
  h2 {
    font-size: 22px;
  }
  h2.fondo {
    padding: 4px 10px;
    font-size: 20px;
  }

@media (max-width: 480px) {
  .bio-contenedor {
    padding: 15px;
    font-size: 14px;
  }

  .portada {
    width: 100%;
    max-width: 300px;
  }

  .lista-canciones {
    width: 100%;
  }

  form input, form textarea {
    width: 90%;
  }
  
  /* Responsive */
@media (max-width: 768px) {
  .album-contenedor {
    flex-direction: column;
    align-items: center;
  }

  .portada {
    width: 100%;
    max-width: 300px;
  }

  .lista-canciones {
    width: 100%;
  }

  /* Ajuste de cada canción en móvil */
  .cancion {
    grid-template-columns: 35px 1fr; /* número + título arriba */
    grid-template-rows: auto auto; /* separa filas */
    text-align: left;
    gap: 10px;
  }

  /* Botones y descarga en una fila centrada */
  .cancion .botones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .play-btn, .stop-btn, .btn-descarga {
    margin: 0;
  }

  .btn-descarga {
    font-size: 0.8em;
    padding: 5px 8px;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 22px;
  }

  .bio-contenedor {
    padding: 15px;
    font-size: 14px;
  }

  form input, form textarea {
    width: 90%;
  }

  .redes-footer a {
    font-size: 20px; /* íconos un poco más chicos en móvil */
  }
}
