/* ihbar.com.tr — global tasarım sistemi */

:root {
  --navy: #0B2745;
  --navy-deep: #071C31;
  --red: #ED1C24;
  --red-hover: #D9161D;
  --blue: #1268B3;
  --green: #16A05D;
  --amber: #F5A623;
  --bg: #F7F9FC;
  --card: #FFFFFF;
  --border: #E1E8F0;
  --text: #102A43;
  --text-secondary: #62758A;
  --radius: 10px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11,39,69,0.04), 0 2px 10px rgba(11,39,69,0.05);
  --shadow-hover: 0 4px 18px rgba(11,39,69,0.10);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: 48px; line-height: 1.12; }
h2 { font-size: 32px; line-height: 1.2; }
h3 { font-size: 22px; line-height: 1.3; }
p { margin: 0; color: var(--text-secondary); }

.eyebrow {
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--navy); }
.btn-outline-white { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.18); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}
.badge-red { background: #FDE8E8; color: #C21319; }
.badge-green { background: #E4F7ED; color: #0F7A46; }
.badge-amber { background: #FEF3DE; color: #92610A; }
.badge-gray { background: #EDF1F5; color: var(--text-secondary); }
.badge-blue { background: #E5F0FA; color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: 72px;
}
.site-header.is-scrolled { box-shadow: 0 2px 14px rgba(11,39,69,.06); }
.site-header .container {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
}
.logo .i { color: var(--red); }
.logo .hbar { color: var(--navy); }
.logo .dot { color: var(--red); }
.logo .tld { color: var(--navy); }
.logo-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0;
  margin-top: 1px;
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 0;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -25px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .15s ease;
}
.main-nav a:hover { color: var(--red); }
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: var(--navy);
  border: 1px solid var(--border);
  background: #fff;
}
.icon-btn:hover { border-color: var(--navy); }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  align-items: center;
  justify-content: center;
}
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--navy);
  position: relative;
}
.hamburger span::before { position: absolute; top: -6px; }
.hamburger span::after { position: absolute; top: 6px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 8px 20px 20px;
}
.mobile-nav a { padding: 12px 0; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--border); }
.mobile-nav.is-open { display: flex; }
.mobile-nav-actions { display: flex; gap: 10px; margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: #EEF2F7; border-top: 1px solid var(--border); padding-top: 56px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 260px; }
.footer-col h4 { font-size: 14px; margin-bottom: 16px; color: var(--navy); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--text-secondary); }
.footer-col ul li a:hover { color: var(--navy); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; color: var(--navy);
  background: #fff; transition: background .15s, color .15s, border-color .15s;
}
.footer-social a svg { display: block; }
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.emergency-card {
  background: #FDEBEC;
  border: 1px solid #F6C6C8;
  border-radius: var(--radius);
  padding: 18px 20px;
}
.emergency-card .num { font-size: 30px; font-weight: 800; color: var(--red); line-height: 1; }
.emergency-card h4 { font-size: 14px; color: #7A1216; margin-bottom: 6px; }
.emergency-card p { font-size: 13px; color: #8A2A2D; margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: linear-gradient(100deg, rgba(7,28,49,.94) 15%, rgba(7,28,49,.55) 55%, rgba(7,28,49,.25) 100%), url('../img/hero-city.jpg') center/cover no-repeat;
  color: #fff;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: #FF7A7E; }
.hero-lead { color: rgba(255,255,255,.82); font-size: 17px; margin-top: 16px; max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-script {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  color: rgba(255,255,255,.65);
  font-size: 15px;
  margin-top: 26px;
}
.hero-cards { display: flex; flex-direction: column; gap: 14px; }
.hero-info-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.hero-info-card h4 { color: #fff; font-size: 15px; margin-bottom: 6px; display:flex; align-items:center; gap:8px; }
.hero-info-card p { color: rgba(255,255,255,.75); font-size: 13.5px; }
.hero-info-card.emergency h4 { color: #FF9497; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 20px;
}
.section-head p { margin-top: 8px; font-size: 15px; }
.link-arrow { color: var(--red); font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.link-arrow:hover { color: var(--red-hover); }

/* ---------- Search block ---------- */
.search-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px;
  margin-top: -64px;
  position: relative;
  z-index: 5;
}
.search-row { display: flex; gap: 12px; }
.search-row input[type=text] {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: var(--bg);
}

/* ---------- Belirgin arama kutusu (harita vb. çıplak sayfa arka planında) ---------- */
.search-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-hover);
  padding: 18px 20px;
}
.prominent-search { position: relative; flex: 1; }
.prominent-search .icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--text-secondary); pointer-events: none; width: 18px; height: 18px;
}
.prominent-search input[type=text] {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(11,39,69,.04);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.prominent-search input[type=text]:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18,104,179,.12);
}
.search-card-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.search-card-row > .field-select { min-width: 160px; }
.search-card-row .prominent-search { min-width: 220px; }

/* ---------- Özel stilli select (tarayıcı varsayılanı yerine) ---------- */
.field-select { position: relative; }
.field-select select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  width: 100%;
  padding: 12px 38px 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field-select::after {
  content: '';
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362758A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
}
.field-select select:hover { border-color: #B9C6D6; }
.field-select select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,104,179,.12); }
.field-select select:invalid, .field-select select.is-placeholder { color: var(--text-secondary); font-weight: 500; }
.filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  margin-top: 14px;
  align-items: stretch;
}
.filter-row input:not(.field-select input) {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 14px;
  color: var(--text);
}
.filter-row .btn { height: 100%; }
.tabs { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.tab {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--bg);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Person cards ---------- */
.person-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.person-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex;
  flex-direction: column;
}
.person-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.person-photo { position: relative; aspect-ratio: 1/1; background: #dbe3ec; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo .badge { position: absolute; top: 10px; right: 10px; }
.person-photo.found-photo { display: flex; align-items: center; justify-content: center; background: #E9F8F0; }
.person-photo.found-photo .icon { width: 44px; height: 44px; color: var(--green); }
.person-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.person-body h3 { font-size: 17px; }
.person-meta { font-size: 13.5px; color: var(--text-secondary); display: flex; flex-direction: column; gap: 3px; }
.person-meta span { display: flex; align-items: center; gap: 6px; }
.person-cta { margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--red); }

/* ---------- Map preview ---------- */
.map-preview {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.map-visual {
  background: #EDF2F8;
  border-radius: var(--radius);
  aspect-ratio: 16/11;
  position: relative;
  overflow: hidden;
}
.map-visual img { width: 100%; height: 100%; object-fit: cover; }
.map-pin { position: absolute; width: 14px; height: 14px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.map-pin.red { background: var(--red); }
.map-pin.navy { background: var(--navy); }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
}
.stats-band .stat + .stat { border-left: 1px solid rgba(255,255,255,.14); }
.stat-num { font-size: 34px; font-weight: 800; }
.stat-num.red { color: #FF9497; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 6px; }
.stats-note { text-align: center; font-size: 12.5px; color: var(--text-secondary); margin-top: 16px; }

/* ---------- CTA cards ---------- */
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cta-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.cta-card .icon-circle {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.cta-card.red .icon-circle { background: #FDE8E8; color: var(--red); }
.cta-card.navy .icon-circle { background: #E5EAF1; color: var(--navy); }
.cta-card.blue .icon-circle { background: #E5F0FA; color: var(--blue); }
.cta-card h3 { margin-bottom: 8px; }
.cta-card p { font-size: 14.5px; margin-bottom: 16px; }

/* ---------- Info panel (mavi doğrulama kutusu) ---------- */
.info-panel {
  background: #E9F2FB;
  border: 1px solid #C8DFF3;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 13.5px;
  color: #0F4E82;
  display: flex;
  gap: 10px;
}

/* ---------- Generic page hero (iç sayfalar) ---------- */
.page-hero {
  background: var(--navy-deep);
  color: #fff;
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero.with-photo {
  background: linear-gradient(100deg, rgba(7,28,49,.92), rgba(7,28,49,.55)), url('../img/hero-city-2.jpg') center/cover;
}
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.page-hero h1 { color: #fff; font-size: 42px; }
.page-hero .lead { color: rgba(255,255,255,.8); margin-top: 10px; max-width: 560px; }
.page-hero-flex { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hero-note {
  font-family: Georgia, serif; font-style: italic; color: rgba(255,255,255,.55);
  position: absolute; right: 48px; top: 40px; font-size: 15px; max-width: 240px; text-align: right;
}

/* ---------- Cards / value grid (Hakkımızda) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
}
.value-card .icon-wrap { color: var(--red); margin-bottom: 14px; }
.value-card h3 { font-size: 16px; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 16px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split .quote-tag {
  position: absolute; font-family: Georgia, serif; font-style: italic; color: #fff; font-size: 15px;
}
.split-media { position: relative; }

.stat-mini-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin: 40px 0; }
.stat-mini { text-align: center; }
.stat-mini .n { font-size: 30px; font-weight: 800; color: var(--navy); }
.stat-mini .l { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

.steps-row { display: flex; justify-content: space-between; position: relative; margin-top: 40px; }
.steps-row::before {
  content: ''; position: absolute; top: 22px; left: 8%; right: 8%; height: 2px; background: var(--border);
}
.step { text-align: center; width: 18%; position: relative; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-weight: 700;
  position: relative; z-index: 2;
}
.step h4 { font-size: 14.5px; margin-bottom: 6px; }
.step p { font-size: 12.5px; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -48px; position: relative; z-index: 5; }
.contact-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
  display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--shadow);
}
.contact-card .ic {
  width: 42px; height: 42px; border-radius: 10px; background: #FDE8E8; color: var(--red);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-card h4 { font-size: 14.5px; margin-bottom: 4px; }
.contact-card p { font-size: 13.5px; }

.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; margin-top: 40px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14.5px;
  font-family: inherit; background: var(--bg);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-secondary); margin-top: 16px; }
.form-check a { color: var(--blue); font-weight: 600; }
.char-count { text-align: right; font-size: 12px; color: var(--text-secondary); margin-top: 4px; }

.side-map-card, .faq-shortcuts { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.side-map-card .map-img { aspect-ratio: 16/10; background: #dbe3ec; }
.side-map-card .map-img img { width: 100%; height: 100%; object-fit: cover; }
.side-map-card-body { padding: 16px; display: flex; justify-content: space-between; align-items: center; }
.faq-shortcuts { padding: 18px; }
.faq-shortcuts h4 { font-size: 14.5px; margin-bottom: 12px; }
.faq-shortcuts li a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.faq-shortcuts li:last-child a { border-bottom: none; }

.cta-banner {
  background: #FDEEEE;
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 60px;
}
.cta-banner h3 { font-size: 19px; }
.cta-banner p { font-size: 14px; margin-top: 4px; }

/* ---------- Kayıp Kişi Detay ---------- */
.detail-grid { display: grid; grid-template-columns: 300px 1fr 300px; gap: 28px; align-items: start; }
.detail-photo { border-radius: var(--radius); overflow: hidden; position: sticky; top: 96px; }
.detail-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.detail-photo-caption {
  background: var(--navy-deep); color: #fff; font-size: 12.5px; text-align: center; padding: 10px;
}
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.gallery-thumb { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; cursor: pointer; border: 1.5px solid var(--border); transition: border-color .15s, opacity .15s; }
.gallery-thumb:hover { border-color: var(--red); opacity: .9; }

.lightbox-overlay {
  display: none; position: fixed; inset: 0; background: rgba(7,28,49,.92); z-index: 1000;
  align-items: center; justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: min(88vw, 900px); max-height: 86vh; object-fit: contain; border-radius: 10px; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; cursor: pointer;
}
.lightbox-close .icon { width: 30px; height: 30px; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: none;
  color: #fff; width: 48px; height: 48px; border-radius: 999px; font-size: 30px; line-height: 1; cursor: pointer;
}
.lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-counter { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; }
@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 24px; }
  .lightbox-nav.prev { left: 8px; } .lightbox-nav.next { right: 8px; }
}
.share-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; min-width: 210px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-hover);
  padding: 6px; flex-direction: column;
}
.share-menu.open { display: flex; }
.share-menu a, .share-menu button {
  display: block; width: 100%; text-align: left; padding: 9px 10px; font-size: 13.5px; font-weight: 600;
  color: var(--navy); border-radius: 6px; background: none; border: none; cursor: pointer; font-family: inherit;
}
.share-menu a:hover, .share-menu button:hover { background: var(--bg); }
.eye-toggle-btn {
  background: none; border: none; padding: 2px; cursor: pointer; color: var(--text-secondary);
  display: inline-flex; align-items: center; transition: color .15s;
}
.eye-toggle-btn:hover { color: var(--blue); }
.eye-toggle-btn .icon { width: 16px; height: 16px; }
.case-no { font-size: 13px; color: var(--text-secondary); font-weight: 600; }
.detail-name { font-size: 30px; margin-top: 6px; }
.detail-sub { font-size: 15px; color: var(--text-secondary); margin-top: 4px; }
.key-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.key-fact { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }
.key-fact .l { font-size: 12px; color: var(--text-secondary); }
.key-fact .v { font-size: 14.5px; font-weight: 700; margin-top: 2px; }
.detail-tabs { display: flex; gap: 4px; margin-top: 30px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.detail-tabs a { padding: 10px 16px; font-size: 13.5px; font-weight: 600; color: var(--text-secondary); border-bottom: 2px solid transparent; }
.detail-tabs a:hover, .detail-tabs a.active { color: var(--navy); border-color: var(--red); }
.detail-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.detail-table tr { border-bottom: 1px solid var(--border); }
.detail-table th { text-align: left; padding: 11px 0; width: 220px; font-size: 13.5px; color: var(--text-secondary); font-weight: 600; vertical-align: top; }
.detail-table td { padding: 11px 0; font-size: 14.5px; }
.detail-section { margin-top: 34px; }
.detail-section h3 { margin-bottom: 4px; }
.detail-map { border-radius: var(--radius); aspect-ratio: 16/8; background: linear-gradient(135deg,#DCE6F2,#EAF0F7); position: relative; margin-top: 14px; overflow: hidden; }
.detail-map .radius-circle { position: absolute; width: 90px; height: 90px; border-radius: 50%; background: rgba(237,28,36,.18); border: 2px solid rgba(237,28,36,.5); top: 40%; left: 45%; transform: translate(-50%,-50%); }
.detail-map .radius-circle::after { content:''; position:absolute; inset:32%; background: var(--red); border-radius:50%; }
.map-caption { font-size: 12.5px; color: var(--text-secondary); margin-top: 8px; }
.timeline { margin-top: 18px; }
.timeline-item { display: flex; gap: 14px; padding-bottom: 22px; position: relative; }
.timeline-item::before { content:''; position:absolute; left:5px; top:16px; bottom:-6px; width:2px; background:var(--border); }
.timeline-item:last-child::before { display:none; }
.timeline-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
.timeline-dot.bilgi { background: var(--navy); }
.timeline-dot.kritik { background: var(--red); }
.timeline-dot.dogrulanmis { background: var(--green); }
.timeline-item h4 { font-size: 14.5px; }
.timeline-item .date { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.timeline-item p { font-size: 13.5px; margin-top: 4px; }
.action-panel { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; }
.action-panel-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.share-row { display: flex; gap: 10px; }
.detail-cta-banner {
  background: var(--red); color: #fff; border-radius: 16px; padding: 32px; text-align: center; margin-top: 48px;
}
.detail-cta-banner h3 { color: #fff; font-size: 24px; }
.detail-cta-banner p { color: rgba(255,255,255,.85); margin-top: 8px; }
.similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 16px; }

@media (max-width: 1100px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid > div { min-width: 0; }
  .detail-photo, .action-panel { position: static; }
  .key-facts { grid-template-columns: repeat(2,1fr); }
}

/* ---------- Harita Sayfası ---------- */
.map-page-layout { display: grid; grid-template-columns: 28% 1fr; gap: 20px; margin-top: 24px; align-items: start; }
.map-list-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.map-list-search { padding: 14px; border-bottom: 1px solid var(--border); }
.map-list-search input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13.5px; }
.map-list-scroll { max-height: 560px; overflow-y: auto; }
.map-list-item { display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--border); cursor: pointer; align-items: center; }
.map-list-item:hover { background: var(--bg); }
.map-list-item img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.map-list-thumb-found {
  width: 42px; height: 42px; border-radius: 8px; flex-shrink: 0; background: #E9F8F0; color: #16A05D;
  display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; text-align: center; line-height: 1.2;
}
.map-list-item .n { font-size: 13.5px; font-weight: 700; }
.map-list-item .m { font-size: 12px; color: var(--text-secondary); }
.map-main-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.map-region-tabs-wrap { position: relative; }
.map-region-tabs { display: flex; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--border); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.map-region-tabs .tab { padding: 7px 9px; font-size: 12px; white-space: nowrap; flex-shrink: 0; }
@media (max-width: 900px) {
  .map-region-tabs-wrap::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 1px; width: 32px; pointer-events: none;
    background: linear-gradient(to right, rgba(255,255,255,0), #fff);
  }
}
#leafletMap { height: 560px; width: 100%; }
/* OpenStreetMap kaynak belirtme metni lisans gereği kaldırılamaz, yalnızca göze daha az çarpacak şekilde küçültülür. */
.leaflet-control-attribution { font-size: 9px; padding: 1px 5px; opacity: .65; background: rgba(255,255,255,.75); }
.leaflet-control-attribution a { color: inherit; }
.leaflet-control-attribution svg { height: 10px; vertical-align: middle; }
.map-legend { display: flex; gap: 18px; padding: 12px 16px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-secondary); flex-wrap: wrap; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.map-layers-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-top: 18px; }
.map-layers-panel label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 7px 0; }
.leaflet-div-icon-person { background: var(--red); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.leaflet-div-icon-person.found { background: var(--navy); }

/* ---------- SSS ---------- */
.sss-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; margin-top: 30px; align-items: start; }
.sss-cats { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: sticky; top: 96px; }
.sss-cats a { display: block; padding: 13px 16px; font-size: 13.5px; font-weight: 600; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.sss-cats a:last-child { border-bottom: none; }
.sss-cats a.active, .sss-cats a:hover { color: var(--red); background: #FDF3F3; }
.sss-group h3 { font-size: 16px; margin: 30px 0 14px; color: var(--navy); }
.sss-group:first-child h3 { margin-top: 0; }
.sss-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; background: #fff; overflow: hidden; }
.sss-q { padding: 15px 18px; font-size: 14.5px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.sss-q .chev { transition: transform .15s ease; color: var(--text-secondary); }
.sss-item.open .sss-q .chev { transform: rotate(180deg); }
.sss-a { max-height: 0; overflow: hidden; transition: max-height .2s ease; font-size: 14px; color: var(--text-secondary); }
.sss-item.open .sss-a { max-height: 400px; }
.sss-a-inner { padding: 0 18px 16px; }
.sss-search-box { position: relative; margin-top: -48px; z-index: 5; }

/* ---------- Form wizard (Kayıp Kişi Bildir) ---------- */
.wizard-progress { display: flex; justify-content: space-between; margin: 30px 0 40px; position: relative; }
.wizard-progress::before { content:''; position:absolute; top:18px; left:5%; right:5%; height:2px; background:var(--border); z-index:0; }
.wizard-step-indicator { text-align:center; width: 20%; position: relative; z-index: 1; }
.wizard-step-indicator .c { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--border); color: var(--text-secondary); display:flex; align-items:center; justify-content:center; margin: 0 auto 8px; font-weight: 700; font-size: 13.5px; }
.wizard-step-indicator.active .c { border-color: var(--red); color: var(--red); }
.wizard-step-indicator.done .c { background: var(--red); border-color: var(--red); color: #fff; }
.wizard-step-indicator .t { font-size: 11.5px; color: var(--text-secondary); }
.wizard-step-indicator.active .t { color: var(--navy); font-weight: 700; }
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 28px; }
.otp-row { display: flex; gap: 10px; align-items: flex-end; }
.otp-row .form-group { flex: 1; margin-top: 0; }
.otp-banner { background: #E9F2FB; border: 1px solid #C8DFF3; border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13.5px; color: #0F4E82; margin-top: 12px; }
.dropzone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 26px; text-align: center; background: var(--bg); cursor: pointer; }
.dropzone:hover { border-color: var(--blue); }
.dropzone .files { margin-top: 10px; font-size: 12.5px; color: var(--text-secondary); text-align: left; }
.summary-table { width: 100%; border-collapse: collapse; }
.summary-table th { text-align: left; color: var(--text-secondary); font-size: 13px; padding: 8px 0; width: 200px; vertical-align: top; }
.summary-table td { padding: 8px 0; font-size: 14px; }
.pick-map { height: 260px; border-radius: var(--radius-sm); margin-top: 8px; }
.ref-success { text-align: center; padding: 50px 20px; }
.ref-success .code { font-size: 30px; font-weight: 800; color: var(--red); margin: 16px 0; letter-spacing: .03em; }

.note-card { background:#FBFAF5; border:1px solid #EFE7C8; border-radius:var(--radius); padding:18px 20px; margin-top:22px; }
.note-card h4 { font-size:14.5px; margin-bottom:12px; color:var(--navy); }
.note-row { display:flex; justify-content:space-between; gap:16px; padding:9px 0; border-bottom:1px solid #EFE7C8; font-size:13.5px; }
.note-row:last-child { border-bottom:none; }
.note-row.column { flex-direction:column; gap:6px; }
.note-row.column p { font-size:13.5px; color:var(--text); line-height:1.6; }
.note-label { color:var(--text-secondary); font-weight:600; flex-shrink:0; }

/* ---------- Icons ---------- */
.icon { width: 18px; height: 18px; display: inline-block; vertical-align: -4px; flex-shrink: 0; }
.icon-sm { width: 14px; height: 14px; vertical-align: -2px; }
.icon-lg { width: 26px; height: 26px; vertical-align: -6px; }
.icon-xl { width: 34px; height: 34px; vertical-align: -8px; }
.icon-circle .icon, .value-card .icon-wrap .icon, .contact-card .ic .icon { width: 22px; height: 22px; vertical-align: middle; }
.hero-info-card h4 .icon, .info-panel > .icon, .note-card h4 .icon { width: 17px; height: 17px; vertical-align: -3px; }
.emergency-card h4 .icon { width: 15px; height: 15px; vertical-align: -2px; }
.person-meta .icon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 1px; }
.detail-photo-caption .icon, .faq-shortcuts h4 .icon, .side-map-card-body .icon { width: 15px; height: 15px; vertical-align: -2px; }
.dropzone .icon, .admin-dropzone .icon { width: 22px; height: 22px; vertical-align: middle; display: block; margin: 0 auto 6px; }
.map-legend .icon { width: 13px; height: 13px; vertical-align: -2px; }

/* ---------- Yasal sayfa içeriği ---------- */
.legal-content { max-width: 820px; }
.legal-content .updated-note { font-size: 13px; color: var(--text-secondary); margin-bottom: 30px; }
.legal-content h2 { font-size: 21px; margin-top: 38px; margin-bottom: 12px; color: var(--navy); }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { font-size: 14.5px; color: var(--text); line-height: 1.75; margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.legal-content li { font-size: 14.5px; color: var(--text); line-height: 1.7; margin-bottom: 7px; }
.legal-content strong { color: var(--navy); }
.legal-content table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: 13.5px; }
.legal-content th, .legal-content td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; }
.legal-content th { background: var(--bg); color: var(--navy); font-weight: 700; }
.legal-toc { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 32px; }
.legal-toc h4 { font-size: 13.5px; margin-bottom: 10px; }
.legal-toc ol { padding-left: 18px; margin: 0; }
.legal-toc li { font-size: 13.5px; margin-bottom: 6px; }
.legal-toc a { color: var(--blue); }

/* ---------- Bulundu / Found panel ---------- */
.found-panel {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 56px 40px; text-align: center; box-shadow: var(--shadow-hover);
}
.found-icon {
  width: 76px; height: 76px; border-radius: 999px; background: #E9F8F0;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
  color: var(--green);
}
.found-icon .icon { width: 40px; height: 40px; }
.found-panel h1 { font-size: 26px; color: var(--navy); }
.found-panel .found-sub { font-size: 15px; font-weight: 700; color: var(--green); margin-top: 6px; }
.found-panel .found-text { font-size: 14.5px; color: var(--text-secondary); line-height: 1.7; margin-top: 16px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.bg-white { background: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .person-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .contact-cards, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions .btn { display: none; }
  .hamburger { display: flex; }
  .hero .container, .split, .map-preview, .contact-layout { grid-template-columns: 1fr; }
  .map-page-layout, .sss-layout { grid-template-columns: 1fr; }
  .map-page-layout > div { min-width: 0; }
  .map-list-item { min-width: 0; }
  .map-list-item > div:last-child { min-width: 0; overflow: hidden; }
  .sss-cats { position: static; display: flex; overflow-x: auto; }
  .sss-cats a { white-space: nowrap; border-bottom: none; border-right: 1px solid var(--border); }
  .wizard-step-indicator .t { display: none; }
  .stats-band { grid-template-columns: repeat(2,1fr); row-gap: 24px; }
  .stats-band .stat:nth-child(odd) { border-left: none; }
  .cta-grid { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; gap: 24px; }
  .steps-row::before { display: none; }
  .step { width: 100%; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  h1, .hero h1 { font-size: 32px; }
  .page-hero h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .person-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .filter-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards, .value-grid { grid-template-columns: 1fr; }
  .search-row { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-banner { flex-direction: column; text-align: center; }
  .hero-note { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .otp-row { flex-direction: column; align-items: stretch; }
  .otp-row .btn { width: 100%; }
  .wizard-progress { overflow-x: auto; }
  .map-list-scroll { max-height: 320px; }
  #leafletMap, .pick-map { height: 320px; }
  .map-region-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .detail-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .detail-tabs a { white-space: nowrap; flex-shrink: 0; }
}
