/**
 * BU Profiles - Lightbox Styles
 */

.bu-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bu-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bu-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
}

.bu-lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 4px;
}

/* Close button */
.bu-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    line-height: 1;
}

.bu-lightbox-close:hover {
    opacity: 1;
}

/* Navigation */
.bu-lightbox-prev,
.bu-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 20px 15px;
    transition: background 0.2s ease;
    border-radius: 4px;
}

.bu-lightbox-prev {
    left: -70px;
}

.bu-lightbox-next {
    right: -70px;
}

.bu-lightbox-prev:hover,
.bu-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Counter */
.bu-lightbox-counter {
    position: absolute;
    top: -35px;
    left: 0;
    color: #fff;
    font-size: 14px;
    opacity: 0.7;
}

/* Info section */
.bu-lightbox-info {
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
}

.bu-lightbox-headline {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.bu-lightbox-caption {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.bu-lightbox-credit {
    font-size: 12px;
    opacity: 0.7;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .bu-lightbox-prev,
    .bu-lightbox-next {
        display: none;
    }
    
    .bu-lightbox-content {
        max-width: 95vw;
    }
    
    .bu-lightbox-info {
        bottom: -100px;
    }
}
