/* Room Card Slider */
.room-card__slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.room-card__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.room-card__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.room-card__slide.active {
    opacity: 1;
}

.room-card__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
}

.room-card__image:hover .room-card__arrow {
    opacity: 1;
}

.room-card__arrow:hover {
    background: rgba(0,0,0,0.7);
}

.room-card__arrow--prev {
    left: 8px;
}

.room-card__arrow--next {
    right: 8px;
}

.room-card__dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 3;
}

.room-card__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: background 0.3s;
}

.room-card__dot.active {
    background: #fff;
}

/* Mobile: always show arrows */
@media (max-width: 768px) {
    .room-card__arrow {
        opacity: 1;
        width: 32px;
        height: 32px;
    }
}

/* Improved Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10001;
}

.lightbox__close:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10001;
}

.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-50%) scale(1.1);
}

.lightbox__prev {
    left: 24px;
}

.lightbox__next {
    right: 24px;
}

/* Lightbox counter */
.lightbox__counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    z-index: 10001;
}

@media (max-width: 768px) {
    .lightbox__prev,
    .lightbox__next {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .lightbox__prev {
        left: 10px;
    }
    
    .lightbox__next {
        right: 10px;
    }
    
    .lightbox__close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .lightbox img {
        max-width: 95%;
        max-height: 80vh;
    }
}
