/* ============================================================================
   HİSARÖNÜ NOKTALARI (yer.hisaronu.site)
   Tek Parça Kurumsal Tasarım Sistemi (Single Unified Sheet + 1px Hairlines)
   - hisaronu.site Ege Mavisi marka dili (#0284c7 -> #0369a1 -> #0d9488)
   - Çift Tema: Aydınlık Mod (Varsayılan) & Karanlık Mod (body.dark-theme)
   - Yüzen kart karmaşası yok; tüm bölümler tek bütün yüzeyde 1px çizgilerle ayrılır.
   ============================================================================ */

:root {
  --bg-backdrop: #eef2f6;
  --bg-surface: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-hover: #f1f5f9;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --brand-blue: #0284c7;
  --brand-blue-dark: #0369a1;
  --brand-teal: #0d9488;
  --brand-wa: #16a34a;
  --brand-wa-dark: #15803d;
  --tone-ok: #15803d;
  --tone-warn: #b45309;
  --danger: #dc2626;
}

html.dark-theme,
body.dark-theme {
  --bg-backdrop: #090c11;
  --bg-surface: #11151d;
  --bg-subtle: #171c26;
  --bg-hover: #1e2430;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --brand-blue: #38bdf8;
  --brand-blue-dark: #0284c7;
  --brand-teal: #2dd4bf;
  --brand-wa: #16a34a;
  --brand-wa-dark: #15803d;
  --tone-ok: #4ade80;
  --tone-warn: #fbbf24;
  --danger: #f87171;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  background: var(--bg-backdrop);
  color: var(--text-primary);
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg-backdrop);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.012em;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

svg {
  display: block;
  flex-shrink: 0;
}

a {
  color: inherit;
}

/* ============================================================================
   TEK PARÇA KURUMSAL SAYFA GÖVDESİ (UNIFIED SHEET)
   ============================================================================ */
.unified-sheet {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
}

.home-sheet {
  max-width: 1280px;
}

.detail-sheet {
  max-width: 720px;
}

.admin-sheet {
  max-width: 820px;
}

@media (min-width: 740px) {
  .detail-sheet,
  .admin-sheet {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
}

@media (min-width: 1281px) {
  .home-sheet {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
}

/* Tüm bölümler aynı yüzey içinde yalnızca 1px kurumsal ayırıcı çizgi ile bölünür */
.sheet-section {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
}

.section-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.section-head-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.section-head-inline .section-label {
  margin-bottom: 0;
}

/* ============================================================================
   ÜST KURUMSAL BAR (KENARA SIFIR, EGE MAVİSİ hisaronu.site İMZASI)
   ============================================================================ */
.top-brand-bar {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 55%, #0d9488 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 16px;
  padding-top: max(10px, env(safe-area-inset-top, 0px));
}

body.dark-theme .top-brand-bar {
  background: linear-gradient(135deg, #0f172a 0%, #111827 58%, #0c273b 100%);
  border-bottom: 1px solid var(--line);
}

.sticky-top-bar {
  position: sticky;
  top: 0;
  z-index: 800;
}

.top-brand-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  min-width: 0;
}

.brand-emblem {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-titles {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-h1 {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.35px;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-h1 .gold-tint,
.mini-brand-mark .gold-tint {
  color: #fde047;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: rgba(224, 242, 254, 0.9);
  margin-top: 1px;
  white-space: nowrap;
}

.top-brand-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.top-link-portal,
.top-btn-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 33px;
  padding: 0 11px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.top-link-portal:hover {
  background: rgba(255, 255, 255, 0.22);
}

.top-btn-logout {
  background: rgba(220, 38, 38, 0.24);
  border-color: rgba(252, 165, 165, 0.4);
}

.top-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 33px;
  padding: 0 12px;
  border-radius: 7px;
  background: var(--brand-wa);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.15s ease;
}

.top-btn-wa:hover {
  filter: brightness(1.06);
}

@media (max-width: 559px) {
  .page-home .brand-identity {
    flex: 1 1 100%;
  }
  .page-home .top-brand-actions {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 7px;
  }
  .page-home .top-link-portal,
  .page-home .top-btn-wa {
    height: 34px;
  }
}

.back-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 4px 2px;
}

.mini-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.35px;
  text-decoration: none;
}

/* ============================================================================
   ANA SAYFA: ARAMA + KURUMSAL SEKME ŞERİDİ (YÜZEN ÇİP YOK)
   ============================================================================ */
.home-toolbar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--line);
}

.toolbar-search-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  height: 46px;
  border-bottom: 1px solid var(--line);
}

.toolbar-search-ico {
  color: var(--text-muted);
  display: flex;
}

.toolbar-search-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
}

.toolbar-search-input::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}

.toolbar-search-clear {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 999px;
  background: var(--bg-hover);
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Alt çizgili kurumsal kategori sekmeleri */
.category-tabs-bar {
  display: flex;
  align-items: stretch;
  gap: 2px;
  overflow-x: auto;
  padding: 0 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-tabs-bar::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 40px;
  padding: 0 11px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.cat-tab:hover {
  color: var(--text-primary);
}

.cat-tab.active {
  color: var(--brand-blue);
}

.cat-tab.active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2.5px;
  background: var(--brand-blue);
  border-radius: 2px 2px 0 0;
}

.tab-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.cat-tab.active .tab-count {
  color: var(--brand-blue);
}

/* ============================================================================
   ANA SAYFA: KENARDAN KENARA HARİTA + EDİTORYAL LİSTE SATIRLARI
   ============================================================================ */
.home-workspace {
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: 1fr;
}

.home-map-pane {
  border-bottom: 1px solid var(--line);
}

.map-stage {
  position: relative;
  width: 100%;
  height: 320px;
}

.leaflet-canvas {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.map-floating-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 500;
  display: flex;
  gap: 6px;
}

.map-ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line-strong);
  color: #0f172a;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.14);
}

.map-ctrl-btn.is-satellite {
  background: #0284c7;
  border-color: #0369a1;
  color: #ffffff;
}

body.dark-theme .map-ctrl-btn {
  background: rgba(17, 21, 29, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
  color: #f8fafc;
}

body.dark-theme .map-ctrl-btn.is-satellite {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
}

.map-counter-pill {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 500;
  background: rgba(15, 23, 42, 0.84);
  color: #ffffff;
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 700;
  pointer-events: none;
}

/* Özel Leaflet Pin & Popup */
.yer-pin-marker {
  background: transparent;
  border: none;
}

.yer-pin-dot {
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--pin-color, #0284c7);
  border: 2.5px solid #ffffff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.36);
  display: flex;
  align-items: center;
  justify-content: center;
}

.yer-pin-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

.leaflet-popup-content-wrapper {
  border-radius: 8px !important;
  padding: 0 !important;
  overflow: hidden;
}

.leaflet-popup-content {
  margin: 0 !important;
  min-width: 205px;
}

.map-popup-box {
  padding: 10px 11px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a;
}

.map-popup-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0369a1;
  margin-bottom: 3px;
}

.map-popup-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.map-popup-desc {
  font-size: 11.5px;
  color: #475569;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.map-popup-actions {
  display: flex;
  gap: 6px;
}

.map-popup-btn {
  flex: 1;
  text-align: center;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  background: #0284c7;
  color: #ffffff !important;
}

.map-popup-btn.secondary {
  background: #16a34a;
}

/* Liste başlığı */
.home-list-pane {
  display: flex;
  flex-direction: column;
}

.section-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-subtle);
}

.section-bar-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-bar-meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

/* Temiz Yatay Kurumsal Liste Satırları (1px çizgilerle ayrılmış) */
.places-list {
  display: flex;
  flex-direction: column;
}

.place-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-surface);
  transition: background 0.14s ease;
}

.place-row:hover {
  background: var(--bg-subtle);
}

.place-row-thumb {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  display: block;
}

.place-row-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.place-row-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cat-color, var(--brand-blue));
  background: var(--bg-hover);
}

.place-row-photo-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
}

.place-row-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.place-row-overline {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.place-row-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
}

.place-row-title a {
  text-decoration: none;
}

.place-row-title a:hover {
  color: var(--brand-blue);
}

.place-row-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.place-row-specs {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

.place-row-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 5px;
  font-size: 12.5px;
  font-weight: 700;
}

.row-link-primary {
  color: var(--brand-blue);
  text-decoration: none;
}

.row-link-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.row-link-btn:hover {
  color: var(--text-primary);
}

.row-link-nav {
  color: var(--tone-ok);
  text-decoration: none;
}

.row-act-sep {
  color: var(--line-strong);
}

.empty-block {
  padding: 28px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.empty-state-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.empty-state-sub {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ============================================================================
   DETAY SAYFASI (/[slug]) — TEK PARÇA + 1PX KURUMSAL ÇİZGİLER
   ============================================================================ */
.detail-flow {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.hero-media-block {
  border-bottom: 1px solid var(--line);
  background: var(--bg-surface);
}

.detail-hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 360px;
  background: #0f172a;
  overflow: hidden;
  cursor: zoom-in;
}

.detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-hero-fallback {
  position: relative;
  width: 100%;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  color: rgba(255, 255, 255, 0.9);
}

.detail-photo-counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 4px 9px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.detail-private-pill {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(15, 23, 42, 0.84);
  color: #fde047;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
}

.detail-hero-caption {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
}

.detail-gallery-strip {
  display: flex;
  gap: 7px;
  padding: 9px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid var(--line);
  background: var(--bg-subtle);
}

.detail-gallery-strip::-webkit-scrollbar {
  display: none;
}

.gallery-thumb-btn {
  flex-shrink: 0;
  width: 66px;
  height: 48px;
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--bg-hover);
  cursor: pointer;
  opacity: 0.68;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.gallery-thumb-btn.active {
  border-color: var(--brand-blue);
  opacity: 1;
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Başlık, Canlı Gün Batımı & 2 Katmanlı Buton Hiyerarşisi */
.hero-summary-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-overline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.detail-cat-text {
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.dot-sep {
  color: var(--line-strong);
}

.detail-h1 {
  font-size: clamp(23px, 6vw, 30px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* Kutusuz tek satır canlı gün batımı & hava */
.live-weather-line {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.wx-line-ico {
  color: #d97706;
  flex-shrink: 0;
}

body.dark-theme .wx-line-ico {
  color: #fbbf24;
}

.wx-sunset-pill {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--bg-hover);
  border: 1px solid var(--line-strong);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 700;
}

/* Birincil Baskın CTA */
.btn-directions-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  padding: 11px 16px;
  margin-top: 4px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 65%, #0d9488 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.12s ease;
}

.btn-directions-primary:hover {
  filter: brightness(1.06);
}

.btn-directions-primary:active {
  transform: scale(0.99);
}

.btn-directions-primary:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* 4'lü Eşit Kurumsal Aksiyon Çubuğu (Apple / Google Maps Stili) */
.action-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-surface);
}

.rail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 11px 4px;
  border: none;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--text-primary);
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}

.rail-item:last-child {
  border-right: none;
}

.rail-item:hover {
  background: var(--bg-subtle);
  color: var(--brand-blue);
}

.rail-item:active {
  background: var(--bg-hover);
}

.rail-ico {
  display: inline-flex;
  color: var(--text-secondary);
}

.rail-item:hover .rail-ico {
  color: var(--brand-blue);
}

.rail-lbl {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

/* Saha Bilgileri — 1px dikey çizgilerle bölünmüş tek kurumsal şerit */
.specs-strip {
  display: grid;
  border-bottom: 1px solid var(--line);
  background: var(--bg-subtle);
}

.spec-cell {
  padding: 13px 12px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-cell:last-child {
  border-right: none;
}

.spec-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.spec-val {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-primary);
}

.spec-val.tone-ok {
  color: var(--tone-ok);
}

.spec-val.tone-warn {
  color: var(--tone-warn);
}

/* Yer Tarifi */
.detail-desc-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  white-space: pre-line;
}

/* Burada Buluşalım (Kompakt Kurumsal Bölüm) */
.meetup-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.meetup-day-seg {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
}

.seg-btn {
  height: 28px;
  padding: 0 11px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.seg-btn + .seg-btn {
  border-left: 1px solid var(--line-strong);
}

.seg-btn.active {
  background: var(--text-primary);
  color: var(--bg-surface);
}

.meetup-time-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.meetup-chip {
  height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.meetup-chip.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue-dark);
  color: #ffffff;
}

.meetup-custom-time input {
  height: 32px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
}

.meetup-preview-line {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  word-break: break-word;
}

/* WhatsApp Net Kurumsal Buton */
.btn-wa-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border-radius: 7px;
  background: var(--brand-wa);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.btn-wa-solid:hover {
  background: var(--brand-wa-dark);
}

.btn-wa-full {
  width: 100%;
  height: 43px;
  font-size: 13.5px;
}

/* Detay Harita + Kurumsal Anahtar-Değer Satırları */
.line-pill-btn {
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.line-pill-btn.is-satellite {
  background: var(--brand-blue);
  border-color: var(--brand-blue-dark);
  color: #ffffff;
}

.detail-mini-map {
  width: 100%;
  height: 260px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 10px;
  background: var(--bg-subtle);
}

.detail-mini-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.kv-table {
  display: flex;
  flex-direction: column;
}

.kv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.kv-row:first-child {
  border-top: none;
  padding-top: 4px;
}

.kv-row:last-child {
  padding-bottom: 0;
}

.kv-key {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.kv-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-family: inherit;
  cursor: pointer;
  padding: 2px 0;
}

.kv-copy-btn code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
}

.kv-copy-act {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-blue);
}

/* Açılır-Kapanır Kurumsal SSS Satırları (İç İçe Kutu Yok) */
.accordion-list {
  display: flex;
  flex-direction: column;
}

.accordion-row {
  border-top: 1px solid var(--line);
}

.accordion-row:first-child {
  border-top: none;
}

.accordion-q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-primary);
  cursor: pointer;
}

.accordion-q::-webkit-details-marker {
  display: none;
}

.accordion-q::after {
  content: "+";
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}

.accordion-row[open] .accordion-q::after {
  content: "−";
}

.accordion-a {
  padding: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Alt WhatsApp Dönüşüm & GEO Bölümleri (Tek Parça Yüzeyin Doğal Parçası) */
.wa-strip-section {
  background: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: stretch;
}

.wa-strip-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wa-strip-copy strong {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-primary);
}

.wa-strip-copy span {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.geo-editorial-section {
  background: var(--bg-surface);
}

.editorial-h2 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.editorial-p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

.editorial-p code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  color: var(--brand-blue);
}

/* ============================================================================
   TAM EKRAN LIGHTBOX
   ============================================================================ */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 15, 0.95);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
}

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}

.lightbox-counter {
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
  padding: 4px 11px;
  border-radius: 6px;
}

.lightbox-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 10px 0;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-nav.prev {
  left: 6px;
}

.lightbox-nav.next {
  right: 6px;
}

.lightbox-caption {
  text-align: center;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  min-height: 20px;
}

/* ============================================================================
   ADMİN PANELİ (/admin) — AYNI TEK PARÇA KURUMSAL DİL
   ============================================================================ */
.admin-login-wrap,
.notfound-main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
}

.admin-login-panel,
.notfound-inner {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-login-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.admin-login-head h1 {
  font-size: 20px;
  font-weight: 900;
}

.admin-login-head p {
  font-size: 12.5px;
  color: var(--text-muted);
}

.admin-flow {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.admin-h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
}

.post-save-section {
  background: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 3px solid var(--brand-wa);
}

.post-save-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.post-save-info strong {
  font-size: 14px;
  font-weight: 800;
}

.post-save-info a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-blue);
  word-break: break-all;
}

.post-save-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.resolver-block {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 12px;
}

.resolver-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-secondary);
}

.resolver-row {
  display: flex;
  gap: 6px;
}

.resolver-row input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
}

.btn-resolve {
  height: 38px;
  padding: 0 15px;
  border-radius: 6px;
  border: none;
  background: var(--brand-blue);
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.resolver-status {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  min-height: 15px;
}

.resolver-status.is-ok {
  color: var(--tone-ok);
}

.resolver-status.is-err {
  color: var(--danger);
}

.admin-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.admin-map-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.admin-leaflet-map {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-grid-2,
.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-field > span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-field input,
.form-field select,
.form-field textarea,
.admin-list-search {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.form-field textarea {
  min-height: 80px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.admin-list-search:focus {
  border-color: var(--brand-blue);
}

.slug-preview {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-blue);
  word-break: break-all;
}

.photo-upload-box {
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 12px;
  background: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.photo-upload-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.photo-upload-body {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.photo-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  border-radius: 6px;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.photo-status {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.admin-gal-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-gal-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  overflow: hidden;
  background: #0f172a;
}

.admin-gal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-gal-cover-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.admin-gal-caption {
  width: 100%;
  min-height: 29px !important;
  padding: 4px 7px !important;
  font-size: 11.5px !important;
  border-radius: 5px !important;
  border: 1px solid var(--line-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
}

.admin-gal-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.admin-gal-cover-lbl {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--brand-blue);
}

.btn-gal-cover {
  height: 26px;
  padding: 0 8px;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}

.btn-danger-xs {
  height: 26px;
  padding: 0 8px;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--danger);
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}

.form-error {
  border-left: 3px solid var(--danger);
  background: var(--bg-subtle);
  color: var(--danger);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 11px;
}

.admin-list-search {
  max-width: 220px;
  min-height: 34px;
  padding: 5px 9px;
  font-size: 13px;
}

.admin-places-list {
  display: flex;
  flex-direction: column;
}

.admin-place-row {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.admin-place-row:first-child {
  border-top: none;
  padding-top: 2px;
}

.admin-row-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-row-thumb {
  width: 52px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-subtle);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
}

.admin-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-row-meta {
  flex: 1;
  min-width: 0;
}

.admin-row-title {
  font-size: 14.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-row-title a {
  text-decoration: none;
}

.admin-row-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
  word-break: break-all;
}

.vis-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 1.5px 6px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  color: var(--text-secondary);
}

.vis-pill.public {
  color: var(--tone-ok);
}

.vis-pill.private {
  color: var(--tone-warn);
}

.admin-row-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.btn-quick-copy,
.btn-quick-wa,
.btn-quick-edit,
.btn-quick-del {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 33px;
  padding: 0 9px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
}

.btn-quick-copy {
  color: var(--brand-blue);
}

.btn-quick-wa {
  background: var(--brand-wa);
  border-color: var(--brand-wa);
  color: #ffffff;
}

.btn-quick-del {
  color: var(--danger);
}

/* 404 */
.notfound-inner {
  text-align: center;
  align-items: center;
}

.notfound-code {
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  color: var(--brand-blue);
}

.notfound-inner h1 {
  font-size: 20px;
  font-weight: 800;
}

.notfound-inner p {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.notfound-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ============================================================================
   RENS YAZILIM ALT BAR (TEK YÜZEYİN ALT BİTİŞİ)
   ============================================================================ */
.brand-footer-bar {
  margin-top: auto;
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.brand-footer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 11px;
  min-width: 0;
}

.brand-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.brand-name {
  font-weight: 900;
  letter-spacing: 0.45px;
  color: var(--text-primary);
}

.brand-sep {
  color: var(--text-muted);
}

.brand-author {
  color: var(--brand-blue);
  font-weight: 800;
}

body.dark-theme .brand-author {
  color: #c084fc;
}

.footer-right-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.footer-portal-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.welcome-theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--line-strong);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.welcome-theme-toggle-icon {
  display: inline-flex;
  color: var(--brand-blue);
}

body.dark-theme .welcome-theme-toggle-icon {
  color: #fde047;
}

/* Toast */
.toast-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  padding: 9px 15px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast-banner.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================================
   RESPONSIVE (TABLET & MASAÜSTÜ)
   ============================================================================ */
@media (min-width: 640px) {
  .sheet-section {
    padding: 20px 22px;
  }
  .top-brand-bar {
    padding: 11px 22px;
  }
  .toolbar-search-row {
    padding: 0 22px;
  }
  .category-tabs-bar {
    padding: 0 16px;
  }
  .section-bar-head {
    padding: 12px 22px;
  }
  .place-row {
    padding: 16px 22px;
  }
  .brand-footer-bar {
    padding: 11px 22px;
  }
  .form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .admin-row-actions {
    grid-template-columns: repeat(4, 1fr);
  }
  .wa-strip-section {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .post-save-section {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 960px) {
  .home-workspace {
    grid-template-columns: minmax(480px, 1.25fr) minmax(380px, 1fr);
  }
  .home-map-pane {
    border-bottom: none;
    border-right: 1px solid var(--line);
    position: sticky;
    top: 0;
    height: calc(100vh - 142px);
    min-height: 520px;
  }
  .map-stage {
    height: 100%;
  }
}
