.gallery-block {
    padding: 60px 0;
    background: #ffffff;
}

.gallery-block .content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    line-height: 1.2;
}

.gallery-container {
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
    max-width: 1160px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

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

/* Grid layout based on the image shown */
.gallery-item-1 {
    grid-column: 1 / 3;
    grid-row: 1;
}

.gallery-item-2 {
    grid-column: 3 / 5;
    grid-row: 1;
}

.gallery-item-3 {
    grid-column: 5 / 7;
    grid-row: 1;
}

.gallery-item-4 {
    grid-column: 1 / 4;
    grid-row: 2;
}

.gallery-item-5 {
    grid-column: 4 / 7;
    grid-row: 2;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .gallery-block {
        padding: 40px 0;
    }
    
    .gallery-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 200px);
        gap: 15px;
    }
    
    .gallery-item-1,
    .gallery-item-2,
    .gallery-item-3,
    .gallery-item-4,
    .gallery-item-5 {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 480px) {
    .gallery-block .content-area {
        padding: 0 15px;
    }
    
    .gallery-title {
        font-size: 1.75rem;
    }
    
    .gallery-grid {
        grid-template-rows: repeat(5, 180px);
        gap: 10px;
    }
}
