
/* ===========================================================================
   SERVİS YOĞUNLUK + BÖLGE GÖSTERGESİ  (js/dt-yogunluk.js ile birlikte çalışır)
   Sayfaya kopyalanmaz: <div data-dt-yogunluk></div> yeter. TEK KAYNAK burasıdır.
   NOT: Bu blok dosyanın SONUNDA ve hiçbir @media içinde DEĞİL.
   =========================================================================== */
.dty { padding: 44px 0 8px; }
.dty-baslik { text-align: center; margin-bottom: 22px; }
.dty-baslik h2 {
  font-family: var(--font-display, Georgia, serif); font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 600; color: var(--ink, #0f2535); margin: 0 0 8px;
}
.dty-baslik p { margin: 0 auto; max-width: 620px; font-size: .92rem; color: var(--muted, #6b7c8a); }

.dty-satir {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: start;
}
.dty-kart {
  background: #fff; border: 1px solid var(--line, #e4e9ee); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dty-kart:hover { transform: translateY(-3px); box-shadow: var(--shadow, 0 8px 24px rgba(15,37,53,.08)); }
.dty-bugun { border-color: var(--brand, #2ba6d6); box-shadow: 0 0 0 3px rgba(43,166,214,.12); }

.dty-ust {
  display: flex; justify-content: space-between; align-items: baseline; gap: 6px;
  padding: 11px 13px 9px;
}
.dty-ust strong { font-size: .88rem; color: var(--ink, #0f2535); }
.dty-yuzde { font-size: .78rem; font-weight: 700; }
.dty-uygun  .dty-yuzde { color: #16a34a; }
.dty-azyer  .dty-yuzde { color: #e8930c; }
.dty-dolu   .dty-yuzde { color: #dc2626; }
.dty-kapali .dty-yuzde { color: #94a3b8; }

.dty-bar { height: 5px; background: #eef2f6; }
.dty-bar i { display: block; height: 100%; width: 0; transition: width .7s cubic-bezier(.4,0,.2,1); }
.dty-uygun  .dty-bar i { background: linear-gradient(90deg, #22c55e, #16a34a); }
.dty-azyer  .dty-bar i { background: linear-gradient(90deg, #f7b53d, #e8930c); }
.dty-dolu   .dty-bar i { background: linear-gradient(90deg, #ef4444, #dc2626); }
.dty-kapali .dty-bar i { background: #cbd5e1; }

.dty-orta { padding: 11px 13px 4px; flex: 1; }
.dty-dilim { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.dty-saat { font-size: .67rem; color: var(--muted, #6b7c8a); width: 42px; flex-shrink: 0; letter-spacing: .02em; }
.dty-bolge { font-size: .73rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.dty-b-k  { background: #e0f2fe; color: #0369a1; }   /* Konyaaltı  */
.dty-b-m  { background: #ede9fe; color: #6d28d9; }   /* Muratpaşa  */
.dty-b-kp { background: #fef3c7; color: #92400e; }   /* Kepez      */
.dty-b-d  { background: #dcfce7; color: #15803d; }   /* Döşemealtı */
.dty-b-a  { background: #ffe4e6; color: #be123c; }   /* Aksu       */
.dty-b-s  { background: #e2e8f0; color: #334155; }   /* diğer ilçe */
.dty-b-n  { background: #e2e8f0; color: #334155; }
.dty-bos  { background: #f1f5f9; color: #94a3b8; font-weight: 500; font-style: italic; }

.dty-alt {
  display: flex; justify-content: space-between; align-items: center; gap: 6px;
  padding: 8px 13px; background: var(--bg-soft, #f6f9fc); border-top: 1px solid var(--line, #e4e9ee);
  font-size: .72rem; color: var(--ink-soft, #3b5062);
}
.dty-etiket { font-weight: 600; }
.dty-uygun  .dty-etiket { color: #16a34a; }
.dty-azyer  .dty-etiket { color: #e8930c; }
.dty-dolu   .dty-etiket { color: #dc2626; }
.dty-kapali .dty-etiket { color: #94a3b8; }

.dty-btn {
  display: block; text-align: center; text-decoration: none; font-size: .76rem; font-weight: 600;
  padding: 9px 6px; background: #fff; color: var(--brand-deep, #1e7ba3);
  border-top: 1px solid var(--line, #e4e9ee); transition: background .2s, color .2s;
}
.dty-btn:hover { background: var(--brand, #2ba6d6); color: #fff; }

.dty-lejant {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 16px;
  margin-top: 16px; font-size: .76rem; color: var(--ink-soft, #3b5062);
}
.dty-nokta { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.dty-n-uygun { background: #16a34a; } .dty-n-azyer { background: #e8930c; }
.dty-n-dolu { background: #dc2626; }  .dty-n-kapali { background: #cbd5e1; }

/* Dar ekranda gün gizlemek yerine YANA KAYDIRMA — 5 günün hepsine erişilebilsin.
   (Mobil yoğunluk çalışmasının kuralı: bölüm yüksekliği büyümesin, içerik kaybolmasın.) */
@media (max-width: 900px) {
  .dty-satir {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding-bottom: 6px;
  }
  .dty-kart { flex: 0 0 200px; scroll-snap-align: start; }
  .dty-kart:hover { transform: none; }
}
@media (max-width: 560px) {
  .dty { padding: 30px 0 4px; }
  .dty-baslik { margin-bottom: 16px; }
  .dty-baslik p { font-size: .85rem; }
  .dty-satir { gap: 10px; }
  .dty-kart { flex: 0 0 172px; }
  .dty-lejant { gap: 12px; font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dty-kart, .dty-bar i { transition: none; }
}
