/* =========================================================
   ANA SAYFA TUR KATEGORİ FİLTRESİ
   Modern, kibar ve tam responsive görünüm
========================================================= */

.tour-category-panel {
    position: relative;
    margin-top: 20px;
}

.tour-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.tour-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(15, 125, 151, .16);
    border-radius: 999px;
    color: #243b53;
    background: rgba(255, 255, 255, .78);
    box-shadow:
        0 6px 18px rgba(27, 74, 94, .045),
        inset 0 1px 0 rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.01em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.tour-filter a:hover,
.tour-filter a:focus-visible {
    color: #087d95;
    border-color: rgba(8, 125, 149, .34);
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(27, 74, 94, .075);
    outline: none;
}

.tour-filter a.active,
.tour-filter a[aria-current="page"] {
    color: #fff;
    border-color: #ff6652;
    background: linear-gradient(135deg, #ff735f, #ff5d4a);
    box-shadow: 0 10px 20px rgba(255, 102, 82, .22);
}

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

@media (max-width: 991px) {
    .tour-category-panel {
        margin-top: 18px;
    }

    .tour-filter {
        gap: 8px;
    }

    .tour-filter a {
        min-height: 36px;
        padding: 0 14px;
        font-size: 11.5px;
    }
}

/* =========================================================
   MOBİL
   Tek satır yatay kaydırma + kaydırılabilirlik göstergesi
========================================================= */

@media (max-width: 767px) {
    .tour-category-panel {
        position: relative;
        margin-top: 16px;
        margin-right: -14px;
        margin-left: -14px;
        padding: 0 14px;
        overflow: hidden;
    }

    .tour-category-panel::after {
        content: "";
        position: absolute;
        z-index: 3;
        top: 0;
        right: 0;
        bottom: 8px;
        width: 48px;
        pointer-events: none;
        background: linear-gradient(
            to right,
            rgba(241, 248, 251, 0),
            rgba(241, 248, 251, .96) 72%
        );
    }

    .tour-filter {
        display: flex;
        flex-wrap: nowrap;
        gap: 7px;
        width: 100%;
        padding: 2px 34px 10px 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    .tour-filter::-webkit-scrollbar {
        display: none;
    }

    .tour-filter a {
        flex: 0 0 auto;
        min-width: max-content;
        min-height: 34px;
        padding: 0 13px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 800;
        line-height: 1;
        white-space: nowrap;
        scroll-snap-align: start;
        box-shadow:
            0 4px 12px rgba(27, 74, 94, .035),
            inset 0 1px 0 rgba(255, 255, 255, .72);
    }

    .tour-filter a:hover {
        transform: none;
    }

    .tour-filter a.active,
    .tour-filter a[aria-current="page"] {
        box-shadow: 0 7px 15px rgba(255, 102, 82, .19);
    }
}

/* =========================================================
   KÜÇÜK MOBİL
========================================================= */

@media (max-width: 420px) {
    .tour-category-panel {
        margin-right: -10px;
        margin-left: -10px;
        padding: 0 10px;
    }

    .tour-category-panel::after {
        width: 40px;
    }

    .tour-filter {
        gap: 6px;
        padding-right: 28px;
    }

    .tour-filter a {
        min-height: 32px;
        padding: 0 11px;
        font-size: 10.5px;
    }
}
