/*
 * Room Pages Styles
 */

/* Modern Room Gallery Styling */
.room-gallery-container {
    margin-bottom: 2rem;
}

.room-swiper {
    width: 100%;
    height: 550px;
    border-radius: 1rem;
    position: relative;
    overflow: hidden !important;
}

.swiper-wrapper {
    height: 100%;
    width: 100%;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    width: 100% !important;
    height: 100% !important;
    flex-shrink: 0;
}

.swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.swiper-slide a:hover img {
    transform: scale(1.05);
}

/* Modern Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: linear-gradient(135deg, rgba(255,105,180,0.9), rgba(255,20,147,0.9));
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: linear-gradient(135deg, rgba(255,20,147,1), rgba(255,105,180,1));
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255,105,180,0.4);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 22px;
    font-weight: bold;
}

/* Pagination Dots */
.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #FF69B4;
    width: 30px;
    border-radius: 6px;
}

/* Photo Count Badge */
.photo-count-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
}

/* Elegant Thumbnail Gallery */
.thumbnail-gallery {
    padding: 0 0.5rem;
}

.thumbnail-wrapper {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    aspect-ratio: 1;
}

.thumbnail-wrapper img {
    object-fit: cover;
    height: 100%;
    transition: transform 0.3s ease;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.thumbnail-wrapper:hover .thumbnail-overlay {
    background: rgba(0,0,0,0.1);
}

.thumbnail-wrapper:hover img {
    transform: scale(1.1);
}

.thumbnail-wrapper.active {
    border-color: #FF69B4;
    box-shadow: 0 0 0 2px rgba(255,105,180,0.2);
}

.thumbnail-wrapper.active .thumbnail-overlay {
    background: transparent;
}

/* Responsive Design */
@media (max-width: 768px) {
    .room-swiper {
        height: 350px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 18px;
    }

    .photo-count-badge {
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* Room card hover */
.room-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.gallery-item {
    cursor: pointer;
}
