/* biblo × ADIM proje paneli: adim.tech'in görsel dili (Syne, siyah zemin, zümrüt vurgu, keskin düğmeler) */
:root {
  --zemin: #080808;
  --kart: #111111;
  --kart2: #161616;
  --yazi: #ffffff;
  --soluk: rgba(255, 255, 255, .6);
  --soluk2: rgba(255, 255, 255, .35);
  --cizgi: rgba(255, 255, 255, .08);
  --cizgi2: rgba(255, 255, 255, .2);
  --zumrut: #10b981;
  --zumrut-acik: #34d399;
  --zumrut-koyu: #059669;
  --kirmizi: #ff5c5c;
  --kenar: clamp(20px, 4vw, 64px);
  --kose: 12px;
  --yazi-tipi: Syne, "Syne Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gecis: .2s cubic-bezier(.4, 0, .2, 1);
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--zemin); color-scheme: dark; }
body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--zemin);
  color: var(--yazi);
  font-family: var(--yazi-tipi);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  font-variant-numeric: lining-nums;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
strong { color: var(--yazi); font-weight: 600; }
:focus-visible { outline: 2px solid var(--zumrut-acik); outline-offset: 3px; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.025em; }
.vurgu { color: var(--zumrut-acik); }

/* ---- ortak parçalar ---- */
.markalar { display: flex; align-items: center; gap: 14px; }
.markalar a { display: block; }
.logo-biblo { width: auto; height: 26px; }
.logo-adim { width: auto; height: 18px; }
.carpi { color: var(--soluk2); font-size: 15px; line-height: 1; }

.ust-yazi { font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--zumrut-acik); }
.alt-yazi { font-size: 16px; line-height: 1.65; color: var(--soluk); }

.dugme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 0;
  border-radius: 0;
  background: var(--zumrut);
  color: #0a0a0a;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--gecis), color var(--gecis);
}
.dugme svg { flex: none; transition: transform var(--gecis); }
.dugme:hover { background: var(--zumrut-acik); }
.dugme:hover svg { transform: translateX(3px); }
.dugme:disabled { opacity: .6; cursor: progress; }

.dugme-ince {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--cizgi2);
  border-radius: 0;
  background: transparent;
  color: var(--soluk);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color var(--gecis), color var(--gecis), background-color var(--gecis);
}
.dugme-ince:hover { border-color: var(--yazi); color: var(--yazi); }
.dugme-ince.tamam { border-color: var(--zumrut); color: var(--zumrut-acik); }

.durum {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--soluk);
}
.durum i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--soluk2); }
.durum.acik { color: var(--zumrut-acik); }
.durum.acik i { background: var(--zumrut-acik); animation: nabiz 2.4s ease-out infinite; }
.durum.kapali { color: var(--kirmizi); }
.durum.kapali i { background: var(--kirmizi); }
@keyframes nabiz {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); }
  70%  { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.ust {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 0 var(--kenar);
  border-bottom: 1px solid var(--cizgi);
  background: rgba(8, 8, 8, .95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.ust-etiket {
  margin-left: 4px;
  padding-left: 18px;
  border-left: 1px solid var(--cizgi2);
  color: var(--soluk);
  font-size: 13px;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color var(--gecis);
}
a.ust-etiket:hover { color: var(--yazi); }
.cikis { margin-left: auto; }

.alt {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--kenar);
  border-top: 1px solid var(--cizgi);
  color: var(--soluk2);
  font-size: 12px;
  letter-spacing: .04em;
}

@keyframes gel { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- giriş ---- */
.giris-sayfa {
  background:
    radial-gradient(900px 480px at 50% 112%, rgba(16, 185, 129, .14), transparent 62%),
    var(--zemin);
}
.giris { flex: 1; display: grid; place-items: center; padding: clamp(40px, 8vw, 96px) var(--kenar); }
.giris-form { width: min(440px, 100%); display: flex; flex-direction: column; animation: gel .7s cubic-bezier(.2, .7, .2, 1) both; }
.giris-form h1 { margin-top: 18px; font-size: clamp(44px, 7vw, 64px); line-height: 1.04; }
.giris-form .alt-yazi { margin-top: 14px; font-size: 15px; }
.alan { display: block; margin-top: 36px; }
.alan-ad { display: block; margin-bottom: 10px; color: var(--soluk); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.girdi { position: relative; display: block; }
.girdi input {
  width: 100%;
  padding: 15px 52px 15px 16px;
  border: 1px solid var(--cizgi2);
  border-radius: 0;
  background: var(--kart);
  color: var(--yazi);
  font: inherit;
  font-size: 16px;
  letter-spacing: .04em;
  transition: border-color var(--gecis);
}
.girdi input:focus { outline: none; border-color: var(--zumrut); }
.goster {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--soluk2);
  cursor: pointer;
  transition: color var(--gecis);
}
.goster:hover { color: var(--yazi); }
.goster .goz-kapali, .goster[aria-pressed="true"] .goz-acik { display: none; }
.goster[aria-pressed="true"] .goz-kapali { display: block; }
.dugme-tam { width: 100%; margin-top: 14px; padding: 15px; font-size: 15px; }
.mesaj { min-height: 22px; margin-top: 14px; color: var(--kirmizi); font-size: 14px; }
.giris-form.titre { animation: titre .42s ease; }
@keyframes titre { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* ---- panel ---- */
.panel { flex: 1; width: min(1280px, 100%); margin: 0 auto; padding: 0 var(--kenar); }

.karsilama {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  gap: 40px;
  padding: clamp(56px, 9vw, 120px) 0 clamp(36px, 5vw, 64px);
  animation: gel .7s cubic-bezier(.2, .7, .2, 1) both;
}
.karsilama h1 { margin-top: 20px; font-size: clamp(46px, 7vw, 88px); line-height: 1.04; }
.karsilama .alt-yazi { max-width: 50ch; margin-top: 22px; }
.ozet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding: 0; overflow: hidden; list-style: none; border-radius: var(--kose); background: var(--cizgi); }
.ozet li { padding: 24px 22px; background: var(--kart); }
.ozet b { display: block; font-size: clamp(32px, 3.4vw, 46px); font-weight: 400; letter-spacing: -.03em; line-height: 1; font-variant-numeric: lining-nums; }
.ozet span { display: block; margin-top: 12px; color: var(--soluk); font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }

.bolum { padding: 32px 0 48px; border-top: 1px solid var(--cizgi); }
.bolum-bas { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.bolum-bas h2 { font-size: clamp(28px, 3vw, 40px); }
.bolum-bas span { color: var(--soluk2); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }

.izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.gir { animation: gel .7s cubic-bezier(.2, .7, .2, 1) both; }
.gir:nth-child(2) { animation-delay: .08s; }
.gir:nth-child(3) { animation-delay: .16s; }

.proje { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--kose); background: var(--kart); transition: background-color var(--gecis); }
.proje:hover { background: var(--kart2); }
.proje-gorsel { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.proje-gorsel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: saturate(.92); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.proje:hover .proje-gorsel img { transform: scale(1.04); }
.proje-gorsel .durum { position: absolute; top: 14px; right: 14px; padding: 7px 12px; background: rgba(8, 8, 8, .78); }
.proje-govde { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 28px; }
.musteri { color: var(--zumrut-acik); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.proje h3 { font-size: 30px; line-height: 1.08; }
.proje .aciklama { color: var(--soluk); font-size: 14.5px; line-height: 1.6; }
.olgular { display: flex; padding: 6px 0 10px; list-style: none; }
.olgular li { padding: 0 18px; border-left: 1px solid var(--cizgi2); }
.olgular li:first-child { padding-left: 0; border-left: 0; }
.olgular b { display: block; font-size: 22px; font-weight: 400; letter-spacing: -.02em; }
.olgular span { color: var(--soluk); font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.proje-govde .dugme { align-self: flex-start; margin-top: auto; }

.proje.bos { align-items: center; justify-content: center; gap: 10px; min-height: 380px; padding: 40px 28px; border: 1px dashed var(--cizgi2); background: transparent; text-align: center; }
.proje.bos:hover { background: transparent; }
.bos-ikon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 8px; border: 1px solid var(--cizgi2); color: var(--zumrut-acik); font-size: 24px; font-weight: 400; }
.proje.bos h3 { font-size: 22px; }
.proje.bos p { max-width: 30ch; color: var(--soluk); font-size: 14px; line-height: 1.6; }

/* proje sayfası */
.detay { padding: 28px 0 24px; animation: gel .7s cubic-bezier(.2, .7, .2, 1) both; }
.geri {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--soluk);
  font-size: 13px;
  text-decoration: none;
  transition: color var(--gecis);
}
.geri:hover { color: var(--yazi); }
.geri svg { transition: transform var(--gecis); }
.geri:hover svg { transform: translateX(-3px); }
.detay-kahraman { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(300px, 38vw, 480px); overflow: hidden; border-radius: var(--kose); }
.detay-kahraman img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.detay-kahraman .perde {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(8, 8, 8, .95), rgba(8, 8, 8, .4) 55%, rgba(8, 8, 8, .08)),
    linear-gradient(to right, rgba(8, 8, 8, .6), transparent 62%);
}
.detay-baslik { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; width: 100%; padding: clamp(24px, 4vw, 52px); }
.detay-baslik h2 { margin-top: 14px; font-size: clamp(40px, 6vw, 80px); line-height: 1.02; }

.detay-izgara { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.kutu { padding: 28px; border-radius: var(--kose); background: var(--kart); }
.kutu h3 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; font-size: 22px; }
.kutu-canli { grid-column: span 5; }
.kutu-cihaz { grid-column: span 7; }
.kutu-gorevli { grid-column: 1 / -1; }
.kutu-ipucu { grid-column: 1 / -1; }
.kucuk-not { margin-top: 10px; color: var(--soluk); font-size: 13.5px; line-height: 1.6; }

.sayac { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 20px; padding: 0; overflow: hidden; list-style: none; background: var(--cizgi); }
.sayac li { padding: 20px 18px; background: var(--kart); }
.sayac b { display: block; font-size: 40px; font-weight: 400; letter-spacing: -.03em; line-height: 1; font-variant-numeric: lining-nums; }
.sayac b em { font-style: normal; }
.sayac b small { color: var(--soluk2); font-size: 20px; }
.sayac span { display: block; margin-top: 10px; color: var(--soluk); font-size: 12.5px; }

.cihazlar { display: grid; gap: 1px; margin-top: 20px; padding: 0; overflow: hidden; list-style: none; background: var(--cizgi); }
.cihaz { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 16px; background: var(--kart); }
.cihaz-ikon { width: 44px; height: 44px; display: grid; place-items: center; background: rgba(16, 185, 129, .1); color: var(--zumrut-acik); }
.cihaz-ikon svg { display: none; }
.cihaz[data-tur="duvar"] .i-duvar, .cihaz[data-tur="tablet"] .i-tablet { display: block; }
.cihaz-yazi b { display: block; font-size: 15px; font-weight: 500; }
.cihaz-yazi small { display: block; margin-top: 4px; color: var(--soluk); font-size: 13px; line-height: 1.5; }
.eylemler { display: flex; gap: 8px; }

/* görevli işlemleri */
.islemler { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.islem { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 20px 18px; border: 1px solid var(--cizgi); background: var(--kart2); }
.islem-yazi b { display: block; font-size: 15px; font-weight: 500; }
.islem-yazi small { display: block; margin-top: 6px; color: var(--soluk); font-size: 13px; line-height: 1.5; }
.islem > button { align-self: flex-start; }
.anahtar { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; border: 0; background: none; color: var(--soluk); font-size: 13px; cursor: pointer; }
.anahtar i { position: relative; width: 44px; height: 24px; flex: none; border: 1px solid var(--cizgi2); border-radius: 999px; background: transparent; transition: background-color var(--gecis), border-color var(--gecis); }
.anahtar i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--soluk); transition: transform var(--gecis), background-color var(--gecis); }
.anahtar[aria-checked="true"] { color: var(--zumrut-acik); }
.anahtar[aria-checked="true"] i { border-color: var(--zumrut); background: var(--zumrut); }
.anahtar[aria-checked="true"] i::after { transform: translateX(20px); background: #0a0a0a; }
.anahtar:disabled, .dugme-ince:disabled { opacity: .6; cursor: progress; }
.dugme-ince.tehlike { border-color: rgba(255, 92, 92, .45); color: #ff9a9a; }
.dugme-ince.tehlike:hover { border-color: var(--kirmizi); color: #ffd0d0; }
.dugme-ince.onay, .dugme-ince.onay:hover { border-color: var(--kirmizi); background: var(--kirmizi); color: #0a0a0a; }

.pin-satir { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--cizgi); }
.pin-satir .kucuk-not { max-width: 60ch; margin: 0; }
.pin-kutu { display: flex; align-items: center; gap: 14px; }
.pin-deger { font-size: 28px; font-weight: 400; letter-spacing: .2em; line-height: 1; font-variant-numeric: lining-nums; }

.ipuclari { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 18px; padding: 0; list-style: none; }
.ipuclari li { padding-left: 16px; border-left: 1px solid var(--zumrut); color: var(--soluk); font-size: 14px; line-height: 1.6; }

.hata { margin: 24px 0; padding: 16px 18px; border: 1px solid rgba(255, 92, 92, .45); color: var(--kirmizi); }

.bildirim {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 20;
  max-width: calc(100% - 32px);
  padding: 13px 20px;
  border-left: 2px solid var(--zumrut);
  background: var(--kart2);
  color: var(--yazi);
  font-size: 14px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .9);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .25s ease, transform .25s ease;
}
.bildirim.acik { opacity: 1; transform: translate(-50%, 0); }
.bildirim.hata { border-left-color: var(--kirmizi); }

@media (max-width: 960px) {
  .karsilama { grid-template-columns: 1fr; }
  .islemler { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kutu-canli, .kutu-cihaz { grid-column: 1 / -1; }
  .ipuclari { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .islemler { grid-template-columns: 1fr; }
  .ust { gap: 12px; min-height: 60px; }
  .logo-biblo { height: 21px; }
  .logo-adim { height: 14px; }
  .ust-etiket { display: none; }
  .ozet li { padding: 18px 14px; }
  .ozet span { font-size: 9.5px; letter-spacing: .14em; }
  .kutu { padding: 22px 18px; }
  .cihaz { grid-template-columns: auto minmax(0, 1fr); }
  .eylemler { grid-column: 1 / -1; }
  .eylemler > * { flex: 1; }
  .detay-baslik .dugme { width: 100%; }
  .alt { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
