/* Lightbox - uvecavanje slika na klik */

.room-main img,
.room-thumb-expanded img,
.grid-gal-extra img {
    cursor: zoom-in;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 40px;
    box-sizing: border-box;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 10001;
}

.lightbox-close:hover { opacity: 0.7; }

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    line-height: 1;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px 15px;
    user-select: none;
    z-index: 10001;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 0.7; }

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    opacity: 0.8;
    z-index: 10001;
}

@media (max-width: 600px) {
    .lightbox-prev, .lightbox-next { font-size: 34px; padding: 6px 10px; }
    .lightbox-close { font-size: 32px; top: 12px; right: 16px; }
    .lightbox-overlay { padding: 16px; }
}
