.mod-gallery {
    --gallery-radius: 0.25rem;
}

.gallery-link {
    transition: transform 0.3s ease;
    display: block;
    cursor: pointer;
    text-decoration: none;
    border-radius: var(--gallery-radius);
}

.gallery-img-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
    border-radius: var(--gallery-radius);
}

.gallery-img-wrapper img {
    display: block;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.gallery-link:hover .gallery-overlay {
    opacity: 1;
}

.gallery-link:hover img {
    transform: scale(1.05);
}

.gallery-link:hover {
    transform: translateY(-5px);
}