/* Meslek Rotası: renkler tek merkezden (madde 3). */
@font-face {
  font-family: "Figtree";
  src: url("/varliklar/figtree-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Figtree";
  src: url("/varliklar/figtree-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-display: swap;
  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: #f7f5ef;
  --yuzey: #ffffff;
  --yuzey-2: #eef3ef;
  --metin: #1c2421;
  --soluk: #4a5752;
  --cizgi: #d5ddd8;
  --vurgu: #0f5c4d;
  --vurgu-metin: #ffffff;
  --vurgu-acik: #d8ebe4;
  --uyari-zemin: #fff6dc;
  --uyari-cizgi: #c99a1c;
  --tamam: #166534;
  --hata: #b42318;
  --odak: #c2410c;
  --golge: 0 1px 2px rgb(0 0 0 / 0.06), 0 4px 14px rgb(0 0 0 / 0.05);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --zemin: #0f1513;
  --yuzey: #17201d;
  --yuzey-2: #1d2a26;
  --metin: #e7eeea;
  --soluk: #a9b8b1;
  --cizgi: #2f3d38;
  --vurgu: #5fd0b2;
  --vurgu-metin: #06231c;
  --vurgu-acik: #173a31;
  --uyari-zemin: #2b2512;
  --uyari-cizgi: #b88d1f;
  --tamam: #86efac;
  --hata: #fca5a5;
  --odak: #fdba74;
  --golge: 0 1px 2px rgb(0 0 0 / 0.4);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--zemin);
  color: var(--metin);
}
a { color: var(--vurgu); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--odak); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 0.4em 0 0.3em; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: 1.35rem; margin-top: 2em; }
h3 { font-size: 1.08rem; margin: 0.1em 0 0.2em; }
code { font-size: 0.92em; background: var(--yuzey-2); padding: 0.05em 0.35em; border-radius: 4px; }
.kap { max-width: 68rem; margin: 0 auto; padding: 0 16px; }
main.kap { padding-bottom: 3rem; min-height: 60vh; }
.gorunmez, .ekran-okuyucu { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.atla { position: absolute; left: -999px; top: 0; background: var(--vurgu); color: var(--vurgu-metin); padding: 0.5rem 1rem; z-index: 50; }
.atla:focus { left: 8px; }

/* Üst */
.ust { border-bottom: 1px solid var(--cizgi); background: var(--yuzey); }
.ust-ic { display: flex; align-items: center; gap: 1rem; min-height: 60px; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 1.15rem; color: var(--metin); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.logo-isaret { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 0.5rem; background: var(--vurgu); color: var(--vurgu-metin); font-size: 1rem; }
.ust-nav { display: flex; gap: 1rem; margin-right: auto; }
.ust-nav a { color: var(--metin); text-decoration: none; font-weight: 600; }
.ust-nav a:hover { color: var(--vurgu); }
.ust-arac { display: flex; gap: 0.4rem; align-items: center; }
.dugme-simge, .dil-dugme {
  min-width: 2.5rem; height: 2.5rem; display: inline-grid; place-items: center; border-radius: 0.6rem;
  border: 1px solid var(--cizgi); background: var(--yuzey); color: var(--metin); font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; padding: 0 0.6rem;
}
.dugme-simge:hover, .dil-dugme:hover { border-color: var(--vurgu); }
.tema-ay { display: none; }
:root[data-theme="dark"] .tema-ay { display: inline; }
:root[data-theme="dark"] .tema-gunes { display: none; }
@media (max-width: 560px) { .ust-nav { order: 3; width: 100%; padding-bottom: 0.5rem; } }

/* Düğme ve formlar */
.dugme {
  font: inherit; font-weight: 700; border-radius: 0.6rem; padding: 0.55rem 1rem; cursor: pointer;
  border: 1px solid var(--vurgu); background: var(--yuzey); color: var(--vurgu);
}
.dugme:hover { background: var(--vurgu-acik); }
.ana-dugme { background: var(--vurgu); color: var(--vurgu-metin); }
.ana-dugme:hover { filter: brightness(1.08); background: var(--vurgu); }
select, input[type="search"], input[type="email"] {
  font: inherit; color: var(--metin); background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 0.6rem; padding: 0.55rem 0.7rem; max-width: 100%;
}
.baglanti-dugme { background: none; border: 0; padding: 0; font: inherit; color: var(--vurgu); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }

/* Ana sayfa */
.kahraman { padding: 2.2rem 0 1rem; }
.ozet { font-size: 1.15rem; color: var(--soluk); max-width: 48rem; }
.secim { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: end; background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 1rem; padding: 1rem; box-shadow: var(--golge); margin-top: 1.2rem; }
.secim label { display: grid; gap: 0.25rem; font-weight: 700; flex: 1 1 14rem; }
.secim select { width: 100%; }
.secim-sonuc { flex-basis: 100%; margin: 0; color: var(--soluk); min-height: 1.4em; }
.uyari { background: var(--uyari-zemin); border-left: 4px solid var(--uyari-cizgi); padding: 0.7rem 1rem; border-radius: 0.4rem; margin: 1.4rem 0; }
.tablo-kap { overflow-x: auto; border: 1px solid var(--cizgi); border-radius: 0.8rem; background: var(--yuzey); }
.matris { border-collapse: collapse; width: 100%; min-width: 36rem; }
.matris th, .matris td { padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--cizgi); text-align: left; vertical-align: top; }
.matris thead th { background: var(--yuzey-2); position: sticky; top: 0; }
.matris td.yok { color: var(--soluk); font-style: italic; }
.sss h3 { margin-top: 1.2em; }

/* Kırıntı ve başlık */
.kirinti ol { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.3rem; color: var(--soluk); font-size: 0.95rem; }
.kirinti li + li::before { content: "›"; margin-right: 0.3rem; }
.baslik-satir { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: space-between; }
.baslik-satir h1 { flex: 1 1 20rem; }

/* Rota */
.kunye { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.8rem; margin: 1rem 0; }
.kunye div { background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 0.8rem; padding: 0.7rem 0.9rem; }
.kunye dt { font-size: 0.85rem; color: var(--soluk); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.kunye dd { margin: 0.2rem 0 0; font-weight: 600; }
.adimlar { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.adim { display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.8rem; background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 0.9rem; padding: 0.9rem 1rem; }
.adim p { margin: 0.2rem 0 0; }
.adim-no { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--vurgu); color: var(--vurgu-metin); font-weight: 800; }
.adim-tur { font-size: 0.8rem !important; text-transform: uppercase; letter-spacing: 0.06em; color: var(--soluk); font-weight: 700; margin: 0 !important; }
.ref { font-size: 0.85rem; margin-left: 0.15rem; text-decoration: none; font-weight: 700; }
.kaynaklar { padding-left: 1.4rem; }
.kaynaklar li { margin-bottom: 0.5rem; }
.kaynaklar li:target { background: var(--vurgu-acik); border-radius: 0.3rem; }
.kurum, .lisans, .tarih, .kucuk, .guncelleme { color: var(--soluk); font-size: 0.93rem; }
.notlar li { margin-bottom: 0.4rem; }

/* Kartlar */
.kartlar { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 0.8rem; }
.kart a, .kart-yok { display: grid; gap: 0.3rem; height: 100%; background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 0.9rem; padding: 0.9rem 1rem; color: var(--metin); text-decoration: none; }
.kart a:hover { border-color: var(--vurgu); box-shadow: var(--golge); }
.kart-baslik { font-weight: 800; color: var(--vurgu); }
.kart-yok { color: var(--soluk); background: transparent; border-style: dashed; }
.kart-yok .kart-baslik { color: var(--soluk); }
.kart-alt { font-size: 0.9rem; color: var(--soluk); }

/* Paylaş */
.paylas { position: relative; }
.paylas-menu { position: absolute; right: 0; top: 110%; z-index: 20; list-style: none; margin: 0; padding: 0.4rem; background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 0.7rem; box-shadow: var(--golge); min-width: 13rem; }
.paylas-menu a, .paylas-menu button { display: block; width: 100%; text-align: left; padding: 0.45rem 0.6rem; border-radius: 0.4rem; color: var(--metin); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; }
.paylas-menu a:hover, .paylas-menu button:hover { background: var(--yuzey-2); }

/* Arama */
.arama { position: fixed; inset: 0; background: rgb(0 0 0 / 0.45); z-index: 40; padding: 10vh 16px 16px; }
.arama[hidden] { display: none; }
.arama-kutu { max-width: 40rem; margin: 0 auto; background: var(--yuzey); border-radius: 1rem; padding: 1rem; display: grid; grid-template-columns: 1fr auto; gap: 0.6rem; box-shadow: var(--golge); }
.arama-kutu input { width: 100%; }
.arama-sonuc { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; max-height: 60vh; overflow: auto; }
.arama-sonuc a { display: block; padding: 0.55rem 0.6rem; border-radius: 0.5rem; text-decoration: none; color: var(--metin); }
.arama-sonuc a:hover, .arama-sonuc a[aria-selected="true"] { background: var(--vurgu-acik); }
.arama-sonuc small { display: block; color: var(--soluk); }
.arama-bos { grid-column: 1 / -1; color: var(--soluk); margin: 0; }

/* Altbilgi (madde 1) */
.alt { border-top: 1px solid var(--cizgi); background: var(--yuzey); padding: 1.2rem 0 1.4rem; font-size: 0.95rem; }
.alt-satir { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; }
.alt-1 { justify-content: space-between; }
.alt-2 { justify-content: space-between; margin-top: 1rem; color: var(--soluk); }
.telif { margin: 0; }
.hukuki { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; margin: 0; padding: 0; justify-content: flex-end; }
.sosyal { list-style: none; display: flex; gap: 0.35rem; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.sosyal a { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; color: var(--vurgu); border-radius: 0.5rem; }
.sosyal a:hover { background: var(--yuzey-2); }
.rozet { display: inline-flex; }
.rozet-koyu { display: none; }
:root[data-theme="dark"] .rozet-acik { display: none; }
:root[data-theme="dark"] .rozet-koyu { display: inline; }
.liste-form { display: flex; align-items: center; gap: 0.5rem; flex-wrap: nowrap; position: relative; flex: 0 1 22rem; min-width: 0; }
.liste-alan { position: relative; flex: 1 1 auto; min-width: 0; }
.liste-alan input { width: 100%; border: 0; border-bottom: 2px solid var(--cizgi); border-radius: 0; background: transparent; padding: 0.45rem 0.1rem; }
.liste-alan input:focus-visible { border-bottom-color: var(--vurgu); outline-offset: 4px; }
.liste-form button { font: inherit; font-weight: 700; flex: 0 0 auto; border: 1px solid var(--vurgu); background: var(--vurgu); color: var(--vurgu-metin); border-radius: 0.5rem; padding: 0.4rem 0.9rem; cursor: pointer; }
.liste-tamam { position: absolute; inset: 0; display: flex; align-items: center; background: var(--yuzey); color: var(--tamam); font-weight: 700; cursor: pointer; }
.liste-tamam[hidden] { display: none; }
#liste-tamam:target { display: flex !important; }
.liste-hata { position: absolute; left: 0; top: 100%; color: var(--hata); font-size: 0.85rem; }
.bot-tuzagi { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 760px) {
  .alt-1, .alt-2 { flex-direction: column; align-items: flex-start; }
  .liste-form { flex-basis: auto; width: 100%; }
  .hukuki { justify-content: flex-start; }
  .sosyal { justify-content: flex-start; }
}

/* Çerez bandı (madde 14) */
.cerez { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--yuzey); border-top: 2px solid var(--vurgu); box-shadow: 0 -4px 16px rgb(0 0 0 / 0.12); padding: 0.8rem 0; }
.cerez[hidden] { display: none; }
.cerez-ic p { margin: 0 0 0.6rem; }
.cerez-dugmeler { display: grid; grid-template-columns: repeat(3, minmax(0, 12rem)); gap: 0.5rem; }
.cerez-dugmeler .dugme { width: 100%; padding-left: 0.4rem; padding-right: 0.4rem; }
.cerez-dugmeler [data-cerez="kaydet"] { grid-column: 1 / -1; max-width: 12rem; }
.cerez-dugmeler [hidden] { display: none; }
.cerez-tercih { margin-bottom: 0.6rem; }
.cerez-tercih[hidden] { display: none; }
