@import url('https://fonts.googleapis.com/css2?family=Metal+Mania&family=Roboto:wght@400;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Variables de color para fácil personalización */

.social-links {
padding-bottom: 20px;
}

:root {
  --color-bg: #0a0a0a;
  --color-primary: #ff3e00;
  --color-secondary: #1a1a1a;
  --color-text: #f5f5f5;
}

body {
  margin: 0;
  font-family: 'Roboto' , sans-serif;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--color-bg);
  background-color: #121212;
  color: var(--color-text);
  line-height: 1.5;
}

/* Desplazamiento suave para anclas internas */
html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat',sans-serif;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  color: var(--color-primary);
  color: #fff;
  position: relative;
}
h2{
  padding: 0 .5rem 3rem;
  text-align: center;
}
h3{
    font-size: 1.4rem;
    margin: 0 .5rem .5rem;

}


/* Encabezado fijo con navegación mejorado */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* header usa flexbox para alinear los elementos. La navegación ocupa
     todo el espacio restante, permitiendo que el botón de menú se
     desplace a la derecha */
  display: flex;
  align-items: center;
  background-color: rgba(26, 26, 26, 1);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  z-index: 1200;
  justify-content: space-around;


}

header img.logo {
  height: 50px;
  border-radius: 50%;
}

nav {
  position: relative;
  /* La navegación se expande para ocupar el espacio restante del
     encabezado. Esto permite centrar las opciones y mantener el
     botón de menú a la derecha. */
  flex-grow: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
  transition: transform 0.3s ease-in-out;
  /* Centrar elementos horizontalmente en pantallas anchas */
  justify-content: end;
  font-weight: 500;
}

nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.05rem;
  padding: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-bottom-color 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  color: #ff3e00;
}

/* Botón hamburguesa para móviles */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 32px;
  height: 24px;
  cursor: pointer;
  gap: 5px;
  /* Aumentar z-index para que el botón quede por encima del menú móvil */
  z-index: 1201;
  position: relative;
  /* Empujar el botón hacia la derecha cuando hay espacio */
  margin-left: auto;
  /* Evita que se reduzca el tamaño al crecer la navegación */
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
/* Animación cuando se abre el menú */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Sección hero */
.hero {
  height: 100vh;
  /* Superpone un degradado para mejorar la legibilidad del texto sobre la imagen */
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/background.png');
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../images/portada.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  background: linear-gradient(to right, #ff3e00, #00c8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero-content p {
  max-width: 700px;
  margin: 1rem auto;
  font-size: 1.5rem;
  color: #fff;
}
.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
}  
.social-links a {
  color: #fff;
  font-size: 1.8rem;
  transition: transform 0.3s, color 0.3s;
}
.cta-button {
  display: inline-block;
  background-color: #ff3e00;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s;
  border: 2px solid #ff3e00;
}
.cta-button:hover {
  background-color: transparent;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 62, 0, 0.3);
}

/* Secciones generales */
.section {
  padding: 1rem 1rem 4rem;
  margin-top: 60px; /* para compensar el header fijo */
  background-color: transparent;
  max-width: 1100px;
  margin: 0 auto;
}

.section-dark {
  /*background-color: var(--color-secondary);*/

}

/* Álbumes */
.albums-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.album-card {
  background-color: #1a1a1a;
  /*border: 1px solid #222;*/
  border-radius: .5rem;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.album-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.album-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.album-card .info {
  padding: 1rem;
}

.album-card .info h3 {
  margin: 0;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: var(--color-primary);
  color: #ff3e00;
}

.album-card .info p {
  margin: 0;
  font-size: 0.9rem;
}

.album-songs {
  margin-top: 1rem;
  display: none;
}

.album-songs ul {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
}

.album-songs li {
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.album-card button.toggle-songs {
  background-color: var(--color-primary);
  border: none;
  color: var(--color-text);
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s;
  border-radius: 4px;
  color:#fff;
  background-color: #ff3e00;
  border: 2px solid #ff3e00;
}

.album-card button.toggle-songs:hover {
  background-color: transparent;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 62, 0, 0.3);
  font-weight: 600;
}

/* Letras de canciones en formato desplegable */
.album-songs details {
  margin-top: 0.5rem;
  background-color: #181818;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  border: 1px solid #2a2a2a;
}

.album-songs summary {
  font-weight: bold;
  cursor: pointer;
  outline: none;
  color: var(--color-primary);
}

.album-songs p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

/* Galería */
#gallery{
  display: none;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Preguntas frecuentes */
.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #333;
}

.faq-item h4 {
  cursor: pointer;
  margin: 0;
  padding: .5rem .5rem;
  position: relative;
  font-size: 1.3rem;
}

.faq-item h4::after {
  content: '+';
  position: absolute;
  right: 2%;
  top: 0;
  transition: transform 0.3s;
}

.faq-item.open h4::after {
  content: '-';
}

.faq-item p {
  display: none;
  padding-bottom: 0.5rem;
}

/* Formulario de contacto */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background-color: #1a1a1a;
  border: 1px solid #333;
  padding: 0.75rem;
  color: var(--color-text);
  border-radius: 4px;
}

.contact-form button {
  background-color: var(--color-primary);
  background-color: #ff3e00;
  color: var(--color-text);
  border: none;
  padding: 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #da4716;
}

/* Sección de vídeos */
.video-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 0;
}

/* Audio */
.audio-item {
  background-color: #121212;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #333;
  margin-bottom: 1.5rem;
}
.audio-item h3 {
  margin: 0 0 0.5rem 0;
  color: var(--color-primary);
}
.audio-item audio {
  width: 100%;
  outline: none;
}
.video-container{
  background-color: #141313;
  padding: 0;
  border-radius: .3rem;
  display: flex;
  flex-direction: column-reverse;
  overflow: hidden;
}
.video-container iframe {
  width: 100%;
  height: 315px;
  border: none;
}
.video-container h3{
  padding: .5rem;
  font-size: 1rem ;
  margin: .5rem .5rem;
}

/* Pie de página */
footer {
  background-color: #1e1e1e;
  padding: 1rem;
  text-align: center;
  font-size: 0.8rem;
}

/* Diseño boxed: Contenedor central con sombra y ancho máximo */
.boxed-container {
  /* El ancho se define de forma dinámica vía inline style */
  margin: 0 auto;
  background-color: var(--color-bg);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

footer .social-links a {
  margin: 0 0.5rem;
  color: var(--color-primary);
  font-size: 1.2rem;
  transition: color 0.3s;
  color: #ff3e00;
}

footer .social-links a:hover {
  color: #ffffff;
}


/* Animación de entrada con fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Slider de plataformas ----- */
.platform-strip{ padding: 1rem 0; }
.platform-strip .platforms{
  display:flex; gap:1rem; align-items:center;
  overflow:hidden; width:100%;
  scroll-behavior: smooth;
}
.platform-strip .platform{
  flex: 0 0 auto; display:flex; align-items:center; justify-content:center;
  width: 120px; height:64px; background:transparent; border-radius:8px; text-decoration:none;
}
.platform-strip .platform img{ max-height:48px; max-width:100%; display:block; }

/* Desktop: show more spacing and centered */
@media(min-width:768px){
  .platform-strip .platforms{ justify-content:center; }
  .platform-strip .platform{ width:140px; height:80px; }
}

/* Make it behave like a slider on small screens: hide scrollbar and allow overflow scroll */
@media(max-width:767px){
  .platform-strip .platforms{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .platform-strip .platforms::-webkit-scrollbar{ display:none; }
}

/* Paginación */
.pagination {
  margin-top: 1rem;
  text-align: center;
}
.pagination button {
  background: none;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  margin: 0 0.25rem;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background-color 0.3s, color 0.3s;
}
.pagination button.active,
.pagination button:hover {
  background-color: var(--color-primary);
  color: var(--color-text);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
  /* Mostrar el botón de menú y preparar el contenedor del menú para móviles */
  /* Mostrar el botón de menú */
  .menu-toggle {
    display: flex;
  }
  /* Estilos del menú móvil a pantalla completa */
  nav ul {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background-color: rgba(0, 0, 0, 0.95);
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 1000;
    padding: 2rem;
  }
  nav ul.open {
    transform: translateY(0);
  }
  nav a {
    padding: 0.75rem 0;
    font-size: 1.4rem;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .albums-container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

/* ---------- Modal de letras ---------- */
.lyrics-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 1rem;
}
.lyrics-modal.open {
  display: flex;
}
.lyrics-modal-content {
  background-color: #121212;
  padding: 1.5rem;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 8px;
  width: 100%;
  position: relative;
}
.lyrics-modal-content h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--color-primary);
}
.lyrics-modal-content pre {
  margin: 0;
  white-space: pre-wrap;
  color: var(--color-text);
  font-family: inherit;
  line-height: 1.4;
}
.close-lyrics {
  position: sticky;
  top: 0;
  right: 0;
  margin-left: auto;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
}

/* Botones de canciones para abrir modal */
.album-songs .lyrics-btn {
  display: block;
  width: 100%;
  text-align: left;
  background-color: #181818;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  color: var(--color-text);
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 0.9rem;
}
.album-songs .lyrics-btn:hover {
  background-color: #222;
}

/* ---------- Reproductor de audio personalizado ---------- */
/* ----- Reproductor de audio personalizado ----- */
.audio-player {
  display: flex;
  flex-direction: column;
  background-color: #121212;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #333;
  margin-bottom: 1.5rem;
}
/* Parte superior del reproductor: carátula y título */
.audio-top {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.audio-cover {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 1rem;
}
.audio-info h3 {
  margin: 0;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
  font-size: 1.2rem;
}
/* Controles de reproducción */
.audio-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 0.5rem;
}
.audio-controls .play-pause {
  background-color: var(--color-primary);
  border: none;
  color: var(--color-text);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}
.audio-controls .play-pause:hover {
  background-color: #d10a0a;
}
.progress-container {
  position: relative;
  flex-grow: 1;
  height: 6px;
  background-color: #2a2a2a;
  border-radius: 3px;
  overflow: hidden;
}
.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: var(--color-primary);
  transition: width 0.1s linear;
}
.time {
  font-size: 0.8rem;
  color: #ccc;
  white-space: nowrap;
}
/* Visualizador de audio */
.visualizer {
  width: 100%;
  height: 80px;
  background-color: #1a1a1a;
  border-radius: 4px;
}
/* Sección Sobre el Proyecto */
.proyect-section {
    width: 100%;
    display: flex
;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    background: #111111;
    border-radius: 10px;
}
.proyect-section p{
  flex-basis: 100px;
  flex-grow: 1;
  font-size: 20px;
  margin-bottom: 0;
  text-align: justify;
  padding: 0 0px 0 18px;
}
.proyect-section img{
  width: 50%;
  flex-basis: 1px;
  flex-grow: 1;
  height: 400px ;
  border-radius: .8rem;
}
@media (max-width: 768px) {
  .proyect-section{
    flex-direction: column-reverse;
}
.proyect-section p{
  padding: 0 18px 18px 18px;
}
.proyect-section img{
  width: 100%;
}
}
.section-fq-ccontact{
  display: flex;
  gap: 20px;
  
}
.section-fq-ccontact #faq{
  width: 50%;
  flex-basis: 1px;
  flex-grow: 1;
  border-radius: .8rem;
  background-color: #1a1a1a;
}
.section-fq-ccontact #contact{
  width: 50%;
  flex-basis: 1px;
  flex-grow: 1;
  border-radius: .8rem;
  background-color: #1a1a1a;
}
#proyect h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #ff3e00, #00c8ff);
    
    border-radius: 2px;
}
#albums h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #ff3e00, #00c8ff);
    
    border-radius: 2px;
}
#videos h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #ff3e00, #00c8ff);
    
    border-radius: 2px;
}
#faq-contact > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #ff3e00, #00c8ff);
    border-radius: 2px;
}
h2::after {
  top: 50%;
}
#faq h2{
  font-size: 1.5rem;
}
#faq h4{
  font-size: 1rem;
}
#faq p{
  font-size: 1rem;
  padding: 1rem;
  color: #ddd;

}
#contact h2{
  font-size: 1.5rem;
}
#proyect{
  background-color: #1e1e1e;
   border-radius: 1rem;
}
#videos{
  background-color: #1e1e1e;
  border-radius: 1rem;
}

article{
  width: 100%;
  background-color: #1e1e1e;
  padding: 2rem 0;
}
article:nth-child(2n+1){
  background-color: #111
}
#nav-list a{
  transition: width 0.3s;;
}
#nav-list a:hover{
  color: #ff3e00;
  border-bottom: 2px solid #ff3e00;
}


  /* ===== Strip responsivo de plataformas ===== */
  .platform-strip{
    --bg:#d6dbe1;         
    --fg:#0f1115;       
    --radius:18px;
    --gap: clamp(14px, 2vw, 28px);
    --logo-h: clamp(22px, 2.4vw, 34px);
    background: var(--bg);
    padding: clamp(10px, 2.2vw, 18px)  min(4vw, 28px);
    border-radius: 0;
  }

  .platforms{
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    align-items: center;
    gap: var(--gap);
  }

  .platform{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--fg);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
    will-change: transform;
  }
  .platform img{
    height: var(--logo-h);
    width: auto;
    display: block;
    object-fit: contain;
  }
  .platform span{
    font-size: clamp(14px, 1.4vw, 20px);
    font-weight: 700;
    letter-spacing: .02em;
    user-select: none;
    white-space: nowrap;
  }

  .platform:hover, .platform:focus-visible{
    background: rgba(255,255,255,.55);
    transform: translateY(-2px);
    outline: none;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
  }

  /* ——— Modo oscuro (opcional, no cambia colores de logos) ——— */
  @media (prefers-color-scheme: dark){
    .platform-strip{ --bg:#cbd2da; --fg:#0b0d10; }
    .platform:hover, .platform:focus-visible{ background: rgba(255,255,255,.65); }
  }

  /* ——— Fallback: scroll horizontal en pantallas muy estrechas ——— */
  @media (max-width: 420px){
    .platforms{
      display: flex;
      overflow-x: auto;
      gap: 16px;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }
    .platform{ scroll-snap-align: center; min-width: 180px; }
  }