body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  color: white;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 80px 10%; /* más aire en todos los bordes */
  background-color: #c52829;
  color: white;
  gap: 40px;
}

.text-content {
  flex: 1 1 500px;
  max-width: 600px;
}

.text-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.subscribe-btn {
  display: inline-block;
  background-color: #000;
  color: white;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  margin-top: 20px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

.image-circles {
  flex: 1 1 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px; /* antes 20px — ahora más juntos */
  place-items: center;
}

.circle {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}



.site-header {
  background-color: #000;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.highlight-section {
  background-color: #0B1E3C; /* fondo oscuro según tu imagen */
  padding: 60px 20px;
  text-align: center;
}

.highlight-title {
  color: #F5F7FA;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

.highlight-card {
  background-color: #737786;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.highlight-card img {
  width: 120px;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
}

.card-text {
  padding: 20px;
}

.card-text h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin: 0 0 10px;
}

.card-text p {
  color: #e0e3e9;
  font-size: 0.95rem;
  margin: 0;
}


.hero-video-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black; /* Opcional para evitar fondo blanco si el video no cubre todo */
  overflow: hidden;
}

.bg-video {
  width: 100%;
  height: auto;
  display: block;
}


.hero-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.4); /* opcional para mayor contraste */
}

.hero-text {
  font-size: 2.8rem;
  color: #f5f7fa;
  line-height: 1.3;
  font-weight: bold;
  max-width: 1000px;
}

.hero-text .underline {
  display: inline-block;
  position: relative;
}

.hero-text .underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 8px;
  background: url('ruta-a-tu-zigzag.png') no-repeat center;
  background-size: contain;
}
.hero-video-section {
  width: 100%;
  height: 600px; /* Altura personalizada */
  overflow: hidden;
  position: relative;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Responsive layout */
@media (max-width: 768px) {
    .about-section {
    flex-direction: column;
    text-align: left;
    padding: 40px 20px;
  }

  .image-circles {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .circle {
    width: 230px;
    height: 230px;
  }

  .text-content p {
    font-size: 1rem;
  }
    .hero-text {
    font-size: 1.6rem;
  }
  .hero-text .underline::after {
    bottom: -6px;
    height: 6px;
  }
  .about-section {
    flex-direction: column;
    align-items: center;
  }

  .image-collage {
    width: 100%;
    height: 300px;
    position: relative;
  }

    .highlight-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    flex-direction: column;
    text-align: center;
  }

  .highlight-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }
   .hero-video-section {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .bg-video {
    height: auto;
    object-fit: contain;
  }
}


/* videoyoutube */
.live-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Banner flotante arriba derecha */
.live-banner {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #C52829;
  color: white;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
  white-space: nowrap;
}

.live-banner .yt-button {
  display: inline-block;
  margin-left: 10px;
  background-color: #F1C40F;
  color: #0B1E3C;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.live-banner .yt-button:hover {
  background-color: #d4ac0d;
}

#liveStreamContainer iframe {
  margin-top: 100px; /* opcional si quieres que el iframe no esté arriba del todo */
  width: 90%;
  max-width: 800px;
  height: 450px;
  border: none;
  border-radius: 10px;
  pointer-events: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

