/* Lightbox CSS */
#lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#lightbox-overlay.active {
    display: flex;
}

#lightbox-image-container {
    position: relative;
    max-width: 90%;
    max-height: 85%;
}

#lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: block;
}

#lightbox-caption {
    color: #fff;
    text-align: center;
    margin-top: 10px;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 60px;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s ease;
    user-select: none;
    outline: none;
}

.lightbox-nav-btn:hover {
    color: rgba(255, 255, 255, 1);
}

#lightbox-prev {
    left: 20px;
}

#lightbox-next {
    right: 20px;
}

#lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

#lightbox-close:hover {
    color: #fff;
}
