/* Hero Section */
.hero-section {
    background-image: url('/img/Hero1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 85vh;
    margin-top: -110px; /* Ajuste para que la imagen sobresalga detrás de la navbar */
    padding-top: 110px; /* Compensa el margen negativo */
    z-index: 0;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: visible;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none; /* ← Esta línea permite que el mouse interactúe con elementos debajo */
}
.hero-section .row {
    position: relative;
    z-index: 10; /* Asegura que todo el contenido esté por encima del gradiente */
}

/* Estilos para el texto del hero */
.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7); /* Sombra más pronunciada */
    position: relative;
    z-index: 20; /* Mayor z-index para que sobresalga */
}

.text-blue {
    color: #00bdff !important;
}

.text-white {
    color: #ffffff !important;
}

/* Estilos para el botón del hero */
.hero-button {
    margin-top: 2rem;
    margin-bottom: 20vh;
    position: relative;
    z-index: 100;
}

.hero-section .btn-custom {
    cursor: pointer;
    background-color: #ffce36 !important;
    color: #122940 !important;
    border: none;
    border-radius: 21px;
    padding: 12px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    z-index: 101; /* Mayor que el del contenedor */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.hero-section .btn-custom:hover {
    background-color: #ffd84d !important;
    color: #122940 !important;
    transform: translateY(-3px);
    z-index: 102; /* Asegura que esté arriba en hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Ajustes para dispositivos móviles */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .empty-space {
        height: 20vh;
    }
    
    .hero-section {
        height: 75vh;
    }
}


/* Fondo gradiente */
.traba-body {
    margin-top: -70px;
    background: linear-gradient(to right, #000000, #3533CD);
    color: white;
    font-family: "Montserrat", sans-serif;
}

/* Fondo gradiente */
.traba-titles {
    background: linear-gradient(90deg, #5DE0E6, #004AAD);
    color: white;
    font-family: "Montserrat", sans-serif;
}

/* Texto MIRA */
.mira-text {
    color: #FFCE36;
    font-weight: 1000;
    font-style: bold;
}

.carrusel {
    transform: translateY(-25%);
    font-size: 65px;
    font-weight: 1000;
    font-style: bold;
}

/* Botón con gradiente */
.btn-custom-grad {
    font-family: "Montserrat", sans-serif !important;
    background: linear-gradient(90deg, #5DE0E6, #004AAD);
    color: white !important;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 25px !important;
    font-weight: 1000 !important;
    font-style: bold !important;
    font-optical-sizing: 14px;
    text-transform: uppercase;
    transition: .3s;
}

.btn-custom-grad:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Altura óptima del carrusel */
.custom-carousel img {
    height: 55vh;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive ajustado */
@media (max-width: 768px) {
    .custom-carousel img {
        height: 35vh;
    }
}

/* Video */

.video-frame {
  position: relative;
  width: min(100%, 980px);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.video-el {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

/* Controles personalizados */
.video-controls {
  opacity: 1;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 10;

  display: grid;
  grid-template-columns: auto auto auto auto 1fr auto auto;
  gap: 10px;
  align-items: center;

  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(8px);
}

.video-controls.hide {
  opacity: 0;
  transition: .3s;
  pointer-events: none; /* evita clics cuando está oculto */
}

.vbtn {
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.vbtn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.vseek {
  width: 100%;
  cursor: pointer;
}

.vtime {
  color: rgba(255, 255, 255, 0.85);
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .video-controls {
    grid-template-columns: auto auto auto auto 1fr;
    grid-auto-rows: auto;
  }

  #time,
  #btnFs {
    display: none;
  }
}

/* Otros estilos */

.divider {
    display: block;
    width: 2px;
    height: 28px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
}

.divider-2 {
    display: block;
    width: 600px;
    height: 2px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
}

.divider-3 {
    display: block;
    width: 300px;
    height: 2px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
}

.accent {
    color: #5CE1E6 !important;
}

.vivo{
    font-style: italic;
    font-size: 35px;
    padding-bottom: 10px;
}

.conf{
    margin: 0px;
}