/* vizealabilirmiyim.com: ana sayfa ve yasal metinler. Uygulamanın görsel dili: beyaz zemin, siyah metin, yumuşak gri
   yüzeyler, Inter. Tek vurgu, pasaport damgası mavisi; yalnızca damgada ve odak halkasında. */

@font-face { font-family: Inter; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/inter-400.woff') format('woff'); }
@font-face { font-family: Inter; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/inter-500.woff') format('woff'); }
@font-face { font-family: Inter; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/inter-600.woff') format('woff'); }

:root {
  color-scheme: light dark;
  --paper: #ffffff;
  --sunken: #f4f4f2;
  --ink: #141414;
  --muted: #6e6e73;
  --line: #ececea;
  --stamp: #3867a6;
  --measure: 34rem;
  --page: 68rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c0c0d;
    --sunken: #1e1e21;
    --ink: #f4f4f5;
    --muted: #a1a1a6;
    --line: #26262a;
    --stamp: #8faee6;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'ss01';
  letter-spacing: -0.006em;
}

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--stamp); outline-offset: 3px; border-radius: 4px; }

.analytics-settings { color: inherit; background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.analytics-consent { position: fixed; z-index: 100; bottom: 1rem; left: 1rem; right: 1rem; max-width: 48rem; margin: 0 auto; padding: 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); color: var(--ink); box-shadow: 0 4px 32px #0002; }
.analytics-consent[hidden] { display: none; }
.analytics-consent p { margin: .5rem 0 1rem; font-size: .875rem; }
.analytics-consent-actions { display: flex; gap: .75rem; }
.analytics-consent-actions button { flex: 1; padding: .65rem 1rem; border: 1px solid var(--ink); border-radius: .5rem; background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; }
.analytics-consent-actions button:last-child { background: var(--ink); color: var(--paper); }
@media (max-width: 36rem) { .analytics-consent { bottom: .5rem; left: .5rem; right: .5rem; padding: 1rem; } }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

/* Üst şerit: logo ve satırlara yayılabilen menü. */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
.brand { display: inline-flex; align-items: center; width: min(17rem, 100%); flex: none; text-decoration: none; }
.brand picture, .brand img { display: block; width: 100%; height: auto; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; }
.top nav a { color: var(--muted); font-size: 0.875rem; text-decoration: none; white-space: nowrap; }
.top nav a:hover { color: var(--ink); }

/* Giriş: solda başlık ve metin, sağda damga. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(2.5rem, 8vw, 6.5rem) clamp(3rem, 8vw, 6rem);
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6.4vw, 4.75rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero .lead { max-width: var(--measure); margin: 1.5rem 0 0; font-size: 1.1875rem; line-height: 1.55; color: var(--muted); }
.soon { margin: 2rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.soon strong { font-weight: 500; }
.store { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.875rem; color: var(--muted); }
.store svg { width: 1rem; height: 1rem; }
.store-link { color: var(--paper); background: var(--ink); border-color: var(--ink); font-weight: 600; text-decoration: none; }
.store-link:hover { opacity: 0.85; }

/* Damga: tek gösterişli öğe. Yükleniyorken bir kez "basılır". */
.stamp { justify-self: center; width: min(100%, 22rem); text-align: center; }
.stamp svg { display: block; width: 100%; height: auto; color: var(--stamp); transform: rotate(-9deg); }
.stamp figcaption { margin-top: 0.75rem; color: var(--muted); font-size: 0.8125rem; }
@media (prefers-reduced-motion: no-preference) {
  .stamp svg { animation: press 700ms cubic-bezier(0.2, 0.9, 0.2, 1) 250ms both; }
  @keyframes press {
    from { opacity: 0; transform: rotate(-4deg) scale(1.18); }
    60% { opacity: 1; transform: rotate(-9.5deg) scale(0.97); }
    to { opacity: 1; transform: rotate(-9deg) scale(1); }
  }
}

/* Bölümler: başlık solda dar sütunda, içerik sağda. */
.section { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 1.5rem clamp(2rem, 6vw, 5rem); padding-block: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.section h2 { margin: 0; font-size: 1.5rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.025em; }
.section h2 + p { margin: 0.75rem 0 0; color: var(--muted); max-width: 20rem; }
.section h3 { margin: 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.section p { margin: 0.35rem 0 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3rem); counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 0.75rem; }
.steps li::before { content: counter(step); grid-row: span 2; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-weight: 600; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.steps p { color: var(--muted); }

.areas { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); }
.areas div { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.areas dt { font-weight: 600; }
.areas dd { margin: 0.25rem 0 0; color: var(--muted); }

.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3rem); }
.notes p { color: var(--muted); }
.notes ul { margin: 0.5rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.notes li { margin: 0.2rem 0; }

.plain { background: var(--sunken); border-radius: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); margin-block: 0 clamp(2.5rem, 6vw, 4.5rem); }
.plain p { margin: 0; max-width: 46rem; font-size: 1.125rem; line-height: 1.55; }
.plain p + p { margin-top: 0.75rem; color: var(--muted); font-size: 1rem; }

/* Alt bilgi. */
.foot { border-top: 1px solid var(--line); padding-block: 2rem 3rem; color: var(--muted); font-size: 0.875rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-bottom: 1rem; }
.foot nav a { color: var(--ink); text-decoration: none; }
.foot nav a:hover, .foot nav a[aria-current='page'] { text-decoration: underline; }
.foot p { margin: 0.25rem 0 0; }

/* Yasal metin sayfaları. */
.doc { max-width: 46rem; padding-block: 1.5rem 4rem; }
.doc h1 { margin: 0 0 0.5rem; font-size: clamp(1.75rem, 4vw, 2.25rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; }
.doc h2 { margin: 2.25rem 0 0.5rem; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.015em; }
.doc h3 { margin: 1.5rem 0 0.4rem; font-size: 1.0625rem; font-weight: 600; }
.doc p, .doc li { line-height: 1.65; }
.doc ul, .doc ol { padding-left: 1.4rem; }
.doc li { margin: 0.3rem 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.doc td, .doc th { border-top: 1px solid var(--line); padding: 0.5rem 0.5rem 0.5rem 0; vertical-align: top; text-align: left; }
.meta { color: var(--muted); font-size: 0.875rem; margin: 0 0 1.5rem; }

@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr; }
  .stamp { width: min(78%, 18rem); }
  .section { grid-template-columns: 1fr; }
  .section h2 + p { max-width: none; }
}
@media (max-width: 36rem) {
  .top { align-items: flex-start; flex-direction: column; }
  .steps, .areas, .notes { grid-template-columns: 1fr; }
  .hero .lead { font-size: 1.0625rem; }
}

/* Rehber ve ülke sayfaları: tek sütun, 46rem ölçü; damga mavisi yalnızca odak halkasında kalır. */
.article { max-width: 46rem; padding-block: 1rem 4rem; }
.crumbs ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: 0.8125rem; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: 0.35rem; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.article-head { margin-bottom: 1.5rem; }
.kicker { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.8125rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-weight: 600; font-size: 0.75rem; letter-spacing: 0.02em; background: var(--sunken); color: var(--ink); }
.badge-visa_free { background: #e3f3e8; color: #14532d; }
.badge-visa_required, .badge-no_admission { background: #fdecec; color: #7f1d1d; }
.badge-e_visa, .badge-eta, .badge-visa_on_arrival { background: #fff4dd; color: #7c4a03; }
.article h1 { margin: 0; font-size: clamp(1.9rem, 4.6vw, 2.75rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.article h2 { margin: 2.5rem 0 0.75rem; font-size: 1.375rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
.article h2 small { color: var(--muted); font-weight: 400; font-size: 0.875rem; }
.article h3 { margin: 1.5rem 0 0.5rem; font-size: 1.0625rem; font-weight: 600; }
.article p, .article li { line-height: 1.65; }
.lede { font-size: 1.1875rem; color: var(--muted); margin: 1rem 0 0; }
.muted { color: var(--muted); font-size: 0.9375rem; }
.photo { margin: 1.5rem 0 0; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 1rem; background: var(--sunken); }
.photo figcaption { margin-top: 0.5rem; font-size: 0.75rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; margin: 1.25rem 0 0; }
.facts div { padding: 0.6rem 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.facts dd { margin: 0.15rem 0 0; }
.notes-list { margin: 1rem 0 0; padding-left: 1.1rem; }
.steps-list { padding-left: 1.4rem; }
.steps-list li { margin: 0.5rem 0; }
.docs { list-style: none; margin: 0; padding: 0; }
.docs li { padding: 0.75rem 0; border-top: 1px solid var(--line); display: grid; gap: 0.2rem; }
.docs strong { font-weight: 600; }
.docs span { color: var(--muted); font-size: 0.9375rem; }
.docs em { font-style: normal; font-size: 0.8125rem; color: var(--muted); }
.table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; margin: 1rem 0; }
.table th, .table td { border-top: 1px solid var(--line); padding: 0.5rem 0.5rem 0.5rem 0; text-align: left; vertical-align: top; }
.table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.chips { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips a { display: inline-block; padding: 0.45rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 0.9375rem; }
.chips a:hover { border-color: var(--ink); }
.muted-chips a { color: var(--muted); font-size: 0.875rem; }
.country-list { list-style: none; margin: 0.5rem 0 0; padding: 0; columns: 2; column-gap: 2rem; }
.country-list li { break-inside: avoid; display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.4rem 0; border-top: 1px solid var(--line); }
.country-list a { text-decoration: none; }
.country-list a:hover { text-decoration: underline; }
.country-list span { color: var(--muted); font-size: 0.875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.faq details { border-top: 1px solid var(--line); padding: 0.75rem 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: '+'; color: var(--muted); flex: none; }
.faq details[open] summary::after { content: '−'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details div { padding-top: 0.5rem; color: var(--muted); }
.sources { margin-top: 2.5rem; font-size: 0.875rem; color: var(--muted); }
.sources h2 { font-size: 1rem; margin-top: 0; }
.sources ul { padding-left: 1.1rem; }
.sources a { overflow-wrap: anywhere; }
.app-cta p { margin: 0; flex-basis: 100%; }
.app-cta { margin: 1rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.app-cta em { color: var(--muted); font-style: normal; font-size: 0.875rem; }
.button { display: inline-block; padding: 0.7rem 1.2rem; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; border: 1px solid var(--ink); cursor: pointer; font: inherit; font-weight: 600; }
.button:hover { opacity: 0.9; }
.button.secondary { background: transparent; color: var(--ink); }
.hero-links { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.source-link { margin-top: 1rem; }

/* Danışmanlık formu: betik yok; hata metinleri adres parçasıyla (#hata-…) görünür. */
.lead-box { margin-top: 2.5rem; padding: clamp(1.25rem, 4vw, 2rem); border-radius: 1.25rem; background: var(--sunken); }
.lead-box h2 { margin-top: 0; }
.lead { display: grid; gap: 1rem; margin-top: 1rem; }
.field { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.9375rem; }
.field input, .field select, .field textarea { font: inherit; padding: 0.65rem 0.8rem; border: 1px solid var(--line); border-radius: 0.75rem; background: var(--paper); color: var(--ink); width: 100%; }
.lead fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.lead legend { font-weight: 600; font-size: 0.9375rem; padding: 0; margin-bottom: 0.35rem; }
.choice { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 400; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.875rem; color: var(--muted); }
.consent input { margin-top: 0.2rem; flex: none; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; margin: 0; padding: 0.75rem 1rem; border-radius: 0.75rem; background: #fdecec; color: #7f1d1d; font-size: 0.9375rem; }
.form-error:target { display: block; }
.fine { margin: 0; font-size: 0.8125rem; color: var(--muted); }
.foot-guides { margin-bottom: 0.75rem; }
.foot-guides a { color: var(--muted); font-size: 0.8125rem; }

@media (prefers-color-scheme: dark) {
  .badge-visa_free { background: #14532d; color: #dcfce7; }
  .badge-visa_required, .badge-no_admission { background: #7f1d1d; color: #fee2e2; }
  .badge-e_visa, .badge-eta, .badge-visa_on_arrival { background: #7c4a03; color: #fff4dd; }
  .form-error { background: #7f1d1d; color: #fee2e2; }
}
@media (max-width: 36rem) {
  .facts { grid-template-columns: 1fr; }
  .country-list { columns: 1; }
}
