/* public/404.html ile aynı görünüm ailesi (renk, yazı tipi, düğme). Değiştirirken 404'e de bak. */
:root {
  --bg-primary: #0a0a0f;
  --bg-card: #16161f;
  --border: #2a2a35;
  --text-primary: #f0f0f5;
  --text-secondary: #9494a8; /* koyu zeminde AA (4,5:1) — ince yazı da bunu kullanır */
  --accent-gold: #d4a853;
  --accent-gold-light: #e8c878;
  --accent-whatsapp: #25D366;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary); color: var(--text-primary);
  min-height: 100vh; display: flex; justify-content: center;
  padding: calc(14px + env(safe-area-inset-top)) 16px calc(32px + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}
.kutu { width: 100%; max-width: 560px; text-align: center; }
/* Üst satır: solda logo · ortada "Eczane" · sağda dil (kullanıcı 15.11.2026: "yan yana ve en üstte, gereksiz yer harcama") */
.ust { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.logo-bag { flex: 0 0 44px; display: block; width: 44px; }
.logo { width: 44px; height: 44px; display: block; }
.ust-baslik { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; }
.ust-baslik .ilac { flex: 0 0 auto; width: 24px; height: 24px; }
.ust-baslik span {
  font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.1; font-size: clamp(19px, 6.4vw, 26px); letter-spacing: .5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
  background: linear-gradient(135deg, #d4a853 0%, #e8c878 50%, #d4a853 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  color: var(--accent-gold);
}
.dil { flex: 0 0 auto; display: flex; border: 1px solid var(--border); border-radius: 999px; padding: 2px; }
.dil a { font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-decoration: none; padding: 6px 9px; border-radius: 999px; color: var(--text-secondary); }
.dil a:hover { color: var(--text-primary); }
.dil a[aria-current], .dil summary[aria-current] { background: var(--bg-card); color: var(--accent-gold-light); box-shadow: inset 0 0 0 1px var(--accent-gold); }
/* Diğer diller: açılır menü */
.dil { position: relative; align-items: center; white-space: nowrap; }
.dil a, .dil summary { line-height: 1; }
.dil-diger summary { list-style: none; cursor: pointer; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; padding: 6px 9px; border-radius: 999px; color: var(--text-secondary); }
.dil-diger summary::-webkit-details-marker { display: none; }
.dil-diger summary::after { content: " ▾"; font-size: 9px; }
.dil-liste {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; min-width: 170px; text-align: left;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.5);
}
.dil-liste a { display: flex; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 8px; font-size: 14px; letter-spacing: 0; color: var(--text-primary); }
.dil-liste a:hover { background: #1c1c28; }
h1 { font-size: clamp(20px, 5.5vw, 26px); font-weight: 600; line-height: 1.3; margin-bottom: 18px; }

.bilgi {
  list-style: none; text-align: left; display: grid; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 18px 18px 16px;
}
.bilgi li { position: relative; padding-left: 18px; color: var(--text-secondary); font-size: 15px; line-height: 1.6; }
.bilgi li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-gold); }

.bag {
  display: flex; align-items: center; justify-content: center; gap: 9px; flex-wrap: wrap; text-align: center;
  min-height: 52px; padding: 13px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  color: var(--text-primary); text-decoration: none; font-size: 14.5px; font-weight: 600; transition: border-color .2s, background .2s;
}
.bag:hover, .bag:focus-visible { border-color: var(--accent-gold); background: #1c1c28; }
.bag:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 3px; }
.bag .ikincil { color: var(--text-secondary); font-weight: 400; font-size: 12.5px; }
.bag svg { flex-shrink: 0; }
.bag.wa { color: var(--accent-whatsapp); }
.bag.ara { color: var(--accent-gold-light); }
/* Sayfanın asıl düğmesi: altın zemin */
.bag.nobet {
  margin-top: 22px; font-size: 16px; color: #16110a; border-color: transparent;
  background: linear-gradient(135deg, #d4a853 0%, #ecc97c 50%, #c99a42 100%);
}
.bag.nobet:hover, .bag.nobet:focus-visible { background: linear-gradient(135deg, #dcb35f 0%, #f0d08a 50%, #d1a44c 100%); border-color: transparent; }
.haritalar { display: inline-flex; gap: 4px; }
.haritalar img { width: 22px; height: 22px; display: block; border-radius: 6px; background: #fff; padding: 2px; object-fit: contain; }
.not { color: var(--text-secondary); font-size: 13.5px; line-height: 1.6; margin-top: 10px; }

/* Eczacı Odası kılavuzu: tek GIF telefon çerçevesinde + altta numaralı 4 adım */
.kilavuz { margin-top: 22px; }
.kilavuz h2 { font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.ekran { width: min(100%, 250px); margin: 0 auto; border-radius: 22px; overflow: hidden; border: 6px solid #22222e; box-shadow: 0 10px 30px rgba(0,0,0,.5); background: #fff; }
.ekran img, .ekran video { display: block; width: 100%; height: auto; }
.adim-liste { list-style: none; counter-reset: adim; text-align: left; display: grid; gap: 10px; margin-top: 14px; }
.adim-liste li { counter-increment: adim; display: flex; gap: 10px; align-items: flex-start; color: var(--text-secondary); font-size: 14.5px; line-height: 1.5; }
.adim-liste li::before {
  content: counter(adim); flex: 0 0 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 12.5px; color: #16110a; background: linear-gradient(135deg, #d4a853, #ecc97c);
}

/* Tam ekran ön gösterim */
.gecis {
  position: fixed; inset: 0; z-index: 100; background: rgba(10,10,15,.97);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
}
.gecis[hidden] { display: none; }
.gecis-baslik { font-size: 16px; font-weight: 600; text-align: center; }
.gecis-ekran { height: min(68vh, 560px); aspect-ratio: 360 / 780; max-width: 100%; border-radius: 20px; overflow: hidden; border: 5px solid #22222e; background: #fff; }
.gecis-ekran img, .gecis-ekran video { display: block; width: 100%; height: 100%; object-fit: contain; }
.gecis-sayac { color: var(--text-secondary); font-size: 13.5px; }
.gecis-sayac b { color: var(--accent-gold-light); }
.gecis-gec { width: min(100%, 320px); margin-top: 0; }
.gecis-kapat {
  position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 12px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg-card); color: var(--text-primary); font-size: 24px; line-height: 1; cursor: pointer;
}

.baglantilar { display: grid; gap: 10px; margin-top: 26px; grid-template-columns: 1fr; }

.bag .yalniz-tr { color: #e8a0a0; }
.bag .yalniz-tr::before { content: "· "; color: var(--text-secondary); }
.hekim { margin-top: 22px; }
.hekim-baslik { color: var(--text-secondary); font-size: 13.5px; line-height: 1.5; margin-bottom: 10px; }
.hekim-baslik b { color: var(--text-primary); }
.hekim .baglantilar { margin-top: 0; }
.kunye { margin-top: 28px; color: var(--text-secondary); font-size: 12.5px; line-height: 1.7; }
.kunye a { color: var(--text-secondary); text-decoration: none; border-bottom: 1px solid var(--border); }
.kunye a:hover { color: var(--accent-gold); }

/* Çok dar telefon (≤ 359 px, ör. iPhone SE 1. nesil): üst satırda başlığa yer aç */
@media (max-width: 359px) {
  .logo-bag { flex-basis: 36px; width: 36px; }
  .logo { width: 36px; height: 36px; }
  .ust { gap: 6px; }
  .ust-baslik { gap: 5px; }
  .ust-baslik .ilac { width: 20px; height: 20px; }
  .dil a, .dil-diger summary { padding: 6px 7px; }
}

/* İletişim satırı (15.11.2026): ana düğme WhatsApp + numara, sağında yapışık arama düğmesi (yalnız telefon simgesi). */
.kisi { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg-card); }
.kisi-wa { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  min-height: 46px; padding: 9px 12px; color: var(--accent-whatsapp); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.kisi-wa .kisi-no { color: var(--text-primary); letter-spacing: .2px; }
.kisi-wa .ikincil { color: var(--text-secondary); font-weight: 400; font-size: 12.5px; }
.kisi-ara { flex: 0 0 50px; display: grid; place-items: center; border-left: 1px solid var(--border); color: var(--accent-gold-light); text-decoration: none; }
.kisi-wa:hover, .kisi-wa:focus-visible, .kisi-ara:hover, .kisi-ara:focus-visible { background: #1c1c28; }
.kisi-wa:focus-visible, .kisi-ara:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: -2px; }
.kisi .yalniz-tr { color: #e8a0a0; }
.gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.baglantilar { gap: 8px; }
