/* ============================================================
   Elegant Theme — Gallery Filter Page
   Module + Type=Gallery sayfasında filtre tabları + grid.
   Bootstrap grid (col-6 / col-md-4 / col-lg-3) sütun sayısını
   belirler; bu dosya tab ve item görselleştirmesi yapar.
   Tema değişkenleri yoksa zarif koyu/altın fallback kullanılır.
   ============================================================ */

.section_page-gallery {
    padding: 20px 0 70px;
}

/* Banner içinde h1 SEO için var ama görsel olarak gizli */
.section_page-gallery .element-invisible {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}

/* ---------- Filtre Tabları ---------------------------------- */
.gallery-filter-tabs {
    list-style: none;
    padding: 24px 0 28px;
    margin: 0;
}

.gallery-filter-tabs__btn {
    display: inline-block;
    padding: 10px 18px 9px;
    font-family: var(--font-heading, 'Forum', serif);
    font-size: 1rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-body, #4b5563);
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: color .25s ease, border-color .25s ease;
}

.gallery-filter-tabs__btn:hover {
    color: var(--bg-button, #b99d75);
}

.gallery-filter-tabs__item.is-active .gallery-filter-tabs__btn {
    color: var(--bg-button, #b99d75);
    border-bottom-color: var(--bg-button, #b99d75);
}

/* ---------- Grid Item --------------------------------------- */
.gallery-grid__link {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    cursor: zoom-in;
    box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .22);
    transition: box-shadow .3s ease;
}

.gallery-grid__link:hover {
    box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .3);
}

.gallery-grid__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.gallery-grid__link:hover .gallery-grid__img {
    transform: scale(1.06);
}

/* Hover'da hafif karartma + büyüteç — tıklanınca büyüyeceğini hissettirir */
.gallery-grid__link::after {
    content: "+";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 300;
    color: #fff;
    background: rgba(0, 0, 0, .28);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.gallery-grid__link:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery-filter-tabs__btn {
        padding: 8px 12px 7px;
        font-size: .85rem;
        letter-spacing: .08em;
    }

    .section_page-gallery {
        padding: 10px 0 50px;
    }
}
