/* Bitigçi Galerisi (01.12.2026; aynı gün kamuya açıldı). Kapak, gezi ve son ekranı; sahnede sayfa çerçevesi.
   Uygulama sayfanın ortak başlığının altında koyu bir alandır; gezi ekranı görüntü alanının tamamını kaplar. */
:root {
  --bg-duvar: #0b1220;
  --bg-duvar-2: #131c2e;
  --bg-kagit: #ffffff;
  --bg-murekkep: #0f172a;
  --bg-soluk: #475569;
  --bg-cizgi: #e2e8f0;
  --bg-vurgu: #b45309;
  --bg-golge: 0 24px 60px rgba(2, 6, 23, .45);
  --renk: #b45309;
}

.bg-uygulama {
  display: flex; flex-direction: column; min-height: 100svh; scroll-margin-top: 0;
  background: radial-gradient(1200px 700px at 15% -10%, #1e293b 0%, var(--bg-duvar) 60%), var(--bg-duvar);
  color: #e2e8f0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}
.bg-uygulama[data-ekran-etkin="gezi"] { height: 100svh; min-height: 560px; }
.bg-uygulama h1, .bg-uygulama h2, .bg-uygulama h3, .bg-uygulama p { letter-spacing: normal; }
.bg-uygulama [hidden] { display: none !important; }

.bg-cip {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px; padding: .12rem .55rem; background: rgba(251, 191, 36, .16); color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, .35); vertical-align: middle;
}

/* Düğmeler */
.bg-dugme {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font: inherit; font-weight: 650; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  border-radius: .7rem; padding: .7rem 1.15rem; border: 1px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, opacity .15s ease;
}
.bg-dugme:focus-visible { outline: 3px solid #fbbf24; outline-offset: 2px; }
.bg-dugme:active { transform: translateY(1px); }
.bg-dugme[disabled], .bg-dugme[aria-disabled="true"] { opacity: .45; cursor: default; transform: none; }
.bg-dugme--ana { background: linear-gradient(180deg, #d97706, #b45309); color: #fff; box-shadow: 0 8px 20px rgba(180, 83, 9, .35); }
.bg-dugme--ana:hover:not([disabled]) { background: linear-gradient(180deg, #ea8a0c, #c2610a); }
.bg-dugme--ikincil { background: rgba(255, 255, 255, .06); color: #e2e8f0; border-color: rgba(226, 232, 240, .22); }
.bg-dugme--ikincil:hover { background: rgba(255, 255, 255, .12); border-color: rgba(226, 232, 240, .4); }
.bg-dugme--ince { padding: .42rem .8rem; font-size: .85rem; background: rgba(255, 255, 255, .05); color: #cbd5e1; border-color: rgba(226, 232, 240, .18); }
.bg-dugme--ince:hover { background: rgba(255, 255, 255, .12); color: #fff; }
/* 01.12.2026: Galeriyi kapat — çıkış düğmesi; üzerine gelince sakin bir kırmızı. */
.bg-dugme--kapat span[aria-hidden] { font-size: 1.15em; line-height: 1; }
.bg-dugme--kapat:hover { background: rgba(239, 68, 68, .18); border-color: rgba(248, 113, 113, .55); color: #fff; }

/* Kapak ve son ekranı */
.bg-kapak, .bg-son { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2.5rem 1rem 3rem; }
.bg-kapak__ic, .bg-son__ic { width: 100%; max-width: 920px; animation: bg-belir .6s ease both; }
.bg-kapak__ust { margin: 0 0 .9rem; color: #94a3b8; font-size: .9rem; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.bg-kapak__baslik {
  margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.01em;
  font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; color: #fff;
  background: linear-gradient(90deg, #fff 0%, #fde68a 55%, #fbbf24 100%); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bg-kapak__giris { margin: 1.1rem 0 1.6rem; max-width: 46rem; font-size: 1.08rem; line-height: 1.7; color: #cbd5e1; }
.bg-kapak__bolumler { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .7rem; }
.bg-kapak__bolumler li {
  display: flex; gap: .75rem; align-items: flex-start; padding: .85rem .95rem; border-radius: .9rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
  border: 1px solid rgba(226, 232, 240, .1); border-left: 3px solid var(--renk);
  animation: bg-belir .5s ease both;
}
.bg-kapak__bolumler li:nth-child(2) { animation-delay: .05s; } .bg-kapak__bolumler li:nth-child(3) { animation-delay: .1s; }
.bg-kapak__bolumler li:nth-child(4) { animation-delay: .15s; } .bg-kapak__bolumler li:nth-child(5) { animation-delay: .2s; }
.bg-kapak__bolumler li:nth-child(6) { animation-delay: .25s; } .bg-kapak__bolumler li:nth-child(7) { animation-delay: .3s; }
.bg-kapak__no {
  flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: .9rem; color: #fff; background: var(--renk);
}
.bg-kapak__bolumler b { display: block; color: #f8fafc; font-size: 1rem; }
.bg-kapak__bolumler small { display: block; color: #94a3b8; font-size: .85rem; line-height: 1.45; margin-top: .15rem; }
.bg-kapak__eylem { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.bg-kapak__eylem .bg-dugme--ana { font-size: 1.05rem; padding: .85rem 1.6rem; }
.bg-kapak__bilgi { color: #94a3b8; font-size: .9rem; }
.bg-kapak__ipucu { margin: 1.2rem 0 0; color: #64748b; font-size: .85rem; }
.bg-kapak__not { margin: -.8rem 0 1.4rem; color: #94a3b8; font-size: .9rem; }

.bg-son__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; margin: 0 0 1.8rem; }
.bg-son__bolum { border-radius: .9rem; padding: .85rem .95rem; background: rgba(255, 255, 255, .05); border: 1px solid rgba(226, 232, 240, .1); border-top: 3px solid var(--renk); }
.bg-son__bolum h3 { margin: 0 0 .45rem; font-size: .95rem; color: #f8fafc; }
.bg-son__bolum ol { margin: 0; padding-left: 1.1rem; color: #cbd5e1; font-size: .86rem; line-height: 1.55; }
.bg-son__bolum a { color: #fde68a; text-decoration: none; }
.bg-son__bolum a:hover { text-decoration: underline; }

/* Gezi ekranı */
.bg-gezi { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.bg-serit {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1rem;
  padding: .6rem 1rem; background: rgba(2, 6, 23, .55); border-bottom: 1px solid rgba(226, 232, 240, .08);
  backdrop-filter: blur(6px);
}
.bg-serit__marka {
  font: inherit; font-family: Georgia, serif; font-weight: 700; font-size: 1.1rem; color: #fff; background: none; border: 0;
  cursor: pointer; padding: .2rem 0; white-space: nowrap;
}
.bg-serit__marka:focus-visible { outline: 3px solid #fbbf24; outline-offset: 2px; border-radius: .3rem; }
.bg-serit__sayac { color: #cbd5e1; font-size: .9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bg-serit__eylem { display: flex; gap: .45rem; }
.bg-ilerleme { display: flex; gap: 3px; align-items: center; min-width: 0; }
.bg-ilerleme i {
  flex: 1 1 0; height: 6px; border-radius: 3px; background: rgba(148, 163, 184, .22); position: relative; overflow: hidden;
  transition: background-color .3s ease, transform .3s ease;
}
.bg-ilerleme i.gecti { background: color-mix(in srgb, var(--renk) 70%, transparent); }
.bg-ilerleme i.simdi { background: var(--renk); transform: scaleY(1.6); box-shadow: 0 0 12px var(--renk); }
.bg-ilerleme i.bolum-basi { margin-left: 6px; }

.bg-govde { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(300px, 360px) 1fr; gap: 1.1rem; padding: 1.1rem; }
.bg-panel {
  display: flex; flex-direction: column; min-height: 0; overflow: auto;
  background: var(--bg-kagit); color: var(--bg-murekkep); border-radius: 1.1rem; padding: 1.3rem 1.25rem 1.1rem;
  box-shadow: var(--bg-golge); border-top: 5px solid var(--renk);
}
.bg-panel__bolum { margin: 0; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--renk); }
.bg-panel__tur { margin: .55rem 0 0; font-size: .82rem; color: var(--bg-soluk); min-height: 1.2em; }
.bg-panel__tur:empty { display: none; }
.bg-panel__baslik {
  margin: .35rem 0 .6rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; line-height: 1.2; color: var(--bg-murekkep);
  overflow-wrap: anywhere;
}
.bg-panel__aciklama { margin: 0 0 .8rem; font-size: .98rem; line-height: 1.65; color: #334155; }
.bg-panel__adres { margin: 0 0 1rem; }
.bg-panel__adres code {
  display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-size: .78rem; color: #475569;
  background: #f1f5f9; border: 1px solid var(--bg-cizgi); border-radius: .4rem; padding: .15rem .4rem;
}
.bg-panel__eylem { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.bg-panel .bg-dugme--ikincil { background: #f8fafc; color: #1e293b; border-color: #cbd5e1; font-size: .85rem; padding: .5rem .8rem; }
.bg-panel .bg-dugme--ikincil:hover { background: #eef2f7; border-color: #94a3b8; }
.bg-gezinti { margin-top: auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: .55rem; padding-top: .6rem; }
.bg-dugme--gezinti { padding: .85rem .9rem; font-size: 1rem; }
.bg-gezinti .bg-dugme--gezinti:not(.bg-dugme--ana) { background: #f1f5f9; color: #1e293b; border-color: #cbd5e1; }
.bg-panel.degisti > * { animation: bg-kay .45s ease both; }

.bg-sahne { margin: 0; min-height: 0; display: flex; flex-direction: column; border-radius: 1.1rem; overflow: hidden; box-shadow: var(--bg-golge); background: #fff; }
.bg-tarayici { flex: none; display: flex; align-items: center; gap: .8rem; padding: .55rem .8rem; background: #e2e8f0; border-bottom: 1px solid #cbd5e1; }
.bg-tarayici__noktalar { display: flex; gap: .35rem; }
.bg-tarayici__noktalar i { width: .7rem; height: .7rem; border-radius: 50%; background: #f87171; }
.bg-tarayici__noktalar i:nth-child(2) { background: #fbbf24; } .bg-tarayici__noktalar i:nth-child(3) { background: #34d399; }
.bg-tarayici__cubuk {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; color: #334155;
  background: #fff; border-radius: 999px; padding: .3rem .85rem; border: 1px solid #cbd5e1;
}
.bg-cerceve { position: relative; flex: 1; min-height: 0; background: #fff; }
.bg-cerceve iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; transition: opacity .35s ease, transform .35s ease; }
.bg-cerceve.yukleniyor iframe { opacity: .15; transform: scale(.995); }
.bg-yukleniyor { position: absolute; inset: 0; display: none; place-items: center; grid-auto-flow: column; gap: .5rem; align-content: center; justify-content: center; }
.bg-cerceve.yukleniyor .bg-yukleniyor { display: grid; }
.bg-yukleniyor span { width: .75rem; height: .75rem; border-radius: 50%; background: var(--renk); animation: bg-nabiz 1s ease-in-out infinite; }
.bg-yukleniyor span:nth-child(2) { animation-delay: .15s; } .bg-yukleniyor span:nth-child(3) { animation-delay: .3s; }

/* Bölüm geçişindeki "salon" kartı */
.bg-salon {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 2rem; color: #fff;
  background: radial-gradient(900px 500px at 50% 40%, color-mix(in srgb, var(--renk) 55%, #0b1220) 0%, #0b1220 75%);
  animation: bg-salon 1.9s ease both;
  pointer-events: none;
}
.bg-salon__no { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #fde68a; }
.bg-salon__ad { margin: .4rem 0 .6rem; font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; }
.bg-salon__ozet { margin: 0; max-width: 36rem; color: #e2e8f0; font-size: 1.05rem; line-height: 1.6; }

/* Gezi haritası */
.bg-harita { position: fixed; inset: 0; z-index: 60; background: rgba(2, 6, 23, .6); display: flex; justify-content: flex-end; animation: bg-belir .2s ease both; }
.bg-harita__ic { width: min(560px, 100%); height: 100%; overflow: auto; background: #0f172a; border-left: 1px solid rgba(226, 232, 240, .12); padding: 1rem 1.1rem 2rem; animation: bg-cekmece .3s ease both; }
.bg-harita__ust { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; position: sticky; top: -1rem; background: #0f172a; padding: .6rem 0; }
.bg-harita__ust h2 { margin: 0; font-family: Georgia, serif; font-size: 1.4rem; color: #fff; }
.bg-harita__bolum { margin: 1rem 0 .35rem; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--renk); }
.bg-harita__durak {
  width: 100%; display: grid; grid-template-columns: 2.2rem 1fr auto; gap: .6rem; align-items: center; text-align: left;
  font: inherit; color: #e2e8f0; background: rgba(255, 255, 255, .03); border: 1px solid rgba(226, 232, 240, .08);
  border-left: 3px solid var(--renk); border-radius: .6rem; padding: .55rem .7rem; margin-bottom: .35rem; cursor: pointer;
}
.bg-harita__durak:hover { background: rgba(255, 255, 255, .08); }
.bg-harita__durak:focus-visible { outline: 3px solid #fbbf24; outline-offset: 1px; }
.bg-harita__durak[aria-current="step"] { background: color-mix(in srgb, var(--renk) 25%, #0f172a); }
.bg-harita__durak .no { font-variant-numeric: tabular-nums; color: #94a3b8; font-size: .85rem; }
.bg-harita__durak b { display: block; font-weight: 600; font-size: .92rem; overflow-wrap: anywhere; }
.bg-harita__durak small { display: block; color: #94a3b8; font-size: .78rem; overflow-wrap: anywhere; }
.bg-harita__durak .isaret { font-size: .75rem; color: #34d399; white-space: nowrap; }

@keyframes bg-belir { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bg-kay { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes bg-cekmece { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bg-nabiz { 0%, 100% { transform: scale(.6); opacity: .4; } 50% { transform: scale(1); opacity: 1; } }
@keyframes bg-salon { 0% { opacity: 0; } 12% { opacity: 1; } 78% { opacity: 1; } 100% { opacity: 0; } }

@media (max-width: 900px) {
  .bg-serit { grid-template-columns: 1fr auto; gap: .5rem .8rem; }
  .bg-ilerleme { grid-column: 1 / -1; order: 3; }
  .bg-serit__eylem { grid-column: 1 / -1; order: 4; }
  .bg-uygulama[data-ekran-etkin="gezi"] { height: auto; min-height: 100svh; }
  .bg-govde { grid-template-columns: 1fr; grid-template-rows: auto minmax(72svh, 1fr); padding: .7rem; gap: .7rem; }
  .bg-panel { padding: 1rem; }
  .bg-panel__baslik { font-size: 1.35rem; }
  .bg-gezinti { position: sticky; bottom: 0; background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
