/* ============================================================
   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 sadece tab ve item görselleştirmesi yapar.
   ============================================================ */

/* 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: 0;
}

.gallery-filter-tabs__btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--color-body);
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color .25s ease,
                color .25s ease,
                border-color .25s ease;
}

    .gallery-filter-tabs__btn:hover {
        color: var(--color-button);
        background-color: var(--bg-button);
    }

.gallery-filter-tabs__item.is-active .gallery-filter-tabs__btn {
    background-color: var(--bg-button);
    color: var( --color-button);
    border-color: var(--bg-button);
}

/* ---------- Grid Item --------------------------------------- */
.gallery-grid__link {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 14px -8px rgba(0, 0, 0, .18);
    transition: box-shadow .3s ease;
}

.gallery-grid__link:hover {
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .25);
}

.gallery-grid__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

.gallery-grid__link:hover .gallery-grid__img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-filter-tabs__btn {
        padding: 8px 14px;
        font-size: .75rem;
    }
}
