/* Bölgeler (Regions) landing sayfası — .ilke-* tasarım sistemi üzerine kurulu. */

.bolge-page {
  --bolge-accent: var(--ilke-accent, #ff7d32);
  --bolge-accent-dk: var(--ilke-accent-dk, #e05e14);
  --bolge-dark: var(--surface-dark, #0f172a);
  --bolge-ink: var(--ink, #0f172a);
  --bolge-soft: var(--ink-soft, #64748b);
  --bolge-surface: var(--surface, #f8fafc);
  --bolge-border: var(--border, #e2e8f0);
  --bolge-success: #059669;
  --bolge-amber: #d97706;
}

/* ── Hero ── */
.bolge-hero {
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--bolge-border);
  background: #fff;
}
.bolge-hero__copy { display: flex; flex-direction: column; gap: 22px; }
.bolge-hero__copy--center {
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.bolge-hero__copy--center .bolge-badge { align-self: center; }
.bolge-hero__copy--center .bolge-hero__lead { margin-inline: auto; }
.bolge-hero__copy--center .bolge-note { max-width: 620px; margin-inline: auto; text-align: left; }
.bolge-hero__copy--center .bolge-hero__cta { justify-content: center; }

.bolge-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bolge-surface);
  border: 1px solid var(--bolge-border);
  font-size: .76rem;
  font-weight: 600;
  color: var(--bolge-soft);
}
.bolge-badge i { color: var(--bolge-accent); font-size: 1em; }

.bolge-hero__title {
  margin: 0;
  font-family: var(--font-heading, 'TT Hoves Medium', sans-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--bolge-dark);
}
.bolge-hero__lead {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--bolge-soft);
  max-width: 36em;
}

.bolge-note {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--bolge-accent) 7%, #fff);
  border: 1px solid color-mix(in srgb, var(--bolge-accent) 22%, transparent);
}
.bolge-note i { color: var(--bolge-accent); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.bolge-note p { margin: 0; font-size: .84rem; line-height: 1.6; color: var(--bolge-soft); }
.bolge-note a { color: var(--bolge-accent-dk); font-weight: 700; text-decoration: underline; }

.bolge-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Canlı sevk / mahalle seçici ── */
.bolge-dispatch {
  max-width: 720px;
  margin: 0 auto;
}

/* Mahalle seçim kutusu (temaya uygun) */
.bolge-dispatch__pick { margin-bottom: 22px; }
.bolge-dispatch__pick-label {
  display: block;
  font-size: .78rem; font-weight: 700; color: var(--bolge-dark);
  margin-bottom: 8px;
}
.bolge-dispatch__selectwrap { position: relative; }
.bolge-dispatch__select-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  font-size: 1.2rem; color: var(--bolge-accent); pointer-events: none;
}
.bolge-dispatch__caret {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 1rem; color: var(--bolge-soft); pointer-events: none;
}
.bolge-dispatch__select {
  width: 100%;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding: 16px 44px 16px 46px;
  border-radius: 16px;
  border: 2px solid var(--bolge-border);
  background: #fff;
  font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--bolge-dark);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.bolge-dispatch__select:hover { border-color: color-mix(in srgb, var(--bolge-accent) 45%, transparent); }
.bolge-dispatch__select:focus {
  outline: none;
  border-color: var(--bolge-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--bolge-accent) 18%, transparent);
}

.bolge-dispatch__resulthead {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  margin-bottom: 16px;
}
.bolge-dispatch__status { flex-shrink: 0; margin-top: 18px; }

.bolge-hood__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 800;
  white-space: nowrap;
}
.bolge-hood__pulse { width: 7px; height: 7px; border-radius: 50%; }
.bolge-hood__status.is-active { color: var(--bolge-success); background: #ecfdf5; }
.bolge-hood__status.is-active .bolge-hood__pulse { background: var(--bolge-success); animation: bolgePulse 1.6s ease infinite; }
.bolge-hood__status.is-onway { color: var(--bolge-amber); background: #fffbeb; }
.bolge-hood__status.is-onway .bolge-hood__pulse { background: var(--bolge-amber); }
.bolge-hood__status.is-offline { color: var(--bolge-soft); background: var(--bolge-surface); }
.bolge-hood__status.is-offline .bolge-hood__pulse { background: var(--bolge-soft); }
@keyframes bolgePulse { 0% { box-shadow: 0 0 0 0 rgba(5,150,105,.4);} 70% { box-shadow: 0 0 0 6px rgba(5,150,105,0);} 100% { box-shadow: 0 0 0 0 rgba(5,150,105,0);} }

.bolge-dispatch__panel {
  padding: 30px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--bolge-border);
  box-shadow: 0 16px 48px -28px rgba(15, 23, 42, .25);
}
.bolge-dispatch__kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bolge-accent); margin-bottom: 16px;
}
.bolge-dispatch__label { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bolge-soft); }
.bolge-dispatch__title { margin: 4px 0 0; font-size: 1.5rem; font-weight: 700; color: var(--bolge-dark); }
.bolge-dispatch__rows {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px; border-radius: 14px; background: var(--bolge-surface); border: 1px solid var(--bolge-border);
}
.bolge-dispatch__rows > div { display: flex; justify-content: space-between; gap: 10px; font-size: .8rem; color: var(--bolge-soft); }
.bolge-dispatch__rows strong { color: var(--bolge-dark); }
.bolge-dispatch__note { margin: 16px 0; font-size: .76rem; line-height: 1.6; color: var(--bolge-soft); }
.bolge-dispatch__btn { width: 100%; }

/* ── Nasıl çalışır ── */
.bolge-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bolge-step {
  padding: 24px;
  border-radius: 18px;
  background: var(--bolge-surface);
  border: 1px solid var(--bolge-border);
}
.bolge-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--bolge-dark); color: var(--surface-dark-text, #fff); font-weight: 800; font-size: .9rem; margin-bottom: 16px;
}
.bolge-step:nth-child(2) .bolge-step__num { background: var(--bolge-accent); }
.bolge-step:last-child .bolge-step__num { background: var(--bolge-success); }
.bolge-step h4 { margin: 0 0 8px; font-size: 1rem; font-weight: 700; color: var(--bolge-dark); }
.bolge-step p { margin: 0; font-size: .82rem; line-height: 1.6; color: var(--bolge-soft); }

/* ── Mikro-lokal mahalle ağı ── */
.bolge-network { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.bolge-network__intro { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 14px; }
.bolge-network__phone {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 6px;
  padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--bolge-border);
  font-size: .82rem; color: var(--bolge-ink); font-weight: 600;
}
.bolge-network__phone i { color: var(--bolge-success); font-size: 1.1rem; }
.bolge-network__phone strong { color: var(--bolge-accent-dk); }
.bolge-network__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bolge-network__card { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--bolge-border); transition: border-color .15s ease; }
.bolge-network__card:hover { border-color: var(--bolge-accent); }
.bolge-network__card h4 { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; font-size: .92rem; font-weight: 700; color: var(--bolge-dark); }
.bolge-network__card p { margin: 0; font-size: .8rem; line-height: 1.6; color: var(--bolge-soft); }
.bolge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bolge-accent); flex-shrink: 0; }

/* ── SSS ── */
.bolge-faq { display: flex; flex-direction: column; gap: 12px; }
.bolge-faq__item { border: 1px solid var(--bolge-border); border-radius: 16px; overflow: hidden; background: #fff; }
.bolge-faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; background: #fff; border: 0; text-align: left; cursor: pointer;
  font-size: .95rem; font-weight: 700; color: var(--bolge-dark);
}
.bolge-faq__q i { color: var(--bolge-soft); transition: transform .2s ease; flex-shrink: 0; }
.bolge-faq__item.is-open .bolge-faq__q i { transform: rotate(180deg); }
.bolge-faq__a { max-height: 0; overflow: hidden; padding: 0 20px; font-size: .86rem; line-height: 1.7; color: var(--bolge-soft); transition: max-height .25s ease, padding .25s ease; }
.bolge-faq__item.is-open .bolge-faq__a { max-height: 420px; padding: 0 20px 18px; }

/* ── CTA ── */
.bolge-cta-section { padding-top: 0; }
.bolge-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 40px; border-radius: 24px; background: var(--bolge-dark); color: var(--surface-dark-text, #fff);
}
.bolge-cta h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; }
.bolge-cta p { margin: 0; font-size: .92rem; color: #cbd5e1; max-width: 40em; }
.bolge-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.bolge-cta__actions .ilke-btn--outline { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); }
.bolge-cta__actions .ilke-btn--outline:hover { background: rgba(255,255,255,.16); }

/* ── Dizin (/bolgeler) ── */
.bolge-hero--index { padding-bottom: 48px; }
.bolge-hero--index .bolge-badge { margin-bottom: 18px; }
.bolge-index__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bolge-index__card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--bolge-border);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.bolge-index__card:hover { border-color: var(--bolge-accent); transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(15,23,42,.3); }
.bolge-index__type { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bolge-accent); }
.bolge-index__card h3 { margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--bolge-dark); }
.bolge-index__card p { margin: 0; font-size: .82rem; line-height: 1.6; color: var(--bolge-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bolge-index__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: .8rem; font-weight: 700; color: var(--bolge-accent-dk); }
.bolge-empty { text-align: center; color: var(--bolge-soft); padding: 40px 0; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .bolge-network { grid-template-columns: 1fr; gap: 28px; }
  .bolge-network__intro { position: static; }
  .bolge-steps { grid-template-columns: 1fr 1fr; }
  .bolge-index__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .bolge-steps { grid-template-columns: 1fr; }
  .bolge-network__grid { grid-template-columns: 1fr; }
  .bolge-index__grid { grid-template-columns: 1fr; }
}
