/* =====================================================================
   ALANYA TOUR — Ön yüz bileşenleri: hero, arama, bloklar, tur kartı, kutucuklar, liste, sayfalama
   ===================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink-2); color: #F6F1E9; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(180deg, transparent, rgba(12, 36, 48, .55)); pointer-events: none; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero--img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12, 36, 48, .82) 0%, rgba(12, 36, 48, .45) 55%, rgba(12, 36, 48, .1) 100%); }
.hero__in { position: relative; z-index: 2; min-height: clamp(460px, 66vh, 640px); display: flex; align-items: center; padding-block: 64px 120px; }
.hero__text { max-width: 640px; }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 7vw, 82px); line-height: 1; letter-spacing: -.005em; margin-bottom: 20px; text-wrap: balance; }
.hero__lead { font-size: clamp(16px, 1.8vw, 19px); color: #D2DEDD; max-width: 520px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Arama çubuğu ---------- */
.finder-wrap { position: relative; z-index: 5; margin-top: -60px; }
.finder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 14px; align-items: end; padding: 18px; background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.finder__field { display: grid; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mist); }
.finder__btn { min-height: 48px; border-radius: 12px; }

/* ---------- Bloklar ---------- */
.block { padding-top: clamp(64px, 8vw, 96px); }
.block--tint { margin-top: clamp(64px, 8vw, 96px); padding-block: clamp(56px, 7vw, 88px); background: var(--sand-2); }
.block--tint + .block { padding-top: clamp(56px, 7vw, 88px); }
.block__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.block__title { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 50px); }

/* ---------- Tur kartı ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--sea); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__noimg { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .5); }
.card__noimg .ico { width: 40px; height: 40px; }
.card__cat { position: absolute; left: 14px; top: 14px; }
.card__dur { position: absolute; right: 14px; top: 14px; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.card__body .eyebrow { margin: 0; }
.card__title { font-family: var(--serif); font-weight: 600; font-size: 27px; line-height: 1.1; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--sea); }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card__actions, .card__actions a, .card__facts { position: relative; z-index: 2; }
.card__lead { margin: 0; color: var(--mist); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__facts { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; margin: 2px 0 0; padding: 0; font-size: 13px; font-weight: 600; color: var(--sea); }
.card__facts li { display: inline-flex; align-items: center; gap: 6px; }
.card__days { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mist); }
.card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--stone-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__actions { display: flex; gap: 8px; align-items: center; }
.price { display: flex; flex-direction: column; line-height: 1.15; }
.price__from { font-size: 12px; color: var(--mist); }
.price__val { font-size: 23px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price__val small { font-size: 13px; font-weight: 500; color: var(--mist); }
.price__ask { font-size: 14px; font-weight: 700; color: var(--brass-text); max-width: 150px; }

/* ---------- Kategori / lokasyon kutucukları ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; min-height: 210px; border-radius: 18px; overflow: hidden; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; color: #F6F1E9; text-decoration: none; isolation: isolate; }
.tile--t0 { background: var(--sea); } .tile--t1 { background: #5B4A34; } .tile--t2 { background: #6B5840; } .tile--t3 { background: #24505B; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.tile img + .tile__name::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 36, 48, 0) 30%, rgba(12, 36, 48, .78) 100%); }
.tile:hover img { transform: scale(1.05); }
.tile:hover { color: #fff; }
.tile__name { font-family: var(--serif); font-size: 27px; font-weight: 600; line-height: 1.1; }
.tile__count { font-size: 13px; color: #D5E3E2; margin-top: 4px; }
.tiles--page { margin-top: 28px; }

.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.place { position: relative; display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 12px; border-radius: 16px; background: var(--paper); border: 1px solid var(--stone); text-decoration: none; color: var(--ink); min-height: 96px; }
.place img { grid-row: span 2; width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
.place:not(:has(img)) { grid-template-columns: 1fr; }
.place__name { display: flex; gap: 6px; align-items: center; font-family: var(--serif); font-size: 24px; font-weight: 600; align-self: end; }
.place__name .ico { color: var(--brass); }
.place__count { font-size: 13px; color: var(--mist); align-self: start; }
.place:hover { border-color: var(--ink); color: var(--ink); }

.promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.promo { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); overflow: hidden; }
.promo img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.promo__body { padding: 22px; }
.promo h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 8px; }
.promo p { color: var(--mist); }

/* ---------- Liste sayfası ---------- */
.listing { padding-top: 24px; }
.listing__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.listing__head p { margin: 0; }
.listing__grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters { position: sticky; top: 100px; }
.filters__box { background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); }
.filters__toggle { display: flex; align-items: center; gap: 8px; padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.filters__toggle::-webkit-details-marker { display: none; }
.filters__form { display: grid; gap: 18px; padding: 0 20px 20px; }
.filters__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.filters__actions .btn { flex: 1; }
.empty { text-align: center; padding: 64px 24px; background: var(--paper); border: 1px dashed var(--stone); border-radius: var(--radius); color: var(--mist); }
.empty .ico { width: 36px; height: 36px; margin: 0 auto 12px; color: var(--brass); }

.tax-hero { position: relative; background: var(--ink-2); color: #F6F1E9; overflow: hidden; margin-top: 16px; }
.tax-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tax-hero--img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12, 36, 48, .85), rgba(12, 36, 48, .35)); }
.tax-hero__in { position: relative; z-index: 2; padding-block: clamp(48px, 7vw, 88px); }
.tax-hero__title { font-family: var(--serif); font-size: clamp(40px, 6vw, 68px); margin-bottom: 14px; }
.tax-hero__lead { max-width: 680px; color: #D2DEDD; font-size: 17px; margin: 0; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; }

/* ---------- Sayfalama ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.pager__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pager__list a, .pager__list span { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 12px; text-decoration: none; font-weight: 700; color: var(--ink); border: 1px solid var(--stone); background: var(--paper); }
.pager__list span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; font-weight: 700; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .listing__grid { grid-template-columns: 1fr; }
    .filters { position: static; }
    .finder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .finder__btn { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
    .grid-cards, .grid-cards--2 { grid-template-columns: 1fr; }
    .places { grid-template-columns: 1fr; }
    .tile { min-height: 160px; }
    .finder { grid-template-columns: 1fr; }
    .finder-wrap { margin-top: -48px; }
    .hero__in { padding-block: 44px 96px; }
    .card__foot { flex-wrap: wrap; }
    .card__actions { width: 100%; }
    .card__actions .btn { flex: 1; }
}
