/* ========================================
   GALLERY HEADER
======================================== */

.gallery-header {
    padding: 100px 0 70px;
    text-align: center;
}

.gallery-label {
    display: inline-block;
    margin-bottom: 15px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #9a6338;
}

.gallery-header h1 {
    margin-bottom: 20px;

    font-size: 48px;
    line-height: 1.15;

    color: #30251e;
}

.gallery-header p {
    max-width: 650px;
    margin: 0 auto;

    font-size: 16px;
    line-height: 1.7;

    color: #75685e;
}


/* ========================================
   GALLERY SECTION
======================================== */

.gallery-section {
    padding: 20px 0 90px;
}


/* ========================================
   FILTER
======================================== */

.gallery-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 40px;
}

.filter-btn {
    border: 1px solid #d8c8b8;
    background: transparent;

    padding: 10px 20px;

    border-radius: 30px;

    font-size: 14px;
    font-weight: 600;

    color: #6f5b4d;

    cursor: pointer;

    transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #8f5d35;
    border-color: #8f5d35;

    color: white;
}


/* ========================================
   GALLERY GRID
======================================== */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


/* ========================================
   GALLERY ITEM
======================================== */

.gallery-item {
    position: relative;

    height: 300px;

    overflow: hidden;

    border-radius: 16px;

    background: #ddd;

    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}


/* ========================================
   OVERLAY
======================================== */

.gallery-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 25px;

    color: white;

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, 0.75)
        );

    transform: translateY(10px);

    opacity: 0;

    transition: 0.3s;
}

.gallery-overlay span {
    display: block;

    margin-bottom: 6px;

    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-overlay h3 {
    margin: 0;

    font-size: 20px;
}


/* HOVER */

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

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}


/* ========================================
   CTA
======================================== */

.gallery-cta {
    padding: 80px 20px;

    text-align: center;

    background: #8f5d35;

    color: white;
}

.gallery-cta h2 {
    margin-bottom: 12px;

    font-size: 32px;
}

.gallery-cta p {
    margin-bottom: 25px;

    opacity: 0.9;
}

.gallery-cta-button {
    display: inline-block;

    padding: 13px 25px;

    border-radius: 8px;

    background: white;

    color: #8f5d35;

    font-weight: 700;

    transition: 0.3s;
}

.gallery-cta-button:hover {
    transform: translateY(-2px);

    background: #f5eee7;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    .gallery-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .gallery-header h1 {
        font-size: 40px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .gallery-header {
        padding: 70px 0 50px;
    }

    .gallery-header h1 {
        font-size: 32px;
    }

    .gallery-header p {
        font-size: 14px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 260px;
    }

    .gallery-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    .gallery-cta h2 {
        font-size: 26px;
    }

}



/* ========================================
   FOOTER
======================================== */

.footer {
    padding: 25px 20px;

    text-align: center;

    background: #2f251e;

    color: #cfc3b9;
}

.footer p {
    margin: 0;

    font-size: 13px;
}

.footer strong {
    color: #ffffff;
}