/* Custom styles for room detail page swiper navigation */

/* Fix room block overlay positioning to prevent image overlap */
.room-block .overlay-box {
    position: relative !important;
    left: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 20px !important;
    margin-top: -5px !important;
    background-color: var(--white-color) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.room-block .image {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.room-block .lower-box {
    margin-bottom: 0 !important;
    opacity: 1 !important;
}

.room-block .inner-box:hover .lower-box {
    margin-bottom: 0 !important;
}

/* Navigation arrows styling - hide default Swiper buttons */
.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

/* Custom navigation arrows styling with gold color */
.room-detail-section .content-carousel .custom-nav-next,
.room-detail-section .content-carousel .custom-nav-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: #b8860b;
    border-radius: 50%;
    color: #fff !important;
    font-size: 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    box-shadow: 0 4px 10px rgba(184, 134, 11, 0.3);
}

.room-detail-section .content-carousel .custom-nav-next {
    right: 20px;
}

.room-detail-section .content-carousel .custom-nav-prev {
    left: 20px;
}

.room-detail-section .content-carousel .custom-nav-next:hover,
.room-detail-section .content-carousel .custom-nav-prev:hover {
    background-color: #8b6914;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(184, 134, 11, 0.5);
}

/* Arrow icons using CSS */
.room-detail-section .content-carousel .custom-nav-next::after {
    content: '→';
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    line-height: 1;
}

.room-detail-section .content-carousel .custom-nav-prev::after {
    content: '←';
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    line-height: 1;
}

/* Hide disabled buttons */
.room-detail-section .content-carousel .custom-nav-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Ensure carousel container allows clicks */
.room-detail-section .content-carousel {
    position: relative;
    max-height: 500px;
    overflow: hidden;
}

.room-detail-section .content-carousel .swiper-wrapper {
    max-height: 500px;
}

/* Make images clickable */
.room-detail-section .swiper-slide .image {
    cursor: pointer;
    position: relative;
    pointer-events: auto;
}

.room-detail-section .swiper-slide .image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    pointer-events: none;
    object-fit: contain;
}

/* Fullscreen icon styling */
.room-detail-section .view-image {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
}

.room-detail-section .view-image:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Thumbnail carousel styling */
.room-detail-section .thumbs-carousel {
    margin-top: 20px;
}

.room-detail-section .thumbs-carousel .swiper-slide {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
}

.room-detail-section .thumbs-carousel .swiper-slide:hover,
.room-detail-section .thumbs-carousel .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #b8860b;
}

.room-detail-section .thumbs-carousel .thumb {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.room-detail-section .thumbs-carousel .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
