/* Ekspertiz: renkler tek merkezde (CSS değişkenleri), iki tema, WCAG AA kontrast. */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/barlow-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --zemin: #f6f7f4;
  --yuzey: #ffffff;
  --yuzey-2: #eceee9;
  --metin: #1a2026;
  --soluk: #4d5862;
  --cizgi: #d3d8d2;
  --vurgu: #0e6b6b;
  --vurgu-metin: #ffffff;
  --vurgu-2: #a14a04;
  --odak: #0b57d0;
  --bilgi-z: #e3f1f1; --bilgi-m: #0b4f4f;
  --uyari-z: #fdf0d5; --uyari-m: #7a3d00;
  --engel-z: #fbe1df; --engel-m: #8f1c14;
  --tamam: #166534;
  /* Durum renkleri: zemin ve üstündeki yazı */
  --d-orijinal-z: #e4e8e3; --d-orijinal-m: #25303a;
  --d-duzeltme-z: #cdebe6; --d-duzeltme-m: #0c4a43;
  --d-lokal-z: #fbe7a1; --d-lokal-m: #5c4300;
  --d-boyali-z: #f9c99a; --d-boyali-m: #6b2e00;
  --d-sokulmus-z: #cfe0fb; --d-sokulmus-m: #143f85;
  --d-degisen-z: #f4a9a3; --d-degisen-m: #6e0f09;
  --d-hasarli-z: #dcc6f2; --d-hasarli-m: #4a1a7a;
  --d-bakilmadi-z: #ffffff; --d-bakilmadi-m: #4d5862;
  --cam: #c4ccd3;
  --golge: 0 1px 2px rgba(20, 30, 40, .06), 0 4px 16px rgba(20, 30, 40, .06);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --zemin: #11151a;
  --yuzey: #1a2027;
  --yuzey-2: #232b33;
  --metin: #e8ecef;
  --soluk: #a9b4bd;
  --cizgi: #36414b;
  --vurgu: #4fd1c5;
  --vurgu-metin: #0b1a1a;
  --vurgu-2: #f5a524;
  --odak: #8ab4f8;
  --bilgi-z: #12393a; --bilgi-m: #b8f0ea;
  --uyari-z: #43300c; --uyari-m: #ffd99a;
  --engel-z: #4a1714; --engel-m: #ffc2bc;
  --tamam: #86efac;
  --d-orijinal-z: #2c353e; --d-orijinal-m: #dfe5ea;
  --d-duzeltme-z: #124540; --d-duzeltme-m: #b9efe6;
  --d-lokal-z: #5a4708; --d-lokal-m: #ffe9a3;
  --d-boyali-z: #6b3507; --d-boyali-m: #ffd6ae;
  --d-sokulmus-z: #1c3d70; --d-sokulmus-m: #cfe0fb;
  --d-degisen-z: #7a1d16; --d-degisen-m: #ffd0cb;
  --d-hasarli-z: #48246e; --d-hasarli-m: #ead8fb;
  --d-bakilmadi-z: #1a2027; --d-bakilmadi-m: #a9b4bd;
  --cam: #3a4652;
  --golge: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--zemin); color: var(--metin); font: 400 17px/1.6 "Barlow", system-ui, sans-serif; }
a { color: var(--vurgu); text-underline-offset: 2px; }
:root:not([data-theme="dark"]) a { color: #0b5c5c; }
:focus-visible { outline: 3px solid var(--odak); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 0; }
h2 { font-size: 1.5rem; margin: 0 0 .6rem; }
h3 { font-size: 1.15rem; margin: 1.6rem 0 .6rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; background: var(--yuzey-2); padding: .05em .35em; border-radius: 4px; overflow-wrap: anywhere; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.atla { position: absolute; left: 8px; top: -60px; background: var(--vurgu); color: var(--vurgu-metin) !important; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.atla:focus { top: 8px; }

/* Üst bilgi */
.ustbilgi { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 12px clamp(16px, 4vw, 40px); background: var(--yuzey); border-bottom: 1px solid var(--cizgi); position: sticky; top: 0; z-index: 20; }
.marka { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--metin) !important; }
.marka span { display: flex; flex-direction: column; line-height: 1.15; }
.marka strong { font-size: 1.2rem; }
.marka small { color: var(--soluk); font-size: .8rem; }
.menu ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; }
.menu a { color: var(--metin) !important; text-decoration: none; font-weight: 600; padding: 4px 0; border-bottom: 2px solid transparent; }
.menu a[aria-current="page"], .menu a:hover { border-bottom-color: var(--vurgu); }
.araclar { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.arama { position: relative; }
.arama input { width: 13rem; max-width: 46vw; font: inherit; font-size: .95rem; padding: 6px 10px; border: 1px solid var(--cizgi); border-radius: 8px; background: var(--zemin); color: var(--metin); }
.arama-sonuc { position: absolute; right: 0; top: calc(100% + 6px); width: min(22rem, 90vw); background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 10px; box-shadow: var(--golge); padding: 8px; z-index: 30; }
.arama-sonuc ul { list-style: none; margin: 0; padding: 0; }
.arama-sonuc a { display: block; padding: 6px 8px; border-radius: 6px; text-decoration: none; }
.arama-sonuc a:hover, .arama-sonuc a:focus { background: var(--yuzey-2); }
.arama-bos { margin: 4px 8px; color: var(--soluk); }
.dil, .tema { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 36px; padding: 0 10px; border: 1px solid var(--cizgi); border-radius: 8px; background: var(--zemin); color: var(--metin) !important; font: 600 .9rem "Barlow", sans-serif; text-decoration: none; cursor: pointer; }
.tema svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tema .ay { fill: currentColor; stroke: none; }
:root[data-theme="dark"] .tema .ay, :root:not([data-theme="dark"]) .tema .gunes { display: none; }

/* Ana içerik */
main { max-width: 1080px; margin: 0 auto; padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 40px); }
main > section { margin: 0 0 2.2rem; }
.giris { padding-bottom: .4rem; }
.ust-yazi { color: var(--vurgu-2); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; margin: 0 0 .5rem; }
:root:not([data-theme="dark"]) .ust-yazi { color: #8a3f03; }
.baslik-satir { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.giris-yazi { font-size: 1.15rem; max-width: 52rem; }
.kisa-ozet { background: var(--yuzey); border-left: 4px solid var(--vurgu); padding: 10px 14px; border-radius: 6px; max-width: 52rem; }
.dugmeler { display: flex; flex-wrap: wrap; gap: 10px; }
.dugme, button { font: 600 1rem "Barlow", sans-serif; }
.dugme { display: inline-block; padding: 10px 18px; border-radius: 10px; background: var(--vurgu); color: var(--vurgu-metin) !important; text-decoration: none; border: 2px solid var(--vurgu); cursor: pointer; }
.dugme.ikincil { background: transparent; color: var(--vurgu) !important; }
:root:not([data-theme="dark"]) .dugme.ikincil { color: #0b5c5c !important; }
.not { padding: 10px 14px; border-radius: 8px; max-width: 52rem; }
.not.taslak { background: var(--uyari-z); color: var(--uyari-m); }
.not.ornek { background: var(--engel-z); color: var(--engel-m); font-weight: 600; }
.adimlar li { margin-bottom: .5rem; }
details.sss, details.ulke-profili { background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: .6rem 0 .2rem; }
.icindekiler ol { columns: 2 14rem; padding-left: 1.4rem; }
.guncelleme { color: var(--soluk); font-size: .9rem; }
.kucuk-not { color: var(--soluk); font-size: .92rem; }
.kaynaklar li { margin-bottom: .4rem; overflow-wrap: anywhere; }

/* Paylaş */
.paylas { position: relative; }
.paylas-dugme { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--cizgi); border-radius: 999px; background: var(--yuzey); color: var(--metin); cursor: pointer; }
.paylas-dugme svg { fill: none; stroke: currentColor; stroke-width: 2; }
.paylas-menu { position: absolute; left: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 10px; box-shadow: var(--golge); z-index: 25; min-width: 12rem; }
.paylas-menu a, .paylas-menu button { display: block; width: 100%; text-align: left; padding: 6px 10px; border-radius: 6px; background: none; border: 0; color: var(--metin); text-decoration: none; cursor: pointer; font-weight: 400; }
.paylas-menu a:hover, .paylas-menu button:hover { background: var(--yuzey-2); }
.paylas-sonuc { margin: 0; font-size: .9rem; color: var(--soluk); }
@media (max-width: 560px) { .paylas-yazi { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* Tablolar */
.tablo-kap { position: relative; overflow-x: auto; margin: 1rem 0; background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
caption { text-align: left; font-weight: 700; padding: 10px 12px 4px; }
th, td { text-align: left; padding: 8px 12px; border-top: 1px solid var(--cizgi); vertical-align: top; }
thead th { border-top: 0; color: var(--soluk); font-weight: 600; white-space: nowrap; }
tbody th { font-weight: 600; }
td.farkli { box-shadow: inset 3px 0 0 var(--vurgu-2); background: var(--uyari-z); }
.puan { font-size: 1.15rem; }

/* Durum rozetleri ve şema */
.rozetcik { display: inline-flex; align-items: center; justify-content: center; min-width: 2.1em; padding: 0 .35em; height: 1.6em; border-radius: 5px; font-weight: 700; font-size: .85em; border: 1px solid var(--cizgi); }
.d-orijinal { --z: var(--d-orijinal-z); --m: var(--d-orijinal-m); }
.d-duzeltme { --z: var(--d-duzeltme-z); --m: var(--d-duzeltme-m); }
.d-lokal { --z: var(--d-lokal-z); --m: var(--d-lokal-m); }
.d-boyali { --z: var(--d-boyali-z); --m: var(--d-boyali-m); }
.d-sokulmus { --z: var(--d-sokulmus-z); --m: var(--d-sokulmus-m); }
.d-degisen { --z: var(--d-degisen-z); --m: var(--d-degisen-m); }
.d-hasarli { --z: var(--d-hasarli-z); --m: var(--d-hasarli-m); }
.d-bakilmadi { --z: var(--d-bakilmadi-z); --m: var(--d-bakilmadi-m); }
.rozetcik.d-orijinal, .rozetcik.d-duzeltme, .rozetcik.d-lokal, .rozetcik.d-boyali, .rozetcik.d-sokulmus, .rozetcik.d-degisen, .rozetcik.d-hasarli, .rozetcik.d-bakilmadi { background: var(--z); color: var(--m); }
.rozetcik.d-bakilmadi { border-style: dashed; }
.lejant { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .92rem; }
.lejant li { display: flex; align-items: center; gap: 6px; }
.sema { width: 100%; max-width: 170px; height: auto; display: block; margin: 0 auto; }
.sema-cam { fill: var(--cam); }
.sema-parca rect { fill: var(--z); stroke: var(--m); stroke-width: 1.2; }
.d-bakilmadi rect { stroke-dasharray: 3 2; }
.sema-parca text { fill: var(--m); font: 700 12px "Barlow", sans-serif; text-anchor: middle; dominant-baseline: central; }
.sema-parca text.kucuk { font-size: 7px; }
.semalar { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.semalar figure, .sema-tek { margin: 0; background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 10px; padding: 12px; text-align: center; }
.sema-tek { max-width: 230px; }
figcaption { font-weight: 600; margin-top: 6px; }
figcaption small { color: var(--soluk); font-weight: 400; }

/* Bulgular */
.bulgular { list-style: none; padding: 0; }
.bulgu { background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.bulgu.uyari { border-left: 5px solid var(--uyari-m); }
.bulgu.engel { border-left: 5px solid var(--engel-m); }
.bulgu.bilgi { border-left: 5px solid var(--bilgi-m); }
.etiket { display: inline-block; padding: 0 .5em; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.etiket.uyari { background: var(--uyari-z); color: var(--uyari-m); }
.etiket.engel { background: var(--engel-z); color: var(--engel-m); }
.etiket.bilgi { background: var(--bilgi-z); color: var(--bilgi-m); }

/* Dosya ekleme */
.dosya-ekle { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.gorunmez-dosya { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.gorunmez-dosya:focus-visible + .baglanti-dugme, .dosya-ekle:focus-within label { outline: 3px solid var(--odak); outline-offset: 2px; }
.baglanti-dugme { background: none; border: 0; padding: 0; color: var(--vurgu); text-decoration: underline; cursor: pointer; font: inherit; }
:root:not([data-theme="dark"]) .baglanti-dugme { color: #0b5c5c; }

/* Altbilgi (madde 1): iki satır */
.site-altbilgi { border-top: 1px solid var(--cizgi); background: var(--yuzey); padding: 20px clamp(16px, 4vw, 40px) 28px; }
.altbilgi-ust, .altbilgi-alt { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.altbilgi-alt { margin-top: 14px; font-size: .9rem; color: var(--soluk); }
.liste-form { display: flex; align-items: center; gap: 8px; flex: 0 1 auto; min-width: 0; flex-wrap: nowrap; position: relative; }
.liste-alan { position: relative; display: block; min-width: 0; }
.liste-form input[type="email"] { width: 15.5rem; max-width: 100%; min-width: 0; font: inherit; font-size: .95rem; padding: 7px 2px; border: 0; border-bottom: 2px solid var(--soluk); background: transparent; color: var(--metin); }
.liste-form input[type="email"].saydam { color: transparent; }
.liste-form input[type="email"].saydam::placeholder { color: transparent; }
.liste-form button { flex: none; padding: 7px 14px; border-radius: 8px; border: 0; background: var(--vurgu); color: var(--vurgu-metin); cursor: pointer; }
.liste-tamam { position: absolute; inset: 0; display: flex; align-items: center; color: var(--tamam); font-weight: 600; font-size: .95rem; cursor: pointer; background: var(--yuzey); }
.liste-tamam[hidden] { display: none; }
.liste-hata { position: absolute; left: 0; top: 100%; font-size: .85rem; color: var(--engel-m); }
.liste-hata:empty { display: none; }
.bot-tuzagi { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#liste-tamam:target, #liste-tamam-en:target { display: flex !important; }
.sosyal { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; }
.sosyal a { color: var(--vurgu) !important; display: inline-flex; }
:root:not([data-theme="dark"]) .sosyal a { color: #0b5c5c !important; }
.sosyal svg { fill: currentColor; }
.imza img { display: block; }
:root[data-theme="dark"] .rozet-acik, :root:not([data-theme="dark"]) .rozet-koyu { display: none; }
.telif { margin: 0; }
.hukuki { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; margin: 0; padding: 0; }
.hukuki a, .hukuki .baglanti-dugme { color: var(--soluk) !important; font-size: .9rem; }
@media (max-width: 720px) {
  .altbilgi-ust, .altbilgi-alt { flex-direction: column; align-items: flex-start; }
  .hukuki { justify-content: flex-start; }
  .araclar { margin-left: 0; width: 100%; }
  .arama { flex: 1; }
  .arama input { width: 100%; max-width: none; }
  .liste-form { width: 100%; }
  .liste-alan { flex: 1; }
  .liste-form input[type="email"] { width: 100%; }
  .ustbilgi { position: static; }
  .cerez-dugmeleri { width: 100%; }
  .cerez-dugmeleri button { flex: 1 1 0; min-width: 0; padding: 8px 6px; }
}

/* Çerez bandı ve pencere (madde 14) */
.cerez-bant { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; max-width: 900px; margin: 0 auto; background: var(--yuzey); color: var(--metin); border: 1px solid var(--cizgi); border-radius: 12px; box-shadow: var(--golge); padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cerez-bant p { margin: 0; flex: 1 1 20rem; font-size: .95rem; }
.cerez-dugmeleri { display: flex; gap: 8px; flex-wrap: wrap; }
.cerez-dugmeleri button, .pencere-dugmeleri button { min-width: 7.5rem; padding: 8px 14px; border-radius: 8px; border: 2px solid var(--vurgu); background: var(--vurgu); color: var(--vurgu-metin); cursor: pointer; }
.pencere-dugmeleri button.ikincil { background: transparent; color: var(--metin); }
.cerez-pencere { border: 1px solid var(--cizgi); border-radius: 12px; background: var(--yuzey); color: var(--metin); max-width: 30rem; width: calc(100% - 32px); padding: 18px 20px; }
.cerez-pencere::backdrop { background: rgba(0, 0, 0, .45); }
.cerez-grup { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.cerez-grup input { margin-top: 5px; width: 18px; height: 18px; }
.cerez-grup small { color: var(--soluk); }
.pencere-dugmeleri { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }

/* Hata sayfaları: ziyaretçinin dili gösterilir */
.hata-ana { min-height: 50vh; }
.hata-kod { font-size: 4rem; font-weight: 700; color: var(--vurgu); margin: 0; line-height: 1; }
:root[data-tercih-dil="en"] .dil-tr, :root:not([data-tercih-dil="en"]) .dil-en { display: none; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .ustbilgi, .site-altbilgi, .cerez-bant, .paylas, .dosya-ekle { display: none; } body { background: #fff; color: #000; } }
