/* HORIZONTALNA SCROLL GALERIJA – LOFT VRATA */
.loft-gallery-scroll {
    overflow-x: auto;
    padding: 20px 0 40px;
    margin-bottom: 30px;
    scrollbar-width: thin;
    scrollbar-color: #f8861b #eee;
}

.loft-track {
    display: flex;
    gap: 20px;
    padding: 0 10px;
}

.loft-track img {
    flex: 0 0 350px;
    height: 480px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.loft-track img:hover {
    transform: scale(1.03);
}

/* SCROLLBAR – Chrome / Edge */
.loft-gallery-scroll::-webkit-scrollbar {
    height: 8px;
}

.loft-gallery-scroll::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 10px;
}

.loft-gallery-scroll::-webkit-scrollbar-thumb {
    background-color: #f8861b;
    border-radius: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
    .loft-track img {
        flex: 0 0 280px;
        height: 380px;
    }
}

/* LIGHTBOX GALERIJA */
.loft-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.loft-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.loft-lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    animation: zoomIn 0.3s ease;
}

.loft-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* KURSOR NA SLIKE */
.loft-track img {
    cursor: zoom-in;
}

/* NAZNAKA DA JE GALERIJA SKROL */
.scroll-hint {
    text-align: center;
    font-size: 15px;
    color: #777;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    animation: hintMove 1.8s infinite ease-in-out;
}

@keyframes hintMove {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

/* LIGHTBOX NAVIGACIJA */
.loft-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #fff;
    cursor: pointer;
    padding: 10px 18px;
    user-select: none;
    transition: background 0.2s ease;
}

.loft-nav:hover {
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
}

.loft-prev {
    left: 30px;
}

.loft-next {
    right: 30px;
}

/* MOBILE */
@media (max-width: 768px) {
    .loft-nav {
        font-size: 38px;
    }
}
