/* Local time */
.local-time {
  font-size: 0.8em;
  color: #888;
  margin-top: 8px;
  text-align: center;
}
@media (max-width: 600px) {
  .call-to-action .btn-social {
    display: block;
    margin: 8px 0;
    font-size: 1.1em;
    text-align: center;
  }
  .footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .footer-links ul li {
    margin: 0;
    width: auto;
  }
  .footer-links ul li a {
    display: block;
    margin: 8px 0;
    font-size: 1.1em;
    text-align: center;
    width: auto;
    padding: 10px 18px;
  }
}
/* Nota de zona horaria en programación en vivo */
.live-show-tz-info {
  font-size: 0.85em;
  color: #888;
  margin-top: 8px;
  margin-bottom: 0;
  text-align: center;
}
/* Hamburger menu styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 4px;
  width: 28px;
  margin: 5px auto;
  background: #ff6600;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

nav .nav-links {
  display: flex;
  gap: 1.5em;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
    position: fixed;
    top: 16px;
    right: 20px;
    margin: 0;
    background: #222;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  nav .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100vw;
    height: auto;
    background: #222;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    transform: translateY(-200%);
    transition: transform 0.3s, opacity 0.3s;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    padding: 18px 0 18px 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }
  nav .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  nav .nav-links li {
    margin: 0;
  }
  nav .nav-links li a {
    color: #fff;
    font-size: 1.4em;
    background: none;
    padding: 12px 32px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    display: block;
    text-align: center;
  }
  nav .nav-links li a:hover,
  nav .nav-links li a:focus {
    color: #ff6600;
    background: #fff2e6;
    outline: none;
  }
  .hamburger span {
    background: #ff6600;
  }
}
.live-show-vertical {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 20px;
  align-items: stretch;
  width: 100%;
  text-align: center;
}
.live-show-prev, .live-show-next {
  background: #f7f7f7;
  border-radius: 6px;
  padding: 16px;
  font-size: 1em;
  color: #444;
  min-height: 32px;
}
.live-show-current {
  background: #fff3e0;
  border-radius: 16px;
  padding: 16px;
  font-size: 1.65em;
  color: #222;
  font-weight: bold;
  box-shadow: 0 6px 24px rgba(255,102,0,0.15);
  min-height: 100px;
  margin: 2px 0;
  z-index: 1;
  position: relative;
  flex: 2 1 0;
}
.live-show-music {
  background: #ffe7c2;
  color: #b85c00;
  font-size: 1.25em;
  font-weight: 600;
  border: 2px dashed #ff6600;
  box-shadow: 0 2px 12px rgba(255,102,0,0.09);
}
.live-show-vertical .label {
  color: #ff6600;
  font-weight: bold;
  margin-right: 6px;
}
.live-show-vertical .show-title {
  font-weight: bold;
}
.live-show-vertical .host {
  color: #555;
  font-size: 0.97em;
  margin-left: 4px;
}
.live-show-vertical .show-time, .live-show-vertical .next-time {
  color: #ff6600;
  margin-left: 8px;
  font-size: 0.97em;
}
.live-show-vertical .ver-programacion {
  display: inline-block;
  margin-top: 8px;
  color: #ff6600;
  font-size: 0.97em;
  text-decoration: underline;
  transition: color 0.2s;
}
.live-show-vertical .ver-programacion:hover {
  color: #e65c00;
}
.live-show-section .next-show {
  display: inline-block;
  margin-top: 6px;
  color: #444;
  font-size: 0.98em;
}
.live-show-section .next-time {
  color: #ff6600;
  margin-left: 4px;
}
.live-show-section .ver-programacion {
  display: inline-block;
  margin-top: 10px;
  color: #ff6600;
  font-size: 0.97em;
  text-decoration: underline;
  transition: color 0.2s;
}
.live-show-section .ver-programacion:hover {
  color: #e65c00;
}
/* Live Show Section */
.live-show-section {
  background: #fffbe6;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  margin: 0 0 32px 0;
  padding: 18px 24px;
  /* font-size: 1.18em; */
  color: #222;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.live-show-prev, .live-show-next, .live-show-current {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}
.live-show-prev p,
.live-show-next p,
.live-show-current p {
  margin-bottom: 6px;
  margin-top: 0;
}

.live-show-section strong {
  color: #ff6600;
}
.live-show-section .host {
  color: #555;
  font-size: 0.95em;
  margin-left: 6px;
}
html, body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* Titulos y encabezados con Roboto */
h1, h2, h3, h4, h5, h6, .logo, .slogan {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
/* Épocas musicales en la home: siempre en fila */
  .epocas-musicales {
  margin: 48px auto 32px auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
/* epoca-card en 2 columnas: contenedor imagen y contenedor textos */
.epoca-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: stretch;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 48px 48px 48px 48px;
  gap: 0 48px;
  margin: 0;
  min-height: 180px;
  transition: background 0.2s;
}
.epoca-card .epoca-img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  padding: 0;
  width: 100%;
}
.epoca-card .epoca-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: none;
  display: block;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.epoca-card .epoca-textos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 32px;
  padding: 0 0 0 0;
}
.epoca-card h3 {
  color: #ff6600;
  font-size: 1.45em;
  margin-bottom: 24px;
  margin-top: 0;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.epoca-card p {
  font-size: 1.08em;
  color: #444;
  margin: 0;
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: 0.01em;
  padding-bottom: 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
@media (max-width: 900px) {
  .epocas-musicales {
    padding: 0 2vw;
    gap: 24px;
  }
  .epoca-card {
    grid-template-columns: 1fr;
    padding: 24px 8px;
    gap: 24px 0;
  }
  .epoca-card .epoca-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  .epoca-card .epoca-textos {
    padding: 0;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .epoca-card .epoca-img {
    width: 100vw;
    min-width: 0;
    max-height: 240px;
    object-fit: cover;
    display: block;
    margin-left: -16px;
    margin-right: -16px;
  }
}
.epoca-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.13);
}
.epoca-img {
  /*width: 100px;
  height: 100px;*/
  width: 100%;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 14px;
  border: 2px solid #ff6600;
}
.epoca-card h3 {
  color: #ff6600;
  font-size: 1.15em;
  margin-bottom: 8px;
}
.epoca-card p {
  font-size: 0.98em;
  color: #555;
}
/* Slogan debajo del título principal */
.slogan {
  font-size: 2.1em;
  color: #ff6600;
  margin-top: 18px;
  margin-bottom: 18px;
  font-weight: bold;
  text-align: left;
  letter-spacing: 1.5px;
  transition: color 0.3s;
  min-height: 2.7em;
}

/* Animaciones para slogan dinámico */
.fade-in {
  animation: fadeInSlogan 0.5s;
}
.fade-out {
  animation: fadeOutSlogan 0.4s;
}
@keyframes fadeInSlogan {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeOutSlogan {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Sección de bienvenida en la home */
.bienvenida-coverage {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  margin: 40px auto 32px auto;
  padding: 40px 32px 32px 32px;
}
.bienvenida-text {
  margin-bottom: 24px;
}
.bienvenida-text p {
  font-size: 1.18em;
  text-align: left;
  color: #333;
  margin-bottom: 18px;
  line-height: 1.8;
}
/* Contact Page Styles */
.contact-content {
  background-color: #fff;
  padding: 40px 36px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 32px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.contact-content h1 {
  color: #ff6600;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2em;
}
.contact-content p {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 20px;
}
.contact-content ul {
  list-style: none;
  padding: 0;
  text-align: center;
}
.contact-content ul li {
  display: inline-block;
  background: #ff6600;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  margin: 5px 10px;
  font-weight: bold;
}

/* Privacy Page Styles */
.privacy-content {
  background-color: #fff;
  padding: 40px 36px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 32px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.privacy-content h1 {
  color: #ff6600;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2em;
}
.privacy-content p {
  text-align: center;
  font-size: 1.1em;
}

/* Equipo Cards for About Page */
.equipo-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 30px;
}
.equipo-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 32px 22px;
  width: 240px;
  text-align: center;
  transition: transform 0.2s;
  margin-bottom: 18px;
}
.equipo-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.13);
}
.equipo-card .equipo-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  background: #eee;
  border: 2px solid #ff6600;
}
.equipo-card .equipo-nombre {
  font-size: 1.15em;
  font-weight: bold;
  color: #ff6600;
  margin-bottom: 6px;
}
.equipo-card .equipo-rol {
  font-size: 0.98em;
  color: #555;
  margin-bottom: 4px;
}
/* General Body and Layout */
body {
  margin: 0;
  padding-bottom: 120px; /* Increased padding for fixed audio player on mobile */
  background-color: #f4f4f4;
  color: #222; /* Improved contrast */
}

/* Header and Navigation */
header {
  background-color: #222; /* Improved contrast */
  color: #fff;
  padding: 1em 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* Subtle shadow for separation */
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

nav .logo {
  color: #ff6600; /* Make logo stand out */
  font-size: 1.8em;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, background 0.3s ease;
  padding: 6px 12px;
  border-radius: 4px;
}

nav ul li a:hover,
nav ul li a:focus {
  color: #ff6600;
  background: #fff2e6;
  outline: none;
}

/* Main Content Area */
main {
  max-width: 1200px;
  margin: 36px auto;
  padding: 0 32px;
}

/* Hero Section */
.hero {
  background: url("../images/hero.jpg") no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 120px 32px 110px 32px;
  border-radius: 12px;
  margin-bottom: 36px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
  border-radius: 8px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  padding-left: 16px;
}

.hero h1 {
  font-size: 3.8em;
  margin-bottom: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.6em;
  margin-bottom: 36px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  line-height: 1.7;
}

.btn-listen-live {
  background-color: #ff6600;
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-listen-live:hover {
  background-color: #e65c00;
  transform: translateY(-3px);
}

/* Audio Player Section */
/* Audio Player Section */
.audio-player-section {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #fff;
  background: #222;
  padding: 0;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

.audio-player-section h2 {
  display: none; /* Hide the h2 tag */
}

.audio-player-embed {
  max-width: 800px;
  margin: 0 auto;
  padding: 0; /* Removed padding */
}

.audio-player-embed iframe {
  width: 100%;
  height: 110px;
  border: none;
  background: #222;
}

.audio-player-embed p {
  font-size: 0.8em; /* Reduced font size */
  color: #aaa;
}

/* Current Show Section */
.current-show {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.current-show h2 {
  color: #ff6600;
  font-size: 2em;
  margin-bottom: 15px;
}

.current-show p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.show-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Featured Content Section */
.featured-content {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.featured-content h2 {
  text-align: center;
  color: #333;
  font-size: 2em;
  margin-bottom: 25px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.content-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s ease;
}

.content-item:hover {
  transform: translateY(-5px);
}

.content-item h3 {
  color: #ff6600;
  margin-bottom: 10px;
}

.content-item p {
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 15px;
}

.content-item a {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.content-item a:hover {
  background-color: #555;
}

/* Call to Action Section */
.call-to-action {
  background-color: #333;
  color: #fff;
  padding: 56px 32px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 36px;
}

.call-to-action h2 {
  font-size: 2.7em;
  margin-bottom: 24px;
}

.call-to-action p {
  font-size: 1.25em;
  margin-bottom: 36px;
  line-height: 1.7;
}

.btn-social {
  background-color: #ff6600;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-social:hover {
  background-color: #e65c00;
  transform: translateY(-3px);
}

/* Footer */
footer {
  background-color: #181818;
  color: #e0e0e0;
  padding: 14px 8px 8px 8px;
  text-align: center;
  border-top: 4px solid #ff6600;
  font-size: 0.95em;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links h3 {
  font-size: 1.1em;
  margin-bottom: 8px;
  color: #ff6600;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-links ul li {
  margin: 0 6px 4px;
}

.footer-links ul li a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.98em;
  padding: 2px 4px;
  border-radius: 3px;
}

.footer-links ul li a:hover {
  color: #fff;
  background: #ff6600;
}

footer p {
  font-size: 0.85em;
  color: #b0b0b0;
  margin: 6px 0 0 0;
}

/* About Us Page Specific Styles */
.about-us-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.about-us-content h1 {
  color: #ff6600;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5em;
}

.about-us-content h2 {
  color: #333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.8em;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}

.about-us-content p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.team-member {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #ff6600;
}

.team-member h3 {
  color: #333;
  margin-bottom: 5px;
  font-size: 1.4em;
}

.team-member p {
  font-size: 0.95em;
  color: #666;
}

/* Schedule Page Specific Styles */
.schedule-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.schedule-content h1 {
  color: #ff6600;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5em;
}

.timezone-info {
  text-align: center;
  font-style: italic;
  color: #666;
  margin-bottom: 30px;
}

.schedule-grid {
  margin-bottom: 40px;
}

.schedule-grid h2 {
  color: #333;
  font-size: 2em;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.day-schedule {
  display: flex;
  align-items: flex-start;
  background-color: #f9f9f9;
  border-left: 5px solid #ff6600;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.show-time {
  flex: 0 0 150px; /* Fixed width for time */
  font-weight: bold;
  color: #ff6600;
  font-size: 1.1em;
  margin-right: 20px;
}

.show-details {
  flex-grow: 1;
}

.show-details h3 {
  color: #333;
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 1.3em;
}

.show-details p {
  font-size: 0.95em;
  color: #555;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 900px) {
  .live-show-section {
    /* max-width: 600px; */
    margin-left: auto;
    margin-right: auto;
  }
  .live-show-vertical {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
  }

  nav ul li {
    margin: 5px 0;
  }

  .language-selector,
  .listen-live {
    margin-top: 15px;
    width: 100%;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.2em;
  }

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

  .epocas-musicales {
    flex-direction: row;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .content-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .day-schedule {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .show-time {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .audio-player-section {
    height: 120px;
  }
  body {
    padding-bottom: 130px;
  }
}
