.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
    margin: 30px 0;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
/* Grid item sizes */
.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    height: 450px;
}
.gallery-item.small {
    grid-column: span 1;
    height: 300px;
}
.gallery-item.extra-large {
    grid-column: span 2;
    grid-row: span 3;
    height: 600px;
}
.content-container-gallery-renders {
    margin-top: -80px !important;
}
/* Responsive Design */
@media screen and (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
    }
    .gallery-item.large,
    .gallery-item.medium,
    .gallery-item.large-2 {
        grid-column: span 2;
        height: 450px;
    }
    .gallery-item.small {
        grid-column: span 1;
        height: 300px;
    }
    .gallery-item.extra-large {
        grid-column: span 2;
        height: 600px;
    }
}
@media screen and (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }
    .gallery-item.large,
    .gallery-item.medium,
    .gallery-item.small,
    .gallery-item.large-2,
    .gallery-item.extra-large {
        grid-column: span 1;
        height: 350px;
    }
}
