
<style>
/* Barra superior */
.top-bar {
  background: #800020;
  color: #fff;
  font-size: 14px;
}

/* Fondos y héroe */
.hero {
  background: url('https://img.freepik.com/free-photo/happy-kids-playing-with-colorful-blocks_53876-98250.jpg') center/cover no-repeat;
  color: #fff;
  min-height: 500px;
  display: flex;
  align-items: center;
  text-align: left;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
}
.hero-content {
  position: relative;
  z-index: 2;
  align-items: flex-end;
}

/* Texto y títulos */
.text-shadow {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  color: #fff;
}
.text-shadow-sm {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}
.highlight {
  color: #800020; /* Borgoña oscuro */
  font-style: italic;
}

/* Botones personalizados */
.btn-custom {
  background: linear-gradient(135deg, #800020, #a83244);
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  padding: 10px 20px;
  transition: 0.4s ease-in-out;
}
.btn-custom:hover {
  background: linear-gradient(135deg, #a83244, #800020);
  transform: scale(1.05);
}
.btn-custom-2 {
  background: #ffc107;
  color: #212529;
  font-weight: bold;
  border-radius: 30px;
  padding: 10px 20px;
  transition: 0.4s ease-in-out;
}
.btn-custom-2:hover {
  background: #e0a800;
  transform: scale(1.05);
}

/* Colores de fondo */
.bg-borgona-dark {
  background: #4a0018;
}
</style>

<!-- =========================
     NAVEGACIÓN Y SUBMENÚS
========================= -->
<style>
/* Submenús multinivel */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin: 0 .2rem;
  display: none;
}

/* Mostrar submenú con hover en desktop */
@media (min-width: 992px) {
  .dropdown-menu li:hover > .dropdown-menu {
    display: block;
  }
}

/* Diseño de ítems */
.dropdown-menu {
  background-color: #fff;
  border-radius: 0.5rem;
  border: 1px solid #ddd;
}
.dropdown-item {
  transition: all 0.3s ease;
  font-weight: 500;
}
.dropdown-item:hover, 
.dropdown-item:focus, 
.dropdown-item.active {
  background-color: #800020;
  color: #fff !important;
  border-radius: 0.3rem;
}

/* Flecha para submenús */
.dropdown-submenu > a::after {
  float: right;
  margin-left: .3rem;
  font-size: 0.8rem;
  color: #800020;
}
.dropdown-submenu:hover > a::after {
  color: #fff;
}

/* Mejoras visuales para menú colapsado en móvil */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    padding-left: 1rem;
    padding-right: 1rem;
    border-top: 1px solid rgba(255, 251, 251, 1);
  }
}
</style>

<!-- =========================
     ANIMACIONES PERSONALIZADAS
========================= -->
<style>
/* Persiana (Blinds Effect) */
.blinds-animation {
  animation: blinds 1.5s ease-in-out;
}
@keyframes blinds {
  0% { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

/* Zoom Effect */
.zoom-animation {
  animation: zoomIn 1.5s ease-in-out;
}
@keyframes zoomIn {
  0% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Corte diagonal */
.diagonal-animation {
  animation: diagonalReveal 1.5s ease-in-out;
}
@keyframes diagonalReveal {
  0% { clip-path: polygon(0 0, 100% 0, 0 100%); opacity: 0; }
  100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); opacity: 1; }
}

/* Animación bounce para el logo */
@keyframes bounceLogo {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-15px); }
  60% { transform: translateY(-7px); }
}
.logo-animated {
  animation: bounceLogo 2s infinite;
  transition: transform 0.3s ease;
}
</style>

<!-- =========================
     TARJETAS Y GALERÍAS
========================= -->
<style>
/* Tarjeta flotante */
.card-flotante {
  background-color: #800020; 
  transition: background-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 10px;
}
.card-flotante:hover {
  background-color: #4d0012;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.35);
}

/* Tarjetas opción con hover */
.option-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 15px;
  overflow: hidden;
}
.option-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}
.option-card img {
  transition: transform 0.5s ease;
}
.option-card:hover img {
  transform: scale(1.1);
}

/* Imagen con efecto zoom */
.director-img {
  transition: transform 0.6s ease, filter 0.4s ease;
}
.director-img:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* Overlay efecto persiana */
.overlay {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
.director-img:hover + .overlay {
  opacity: 1;
}

/* Galería */
.gallery-img {
  width: 100%;
  height: 250px; 
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}
.gallery-img:hover {
  transform: scale(1.05);
}

/* Tarjetas con links */
.link-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
}
.link-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Botones de filtro activos */
.filter-btn.active {
  background-color: #800020;
  color: #fff !important;
}
</style>

<!-- =========================
     VIDEOS
========================= -->
<style>
.video-container-medium {
  width: 100%;
  padding-top: 56.25%; /* Relación 16:9 */
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.video-container-medium iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
</style>
<style>
/* Animación al cargar */
@keyframes bounce-in {
  0%   { transform: translateY(-20px); opacity: 0; }
  50%  { transform: translateY(15px); opacity: 1; }
  70%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

.text-anim {
  display: inline-block;
  animation: bounce-in 1s ease forwards;
  transition: transform 0.3s ease-in-out;
}

/* Animación al pasar el mouse */
.text-anim:hover {
  transform: scale(1.1); /* Aumenta un poco el tamaño */
  color: #a52a2a; /* Cambia a un tono borgoña más claro */
}
</style>

<style>
.fade-anim {
  animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
</style>