.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    padding: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 2px solid #8e8ae2;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: #d39ffc;
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
