/* Gallery Lightbox CSS - lightbox.css */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-btn {
    position: absolute;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.lightbox-close {
    top: -50px;
    right: -50px;
    font-size: 30px;
}

.lightbox-prev {
    left: -70px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: -70px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    background: rgba(0,0,0,0.7);
    padding: 8px 16px;
    border-radius: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .lightbox-close {
        top: -30px;
        right: -10px;
        font-size: 20px;
        padding: 8px;
    }
    
    .lightbox-prev {
        left: -50px;
        font-size: 20px;
        padding: 8px;
    }
    
    .lightbox-next {
        right: -50px;
        font-size: 20px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .lightbox-prev {
        left: 10px;
        top: -60px;
        transform: none;
    }
    
    .lightbox-next {
        right: 10px;
        top: -60px;
        transform: none;
    }
    
    .lightbox-close {
        top: -60px;
        right: 50%;
        transform: translateX(50%);
    }
}