/* Fullscreen Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox-closer {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: #fff;
    font-size: 4rem;
    cursor: pointer;
    z-index: 3010;
    line-height: 1;
    transition: color 0.3s;
}

.lightbox-closer:hover {
    color: #F4C519;
    /* primary accent yellow */
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    /* fully visible un-cropped image */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    user-select: none;
    border-radius: 4px;
}

/* Navigation Arrows */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 5rem;
    color: #fff;
    cursor: pointer;
    user-select: none;
    z-index: 3010;
    padding: 1rem;
    transition: color 0.3s, transform 0.3s;
}

.lightbox-arrow:hover {
    color: #F4C519;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -8vw;
}

.lightbox-next {
    right: -8vw;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: -3vw;
        font-size: 3.5rem;
    }

    .lightbox-next {
        right: -3vw;
        font-size: 3.5rem;
    }

    .lightbox-closer {
        top: 1rem;
        right: 1.5rem;
        font-size: 3rem;
    }

    .lightbox-counter {
        top: 1.5rem;
        left: 1.5rem;
    }
}

.lightbox-title {
    color: #F4C519;
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.lightbox-counter {
    position: absolute;
    top: 3rem;
    left: 3rem;
    color: #fff;
    font-size: 1.2rem;
    z-index: 3010;
    letter-spacing: 2px;
}