/* General Header Styles */
.header {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: linear-gradient(90deg, #333, #555);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  border-bottom: 3px solid #0A97B0;
}

.header .logo img {
  max-height: 70px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header .logo img:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* Navigation Menu */
.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  gap: 20px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.nav-menu a {
  text-decoration: none;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
}

.nav-menu a:hover {
  background-color: #ffe135;
  color: #333;
  transform: translateY(-3px);
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  align-items: 
  center;right: 20px;
  top: auto;
  transform: translateY(0%);
}

.social-icons a {
  font-size: 1.5rem;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  color: #ffe135;
  transform: scale(1.2);
}

/* Buttons */
.btn-outline-primary {
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: #fff;
}

.btn-primary {
  background-color: #0d6efd;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0b5ed7;
}

/* Cards */
.card {
  border-radius: 10px;
  background-color: #f8f9fa;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-title {
  font-size: 1.25rem;
  font-weight: bold;
}

.card-text {
  font-size: 1rem;
  color: #555;
}

/* Tables */
.table {
  border-radius: 10px;
  overflow: hidden;
}

.table-hover tbody tr:hover {
  background-color: #f1f1f1;
}

/* Responsiveness */
@media (max-width: 576px) {
  .card-title {
    font-size: 1rem;
  }
}

/* Footer Hover Effects */
footer a:hover {
  color: #ffe135 !important;
  transform: scale(1.1);
}

/* Simplified Image Styles */
.img-fluid {
  width: 100%;
  height: auto;
}


/* -------------------------
   ESTILOS PERSONALIZADOS
   PARA VIDEO.JS + BOOTSTRAP
   ------------------------- */

/* Contenedor que envuelve al video con un fondo animado */
.player-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem; /* esquinas redondeadas */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2); /* sombra elegante */
}

/* Fondo animado tipo gradiente para hacer el reproductor más llamativo */
.player-container::before {
  content: "";
  position: absolute;
  left: -50%;
  top: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(#ff4081, #3f51b5);
  animation: rotation 30s infinite linear;
  z-index: -2;
  opacity: 0.4; /* ajusta la opacidad si quieres más o menos intensidad */
}
.player-container::after {
  content: "";
  position: absolute;
  left: -50%;
  top: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(#ab47bc, transparent 70%);
  z-index: -1;
  opacity: 0.4;
}

/* Animación de rotación */
@keyframes rotation {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* -------------------------
   ESTILOS VIDEO.JS
   ------------------------- */

/* Control bar (barra de controles) */
.video-js .vjs-control-bar {
  background: rgba(0, 0, 0, 0.7) !important;
}

/* Color de los íconos en la barra de control */
.video-js .vjs-control-bar .vjs-control {
  color: #ffffff; /* blanco para contrastar con fondo oscuro */
}

/* Botón "Play" grande en el centro */
.video-js .vjs-big-play-button {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50% !important;
  font-size: 2.5rem !important;
  width: 3rem !important;
  height: 3rem !important;
  transition: all 0.3s ease;
}
.video-js .vjs-big-play-button:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* Barra de progreso */
.video-js .vjs-progress-holder .vjs-load-progress {
  background-color: #bdbdbd; /* color del progreso "cargado" */
}
.video-js .vjs-play-progress {
  background-color: #2196f3; /* color del progreso "en reproducción" */
}
.video-js .vjs-volume-level {
  background-color: #2196f3; /* color del nivel de volumen */
}

/* Tooltip de tiempo encima de la barra */
.video-js .vjs-mouse-display .vjs-time-tooltip {
  background-color: #333;
  border-radius: 3px;
  color: #fff;
}

/* -------------------------
   FIN ESTILOS PERSONALIZADOS
   ------------------------- */
