.gallery-thumbnail {
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.gallery-thumbnail:hover {
    opacity: 0.97;
}

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.image-modal.modal-enter {
    background: rgba(0,0,0,0);
    opacity: 0;
}

.image-modal.modal-enter-active {
    background: rgba(0,0,0,0.8);
    opacity: 1;
}

.modal-image {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 0;
    max-height: 0;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.modal-image img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

.modal-image-active {
    max-width: 90vw;
    max-height: 80vh;
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 600px) {
    .modal-image img { max-width: 95vw; max-height: 70vh; }
    .modal-image-active { max-width: 95vw; max-height: 70vh; }
}