.photo-collection-modal {
    display: none;
    position: fixed;
    z-index: 2050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.83);
    justify-content: center;
    align-items: center;
}

.photo-collection-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.photo-collection-content img {
    width: auto; /* use natural image width */
    height: auto; /* use natural image height */
    max-width: none; /* don’t limit width to viewport */
    max-height: none; /* don’t limit height */
    display: block;
    margin: 0 auto; /* just center horizontally */
    border-radius: 10px;
    background: #000;
    padding: 5px;
    border: 1px solid #555;
    border: 1px solid #000;
}

.photo-collection-prev,
.photo-collection-next {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.photo-collection-prev {
    left: 10px;
}
.photo-collection-next {
    right: 10px;
}

.photo-collection-prev:hover,
.photo-collection-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* ✅ Close button */
.photo-collection-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1002;
}

.photo-collection-close:hover {
    color: #bbb;
}
