@font-face {
  font-family: "Akira";
  src: url("../assets/fonts/Akira-Expanded.otf") format("opentype");
       font-weight: normal;
       font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../assets/fonts/Roboto-Bold.ttf") format("woff2");
  font-weight: 400;
}

/* NAVBAR GENERAL */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 999;
  background: transparent;
  padding: 16px 32px;
  transition: background 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.7);     /* aparece fondo al hacer scroll */
  backdrop-filter: blur(6px);
  padding: 10px 32px;
}

.nav-inner {
  display: flex;
  align-items: center;
}

/* ZONAS */
.nav-left,
.nav-center,
.nav-right {
  display: flex;
  align-items: center;
  flex: 1;
}

/* izquierda: íconos RRSS */
.nav-left {
  display: flex;
  align-items: center;
  gap: 18px;   /* <-- aumenta aquí, prueba 16px, 20px, 24px */
  filter: invert(1);
}

.nav-left a {
  margin-right: 10px;
}

.nav-left img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.nav-left img:hover {
  opacity: 0.7;
  transition: 0.5s ease;
}

/* centro: logo */

.nav-center {
  justify-content: center;
}

.logo-img {
  height: 45px;       /* ajusta según tu logo */
  object-fit: contain;
}

.logo-img:hover {
  opacity: 0.9;
  transition: 0.5s ease;
}

/* derecha: links */

.nav-right {
  justify-content: flex-end;
  gap: 18px;
}

.nav-right a {
  position: relative;          /* <-- ESTA ES LA CLAVE */
  font-family: "Akira", system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.12em;
  margin-left: 18px;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  padding-bottom: 3px; /* espacio para el subrayado */
}

.nav-right a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0; 
  width: 0%;
  height: 2px;                      /* grosor */
  background-color: #ffffff;        /* color del subrayado */
  transition: width 0.5s ease;      /* duración y tipo de animación */
}

/* opcional hover */
.nav-right a:hover {
  opacity: 0.7;
  transition: 0.5s ease;
}

/* al hacer hover, se expande */
.nav-right a:hover::after {
  width: 100%;
}

/* HERO SECTION  */

.hero {
  height: 100vh;
  background: url("../assets/img/hero.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  color: #fff;
  letter-spacing: 0.3em;
  font-style: italic;
  opacity: 0.8;
}

.hero p {
  color: #dddddd;
  margin: 12px 0 32px;
}

.hero-title {
  /* lo que ya tengas */
}

/* solo "tesis" tachado */
.word-strike {
  text-decoration: line-through;
  text-decoration-thickness: 4px;
  text-decoration-color: rgba(255, 255, 255, 1); /* puedes ajustar opacidad */
}


.btn-primary {
  padding: 12px 32px;
  background: #ffffffcc;
  color: #000;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;
}

/* fondo general (por si acaso) */
body {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100vh;
  color: #ffffff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* cada página con su imagen */
.page-home {
  background: url("../assets/img/index-foto.JPG") center/cover no-repeat fixed;
}

.page-music {
  background: url("../assets/img/musica-foto.JPG") center/cover no-repeat fixed;
}

.page-contact {
  background: url("../assets/img/contacto-foto.JPG") no-repeat;
  background-size: cover;
  background-position: center 15%;
}

/* para que el contenido no quede debajo del navbar fijo */
main, section {
  padding-top: 80px;   /* ajusta según la altura de tu navbar */
}


/* --- PÁGINA DE MÚSICA SOBRIA --- */

.music-page {
  padding: 120px 40px 60px;  /* margen para el navbar fijo */
  min-height: 100vh;
  box-sizing: border-box;
}

/* grid de carátulas */
.music-grid {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* tarjeta minimal de álbum */
.album-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* carátula cuadrada */
.album-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}


/* link "escucha acá" */
.listen-link {
  font-family: "Akira", "Roboto", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  padding: 6px 10px;              /* espacio interno para el rectángulo */
  position: relative;
  transition: color 0.3s ease;     /* transición del color del texto */
  border: 1px solid #ffffff;
}

/* rectángulo blanco (inicialmente invisible) */
.listen-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  opacity: 0;                      /* invisible por defecto */
  transition: opacity 0.5s ease;   /* animación */
  z-index: -1;                     /* queda por detrás del texto */
}

/* HOVER: aparece el rectángulo y se invierte el color */
.listen-link:hover {
  color: #1a1a1a;              /* texto negro */
}

.listen-link:hover::before {
  opacity: 1;                      /* rectángulo aparece */
}

/* hace que la carátula completa también sea clickeable */
.album-cover-link {
  width: 100%;
  display: block;
}

.contact-page {
  padding: 120px 40px 60px;  /* espacio por el navbar */
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contact-panel {
  width: 100%;
  max-width: 480px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 24px 24px 28px;
  box-sizing: border-box;
  margin-top: 40px;
  backdrop-filter: blur(8px);
}

.contact-panel h1 {
  font-family: "Akira", "Roboto", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 1rem;
  margin: 0 0 8px;
}

.contact-panel p {
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.85rem;
  color: #e5e5e5;
  margin: 0 0 20px;
}

.field-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.field-group label {
  font-family: "Akira", "Roboto", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #f5f5f5;
}

.field-group input,
.field-group textarea {
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.85rem;
  padding: 8px 10px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 10, 10, 0.85);
  color: #ffffff;
  outline: none;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.6);
}

/* botón */
.btn-submit {
  font-family: "Akira", "Roboto", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 10px 20px;
  cursor: pointer;

  opacity: 0.85;                    /* estado base */
  transition: opacity 0.3s ease;    /* solo opacidad */
}

.btn-submit:hover {
  opacity: 1;                       /* más visible al hover */
}

.btn-submit:active {
  opacity: 0.6;                     /* feedback al click */
}


/* mensaje de estado */
.form-status {
  margin-top: 10px;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.8rem;
  color: #cfcfcf;
}


/* PLATAFORMAS MUSICALES */

.music-platforms {
  margin-top: 40px;
  text-align: center;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.9rem;
  color: #e5e5e5;
}

.platform-icons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.platform-icons img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: invert(1); /* los vuelve blancos si el icono es negro */
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.platform-icons img:hover {
  opacity: 1;
}

.track-name {
  margin-top: 4px;            /* muy poca distancia */
  margin-bottom: 2px;         /* muy pegado al "escucha acá" */
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-align: center;
}

/* ================================
   ADAPTACIÓN A MÓVIL / TABLET
   ================================ */

/* Tablets y móviles “grandes” */
@media (max-width: 960px) {

  /* NAVBAR más cómodo pero no enano */
  .navbar {
    padding: 10px 16px;
  }

  .navbar.scrolled {
    padding: 10px 20px;
  }

  .nav-inner {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  /* dejamos solo logo + menú, sacamos RRSS del nav en móvil */
  /* .nav-left {
    display: none;
  } */

  .nav-center {
    order: 1;
  }

  .nav-right {
    order: 2;
    justify-content: center;
    gap: 12px;
  }

  .nav-right a {
    margin-left: 0;
    font-size: 0.9rem;      /* que se vea bien, no mini */
    letter-spacing: 0.09em;
  }

  .logo-img {
    height: 40px;
  }

  .nav-right a {
    margin-left: 14px;
    font-size: 0.85rem;      /* casi como desktop */
    letter-spacing: 0.09em;
  }

    .nav-left {
    order: 3;
    justify-content: center;
    gap: 14px;
  }

  /* HERO: grande, legible, no “tiny” */
  .hero {
    padding: 0 24px;
    background-position: center top;
  }

  .hero h1 {
    font-size: 2.6rem;
    letter-spacing: 0.24em;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn-primary {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  /* Fondos sin fixed en mobile (mejora comportamiento) */
  .page-home,
  .page-music {
    background-attachment: scroll;
    background-position: center top;
  }

  /* Páginas internas más anchas, menos margen lateral */
  .music-page,
  .contact-page {
    padding: 110px 24px 50px;
  }

  /* MÚSICA: que las carátulas sigan viéndose GRANDES */
  .music-grid {
    max-width: 700px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .album-card {
    gap: 8px;
  }

  .track-name {
    font-size: 0.8rem;
    letter-spacing: 0.11em;
  }

  .listen-link {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  /* CONTACTO: panel ancho y cómodo */
  .contact-panel {
    max-width: 520px;
    padding: 24px 22px 28px;
  }

  .contact-panel p {
    font-size: 0.9rem;
  }

  .field-group input,
  .field-group textarea {
    font-size: 0.85rem;
  }

  .btn-submit {
    padding: 10px 22px;
    font-size: 0.8rem;
  }

  .music-platforms {
    font-size: 0.85rem;
  }

  .platform-icons img {
    width: 26px;
    height: 26px;
  }
}

/* Teléfonos “normales” y pequeños */
@media (max-width: 600px) {

  .navbar {
    padding: 10px 16px;
  }

  .navbar.scrolled {
    padding: 8px 16px;
  }

  .logo-img {
    height: 36px;
  }

  .nav-right a {
    font-size: 0.8rem;
    margin-left: 10px;
  }

  .hero {
    padding: 0 18px;
  }

  .hero h1 {
    font-size: 2.2rem;
    letter-spacing: 0.2em;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .music-page,
  .contact-page {
    padding: 100px 18px 40px;
  }

  /* En móviles chicos: 1 portada por fila, pero GRANDE */
  .music-grid {
    max-width: 420px;
    grid-template-columns: 1fr;
    margin: 0 auto;
    gap: 22px;
  }

  .track-name {
    font-size: 0.8rem;
  }

  .listen-link {
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  .contact-panel {
    margin-top: 30px;
    padding: 22px 18px 26px;
  }

  .btn-submit {
    width: 100%;       /* botón ancho, cómodo de apretar */
    text-align: center;
  }

  .platform-icons img {
    width: 24px;
    height: 24px;
  }
}
