.gallery-container {
    font-family: 'Poppins', sans-serif;
}

.gallery-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns by default */
    gap: 0; /* No gaps between banners */
}

.gallery-item {
    position: relative;
}

.image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.image-container a {
    display: block;
    height: 100%;
    width: 100%;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.image-container:hover img {
    transform: scale(1.08);
}

.overlay-title {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

@media (max-width: 1024px) {
    .gallery-row {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 768px) {
    .gallery-row {
        grid-template-columns: repeat(1, 1fr); /* 1 column for mobile */
    }
    
    .overlay-title {
        font-size: 1.4rem;
        font-weight: 700; /* Stronger bold effect */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Professional subtle shadow */
    }
}
