
/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox .lightbox-content {
    position: relative;
    width: 95vw;
    height: 95vh;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox .lightbox-content .close-btn {
    position: absolute;
    top: 10px;
    right: 0;
    font-size: 40px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ff6b6b;
}

.lightbox .lightbox-content .prev-btn,
.lightbox .lightbox-content .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    font-size: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.prev-btn {
    left: 0px;
}

.next-btn {
    right: 0px;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox .lightbox-content .media-container {
   
    height: 100%;
    display: flex
;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 90%;
    overflow: hidden;
}

.lightbox .lightbox-content .media-container img,
.lightbox .lightbox-content .media-container video {
    max-width: 100%;
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.lightbox .lightbox-content .media-container .no-media {
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    text-align: center;
    padding: 40px;
}

.lightbox .lightbox-content .lightbox-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.lightbox .lightbox-content .lightbox-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: normal;
}
