/* ✅ CUSTOM PROPERTY SLIDER STYLES */

/* Contenedor principal */
.property-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 20px 0;
}

/* Swiper container - RESTAURANDO CONFIGURACIÓN ESTABLE */
.property-slider-wrapper .property-swiper-container {
    width: 100% !important;
}

/* Cada slide - CONFIGURACIÓN ESTABLE CON ANCHOS DINÁMICOS */
.property-slider-wrapper .swiper-slide {
    display: flex !important;
    height: 500px !important;
    justify-content: center !important;
    align-items: center !important;
    transition: all 0.6s ease;
    transform: scale(0.8);
    opacity: 0.6;
}

.property-slider-wrapper .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
    z-index: 2;
}

.property-slider-wrapper .swiper-slide-prev,
.property-slider-wrapper .swiper-slide-next {
    transform: scale(0.85);
    opacity: 0.7;
    filter: blur(1px);
}

.property-slider-wrapper .property-slide-content {
    width: 90%;
    height: 90%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 4px 4px 11px rgba(0, 0, 0, 0.3);
    transition: all 0.6s ease;
}

/* Contenedor de la imagen - SIN ANIMACIÓN */
.property-slider-wrapper .property-slide-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
}

/* La imagen real - CON ZOOM LENTO SOLO AL ACTIVARSE */
.property-slider-wrapper .property-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 8s ease-out;
    transform: scale(1);
}

/* Zoom lento SOLO en la imagen cuando el slide está activo */
.property-slider-wrapper .swiper-slide-active .property-slide-image {
    transform: scale(1.1);
}

/* Reset para slides no activas */
.property-slider-wrapper .swiper-slide:not(.swiper-slide-active) .property-slide-image {
    transform: scale(1);
}

.property-slider-wrapper .property-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 30px 30px;
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 10; /* Asegurar que esté sobre la imagen */
    pointer-events: auto; /* Permitir clicks en botones */
}

.property-slider-wrapper .swiper-slide-active .property-slide-overlay {
    transform: translateY(0);
    opacity: 1;
}

.property-slider-wrapper .property-slide-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.property-slider-wrapper .property-slide-button {
    display: inline-block;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.property-slider-wrapper .property-slide-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.property-slider-wrapper .property-next,
.property-slider-wrapper .property-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s ease;
}

.property-slider-wrapper .property-next:hover,
.property-slider-wrapper .property-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.property-slider-wrapper .property-pagination {
    bottom: 20px;
}

.property-slider-wrapper .property-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
}

.property-slider-wrapper .property-pagination .swiper-pagination-bullet-active {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

/* ✅ RESPONSIVE */
@media (max-width: 768px) {
    .property-slider-wrapper .property-slide-title {
        font-size: 22px;
    }

    .property-slider-wrapper .property-slide-overlay {
        padding: 20px;
    }

    .property-slider-wrapper .property-next,
    .property-slider-wrapper .property-prev {
        width: 40px;
        height: 40px;
    }
}
