.modal-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
}

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

.lightbox-content {
    max-width: 80%;
    margin: auto;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.lightbox-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.lightbox-prev, .lightbox-next {
    background-color: #1a1a1a;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
}

/* Portfolio filter */
.portfolio-item {
    display: block;
}

.portfolio-item.hidden {
    display: none;
}