﻿.gallery-section {
    padding: 30px 20px;
}

.gallery-title {
    font-size: 32px;
    font-weight: bold;
    color: #d4a018;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

    .gallery-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -10px;
        width: 60px;
        height: 3px;
        background-color: #000;
    }

.gallery-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.gallery-item {
    flex: 1 1 calc(25% - 15px); /* 4 per row */
    max-width: calc(25% - 15px);
}

    .gallery-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

        .gallery-item img:hover {
            transform: scale(1.05);
        }

/* Responsive layout */
@media (max-width: 991px) {
    .gallery-item {
        flex: 1 1 calc(33.33% - 15px);
        max-width: calc(33.33% - 15px);
    }
}

@media (max-width: 767px) {
    .gallery-item {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 575px) {
    .gallery-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}


/*.gallery-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.gallery-item img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

    .gallery-item img:hover {
        transform: scale(1.05);
    }*/
