
    /*<!-- Script para solucionar problemas de menús dropdown en móviles -->*/
    :root {
      --primary-color: #fd1e88;
      --primary-light: #fba3c0;
      --primary-dark: #a00037;
      --white: #ffffff;
    }

    body {
      background-color: white;
      margin: 0;
      padding-bottom: 100px;
      font-family: 'Montserrat', sans-serif;
    }

    /* NAVBAR STYLES */
    .bg-magenta {
      background-color: var(--primary-color) !important;
      box-shadow: 0 4px 12px rgba(239, 81, 139, 0.2) !important;
    }

    .navbar-brand {
      font-weight: 700;
      letter-spacing: 0.5px;
      display: flex;
      align-items: center;
      transition: all 0.3s ease;
    }

    .navbar-brand:hover {
      transform: translateY(-2px);
      text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .navbar-brand .fa-palette {
      font-size: 1.2rem;
      margin-right: 8px;
    }

    .navbar-nav .nav-link {
      color: white !important;
      font-weight: 500;
      padding: 0.5rem 1rem;
      margin: 0 2px;
      position: relative;
      overflow: hidden;
      border-radius: 4px;
      transition: all 0.3s ease;
    }

    /* Efecto hover elegante */
    .navbar-nav .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background-color: var(--white);
      transition: all 0.3s ease;
      transform: translateX(-50%);
    }

    .navbar-nav .nav-link:hover {
      color: var(--white) !important;
      background-color: rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .nav-link:hover::after {
      width: 70%;
    }

    /* Efecto activo */
    .navbar-nav .nav-link.active {
      background-color: rgba(255, 255, 255, 0.15);
    }

    .navbar-nav .nav-link.active::after {
      width: 70%;
    }

    /* DROPDOWN STYLES */
    .dropdown-menu {
      background-color: var(--primary-color);
      border: none;
      border-radius: 8px;
      box-shadow: 0 8px 16px rgba(0,0,0,0.2);
      padding: 0.5rem 0;
      margin-top: 10px;
      min-width: 210px;
      animation: fadeInDown 0.3s ease forwards;
    }

    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .dropdown-menu::before {
      content: '';
      position: absolute;
      top: -8px;
      left: 20px;
      width: 16px;
      height: 16px;
      background-color: var(--primary-color);
      transform: rotate(45deg);
    }

    .dropdown-item {
      color: white;
      padding: 0.7rem 1.5rem;
      font-weight: 500;
      position: relative;
      transition: all 0.3s ease;
      position: relative;
    }

    /* Separadores elegantes entre items */
    .dropdown-item:not(:last-child)::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 10%;
      width: 80%;
      height: 1px;
      background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    }

    .dropdown-item:hover {
      background-color: rgba(255, 255, 255, 0.15);
      color: var(--white);
      transform: translateX(5px);
    }

    .dropdown-item i {
      margin-right: 8px;
      font-size: 0.9rem;
      opacity: 0.8;
    }

    /* FOOTER STYLES */
    footer {
      position: fixed;
      bottom: 0;
      width: 100%;
      z-index: 1000;
      background: linear-gradient(to right, #232526, #414345);
      box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    }

    /* RESPONSIVE STYLES */
    @media (max-width: 991.98px) {
      .navbar-collapse {
        background-color: var(--primary-color);
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        padding: 1rem;
        max-height: 80vh;
        overflow-y: auto;
      }
      
      .navbar-nav {
        padding: 0.5rem 0;
      }
      
      .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
        margin: 4px 0;
        border-radius: 6px;
      }
      
      /* Solución para menús desplegables en móvil */
      .dropdown-menu {
        background-color: rgba(255,255,255,0.1);
        border-radius: 6px;
        border-left: 3px solid var(--white);
        box-shadow: none;
        margin-top: 0;
        margin-bottom: 8px;
        padding: 0;
        position: static !important;
        float: none;
        width: 100%;
        transform: none !important;
      }
      
      .dropdown-menu::before {
        display: none;
      }
      
      .dropdown-item {
        padding: 0.7rem 1rem;
        white-space: normal; /* Permite que el texto se envuelva */
        word-wrap: break-word;
        display: block;
        width: 100%;
        clear: both;
      }
      
      .dropdown-item:hover {
        transform: translateX(3px);
      }
      
      /* Evitar superposición de menús */
      .navbar-nav .dropdown-menu {
        display: none;
      }
      
      .navbar-nav .show .dropdown-menu {
        display: block;
      }
      
      /* Toggler personalizado */
      .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
        transition: all 0.3s ease;
        border-radius: 6px;
      }
      
      .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(255,255,255,0.25);
      }
      
      .navbar-toggler i {
        font-size: 1.5rem;
      }
    }

    /* Mobile extra small devices */
    @media (max-width: 575.98px) {
      .navbar-brand {
        font-size: 1rem;
      }
      
      .container {
        padding-left: 15px;
        padding-right: 15px;
      }
    }













    

    /*HOLA AHORA DESDE AQUI EMPIEZA TODO DEL CAROUSEL*/
  
/* Variables para facilitar los cambios */
:root {
  --caption-bg: rgba(0, 0, 0, 0.6);
  --caption-hover-bg: rgba(0, 0, 0, 0.8);
  --highlight-color: #ff0088;
  --transition-time: 0.5s;
  --secondary-color: #3498db;
  --text-color: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Estilo base del carrusel con mejor soporte para varios dispositivos */
#carouselExample {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
  margin-bottom: 0;
  height: auto;
}

/* Contenedor para mantener proporciones */
.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Optimización de imágenes con mejor aspecto ratio */
.carousel-item {
  position: relative;
  overflow: hidden;
  height: auto;
  background-color: #000;
}

/* Configuración de imagen para escritorio */
.carousel-item img {
  width: 100%;
  height: 85vh;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-time), filter var(--transition-time);
  display: block;
}

/* Efecto hover en las imágenes para desktop */
@media (hover: hover) and (min-width: 769px) {
  .carousel-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
  }
}

/* AJUSTES RESPONSIVOS MEJORADOS */

/* Tablet grande y paisaje */
@media (min-width: 769px) and (max-width: 1200px) {
  .carousel-item img {
    height: 75vh;
  }
}

/* Tablet y móvil en horizontal */
@media (min-width: 576px) and (max-width: 768px) {
  .carousel-item img {
    height: 65vh;
  }
  
  /* Reducimos tamaño de caption en tablets */
  .carousel-caption {
    padding: 12px;
    bottom: 30px;
    max-width: 85%;
  }
}

/* MÓVIL VERTICAL - LO MÁS IMPORTANTE */
@media (max-width: 575px) {
  .carousel-item {
    height: auto;
    /* Proporción fija para mostrar imagen completa */
    aspect-ratio: 16/9;
  }
  
  .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: contain; /* Cambiado a contain para mostrar imagen completa */
    object-position: center;
    background-color: #000; /* Fondo negro para las partes sin imagen */
  }
  
  /* Aquí está el cambio principal: ocultamos las captions en móvil */
  .carousel-caption {
    display: none !important;
  }
  
  /* Ajuste para el overlay en móvil - lo hacemos más sutil */
  .carousel-item::after {
    background: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 50%);
  }
}

/* Estilo mejorado para captions */
.carousel-caption {
  background-color: var(--caption-bg);
  border-radius: 8px;
  padding: 20px;
  max-width: 80%;
  margin: 0 auto;
  bottom: 40px;
  transform: translateY(10px);
  opacity: 0.95;
  transition: all var(--transition-time);
  border-left: 4px solid var(--highlight-color);
  z-index: 10;
}

/* Efecto hover en caption solo para desktop */
@media (hover: hover) and (min-width: 769px) {
  .carousel-item:hover .carousel-caption {
    transform: translateY(0);
    background-color: var(--caption-hover-bg);
    opacity: 1;
  }
}

.carousel-caption h5 {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  position: relative;
  padding-bottom: 8px;
}

.carousel-caption h5:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--highlight-color);
}

.carousel-caption p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

/* Mejora de controles */
.carousel-control-prev, .carousel-control-next {
  width: 10%;
  opacity: 0.7;
  transition: opacity var(--transition-time);
  z-index: 20; /* Asegurar que estén por encima del overlay */
}

.carousel-control-prev:hover, .carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  background-size: 50%;
  transition: background-color var(--transition-time);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Indicadores mejorados */
.carousel-indicators {
  bottom: 20px;
  z-index: 10;
}

.carousel-indicators button {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background-color: var(--highlight-color);
  transform: scale(1.2);
}

.carousel-indicators button:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Ajustes mejorados para tablets */
@media (min-width: 576px) and (max-width: 767px) {
  .carousel-caption {
    display: block !important;
    padding: 10px 15px;
    bottom: 25px;
    max-width: 90%;
  }
  
  .carousel-caption h5 {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  
  .carousel-caption p {
    font-size: 0.85rem;
    line-height: 1.3;
  }
  
  .carousel-control-prev-icon, .carousel-control-next-icon {
    width: 30px;
    height: 30px;
  }
}

/* Ajuste específico para móviles en vertical */
@media (max-width: 575px) {
  .carousel-indicators {
    bottom: 10px;
  }
  
  .carousel-indicators button {
    height: 8px;
    width: 8px;
    margin: 0 3px;
  }
  
  .carousel-control-prev-icon, .carousel-control-next-icon {
    width: 25px;
    height: 25px;
  }
}

/* Animación para las diapositivas */
.carousel-item {
  transition: transform 0.8s ease, opacity 0.5s ease-out;
}

/* Overlay con gradiente para mejorar legibilidad */
.carousel-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Ajustes para asegurar que el caption esté visible */
.carousel-caption {
  z-index: 2;
}

/* Animación de entrada para el carrusel */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#carouselExample {
  animation: fadeIn 0.8s ease-in-out;
}

/* Mejora de preload para evitar saltos */
.carousel-item img {
  backface-visibility: hidden;
  perspective: 1000px;
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000px;
}

/* Efecto especial para móviles al tocar */
@media (max-width: 767px) {
  .carousel-item.touch-active img {
    filter: brightness(1.1);
  }
  
  .carousel-item.touch-active .carousel-caption {
    transform: translateY(0);
    background-color: var(--caption-hover-bg);
  }
}


  