

@keyframes aparecerDerecha {
    from {right: -200px; opacity: 0;}
    to {right: 0; opacity: 1;}
}
@keyframes aparecerLeft {
    from {left: -200px; opacity: 0;}
    to {left: 0; opacity: 1;}
}
@keyframes aparecer {
    from {opacity: 0}
    to {opacity: 1}
}

/* Loader CSS */
.slide .loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f2f2f2;  /* Fondo blanco semitransparente */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;  /* Asegura que el loader esté por encima de la imagen */
}


.slide .loader::after {
    content: "";
    width: 40px;
    height: 40px;
    border: 4px solid var(--primary);
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;  /* Animación de giro para el loader */
    position: absolute;
    bottom: 40px;
    right: 40px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



.lightSlider {
    width: 100%;
	height:80vh;
	max-height:950px;
    min-height: 800px;
    position: relative;
    overflow: hidden;
    opacity: 1; /* Ocultamos inicialmente */
    transition: opacity 1s ease-in-out;
}

.lightSlider:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.lightSlider .slide {
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
   
}

.lightSlider .slide.active{
    opacity: 1;
}




.lightSlider .slide > img {
    object-fit: cover;
    width: 100%!important;
    height: 100%!important;
    transition: all 1s linear, transform 15s linear;
    transform: scale(1);opacity: 0;
}

.lightSlider .slide.active > img{
    opacity: 1;
    transform: scale(1.2); /* Zoom lento */
}


.lightSlider .text-wrap {
    position: absolute;
    width: 350px;
    height: 43%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    bottom: 100px;
    right: 0px;
    left: 110px;
    opacity: 0;
    padding: 0;
    margin: 0;
    transition: opacity 1s ease, transform 1s ease; /* Añadir transición de transformación */
    z-index: 1; /* Evitar usar z-index negativo */
    transform: translateY(20px); /* Inicia desplazado para un efecto de aparición */
}

.lightSlider .slide.active .text-wrap {
    opacity: 1;
    z-index: 100; /* Se asegura de que esté por encima de otros elementos */
    transform: translateY(0); /* Vuelve a su posición original */
}

.lightSlider  .slide:after{
    content: '';
    background: white;
    width: 460px;
    height: 560px;
    z-index: 3;
    bottom: 0px;
    left: 60px;
    position: absolute;
    top: initial;
    border-radius: 50% 50% 0% 0% / 43% 43% 0% 0%;
    z-index: 95;
    opacity: 1;
	
}


.lightSlider .video-wrap, 
.lightSlider .video-wrap .video iframe {
    width: 100%;
    height: 100%;
}

.lightSlider .video-wrap .video {
    height: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.lightSlider .video-wrap .video video {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
}

.lightSlider .video-wrap .video iframe {
    position: absolute;
    left: 0;
    top: 0;
}

.lightSlider .arrow {
    display: none;
    position: absolute;
    width: 60px;
    height: 60px;
    top: calc(60% + 30px);
    margin-top: -20px;
    background: var(--primary) !important;
    opacity: 1;
    z-index: 200;
    cursor: pointer;
	 opacity: 0;
   
    animation: aparecer 1s forwards;
	 animation-delay: 4s;
    -webkit-animation: aparecer 1s forwards;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.lightSlider .arrow:before {
    content: "";
    display: block;
    position: absolute;
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
}

.lightSlider .arrow:hover {
    opacity: .9;
}

.lightSlider .arrow.arrowRight {
    right: initial;
    left: 588px !important;
}

.lightSlider .arrow.arrowRight:before {
    background: url(./right-arrow.svg) center center/contain no-repeat;

}

.lightSlider .arrow.arrowLeft {
    left: 100px;
}

.lightSlider .arrow.arrowLeft:before {
    background: url(./left-arrow.svg) center center/contain no-repeat;
}
.lightSlider .arrow:hover{
	background:var(--shadow) !important;
}
.lightSlider .moreInfo {
    display: block;
    position: absolute;
    z-index: 200;
    bottom: 30px;
    left: 20px;
    text-transform: uppercase;
    transform-origin: 0 0;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
}

.lightSlider .moreInfo > a {
    display: flex;
    align-items: center;
    color: white;
    line-height: 18px;
    font-size: 13px;
    letter-spacing: 5px;
}

.lightSlider .moreInfo > a:before {
    content: "";
    width: 18px;
    height: 18px;
    display: inline-block;
    margin-right: 10px;
    background: url(./moreInfo-arrow.svg) center center/contain no-repeat;
}

.lightSlider .point-nav {
   left: 110px;
    position: absolute;
    width: 600px;
    text-align: left;
    bottom: 5%;
    z-index: 100;
    padding: 0;
    display: flex;
    align-items: flex-start;
}

.lightSlider .point-nav .point {
    width: 30px;
    height: 30px;
    background: white;
	color:var(--primary);
    display: flex;
    align-items: center;
	justify-content: center;
    font-weight: 600;
        margin: 0 15px 0 0;
    opacity: .6;
    cursor: pointer;
    transition: all ease-in-out .3s;
    -webkit-transition: all ease-in-out .3s;
    -moz-transition: all ease-in-out .3s;
    -ms-transition: all ease-in-out .3s;
    -o-transition: all ease-in-out .3s;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
	
}

.lightSlider .point-nav .point.active,
.lightSlider .point-nav .point:hover {
    opacity: 1;
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
	background:var(--gray) !important;
	color:var(--shadow) !important;
}


@media(max-width:1239px){
	.lightSlider{
		    height: 600px;
			    min-height: 600px;
	}
	.lightSlider .slide:after{
		    background: #ffffffc9 !important;
			   
	}
	
	.lightSlider .arrow{
		width: 60px !important;
		height: 60px !important;
	}
	.lightSlider .text-wrap{
		left:100px !important;		
	}
	.lightSlider .slide:after{	
		left: 50px;
	}
	.lightSlider .arrow.arrowLeft {
		left: 20px;
}
	.lightSlider .arrow.arrowRight {
		left: 720px !important;
}
	
}

@media(max-width:959px){
	.lightSlider {
     height: 700px;
       
    }
	
	.lightSlider .slide > img{
		height: 50% !important;
	}
	.lightSlider .text-wrap{
		position: relative;
        width: calc(100% - 100px);
        height: calc(50% - 130px)!important;
        padding: 30px 50px 100px 50px !important;
        background: white;
        z-index: 9999;
        left: 0 !important;
        bottom: 0 !important;
	}
	.lightSlider .slide:after{
		border-radius: 50% 50% 0% 0% / 30% 30% 0% 0%;
		    width: 120%;
    height:60% !important;
	background: #fff !important;
	left: -10%;
	}
	.lightSlider .point-nav {
        left: 50px;
		bottom:40px !important;
    }
	
	.lightSlider .slide.active .text-wrap>*{
		max-width:700px !important;
	}
}


@media(max-width:480px){
	
	.lightSlider .slide > img {
        height: 40% !important;
    }
	.lightSlider .text-wrap{
		height: calc(60% - 130px) !important;
		width: calc(100% - 60px) !important;
		padding: 15px 30px 100px 30px !important;
	}
	.lightSlider .slide:after{
		height: 69% !important;
	}
	
	.lightSlider .point-nav{
		left: 30px !important;
        right: 30px !important;
        width: auto !important;
				
	}
}