:root {
  --night: rgb(17, 18, 17);
  --redwood: #a63d40ff;
  --light-green: #a5be00;
  --pear: #cbef43ff;
  --air-force-blue: #6494aaff;
  --body: rgb(30, 30, 30);
  --verde: rgb(0, 236, 134);
  --violer: #7300ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--body);
  padding-bottom: 8rem;
}


/* ====== HEADER ====== */
.header {
  background: linear-gradient(90deg, #000, #000);
  color: var(--pear);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: .4rem;
}

.header .logo img {
  height: 50px;
  width: auto;
}

.header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.eslogan {
  letter-spacing: .1rem;
  font-style: italic;
  margin-top: .5rem;
  color: var(--verde);
  font-size: 1.1rem;

}

/* ====== NAV ====== */
.menu-navegacion {
  background-color: var(--light-green);
  width: 100%;
  text-align: center;
  padding: 0.5rem 0;
  position: relative;
  margin-top: .5rem;
}

.btn-menu {
  background: none;
  border: none;
  color: #7300ff;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  /* se activa en móviles */
  margin: 0 auto;
  font-weight: 900;
}

.lista-menu {
  display: flex;
  justify-content: center;
  gap: 3rem;
  list-style: none;
}

.lista-menu li a {
  color: #000;
  text-decoration: none;
  font-weight: 900;
  transition: 0.3s;

}

.lista-menu li a:hover {
  color: var(--violer);
}

/* ====== NAV RESPONSIVE ====== */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header .logo {
    margin-bottom: 0.5rem;
  }

  .btn-menu {
    display: block;
    /* ahora sí se ve en móvil */
  }

  .lista-menu {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    display: none;
    /* oculto por defecto */
    background: var(--light-green);
    padding: 1rem 0;
    width: 100%;
  }

  .lista-menu.show {
    display: flex;
    /* se despliega al tocar ☰ */
  }
}

/* ====== FOOTER ====== */
.footer {
  background: #1b1b1b;
  color: #ccc;
  padding: 2rem 1rem 1rem;
  margin-top: 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 0.5rem;
}

.footer-logo h2 {
  font-size: 1.2rem;
  color: var(--pear);
}

.footer-links h3,
.footer-social h3 {
  color: #c0d43e;
  margin-bottom: 0.8rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 0.3rem 0;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
  font-weight: bolder;
}

.footer-links ul li a:hover {
  color: var(--violer);
}

.footer-social .social-icons {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: #ccc;
  font-size: 1.5rem;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #7300ff;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #333;
  padding-top: 1rem;
  font-size: 1rem;
  color: var(--verde);
}

.conteiner-cuerpo {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  color: var(--light-green);
  height: auto;
}

.reproductor {
  background-color: var(--night);
  padding: 1rem;
}

.reproductor img {
  max-width: 100%;
  /* no se pasa del ancho del div */
  height: auto;
  /* mantiene proporción */
  display: block;
  /* elimina espacios raros debajo de la imagen */
  margin: 0 auto;
  /* opcional: centrar */
}

.barra-drecha {
  background-color: var(--night);
  padding: 2rem;

}

/* Video responsivo */
.video {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 1rem;
  display: block;
}


.redes-horizontal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1rem;
  background-color: var(--night);
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.redes-horizontal a {
  font-size: 1.4rem;
}

.redes-horizontal img {
  width: 100%;
  max-width: 100%;
  transition: transform 0.3s ease;
  border-radius: 2rem;
}

.redes-horizontal img:hover {
  transform: scale(1.1);
}

.pie-de-pagina {
  background-color: var(--body);
  padding: 1rem;
  color: var(--light-green);
  text-align: center;
}

main {
  margin-top: 1rem;
}


.audio-info {
  display: flex;
  align-items: center;
}

.play-btn {
  background-color: #a5be00;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 1.2rem;
  cursor: pointer;
  margin-right: 1rem;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.play-btn:hover {
  background-color: var(--violer);
  transform: scale(1.1);
}

.textos {
  margin-left: 0.2rem;
  align-items: start;
}

.textos strong {
  font-size: 1.5rem;
}

.textos .live {
  color: red;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vol-icon {
  color: #a5be00;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.volume-slider {
  width: 150px;
}

.vol-btn {
  background: #444;
  color: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
}

.vol-btn:hover {
  background: #7300ff;
}

.volume-slider {
  accent-color: #a5be00;
  width: 100px;
}

/* Responsive */
@media (max-width: 768px) {
  .conteiner-cuerpo {
    grid-template-columns: 1fr;
  }

  .audio-player {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .audio-controls {
    justify-content: center;
  }

  .redes-horizontal {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .redes-horizontal img {
    width: 100%;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .redes-horizontal {
    flex-direction: column;
    gap: 0.5rem;
  }
}


.footer {
  background-color: #111;
  color: #fff;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  width: 60px;
  height: auto;
}

.footer-logo p {
  margin-top: 0.5rem;
  font-weight: bold;
}

.footer-links,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-social a {
  color: #fff;
  text-decoration: none;
}

.footer-social img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  border-top: 1px solid #444;
  padding-top: 1rem;
}

.footer-bottom:hover {
  text-decoration: underline;
}


.barra-drecha img {
  max-width: 100%;
  border-radius: 2rem;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links,
  .footer-social {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-logo img {
    width: 50px;
  }
}

.footer-contact {
  background-color: var(--night);
  color: #ddd;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background-color: var(--night);
  padding: 2rem;
  margin: 1rem 0;
  border-radius: 8px;
  align-items: center;
}


.contact-info {
  text-align: left;
}

.mapa-ubicacion {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.mapa-ubicacion iframe {
  width: 100%;
  height: 15rem;
  /* coincide con la altura previa de .footer-contact */
  border: 0;
}

/* Responsivo: en pantallas pequeñas apila vertical */
@media (max-width: 600px) {
  .footer-contact {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-info {
    text-align: center;
  }
}


.footer-contact a {
  color: #a5be00;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.contact-item {
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-contact {
    text-align: center;
    padding: 1rem;
  }
}

.mapa-ubicacion {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}


/* Formulario */

.contacto-form {
  display: flex;
  flex-direction: column;

  background-color: var(--night);
  color: var(--pear);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.contacto-form h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.contacto-form .form-group {
  position: relative;
  margin-bottom: 1rem;
}

.contacto-form .form-group i {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--pear);
  font-size: 1.25rem;
}

.contacto-form input,
.contacto-form textarea {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  border: 1px solid var(--pear);
  border-radius: 8px;
  background-color: #222;
  color: #ddd;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: var(--light-green);
}

.contacto-form textarea {
  resize: vertical;
}

.contacto-form .btn-submit {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background-color: var(--pear);
  color: #000000;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contacto-form .btn-submit:hover {
  background-color: var(--violer);
}

/* Programacion */

.programacion {
  padding: 2rem 1rem;
}

.programacion h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--pear);
}

.programacion-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.day-schedule {
  background-color: var(--night);
  color: #ffffff;
  padding: 1.5rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}


.day-schedule .day-name {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.day-schedule ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.day-schedule li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.3;
}

.day-schedule li:last-child {
  margin-bottom: 0;
}

.day-schedule .time {
  display: block;
  font-weight: 600;
  color: var(--pear);
}


.programacion-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}



@media (max-width: 900px) {

  .conteiner-cuerpo {
    grid-template-columns: 1fr;
  }


}

@media (max-width: 600px) {
  .programacion h2 {
    font-size: 1.5rem;
  }

  .day-schedule {
    padding: 1rem;
  }

  .day-schedule .day-name {
    font-size: 1.1rem;
  }

  .day-schedule li {
    font-size: 0.9rem;
  }
}

/* 1. Contener y centrar toda la programación */
.programacion {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* 2. Uniformizar ancho de las tarjetas y centrar su contenido */
.programacion-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-items: center;
}

/* 3. Aumentar contraste y espaciado interno */
.day-schedule {
  width: 100%;
  max-width: 250px;
  padding: 1.75rem 1.25rem;
  background-color: var(--night);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  border-radius: 8px;
}


.live {
  color: #e53935;
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

/* ====== 🎵 Fondo visual animado del reproductor (versión corregida) ====== */
.audio-player {
  position: fixed;              /* ✅ vuelve a quedar fijo al fondo */
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  z-index: 1000;
  box-shadow: 0 5px 12px var(--verde);
  overflow: hidden;             /* importante para contener el fondo */
}

.audio-visualizer-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;                  /* ocupa la mitad de alto */
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  opacity: 0.4;                 /* transparencia del fondo */
  z-index: 0;                   /* queda detrás de todo */
}

.audio-visualizer-bg .bar {
  flex: 1;
  margin: 0 1px;
  background: linear-gradient(180deg, rgba(140, 255, 0, 0), rgb(0, 255, 149));
  height: 100%;
  border-radius: 1px;
  animation: waveMove 1.5s ease-in-out infinite;
  transform-origin: bottom center;
}

@keyframes waveMove {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* desfase entre barras */
.audio-visualizer-bg .bar:nth-child(odd) { animation-delay: 0.2s; }
.audio-visualizer-bg .bar:nth-child(3n) { animation-delay: 0.4s; }

/* que el contenido del reproductor esté por encima */
.audio-player > *:not(.audio-visualizer-bg) {
  position: relative;
  z-index: 2;
}
