/*
 * Page-scoped styles for /<locale>/konaklama — extracted from
 * legacy/uludaginfocom-v1/konaklama.html. Single <style> block
 * verbatim: kn-hero (dark hero + filter pane + stat strip),
 * kn-list (.hotel-row grid card system with .hotel-hero +
 * .hotel-thumbs columns), the gallery modal, AdSense zone
 * placeholders, and the mobile/tablet collapse rules. All
 * .kn-*, .hotel-*, .thumb, .gallery-modal class names are
 * page-unique so we keep them at file-scope (no data-page
 * gating) to match V1 cascading exactly.
 *
 * Mounted from apps/web/src/app/layout.tsx alongside the other
 * page-styles/*.css files.
 *//* ====== Konaklama page ====== */
/* 03.06 holistik — stat-strip kaldırıldı; filter-pane yukarı alındı
   (align-items: end → start). Hero 440'a indi (bkz styles.css .kn-hero). */

/* ====== Listing ====== */
.kn-list { padding: 56px 0 80px; background: var(--u-snow); }
.kn-list .wrap { display: flex; flex-direction: column; gap: 28px; }

.hotel-row {
  background: #fff; border: 2px solid var(--u-black); border-radius: 22px;
  box-shadow: var(--u-shadow); overflow: hidden;
  display: grid; grid-template-columns: 7fr 5fr;
  transition: transform 200ms ease, box-shadow 200ms ease;
  /* Bug Report 01.06.2026 madde 4 — detaydan "Tüm oteller#row-<slug>" ile
     dönüldüğünde sticky header altında kalmasın. */
  scroll-margin-top: 100px;
}
.hotel-row:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -16px rgba(0,0,0,0.22); }

/* LEFT — hero image */
.hotel-hero {
  position: relative; min-height: 360px;
  background-size: cover; background-position: center;
  cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; padding: 24px;
  border-right: 2px solid var(--u-black);
}
.hotel-hero::before {
  content:''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 35%, rgba(0,0,0,0.65) 100%);
}
/* Foto yok — picsum placeholder yerine nötr marka gradyanı (eksik foto
   görünür kalsın, sahte görsel basılmasın). */
.hotel-hero--noimg {
  background: linear-gradient(160deg, #1F3854 0%, #0A1622 100%);
}
.hotel-hero .badges {
  position: absolute; top: 16px; right: 16px; display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: flex-end; z-index: 3;
}
.hotel-hero .badge {
  background: rgba(255,255,255,0.95); color: var(--u-black);
  border: 2px solid var(--u-black);
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 11px; letter-spacing: 0.18em;
  padding: 6px 14px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.hotel-hero .badge svg { flex: none; }
.hotel-hero .badge.region-1 { background: var(--u-yellow); color: var(--u-black); }
.hotel-hero .badge.region-2 { background: var(--u-fuchsia); color: #fff; }
.hotel-hero .badge.region-3 { background: var(--u-teal); color: #fff; }
.hotel-hero .badge.stars {
  background: var(--u-black); color: var(--u-yellow); display: inline-flex; align-items: center; gap: 4px;
}
.hotel-hero .badge.stars .ico { color: var(--u-yellow); }

.hotel-hero .nm-block { position: relative; z-index: 2; }
.hotel-hero .nm {
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 44px; line-height: 0.95; letter-spacing: -0.02em;
  color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  text-transform: uppercase;
}
.hotel-hero .meta {
  margin-top: 10px; display: flex; gap: 16px; flex-wrap: wrap;
  font-family: 'Mark Pro'; font-weight: 700; font-size: 12px; letter-spacing: 0.06em;
  color: #fff; text-transform: uppercase;
}
.hotel-hero .meta span { display: inline-flex; align-items: center; gap: 6px; opacity: 0.92; }
.hotel-hero .meta span svg { color: var(--u-yellow); }
.hotel-hero .short {
  margin-top: 12px; font-family: 'Gotham'; font-size: 14px;
  color: rgba(255,255,255,0.92); line-height: 1.5; max-width: 560px;
}

.hotel-hero .cta-pill {
  position: absolute; bottom: 22px; right: 22px;
  background: var(--u-fuchsia); color: #fff;
  border: 2px solid var(--u-black); border-radius: 999px;
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 12px; letter-spacing: 0.16em;
  padding: 10px 16px; z-index: 2;
  box-shadow: 0 4px 0 var(--u-black);
  transition: all 160ms ease;
}
.hotel-row:hover .hotel-hero .cta-pill {
  background: var(--u-yellow); color: var(--u-black);
}

/* RIGHT — thumbnail strip */
.hotel-thumbs {
  background: #FAFAF7;
  padding: 18px; display: flex; flex-direction: column; gap: 12px;
}
.hotel-thumbs .hd {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 11px; letter-spacing: 0.2em; color: var(--u-muted);
}
.hotel-thumbs .hd .count {
  background: var(--u-black); color: var(--u-yellow);
  padding: 3px 8px; border-radius: 999px;
  font-size: 10px;
}
.hotel-thumbs .grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
/* Foto yok — grid yerine nötr boş durum kutusu. */
.hotel-thumbs .thumbs-empty {
  flex: 1; min-height: 120px;
  display: grid; place-items: center;
  border: 1.5px dashed #c8c8c0; border-radius: 10px;
  background: #F2F2EC; color: var(--u-muted);
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 12px; letter-spacing: 0.08em; text-align: center; padding: 16px;
}
.thumb {
  position: relative; aspect-ratio: 16/11; border-radius: 10px; overflow: hidden;
  border: 1.5px solid var(--u-black); cursor: pointer;
  background-size: cover; background-position: center; background-color: #1a2433;
  transition: all 160ms ease;
}
.thumb:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0,0,0,0.15); }
.thumb.more {
  background: var(--u-black); display: grid; place-items: center;
  color: var(--u-yellow);
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 18px; letter-spacing: 0.04em;
}

.hotel-thumbs .actions {
  display: flex; gap: 8px; margin-top: 8px;
}
.hotel-thumbs .actions a, .hotel-thumbs .actions button {
  flex: 1; text-align: center;
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 11px; letter-spacing: 0.14em;
  padding: 11px 12px; border-radius: 10px;
  border: 2px solid var(--u-black); cursor: pointer;
  transition: all 160ms ease; text-decoration: none;
}
.hotel-thumbs .actions .detail { background: var(--u-black); color: #fff; }
.hotel-thumbs .actions .detail:hover { background: var(--u-fuchsia); border-color: var(--u-fuchsia); }
.hotel-thumbs .actions .gallery { background: #fff; color: var(--u-black); }
.hotel-thumbs .actions .gallery:hover { background: var(--u-yellow); }

/* Alphabet jump rail — kaldırıldı */

/* ====== Gallery modal ====== */
.gallery-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.92);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.gallery-modal.open { display: flex; }
.gallery-modal .box {
  width: min(1200px, 100%); height: 100%;
  display: grid; grid-template-rows: auto 1fr auto; gap: 18px;
}
.gallery-modal .top {
  display: flex; justify-content: space-between; align-items: center; color: #fff;
}
.gallery-modal .top .nm {
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 28px; text-transform: uppercase;
}
.gallery-modal .top .ct {
  font-family: 'Mark Pro'; font-weight: 500; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.7);
}
.gallery-modal .close-btn {
  background: var(--u-fuchsia); color: #fff; border: 2px solid #fff; border-radius: 50%;
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
}
.gallery-modal .stage {
  position: relative;
  background: #000; border-radius: 16px; overflow: hidden;
  display: grid; place-items: center;
  border: 2px solid rgba(255,255,255,0.15);
}
.gallery-modal .stage img {
  max-width: 100%; max-height: 100%; display: block; object-fit: contain;
}
.gallery-modal .nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(0,0,0,0.6); color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  display: grid; place-items: center; cursor: pointer;
  transition: all 160ms ease;
}
.gallery-modal .nav:hover { background: var(--u-yellow); color: var(--u-black); border-color: var(--u-yellow); }
.gallery-modal .nav.prev { left: 16px; }
.gallery-modal .nav.next { right: 16px; }
.gallery-modal .filmstrip {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 0;
}
.gallery-modal .filmstrip .ft {
  flex: 0 0 110px; aspect-ratio: 16/11; border-radius: 8px; cursor: pointer;
  background-size: cover; background-position: center;
  border: 2px solid transparent; opacity: 0.6;
  transition: all 160ms ease;
}
.gallery-modal .filmstrip .ft:hover { opacity: 1; }
.gallery-modal .filmstrip .ft.active { opacity: 1; border-color: var(--u-yellow); }

/* Empty state */
.empty-state {
  background: #fff; border: 2px dashed #c0c0c0; border-radius: 18px;
  padding: 60px 40px; text-align: center; color: var(--u-muted);
}
.empty-state h3 {
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 26px; color: var(--u-black); margin-bottom: 8px;
}

/* Facility empty state — API count: 0 placeholder (CMS'te aktif kayıt
 * bulunmadığında). .empty-state'den daha geniş padding ve daha kalın
 * görsel hiyerarşi. Server-side render — layout shift yok. */
.facility-empty-state {
  background: #fff; border: 2px dashed #c0c0c0; border-radius: 18px;
  padding: 64px 40px; text-align: center; color: var(--u-muted);
  font-family: 'Gotham'; font-size: 14px; line-height: 1.55;
}
.facility-empty-state h3 {
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 28px; color: var(--u-black); margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.facility-empty-state p { max-width: 520px; margin: 0 auto; }

/* AdSense zones */
.kn-uludagadsense-zone { padding: 28px 0; }
.kn-uludagadsense-zone .kn-uludagadsense-box {
  width: 100%; max-width: 970px; margin: 0 auto;
  border: 2px dashed #c0c0c0; background: #fff;
  border-radius: 12px;
  color: var(--u-muted);
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 16px 20px;
}
.kn-uludagadsense-zone .kn-uludagadsense-box::before { content: '◇'; opacity: 0.5; }
.kn-uludagadsense-top    .kn-uludagadsense-box { height: 110px; }
.kn-uludagadsense-mid    .kn-uludagadsense-box { height: 270px; max-width: 970px; }
.kn-uludagadsense-bottom .kn-uludagadsense-box { height: 110px; }

/* Liste arası (inter-list) reklam — her 5 kartta bir, .kn-list .wrap
   flex-column'unun doğrudan çocuğu olarak basılır. 970×250 desktop,
   mobilde otomatik küçülür. */
.kn-uludagadsense-inlist { padding: 0; }
.kn-uludagadsense-inlist .kn-uludagadsense-box {
  width: 100%; max-width: 970px; margin: 0 auto; height: 250px;
  border: 2px dashed #c0c0c0; background: #fff;
  border-radius: 12px;
  color: var(--u-muted);
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 16px 20px;
}
.kn-uludagadsense-inlist .kn-uludagadsense-box::before { content: '◇'; opacity: 0.5; }
.kn-uludagadsense-zone[data-bg="snow"] { background: var(--u-snow); }
.kn-uludagadsense-top { padding-top: 14px; }
.kn-uludagadsense-mid { background: var(--u-snow); }
.kn-uludagadsense-bottom { padding-bottom: 56px; }

/* =========================================================
 * Mobile + tablet (Burak 2026-05-18) — collapse the 2-col
 * hotel-row to a single column so hotel-hero spans the full
 * card width, then hotel-thumbs sits underneath at the same
 * width. The right-side vertical divider becomes a horizontal
 * divider between the two stacked blocks.
 * ========================================================= */
@media (max-width: 768px) {
  /* Bug Report 04.06 — mobilde bölge filtre-pane'i gizle; site-hero has-aside
     mobil kuralı (justify-content:center) h1'i ortalar. SADECE konaklama'ya
     scope'lu (gastronomi/mekanlar da .filter-pane kullanıyor, onlar mobilde
     görünür kalmalı). */
  body[data-page='konaklama'] .site-hero .filter-pane { display: none !important; }
  .hotel-row {
    grid-template-columns: 1fr !important;
  }
  .hotel-hero {
    border-right: 0 !important;
    border-bottom: 2px solid var(--u-black);
    min-height: 260px;
  }
  .hotel-thumbs {
    width: 100%;
    padding: 14px;
  }
  .hotel-thumbs .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  /* Region pill moves into normal flow at the TOP of the hero so a long
     name (e.g. "AĞAOĞLU MY MOUNTAIN HOTEL") can never run under it. The
     hero is a column flex with content bottom-aligned, so an auto bottom
     margin on the pill row keeps the title block pinned to the bottom. */
  .hotel-hero { justify-content: flex-start; }
  .hotel-hero .badges {
    position: static; top: auto; right: auto;
    justify-content: flex-end; margin-bottom: auto;
  }
  .hotel-hero .nm { font-size: 28px; word-break: break-word; }
}
@media (max-width: 480px) {
  .hotel-hero { min-height: 220px; padding: 16px; }
  .hotel-hero .nm { font-size: 23px; }
  .hotel-hero .badge { font-size: 10px; padding: 5px 11px; }
  .hotel-hero .short { font-size: 13px; }
  .hotel-thumbs .actions a,
  .hotel-thumbs .actions button { font-size: 10.5px; padding: 10px 8px; }
}

/* =========================================================
 * Facility filter dropdown — chip → <select> migration
 * (konaklama: hero koyu zemin üstünde, V1 yellow/black paleti)
 * ========================================================= */
.facility-filter-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 14px; align-items: end;
}
.facility-filter-row .grp { display: flex; flex-direction: column; gap: 6px; flex: 1 1 160px; }
.facility-filter-row .grp label {
  font-family: 'Mark Pro', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
.facility-filter-select {
  width: 100%;
  appearance: none; -webkit-appearance: none;
  background: rgba(0,0,0,0.4)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>")
    no-repeat right 12px center / 14px 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  padding: 10px 34px 10px 14px;
  font-family: 'Mark Pro', sans-serif;
  font-weight: 900; font-style: italic;
  font-size: 12.5px; letter-spacing: 0.06em;
  color: #fff;
  cursor: pointer;
  outline: none;
  transition: border-color 160ms ease, color 160ms ease;
}
.facility-filter-select:hover { border-color: var(--u-yellow); color: var(--u-yellow); }
.facility-filter-select:focus { border-color: var(--u-yellow); color: var(--u-yellow); }
.facility-filter-select option { color: var(--u-black); background: #fff; }

/* ============================================================
 * SITE-HERO consolidation (2026-06-04) — filter-pane <Hero> aside.
 * Eski .kn-hero blokları Batch E'de silinecek; bu blok aktif.
 * ============================================================ */
.site-hero .filter-pane {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 20px;
}
.site-hero .filter-pane .lbl {
  font-family: 'Mark Pro', sans-serif; font-weight: 900; font-style: italic;
  font-size: 11px; letter-spacing: 0.2em; color: var(--u-yellow);
}
.site-hero .filter-pane h3 {
  font-family: 'Mark Pro', sans-serif; font-weight: 700; font-size: 18px;
  color: #fff; margin-top: 4px;
}
.site-hero .filter-pane .facility-filter-row { margin-top: 14px; }
