/* Lightbox Overlay */
#lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

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

#lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.3);
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#lightbox-overlay.active #lightbox-image {
    transform: scale(1);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#lightbox-caption {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 30px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.5);
    color: #00f2ff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: #00f2ff;
    color: #000;
}

/* Navigation Arrows */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.2);
    color: #00f2ff;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    z-index: 100000;
}

.lightbox-arrow:hover {
    background: rgba(0, 242, 255, 0.2);
    border-color: #00f2ff;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

.lightbox-arrow-left {
    left: 40px;
}

.lightbox-arrow-right {
    right: 40px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .lightbox-arrow {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 40px;
        top: auto;
        transform: none;
    }
    .lightbox-arrow-left { left: 30%; }
    .lightbox-arrow-right { right: 30%; }
    .lightbox-close { top: 20px; right: 20px; width: 40px; height: 40px; }
}

