body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
  font-family: 'Be Vietnam', sans-serif; /* Aquí cambia la fuente */
}

/* ===== Header y navegación ===== */
header {
  background: #222;
  color: #fff;
  padding: 20px 3rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between; /* Mantener logo a la izquierda */
}

header .logo {
  font-weight: bold;
  white-space: nowrap;
  font-size: 1.25rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  margin-right: auto; /* Para centrar nav en el espacio disponible */
  flex-wrap: wrap;
  max-width: 600px; /* Ajusta según el ancho que quieras para el nav */
  flex-grow: 1;
  justify-content: center; /* Centra los links dentro del nav */
}


nav a {
  color: #e7dbdb;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 8px;
  transition: color 0.3s ease;
  white-space: nowrap;
  font-family: 'Be Vietnam', sans-serif; /* Aquí cambia la fuente */
}

nav a:hover {
  color: #ad3a57;
}
/*======================login==================*/
.btn-login {
  background: linear-gradient(135deg, #e60039, #b3002e);
  padding: 10px 40px;
  border-radius: 25px;
  color: white;
  font-weight: 700;
  cursor: pointer;
  margin-left: auto;
  white-space: nowrap;
  border: none;
  box-shadow: 0 4px 8px rgba(230, 0, 57, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.btn-login:hover {
  background: linear-gradient(135deg, #ff004f, #d1003d);
  box-shadow: 0 6px 15px rgba(255, 0, 79, 0.7);
}

.btn-login:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

/* Responsive header */
@media (max-width: 600px) {
  header {
    padding: 15px 1rem;
  }

  header .logo {
    flex-basis: 100%;
    margin-bottom: 10px;
    text-align: center;
  }

  nav {
    flex-grow: 1;
    justify-content: center;
    gap: 15px;
    margin-left: 0;
    flex-basis: 100%;
  }

  .btn-login {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  text-align: center;
  color: rgb(241, 235, 235);
  background: url('/img/carrusel1.jpg') no-repeat center center/cover;
  height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-shadow: 2px 2px 6px #0f0e0e;
}

.hero h1 {
  font-size: 3em;
  margin: 0;
}

.hero p {
  font-size: 1.3em;
  margin-top: 10px;
}

#main-title.hidden, #subtitle.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

/* ===== Chat ===== */
.chat-container {
  max-width: 600px;
  margin: 30px auto;
  background: rgb(207, 18, 18);
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(184, 16, 16, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 400px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 15px;
  border: 1px solid #e4dfdf;
  padding: 10px;
  border-radius: 5px;
  background: #f9f9f9;
}

.chat-messages p {
  margin: 5px 0;
}

.chat-input {
  display: flex;
  gap: 10px;
}

.chat-input input {
  flex: 1;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1em;
}

.chat-input button {
  background: #acd80d;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.chat-input button:hover {
  background: #1a00cc;
}

/* ===== Programación TV ===== */
.tv-programming {
  max-width: 500%;
  padding: 60px 100px;
  background: linear-gradient(90deg, #ade4ee, #e7eecb);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  text-align: center;
  font-family: 'Be Vietnam', sans-serif; /* Aquí cambia la fuente */
  color: rgb(1, 1, 1);
  position: relative;
  z-index: 1;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.tv-programming h2 {
  margin-bottom: 50px;
  font-size: 2.5rem;
  color: rgb(7, 5, 5);
    font-family: 'Be Vietnam', sans-serif; /* Aquí cambia la fuente */
}

.channels {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
    font-family: 'Be Vietnam', sans-serif; /* Aquí cambia la fuente */
}

.channel {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 10 20px 50px rgba(17, 17, 17, 0.1);
  width: 260px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
    font-family: 'Be Vietnam', sans-serif; /* Aquí cambia la fuente */
}

.channel:hover {
  transform: translateY(-5px);
}

.channel img {
  width: 120px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
  object-fit: contain;
    font-family: 'Be Vietnam', sans-serif; /* Aquí cambia la fuente */
}

.channel .info h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: #185ebb;
  font-family: 'Be Vietnam', sans-serif; /* Aquí cambia la fuente */
}

.channel .info p {
  margin: 0 0 15px;
  color: #030303;
  font-size: 1rem;
  font-family: 'Be Vietnam', sans-serif; /* Aquí cambia la fuente */
}

.channel button {
  background: #004aad;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s ease;
  width: 100%;
}

.channel button:hover {
  background: #002f6c;
}

@media (max-width: 700px) {
  .channels {
    flex-direction: column;
    align-items: center;
  }
  .channel {
    width: 90%;
  }
}

.fade-out {
  animation: fadeOut 0.5s forwards;
}

.fade-in {
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.radio-schedule-cards {
  max-width: 1900px;
  margin: 10px auto;
  padding: 60px 100px 100px 100px;
  text-align: center;
  font-family: Arial, sans-serif;
  color: #030405;

 
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(92, 13, 59, 0.15);
}

.radio-schedule-cards > h2 {
  max-width: 1500px;
  margin: 60px auto 100px auto; /* espacio arriba y abajo */
  padding: 15px 20px;
  background-color: #080808; /* color oscuro como "Últimas noticias" */
  color: rgb(255, 252, 252);
  font-weight: bold;
  font-size: 1.8rem;
  border-radius: 8px;
  text-align: center;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 8px rgba(11, 11, 12, 0.6);
}

.cards-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.schedule-card {
  background: #f8f9fa;
  padding: 25px 20px;
  width: 300px;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(7, 9, 10, 0.15);
  color: #0a0b0c;
  text-align: left;
}

.schedule-card h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 1.6rem;
  text-align: center;
}

.schedule-card ul {
  list-style: none;
  padding-left: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.schedule-card ul ul {
  padding-left: 15px;
  margin-top: 8px;
}

.schedule-card li {
  margin-bottom: 10px;
}

.schedule-card strong {
  color: #0c0d0e;
}


.news-section {
  max-width: 1500px;
  margin: 40px auto;
  padding: 5px;
  font-family: Arial, sans-serif;
}

.news-section h2 {
  background-color: #08090c;
  color: white;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.news-container {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
}

.news-card {
  background: #f9f9f9;
  border-radius: 12px;
  width: 280px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.news-content {
  padding: 15px;
  flex-grow: 1;
}

.news-content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #222;
}

.news-content p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 15px;
  text-align: justify;
}

.news-footer {
  display: flex;
  justify-content: center; /* centra horizontalmente */
  padding: 10px 0;
}

.news-footer a {
  display: inline-block;
  padding: 8px 16px;
  background-color: #004aad;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 74, 173, 0.3);
}

.news-footer a:hover {
  background-color: #002f6c;
  box-shadow: 0 6px 12px rgba(0, 47, 108, 0.5);
}

.btn {
  display: inline-block;
  background: #1877f2; /* azul Facebook */
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(24, 119, 242, 0.8);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.btn:hover {
  background-color: #145dbf;
  box-shadow: 0 0 15px rgba(20, 93, 191, 1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 5px rgba(24, 119, 242, 0.7);
  }
  50% {
    box-shadow: 0 0 15px rgba(24, 119, 242, 1);
  }
  100% {
    box-shadow: 0 0 5px rgba(24, 119, 242, 0.7);
  }
}


.channel img {
  width: 100px; /* ajusta al tamaño que quieras */
  border-radius: 10px;
  animation: glow 2.5s infinite alternate;
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 3px #4970c5);
  }
  to {
    filter: drop-shadow(0 0 15px #dde0e6);
  }
}


