/* Duyurio web — tek stil dosyası (ana sayfa + ilan sayfaları). */
:root {
  --navy: #010e36;
  --navy-2: #011c5f;
  --blue: #063cff;
  --blue-600: #0533d9;
  --cyan: #16c9f5;
  --ink: #0b1630;
  --text: #24304a;
  --muted: #5f6b85;
  --line: #e3e8f2;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --danger: #c62828;
  --danger-bg: #fdecec;
  --ok: #0f7a4a;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(1, 14, 54, 0.04), 0 8px 24px rgba(1, 14, 54, 0.06);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.8rem, 3.2vw + 1rem, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 1.4vw + 1rem, 2rem); font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.center { text-align: center; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(680px, 100% - 40px); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }

/* ── Butonlar ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; font-weight: 700; font-size: 0.95rem;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { text-decoration: none; border-color: #c9d2e6; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); border-color: var(--blue-600); }
.btn-ghost-light { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.14); }
.btn-sm { padding: 8px 14px; font-size: 0.88rem; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid rgba(6, 60, 255, 0.35); outline-offset: 2px; border-radius: 8px; }

/* ── Header / Footer ── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 1.15rem; }
.brand img { border-radius: 8px; }
.brand:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--text); font-weight: 600; font-size: 0.95rem; }
.nav a[aria-current="page"] { color: var(--blue); }
@media (max-width: 720px) {
  .nav a:not(.btn):not([href="/ilanlar"]) { display: none; }
  .nav { gap: 16px; }
  .hide-sm { display: none; }
}
.header-row { gap: 16px; }
.site-footer { margin-top: 80px; padding: 48px 0 32px; background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.footer-grid a:not(.brand) { display: block; color: var(--text); margin-bottom: 8px; }
.footer-grid p { max-width: 42ch; margin-top: 12px; }
.footer-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.85rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ── Kartlar / rozetler ── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.badge {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; background: #eaf0ff; color: var(--blue-600); white-space: nowrap;
}
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-soft { background: #eef1f7; color: var(--muted); }
.badge-soon { background: #fef3c7; color: #92400e; }
.days.soon { color: #92400e; }
.chip {
  display: inline-flex; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-weight: 600; font-size: 0.9rem; white-space: nowrap;
}
.chip:hover { text-decoration: none; border-color: #c9d2e6; }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ── Ana sayfa: hero ── */
.hero {
  position: relative; overflow: hidden; color: #dfe7ff;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(22, 201, 245, 0.18), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(6, 60, 255, 0.35), transparent 60%),
              linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 72px 0 0;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: end; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .lead { color: #b9c6ea; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.85rem; font-weight: 600; color: #dfe7ff; margin-bottom: 20px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; padding-bottom: 56px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.9rem; color: #fff; font-weight: 800; line-height: 1.1; }
.hero-stats span { font-size: 0.88rem; color: #9fb0dc; }
.hero-phones { display: flex; justify-content: center; gap: 18px; align-self: end; }
.phone {
  width: 230px; border-radius: 34px 34px 0 0; padding: 10px 10px 0;
  background: linear-gradient(180deg, #2a3a66, #1a2649);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.phone img { border-radius: 26px 26px 0 0; }
.phone.back { transform: translateY(40px) scale(0.92); opacity: 0.9; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phones .phone.back { display: none; }
  .phone { width: 210px; }
}

/* ── Store butonları ── */
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px;
  background: #000; color: #fff; font-weight: 700; border: 1px solid #000;
}
.store:hover { text-decoration: none; opacity: 0.9; }
.store svg { width: 22px; height: 22px; fill: currentColor; }
.store small { display: block; font-size: 0.68rem; font-weight: 500; opacity: 0.8; line-height: 1; }
.store-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Bölümler ── */
.section { padding: 80px 0 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head .kicker { color: var(--blue); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.sources { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; color: var(--muted); font-weight: 700; padding: 26px 0; border-bottom: 1px solid var(--line); }
.sources span:first-child { font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 24px; }
.feature .ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: #eaf0ff; color: var(--blue); margin-bottom: 14px;
}
.feature .ic svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.showcase figure { margin: 0; }
.showcase img { border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.showcase figcaption { margin-top: 10px; font-weight: 700; color: var(--ink); }
.showcase figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 900px) { .showcase { grid-template-columns: repeat(2, 1fr); } }

.latest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .latest-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .latest-grid { grid-template-columns: 1fr; } }
.latest-item { padding: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--text); }
.latest-item:hover { text-decoration: none; border-color: #c9d2e6; }
.latest-item strong { color: var(--ink); line-height: 1.35; }
.skeleton { height: 108px; background: linear-gradient(90deg, #eef1f7, #f6f8fc, #eef1f7); background-size: 200% 100%; animation: sk 1.2s infinite linear; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } html { scroll-behavior: auto; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 24px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.step p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); }

.download {
  margin-top: 80px; padding: 48px; border-radius: 24px; color: #dfe7ff;
  background: radial-gradient(700px 300px at 90% 0%, rgba(22, 201, 245, 0.2), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-2));
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.download h2 { color: #fff; }
.download p { color: #b9c6ea; margin: 0; max-width: 52ch; }
.download .store { background: #fff; color: #000; border-color: #fff; }

/* ── İlanlar sayfası ── */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 40px 0 24px; margin-bottom: 24px; }
.filters { display: grid; grid-template-columns: 1fr 220px auto; gap: 10px; margin: 20px 0 14px; }
.filters input, .filters select {
  font: inherit; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); min-width: 0;
}
@media (max-width: 680px) { .filters { grid-template-columns: 1fr 1fr; } .filters input { grid-column: 1 / -1; } }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.result-count { color: var(--muted); font-weight: 600; }
.listing-grid { display: grid; gap: 12px; }
.listing { display: flex; justify-content: space-between; gap: 20px; padding: 18px 20px; color: var(--text); }
.listing:hover { text-decoration: none; border-color: #c9d2e6; }
.listing h3 { margin-bottom: 4px; }
.listing .inst { color: var(--muted); margin: 0 0 6px; }
.listing .meta { margin: 0; font-size: 0.92rem; }
.listing-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; flex-shrink: 0; }
.days { font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.days.danger { color: var(--danger); }
.pub { font-size: 0.82rem; }
@media (max-width: 640px) {
  .listing { flex-direction: column; gap: 10px; }
  .listing-side { flex-direction: row; flex-wrap: wrap; align-items: center; text-align: left; }
}
.pager { display: flex; justify-content: space-between; align-items: center; margin: 24px 0; }
.empty { padding: 40px; text-align: center; }
.cta-band { margin-top: 32px; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-band p { margin: 0; }

/* ── İlan detayı ── */
.detail { padding-top: 28px; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.detail-head h1 { font-size: clamp(1.5rem, 2vw + 1rem, 2.3rem); margin-bottom: 6px; }
.detail-head .inst { color: var(--muted); font-size: 1.05rem; margin-bottom: 12px; }
.status-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-side { position: sticky; top: 84px; display: grid; gap: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact { padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.fact-label { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.fact-value { font-weight: 700; color: var(--ink); }
.block { margin-top: 32px; }
.block h2 { font-size: 1.25rem; }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800; }
.prose p { white-space: pre-line; }
.app-promo { padding: 20px; }
.app-promo .store { padding: 9px 14px; font-size: 0.9rem; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 640px) { .related-grid { grid-template-columns: 1fr; } }
.mini { padding: 16px; display: flex; flex-direction: column; gap: 4px; color: var(--text); }
.mini:hover { text-decoration: none; border-color: #c9d2e6; }
.mini strong { color: var(--ink); }
