/* ==========================================================================
   Ilce sayfalari - ics.css uzerine sayfa tipine ozel katman
   ========================================================================== */

/* Ilce sayfalari dili <html lang> uzerinden degistiriyor (body sinifi degil) */
body { padding-bottom: 0; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 62px;
  padding-inline: var(--gutter);
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.header .logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 800;
  color: var(--ink);
}

.header .logo img { width: auto; height: 26px; filter: none; }

.header-right { display: flex; align-items: center; gap: .5rem; }

.header .menu-toggle { display: inline-flex; align-items: center; }

.lang-btn,
.menu-toggle {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: var(--step--1);
  font-weight: 700;
  padding: .45rem .75rem;
  border-radius: var(--r-full);
  cursor: pointer;
  line-height: 1;
}

.lang-btn:hover,
.menu-toggle:hover { background: var(--line-soft); }

/* ---------- Acilir menu ---------- */
.mobile-menu {
  position: fixed;
  top: 62px; left: 0; right: 0;
  z-index: 890;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.mobile-menu.active { max-height: 320px; }

.mobile-menu a {
  display: block;
  padding: .9rem var(--gutter);
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step-0);
  border-bottom: 1px solid var(--line-soft);
}

.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a:hover { background: var(--brand-50); color: var(--brand-600); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
  padding: .9rem 0;
  font-size: var(--step--1);
  color: var(--muted);
  background: transparent;
}

.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-600); text-decoration: underline; }
.breadcrumb strong { color: var(--ink); font-weight: 600; }

/* ---------- Ilce hero ---------- */
.hero-district {
  padding: clamp(2rem, 1.25rem + 3vw, 3.25rem) var(--gutter) clamp(1.75rem, 1rem + 2vw, 2.5rem);
  text-align: center;
  color: var(--ink);
  background:
    radial-gradient(760px 380px at 20% -20%, var(--brand-100) 0%, transparent 62%),
    radial-gradient(680px 340px at 88% 0%, #e0f2fe 0%, transparent 58%),
    linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
}

.district-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--white);
  border: 1px solid var(--brand-100);
  color: var(--brand-600);
  font-size: var(--step--1);
  font-weight: 700;
  padding: .38rem .85rem;
  border-radius: var(--r-full);
  margin-bottom: .9rem;
  box-shadow: var(--shadow-xs);
}

.hero-district h1 {
  font-size: var(--step-3);
  max-width: 20ch;
  margin-inline: auto;
  margin-bottom: .5rem;
}

.hero-district h1 em { color: var(--brand-600); font-style: normal; }

.hero-district > p {
  color: var(--slate);
  font-size: var(--step-0);
  max-width: 46ch;
  margin: 0 auto 1.5rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--wa);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 700;
  text-decoration: none;
  padding: .9rem 1.5rem;
  border-radius: var(--r-full);
  box-shadow: 0 8px 20px rgba(37, 211, 102, .28);
  transition: transform .18s ease, background .18s ease;
}

.cta-btn:hover { background: var(--wa-dark); transform: translateY(-2px); }
.cta-btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---------- Icerik ---------- */
.content,
.neighborhoods,
.pricing,
.final-cta,
.other-districts {
  padding-block: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  padding-inline: var(--gutter);
}

.content > *,
.neighborhoods > *,
.pricing > *,
.final-cta > *,
.other-districts > * {
  width: min(100%, var(--wrap));
  margin-inline: auto;
}

.content h2,
.neighborhoods h2,
.pricing h2,
.final-cta h2,
.other-districts h2 {
  font-size: var(--step-2);
  margin-bottom: .6rem;
}

.content p { color: var(--slate); font-size: var(--step-0); }

.content ul { margin: 1rem auto 1.5rem; padding: 0; list-style: none; display: grid; gap: .55rem; }

.content li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--slate);
  font-size: var(--step-0);
}

.content li::before {
  content: "";
  position: absolute;
  left: 0; top: .4em;
  width: 1.05rem; height: 1.05rem;
  border-radius: var(--r-full);
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230d9488'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/.72rem no-repeat;
}

/* ---------- Mahalleler ---------- */
.neighborhoods { background: var(--surface); }
.neighborhoods h2 { text-align: center; }

.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .5rem;
  margin-top: 1.25rem;
}

.neighborhood-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: .7rem .5rem;
  text-align: center;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- Fiyat listesi ---------- */
.pricing {
  background: var(--ink);
  background-image:
    radial-gradient(620px 300px at 10% 0%, rgba(13, 148, 136, .26) 0%, transparent 62%),
    radial-gradient(620px 300px at 90% 100%, rgba(56, 189, 248, .16) 0%, transparent 60%);
  color: var(--white);
}

.pricing h2 { color: var(--white); text-align: center; margin-bottom: 1.5rem; }

.price-list {
  display: grid;
  gap: .55rem;
  max-width: 560px;
}

.price-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r);
  padding: .85rem 1.1rem;
  font-size: var(--step-0);
}

.price-item span:first-child { color: rgba(255, 255, 255, .82); }

.price-item span:last-child {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brand-500);
  white-space: nowrap;
}

/* ---------- Kapanis CTA ---------- */
.final-cta { background: var(--surface); text-align: center; }
.final-cta h2 { max-width: 22ch; margin-inline: auto; }
.final-cta p { color: var(--muted); margin-bottom: 1.25rem; }

/* ---------- Diger ilceler ---------- */
.other-districts { background: var(--white); border-top: 1px solid var(--line-soft); text-align: center; }
.other-districts h2 { font-size: var(--step-1); }

.district-links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  margin-top: 1rem;
}

.district-links a {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 500;
  padding: .4rem .7rem;
  border-radius: var(--r-sm);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.district-links a:hover { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-600); }

/* ---------- Sabit donusum cubugu ---------- */
/* Aramalarin cogu mobilden geldigi icin Ara butonu once ve daha genis. */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 850;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: .6rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
}

.sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .8rem 1rem;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
}

.sticky-cta a svg { width: 19px; height: 19px; fill: currentColor; flex: none; }
.sticky-cta .cta-call { background: var(--ink); }
.sticky-cta .cta-wa { background: var(--wa); box-shadow: none; }

/* Sabit cubuk icerigi ortmesin */
body { padding-bottom: 5.25rem; }

@media (min-width: 900px) {
  .sticky-cta {
    left: auto;
    right: clamp(1rem, .5rem + 1.5vw, 1.75rem);
    bottom: clamp(1rem, .5rem + 1.5vw, 1.75rem);
    grid-template-columns: auto auto;
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    padding: .5rem;
    box-shadow: var(--shadow-lg);
  }

  body { padding-bottom: 0; }
}
