/*CSS EXCLUSIVO PARA COLOCAR ANIMACIONES Y GALERÍAS*/

 /*efectos galeria*/
 .img-border{
  border-radius: 40px;
}

.zoom-container {
  overflow: hidden;
  position: relative;
  border-radius: 40px;
}

.zoom-container img {
  width: 100%;
  height: 100%; 
  transition: transform 0.5s ease;
  object-fit: cover; /* Para que la imagen se ajuste sin distorsionarse */
  object-position: center; /* Asegura que el zoom se mantenga centrado */
}

.zoom-container:hover img {
  transform: scale(1.3); /* Ajusta el valor de scale para más o menos zoom */
}


/*efecto glow precios*/
.txt-numbers {
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px rgba(0,0,0,0.2);
  }
  to {
    text-shadow: 0 0 15px currentColor;
  }
}



/*flecha de botón*/
.moving-arrow {
  display: inline-block;
  animation: move-right 1.5s infinite linear;
}

@keyframes move-right {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px); /* Ajusta la distancia de movimiento */
  }
  100% {
    transform: translateX(0);
  }
}
/*moving arrow*/

/*cards carrusel opiniones*/
/* Afecta solo este carrusel */
.carousel-opiniones .owl-stage {
  display: flex;
}
.carousel-opiniones .owl-item {
  display: flex;
}
.carousel-opiniones .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}
.carousel-opiniones .card-body {
  flex-grow: 1;
}

/*efecto numeros precio*/
.txt-numbers {
  animation: glow 2s infinite alternate;
}

/*efecto card paquetes*/
.accent-card-p {
  position: relative;
  border: 3px solid transparent;
  border-radius: 20px;
  overflow: hidden; 
}

.accent-card-p::before { 
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px; /* grosor del borde */
  background: linear-gradient(90deg, #ff5f6d, #ffc371, #47c9e5, #a17fe0);
  background-size: 300% 300%;
  animation: borderMove 6s linear infinite;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

@keyframes borderMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/*rebote titulos*/
.section-title {
  font-weight: bold;
  display: inline-block;
  position: relative;
}

/* rebote en hover */
.section-title {
  font-weight: bold; 
  display: inline-block;
  position: relative;
  cursor: default;
}

/* Rebote del título al hover */
.section-title:hover {
  animation: bounceOnce 0.6s;
}

@keyframes bounceOnce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
} 

/* Contenedor de estrellas */
.stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* para que no interfiera con el hover */
}

.star {
  position: absolute;
  font-size: 1rem;
  color: gold;
  opacity: 0;
  transition: all 0.5s ease;
}

/* Animación de confetti al hover */
.section-title:hover .star {
  opacity: 1;
  animation: starFly 0.6s forwards;
}

/* Movimiento aleatorio */
@keyframes starFly {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
  100% { 
    transform: translate(var(--x), var(--y)) scale(0.8) rotate(var(--rot)); 
    opacity: 0;
  }
}







@media (max-width: 425px){

}



@media (max-width: 768px){

 
}