/* Estilos para el header con video */
.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #1c1c28; /* Fondo por defecto mientras carga el video */
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Overlay para mejorar legibilidad del texto */
  z-index: 1;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
}

/* Por defecto (desktop): mostrar desktop video, ocultar mobile */
.desktop-video {
  display: block;
}

.mobile-video {
  display: none;
}

.video-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.text-container {
  text-align: center;
}

.text2 {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.4;
}

/* Desktop: mostrar solo el texto completo */
.text2-desktop {
  display: inline;
}

.text2-mobile {
  display: none;
}

/* Media queries para videos responsivos */
@media (max-width: 768px) {
  .video-container {
    height: 100vh;
  }
  
  /* En móvil: ocultar desktop video, mostrar mobile */
  .desktop-video {
    display: none !important;
  }
  
  .mobile-video {
    display: block !important;
  }
  
  .video-background {
    object-fit: cover;
    object-position: center center;
  }
  
  .video-content {
    justify-content: flex-start;
    padding: 0;
  }
  
  .text-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  
  .text2 {
    display: flex;
    flex-direction: column;
    height: 100%;
    font-size: 1.5rem;
  }
  
  /* Móvil: ocultar texto desktop y mostrar textos separados */
  .text2-desktop {
    display: none;
  }
  
  .text2-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 20px;
    font-size: 14px;
  }
  
  /* Video específico para móvil se controla desde el HTML */
}