/* ============================================================
   bilisim-tarihi.css — /bilisim-tarihi arşiv sayfası (2026-10-10)
   Gövde dili calismalari.css (.cl-alan, .cl-kart, .cl-etiket,
   .cl-bolum-bas, .cl-cip) ile aynı; burada yalnız on yıl satırları
   ve yıl çipleri var.
   ============================================================ */
.bt-gezinti { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.bt-gezinti .cl-cip { padding: 7px 14px; font-size: 13px; }

/* 1900 öncesi: yüzyıl kartları */
.bt-yuzyillar { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.bt-yuzyil { text-decoration: none !important; padding: 22px 22px 20px; }
.bt-yuzyil .bt-donem {
    display: block; margin-bottom: 8px;
    font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cl-erik);
}
body.active-dark-mode .bt-yuzyil .bt-donem { color: #d9c3d2; }
.bt-yuzyil h3 { font-size: 16px; line-height: 1.35; margin-bottom: 8px; }
.bt-yuzyil p { font-size: 13.5px; line-height: 1.6; }

/* 1900 sonrası: her on yıl bir satır */
.bt-onyillar { display: grid; gap: 0; border-top: 1px solid var(--cl-cizgi); }
.bt-onyil {
    display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center;
    padding: 16px 0; border-bottom: 1px solid var(--cl-cizgi);
    scroll-margin-top: 90px;
}
.bt-onyil-ad b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--cl-metin); }
.bt-onyil-ad span { display: block; margin-top: 2px; font-size: 12px; color: var(--cl-soluk); }
.bt-yillar { display: grid; gap: 8px; grid-template-columns: repeat(10, minmax(0, 1fr)); }
.bt-yil {
    display: flex; align-items: center; justify-content: center;
    height: 42px; border-radius: 10px;
    border: 1px solid var(--cl-cizgi); background: var(--cl-zemin);
    font-size: 14px; font-weight: 700; color: var(--cl-metin); font-variant-numeric: tabular-nums;
    text-decoration: none !important; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.bt-yil:hover { background: var(--cl-erik); border-color: var(--cl-erik); color: #fff; transform: translateY(-2px); }
body.active-dark-mode .bt-yil:hover { background: #d9c3d2; border-color: #d9c3d2; color: #17151a; }
.bt-yil.bos { visibility: hidden; }
@media (max-width: 991px) {
    .bt-onyil { grid-template-columns: 1fr; gap: 10px; }
    .bt-yillar { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
    .bt-yillar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .bt-yil.bos { display: none; }
}

/* ======================================================================
   2026-11-29 — GEZİNME BELİRGİNLEŞTİRME
   Liste: yapışkan zaman rayı (bt-ray), yıla git, rastgele, iri yıl düğmeleri,
          yıl özeti ipucu (bt-ipucu).
   Detay: büyük önceki/sonraki kartları (bt-yolculuk), on yıl şeridi (bt-serit),
          kenar okları (bt-kenar), içindekiler çipleri (bt-bolumler), bölüm başlıkları.
   Metin tam siyah/beyaz; vurgu mürdüm #503b4b / koyuda lila #c9a3bd.
   Tema tuzağı: style.css "button { width:100% }" — düğmelerde width:auto şart.
   ====================================================================== */

/* ---------- Zaman rayı (liste) ---------- */
.bt-ray {
    position: relative; z-index: 90;
    margin: 0 0 34px; padding: 12px 0;
    background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, .06); border-bottom: 1px solid rgba(0, 0, 0, .06);
    transition: box-shadow .25s;
}
.bt-ray.yapisik { box-shadow: 0 12px 26px -18px rgba(0, 0, 0, .45); }
/* tema body'ye overflow:hidden verdiği için sticky yerine JS ile sabitlenir */
.bt-ray.sabit { position: fixed; left: 0; right: 0; top: var(--bt-ust, 0px); margin: 0; }
.bt-ray-yer { height: 0; }
body.active-dark-mode .bt-ray { background: rgba(23, 21, 26, .92); border-color: rgba(255, 255, 255, .08); }
.bt-ray-ic { display: flex; align-items: center; gap: 16px; }
.bt-ray-donemler {
    flex: 1 1 auto; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent);
    padding: 2px 30px 2px 0;
}
.bt-ray-donemler::-webkit-scrollbar { display: none; }
a.bt-ray-dugme {
    flex: 0 0 auto; display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: 999px;
    border: 1.5px solid rgba(80, 59, 75, .22); background: #fff; color: #000 !important;
    font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; text-decoration: none !important;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
a.bt-ray-dugme:hover { border-color: #503b4b; transform: translateY(-1px); }
a.bt-ray-dugme.aktif { background: #503b4b; border-color: #503b4b; color: #fff !important; }
body.active-dark-mode a.bt-ray-dugme { background: transparent; border-color: rgba(255, 255, 255, .2); color: #fff !important; }
body.active-dark-mode a.bt-ray-dugme:hover { border-color: #c9a3bd; }
body.active-dark-mode a.bt-ray-dugme.aktif { background: #c9a3bd; border-color: #c9a3bd; color: #000 !important; }

.bt-git { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; margin: 0; }
.bt-git input[type=number] {
    width: 116px; height: 40px; padding: 0 12px; border-radius: 999px; margin: 0;
    border: 1.5px solid rgba(80, 59, 75, .25); background: #fff; color: #000; font-size: 14.5px; font-weight: 700;
    -moz-appearance: textfield;
}
.bt-git input::-webkit-outer-spin-button, .bt-git input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bt-git input:focus { outline: none; border-color: #503b4b; box-shadow: 0 0 0 3px rgba(80, 59, 75, .15); }
.bt-git input.hata { border-color: #c62828; animation: btSalla .35s; }
.bt-git button {
    width: auto !important; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    height: 40px; margin: 0; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer;
    background: #503b4b; color: #fff; font-size: 14px; font-weight: 800; line-height: 1;
}
.bt-git button.bt-git-dugme { width: 40px !important; padding: 0; }
.bt-git button.bt-rastgele { background: rgba(80, 59, 75, .1); color: #000; }
.bt-git button.bt-rastgele:hover { background: rgba(80, 59, 75, .18); }
.bt-git button.bt-rastgele:hover i { animation: btZar .5s; }
body.active-dark-mode .bt-git input[type=number] { background: transparent; border-color: rgba(255, 255, 255, .25); color: #fff; }
body.active-dark-mode .bt-git button { background: #c9a3bd; color: #000; }
body.active-dark-mode .bt-git button.bt-rastgele { background: rgba(255, 255, 255, .1); color: #fff; }
@keyframes btSalla { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes btZar { to { transform: rotate(360deg); } }

/* on yıl başlıkları raydan sonra görünür kalsın */
.bt-onyil, #yuzyillar { scroll-margin-top: var(--bt-kaydir, 160px); }

/* iri yıl düğmeleri */
.bt-onyil-ad b { font-size: 22px; color: #000; }
.bt-onyil-ad span { color: #000; opacity: .65; }
body.active-dark-mode .bt-onyil-ad b, body.active-dark-mode .bt-onyil-ad span { color: #fff; }
.bt-yillar { gap: 10px; }
a.bt-yil {
    height: 52px; border-radius: 12px; font-size: 16px; font-weight: 800; color: #000;
    border: 1.5px solid rgba(80, 59, 75, .18); background: #fff;
    box-shadow: 0 1px 0 rgba(80, 59, 75, .12);
}
a.bt-yil:hover, a.bt-yil:focus-visible { background: #503b4b; border-color: #503b4b; color: #fff; transform: translateY(-3px); box-shadow: 0 12px 20px -12px rgba(80, 59, 75, .8); outline: none; }
body.active-dark-mode a.bt-yil { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
body.active-dark-mode a.bt-yil:hover, body.active-dark-mode a.bt-yil:focus-visible { background: #c9a3bd; border-color: #c9a3bd; color: #000; }

/* yıl özeti ipucu */
.bt-ipucu {
    position: fixed; z-index: 1200; max-width: 300px; padding: 12px 14px; border-radius: 12px; pointer-events: none;
    background: #17151a; color: #fff; font-size: 13px; line-height: 1.55; box-shadow: 0 18px 34px -16px rgba(0, 0, 0, .6);
}
.bt-ipucu b { display: block; margin-bottom: 3px; font-size: 15px; color: #c9a3bd; }
body.active-dark-mode .bt-ipucu { background: #fff; color: #000; }
body.active-dark-mode .bt-ipucu b { color: #503b4b; }

@media (max-width: 767px) {
    .bt-ray-ic { flex-wrap: wrap; gap: 10px; }
    .bt-git { width: 100%; }
    .bt-git input[type=number] { flex: 1 1 auto; width: auto; }
    .bt-git button.bt-rastgele span { display: none; }
}

/* ---------- Detay: önceki / bulunulan / sonraki ---------- */
.bt-yolculuk { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; margin: 8px 0 16px; }
.bt-yolculuk.alt { margin: 48px 0 0; align-items: center; }
a.bt-yon {
    display: flex; align-items: center; gap: 14px; min-width: 0; padding: 14px 16px; border-radius: 18px;
    border: 1.5px solid rgba(80, 59, 75, .18); background: #fff; color: #000 !important; text-decoration: none !important;
    transition: border-color .2s, box-shadow .25s, transform .25s;
}
a.bt-yon:hover, a.bt-yon:focus-visible { border-color: #503b4b; box-shadow: 0 18px 30px -20px rgba(80, 59, 75, .75); transform: translateY(-2px); outline: none; }
a.bt-yon.sonraki { justify-content: flex-end; text-align: right; }
.bt-yon .ok {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
    background: #503b4b; color: #fff; font-size: 17px; transition: transform .25s;
}
a.bt-yon.onceki:hover .ok { transform: translateX(-4px); }
a.bt-yon.sonraki:hover .ok { transform: translateX(4px); }
.bt-yon .yazi { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.bt-yon small { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #503b4b; }
.bt-yon b { font-size: 24px; font-weight: 900; letter-spacing: -.02em; color: #000; font-variant-numeric: tabular-nums; }
.bt-yon em { margin-top: 3px; font-style: normal; font-size: 13px; line-height: 1.45; color: #000; opacity: .72;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bt-yon.bos { visibility: hidden; }
.bt-simdi { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 10px; text-align: center; }
.bt-simdi b { font-size: clamp(34px, 22px + 2vw, 52px); font-weight: 900; letter-spacing: -.03em; line-height: 1; color: #503b4b; font-variant-numeric: tabular-nums; }
.bt-klavye { margin-top: 8px; font-size: 12px; color: #000; opacity: .65; white-space: nowrap; }
.bt-klavye kbd { display: inline-block; min-width: 22px; padding: 1px 5px; border-radius: 5px; border: 1px solid rgba(0, 0, 0, .2); border-bottom-width: 2px; background: #fff; color: #000; font-size: 11px; font-weight: 700; line-height: 1.4; box-shadow: none; }
a.bt-tum {
    display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px;
    background: rgba(80, 59, 75, .1); color: #000 !important; font-size: 14.5px; font-weight: 800; text-decoration: none !important; white-space: nowrap;
}
a.bt-tum:hover { background: #503b4b; color: #fff !important; }
body.active-dark-mode a.bt-yon { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); color: #fff !important; }
body.active-dark-mode a.bt-yon:hover { border-color: #c9a3bd; }
body.active-dark-mode .bt-yon .ok { background: #c9a3bd; color: #000; }
body.active-dark-mode .bt-yon small, body.active-dark-mode .bt-simdi b { color: #c9a3bd; }
body.active-dark-mode .bt-yon b, body.active-dark-mode .bt-yon em, body.active-dark-mode .bt-klavye { color: #fff; }
body.active-dark-mode .bt-klavye kbd { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
body.active-dark-mode a.bt-tum { background: rgba(255, 255, 255, .1); color: #fff !important; }
body.active-dark-mode a.bt-tum:hover { background: #c9a3bd; color: #000 !important; }

/* on yıl şeridi */
.bt-serit { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 30px; padding: 10px; border-radius: 16px; background: rgba(80, 59, 75, .06); }
a.bt-serit-ad { display: inline-flex; align-items: center; gap: 7px; margin-right: 6px; padding: 0 10px; height: 36px; font-size: 13px; font-weight: 800; color: #503b4b !important; text-decoration: none !important; white-space: nowrap; }
a.bt-serit-ad:hover { text-decoration: underline !important; }
.bt-serit-yil {
    display: inline-flex; align-items: center; justify-content: center; min-width: 58px; height: 36px; padding: 0 10px; border-radius: 10px;
    font-size: 14px; font-weight: 800; color: #000 !important; text-decoration: none !important; font-variant-numeric: tabular-nums;
    background: #fff; border: 1px solid rgba(80, 59, 75, .14); transition: background-color .2s, color .2s;
}
a.bt-serit-yil:hover { background: #503b4b; color: #fff !important; border-color: #503b4b; }
.bt-serit-yil.aktif { background: #503b4b; border-color: #503b4b; color: #fff !important; box-shadow: 0 8px 16px -10px rgba(80, 59, 75, .9); }
.bt-serit-yil.yok { opacity: .35; background: transparent; border-style: dashed; }
body.active-dark-mode .bt-serit { background: rgba(255, 255, 255, .05); }
body.active-dark-mode a.bt-serit-ad { color: #c9a3bd !important; }
body.active-dark-mode .bt-serit-yil { background: transparent; border-color: rgba(255, 255, 255, .15); color: #fff !important; }
body.active-dark-mode a.bt-serit-yil:hover, body.active-dark-mode .bt-serit-yil.aktif { background: #c9a3bd; border-color: #c9a3bd; color: #000 !important; }

/* kenar okları (geniş ekran) — sağdaki, tema anahtarının altında durur */
a.bt-kenar {
    position: fixed; z-index: 80; top: 72%; display: none; align-items: center; gap: 8px;
    height: 54px; padding: 0 16px; border-radius: 999px; background: #503b4b; color: #fff !important;
    font-size: 15px; font-weight: 800; text-decoration: none !important;
    box-shadow: 0 16px 30px -14px rgba(80, 59, 75, .9); transition: transform .25s;
}
a.bt-kenar.onceki { left: 18px; }
a.bt-kenar.sonraki { right: 18px; }
a.bt-kenar span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s; }
a.bt-kenar:hover span, a.bt-kenar:focus-visible span, a.bt-kenar.basildi span { max-width: 140px; }
a.bt-kenar.onceki:hover { transform: translateX(3px); }
a.bt-kenar.sonraki:hover { transform: translateX(-3px); }
body.active-dark-mode a.bt-kenar { background: #c9a3bd; color: #000 !important; }
@media (min-width: 1360px) { a.bt-kenar { display: inline-flex; } }

/* içindekiler çipleri */
.bt-bolumler { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(80, 59, 75, .14); }
.bt-bolumler-et { margin-right: 4px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #503b4b; }
.tarih-icerik .bt-bolumler .bt-bolumler-et { font-size: 12px; line-height: 1.2; }   /* tema .content span boyutunu ezer */
.bt-bolumler ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bt-bolumler li { margin: 0; padding: 0; }
.bt-bolumler li::before, .bt-bolumler li::after { content: none !important; display: none !important; }
.bt-bolumler a { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 999px; background: rgba(80, 59, 75, .08); color: #000 !important; font-size: 13.5px; font-weight: 700; text-decoration: none !important; }
.bt-bolumler a:hover { background: #503b4b; color: #fff !important; }
body.active-dark-mode .bt-bolumler { border-color: rgba(255, 255, 255, .12); }
body.active-dark-mode .bt-bolumler-et { color: #c9a3bd; }
body.active-dark-mode .bt-bolumler a { background: rgba(255, 255, 255, .08); color: #fff !important; }
body.active-dark-mode .bt-bolumler a:hover { background: #c9a3bd; color: #000 !important; }

/* bölüm başlıkları: sol vurgu çizgisi */
.tarih-icerik h2[id] { position: relative; margin-top: 44px; padding-left: 16px; font-size: clamp(22px, 16px + .8vw, 28px); line-height: 1.3; scroll-margin-top: 120px; }
.tarih-icerik h2[id]::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 3px; background: #503b4b; }
body.active-dark-mode .tarih-icerik h2[id]::before { background: #c9a3bd; }

@media (max-width: 767px) {
    .bt-yolculuk { grid-template-columns: 1fr 1fr; }
    .bt-simdi { grid-column: 1 / -1; order: -1; margin-bottom: 4px; }
    .bt-yolculuk.alt .bt-tum { grid-column: 1 / -1; order: 3; justify-self: center; }
    .bt-yon em, .bt-klavye { display: none; }
    a.bt-yon { padding: 12px; gap: 10px; }
    .bt-yon .ok { width: 38px; height: 38px; font-size: 15px; }
    .bt-yon b { font-size: 19px; }
    .bt-serit-yil { min-width: 0; flex: 1 0 calc(20% - 6px); }
    a.bt-serit-ad { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    a.bt-yon, a.bt-kenar, a.bt-yil, .bt-yon .ok { transition: none; }
}
