/* Main container styling */
.property-slider-container {
    position: relative;

    width: 100%;
}

/* Main slider styling */
.property-sslider {
    position: relative;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    background-color: #f5f5f5;
    max-height: 600px;
    margin: 0;
    padding: 0;
}

/* All slide items */
.property-sslider .item {
    width: 100%;
    height: 500px; /* Fixed height for consistency */
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Image styling */
.property-sslider .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video container styling - main approach */
.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-wrapper .video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Video thumbnail styling */
.video-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-button {
    width: 80px;
    height: 80px;
    background-color: rgba(128, 128, 128, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-play-button i {
    color: white;
    font-size: 30px;
}
/*3d implemention start*/
.threeD-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.threeD-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.slide-counter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.explore-3d-btn {
    margin-left: 10px;
    color: #fff;
    background: #6c63ff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s ease;
}

.explore-3d-btn:hover {
    background: #4f4acb;
}
.threeD-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    overflow-y: auto;
}

.threeD-modal-content {
    background: #fff;
    margin: 70px auto;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.threeD-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 28px;
    color: #444;
    cursor: pointer;
    z-index: 10;
}
.threeD-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
}

.threeD-modal-content {
    position: relative;
    width: 95vw;
    height: 90vh;
    margin: 3vh auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}


.threeD-wrapper {
    width: 100%;
    height: 100%;
}

.threeD-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.threeD-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}

/*3d implementation end*/


/* Image counter styling */
.image-counter-container {
    position: absolute;
    bottom: 60px;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    z-index: 10;
    display: block !important;
}

/* Thumbnail strip styling */
.property-thumbnail-strip {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumbnail-item {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s, border 0.3s;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    opacity: 1;
    border: 2px solid #1e90ff;
}

.thumbnail-item img,
.video-thumbnail-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video thumbnail in strip */
.video-thumbnail-small {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon-small {
    width: 30px;
    height: 30px;
    background-color: rgba(128, 128, 128, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon-small i {
    color: white;
    font-size: 12px;
}

/* More images indicator */
.more-images {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

/* Navigation arrows */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

.slick-prev i,
.slick-next i {
    color: #333;
    font-size: 18px;
}

.slick-list,
.slick-track {
    height: 100%;
}

/* Responsive styles */
@media (max-width: 768px) {
    .property-sslider .item {
        height: 350px;
    }

    .thumbnail-item {
        width: 60px;
        height: 60px;
    }

    .video-play-button {
        width: 60px;
        height: 60px;
    }

    .video-play-button i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .property-sslider .item {
        height: 250px;
    }

    .thumbnail-item {
        width: 50px;
        height: 50px;
    }
}