/* Baran Atay HairArt – müşteri tarafı. Sade, koyu zemin; gerçek logo marka taşıyıcısı. Mobil öncelikli; geniş ekranda sol vitrin + sağda akış. */

body { background: var(--bg); min-height: 100vh; }

/* ---------- Kabuk ---------- */
.sahne { position: relative; z-index: 1; }
.sayfa { max-width: 540px; margin: 0 auto; padding: 0 16px 56px; position: relative; }

/* ---------- Vitrin (başlık alanı) ---------- */
.vitrin { position: relative; padding: 30px 16px 6px; max-width: 540px; margin: 0 auto; container-type: inline-size; }
.vitrin-ic { position: relative; z-index: 1; }
.direk { display: none; }
.emblem-mark { width: 52px; height: auto; margin: 0 0 20px; animation: yuksel .7s var(--ease) both; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 14px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; animation: yuksel .8s var(--ease) both;
}
.isim { font-family: var(--serif); font-weight: 500; line-height: .98; letter-spacing: -.015em; font-size: clamp(2.5rem, 13cqw, 3.4rem); margin: 0; }
.isim .satir { display: block; animation: yuksel .9s var(--ease) .08s both; }
.isim .satir.sec { font-style: italic; font-weight: 400; letter-spacing: 0; margin-top: .02em; animation-delay: .2s; color: var(--brass-hi); animation: yuksel .9s var(--ease) .2s both; }
.tel-cizgi { height: 1px; width: 56px; margin: 20px 0 16px; background: var(--line); animation: cizgi 1.2s var(--ease) .3s both; }
.slogan { margin: 0 0 10px; font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.05rem; animation: yuksel .9s var(--ease) .35s both; }
.alt { display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; color: var(--muted); font-size: .88rem; animation: yuksel .9s var(--ease) .45s both; }
.alt .puan { display: inline-flex; align-items: center; gap: .45rem; }
.alt .puan b { color: var(--text); font-weight: 600; }
.yildizlar { color: var(--brass-hi); letter-spacing: .12em; font-size: .82rem; }
.alt .adres { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); text-decoration: none; min-height: 28px; }
.alt .adres:hover { color: var(--brass-hi); }
.alt .adres svg { flex: none; color: var(--muted); }

/* ---------- İlerleme ---------- */
.ilerleme { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 22px 0 26px; }
.ilerleme div { font-size: .7rem; color: #74706a; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; transition: color .3s; }
.ilerleme div::before { content: ""; display: block; height: 2px; background: var(--line); margin-bottom: 8px; transition: background .3s; }
.ilerleme .gecti::before { background: var(--brass); }
.ilerleme .gecti { color: var(--muted); }
.ilerleme .simdi { color: var(--text); }
.ilerleme .simdi::before { background: var(--brass-hi); }

/* ---------- Ana içerik geçişleri ---------- */
#ana > * { animation: yuksel .55s var(--ease) both; }
#ana > *:nth-child(2) { animation-delay: .06s; }
#ana > *:nth-child(3) { animation-delay: .12s; }
#ana > *:nth-child(4) { animation-delay: .18s; }
.liste > * { animation: yuksel .55s var(--ease) both; }
.liste > *:nth-child(1) { animation-delay: .06s; } .liste > *:nth-child(2) { animation-delay: .11s; }
.liste > *:nth-child(3) { animation-delay: .16s; } .liste > *:nth-child(4) { animation-delay: .21s; }
.liste > *:nth-child(5) { animation-delay: .26s; } .liste > *:nth-child(6) { animation-delay: .31s; }

.geri { background: none; border: 0; color: var(--muted); padding: 8px 0; margin-bottom: 6px; min-height: 44px; font-size: .92rem; letter-spacing: .02em; transition: color .2s, transform .2s var(--ease); }
.geri:hover { color: var(--brass-hi); transform: translateX(-3px); }
h2.soru { font-size: 1.7rem; margin-bottom: 18px; line-height: 1.15; font-weight: 500; outline: none; }
h2.soru::after { content: ""; display: block; width: 44px; height: 2px; margin-top: 12px; background: var(--brass-grad); border-radius: 2px; }
h2:focus { outline: none; }

/* ---------- Kartlar ---------- */
.liste { display: grid; gap: 10px; }
.kart {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; width: 100%;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; min-height: 72px;
  transition: border-color .2s, background .2s;
}
.kart:hover { border-color: var(--brass-dim); background: var(--panel2); }
.kart:active { transform: scale(.99); }
.kart.secili { border-color: var(--brass); }
.kart b { display: block; font-size: 1.05rem; font-weight: 600; }
.kart small { color: var(--muted); font-size: .84rem; }
.kart .sol { display: flex; align-items: center; gap: 14px; min-width: 0; }
.kart .metin { display: grid; gap: 1px; min-width: 0; }
.ikon {
  width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; color: var(--brass-hi);
  background: var(--panel2); border: 1px solid var(--line);
}
.ikon svg { width: 22px; height: 22px; }
.fiyat { font-family: var(--serif); font-size: 1.3rem; color: var(--brass-hi); white-space: nowrap; letter-spacing: .01em; }

/* Berber avatarları */
.avatar {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; position: relative;
  background: var(--c, var(--brass)); font-family: var(--serif); font-size: 1.35rem; color: #171310; font-weight: 600;
}
.avatar > span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; }
.avatar.fark { background: var(--panel2); border: 1px dashed var(--brass-dim); color: var(--brass-hi); }

/* ---------- Banner / özet ---------- */
.banner {
  background: var(--panel2); border: 1px solid var(--brass-dim); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 18px; display: grid; gap: 10px;
}
.banner p { margin: 0; }
.banner.bilgi { background: var(--panel); border-color: var(--line); }
.ozet {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 20px; display: grid; gap: 10px;
}
.ozet div { display: flex; align-items: baseline; gap: 8px; }
.ozet div::before { content: ""; order: 1; flex: 1; border-bottom: 1px dotted #4a4036; transform: translateY(-3px); }
.ozet span:first-child { order: 0; color: var(--muted); }
.ozet span:last-child { order: 2; text-align: right; }
.ozet .toplam { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 2px; font-weight: 700; }

/* ---------- Gün şeridi & saat çipleri ---------- */
.gunler { scrollbar-width: none; display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin: 0 -2px 8px; scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent 100%); }
.gunler::-webkit-scrollbar { display: none; }
.gun {
  flex: none; width: 64px; padding: 10px 0 9px; text-align: center; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); scroll-snap-align: start; min-height: 88px; display: grid; gap: 1px; align-content: center;
  transition: border-color .2s, background .2s;
}
.gun small { display: block; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.gun b { font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; font-weight: 500; }
.gun i { font-style: normal; font-size: .66rem; color: #74706a; letter-spacing: .08em; text-transform: uppercase; }
.gun:hover:not([disabled]) { border-color: var(--brass-dim); }
.gun:active:not([disabled]) { transform: scale(.97); }
.gun[disabled] { opacity: .32; cursor: not-allowed; background: transparent; border-style: dashed; }
.gun[disabled] b { text-decoration: line-through; text-decoration-thickness: 1px; }
.gun.secili { background: var(--brass); border-color: var(--brass); color: var(--brass-ink); }
.gun.secili small, .gun.secili i { color: #4a3a17; }
.saatler { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.saat {
  min-height: 52px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); font-weight: 600;
  font-variant-numeric: tabular-nums; letter-spacing: .02em; transition: border-color .15s, color .15s, background .15s;
}
.saat:hover { border-color: var(--brass-dim); color: var(--brass-hi); }
.saat:active { transform: scale(.96); background: var(--brass); color: var(--brass-ink); }

.bos { padding: 26px 14px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.yukle { display: inline-flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .92rem; }
.yukle i { width: 54px; height: 6px; border-radius: 6px; display: block; background: var(--line); position: relative; overflow: hidden; }
.yukle i::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--brass-dim); animation: kaydir 1s ease-in-out infinite; }
@keyframes kaydir { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* ---------- Form ---------- */
.field label { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.input { background: #181512; transition: border-color .2s, box-shadow .2s, background .2s; }
.input:hover { border-color: #4a3f31; }
.input:focus { background: #1b1814; box-shadow: 0 0 0 3px rgba(201, 163, 91, .22), 0 0 24px -8px rgba(201, 163, 91, .5); }
.onay { display: flex; gap: 12px; align-items: center; min-height: 44px; margin-bottom: 8px; font-size: .92rem; color: var(--muted); cursor: pointer; line-height: 1.4; }
.onay input { width: 22px; height: 22px; accent-color: var(--brass); flex: none; margin: 0; }
.kodkutu { text-align: center; letter-spacing: .5em; font-size: 1.6rem; font-family: var(--serif); border-color: var(--brass-dim); }
.bilgi-satir { display: flex; gap: 10px; align-items: center; color: var(--ok); font-size: .92rem; margin-bottom: 14px; }
#gonder { margin-top: 6px; min-height: 56px; font-size: 1.02rem; letter-spacing: .02em; }
#gonder[disabled]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; margin-left: .7rem; background: currentColor; animation: nabiz-noktasi 1s ease-in-out infinite; }
@keyframes nabiz-noktasi { 50% { opacity: .35; } }

/* ---------- Başarı sahnesi ---------- */
.basari { text-align: center; padding: 6px 0 4px; }
.halka { width: 112px; height: 112px; display: block; margin: 0 auto 10px; overflow: visible; }
.halka-iz { fill: none; stroke: var(--line); stroke-width: 2; }
.halka-cizgi { fill: none; stroke: var(--brass-hi); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 60px 60px; animation: ciz-halka 1s var(--ease) .1s both; }
.halka-tik { fill: none; stroke: var(--brass-hi); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; animation: ciz-tik .55s var(--ease) 1s both; }
.basari h2 { font-size: 2rem; margin-bottom: 4px; font-weight: 500; animation: yuksel .7s var(--ease) 1.1s both; }
.basari p { margin: 0 0 16px; font-family: var(--serif); font-style: italic; animation: yuksel .7s var(--ease) 1.2s both; }
.bilet-sahne { perspective: 900px; margin-bottom: 20px; }

/* ---------- Randevu kartı (bilet) ---------- */
.bilet {
  --kenar: var(--line); position: relative; border-radius: 16px; border: 1px solid var(--kenar); overflow: visible;
  background: var(--panel); animation: yuksel .6s var(--ease) .15s both;
}
.bilet-ust { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 20px 22px 0; }
.bilet-marka { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: .95rem; }
.bilet-marka img { height: 22px; width: auto; display: block; }
.bilet-marka b { font-weight: 600; }
.bilet-etiket { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: .22rem .6rem; white-space: nowrap; }
.bilet-zaman { display: flex; align-items: center; gap: 18px; padding: 22px 24px 8px; }
.bilet-gun { display: grid; place-items: center; text-align: center; padding-right: 18px; border-right: 1px solid var(--line); }
.bilet-gun b { font-family: var(--serif); font-weight: 500; font-size: 4.2rem; line-height: .9; color: var(--brass-hi); }
.bilet-gun span { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.bilet-tarih { display: grid; gap: 2px; min-width: 0; }
.bilet-tarih small { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.bilet-tarih strong { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 10vw, 3.2rem); line-height: 1.05; font-variant-numeric: lining-nums; overflow-wrap: anywhere; }
.bilet-ad { margin: 8px 24px 0 !important; font-family: var(--serif); font-style: italic; color: var(--muted) !important; font-size: 1.05rem; animation: none !important; text-align: left; }
.bilet-satirlar { margin: 14px 24px 22px; display: grid; gap: 8px; }
.bilet-satirlar div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: .95rem; }
.bilet-satirlar div::before { content: ""; order: 1; flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-3px); }
.bilet-satirlar dt { order: 0; color: var(--muted); }
.bilet-satirlar dd { order: 2; margin: 0; text-align: right; font-weight: 500; }
.perf { position: relative; height: 0; border-top: 1px dashed var(--line); margin: 0 18px; }
.perf::before, .perf::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--zemin); border: 1px solid var(--kenar); }
.perf::before { left: -31px; clip-path: inset(-1px -1px -1px 50%); }
.perf::after { right: -31px; clip-path: inset(-1px 50% -1px -1px); }
.bilet-alt { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 20px 24px 22px; }
.bilet-kod { flex: 1; min-width: 0; color: var(--muted); }
.bilet-kod .barkod { display: block; width: 100%; height: 40px; }
.bilet-kod small { display: block; margin-top: 6px; font-family: ui-monospace, Consolas, monospace; font-size: .66rem; letter-spacing: .3em; color: var(--muted); }
.bilet-tutar { text-align: right; }
.bilet-tutar small { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.bilet-tutar b { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--brass-hi); white-space: nowrap; }
.bilet-sahne.pasif .bilet { filter: grayscale(.7) brightness(.85); }
.durum-satir { display: flex; gap: 8px; margin-bottom: 14px; }

.eylemler { display: grid; gap: 10px; margin-top: 16px; }
.adres-satir { font-size: .92rem; }
.dipnot { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 32px; }

/* ---------- Animasyonlar ---------- */
@keyframes yuksel { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cizgi { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ciz-halka { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes ciz-tik { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* ---------- Geniş ekran: sol vitrin, sağ akış ---------- */
@media (min-width: 980px) {
  .sahne { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(480px, 600px); min-height: 100vh; }
  .vitrin {
    position: sticky; top: 0; height: 100vh; max-width: none; margin: 0; padding: 0 clamp(40px, 6vw, 96px) 0 clamp(52px, 7vw, 120px);
    display: flex; align-items: center; background: var(--panel);
  }
  .emblem-mark { width: 64px; margin-bottom: 28px; }
  .isim { font-size: clamp(3.6rem, 9.6cqw, 7rem); }
  .tel-cizgi { margin: 28px 0 22px; max-width: 420px; }
  .slogan { font-size: 1.35rem; margin-bottom: 18px; }
  .alt { flex-direction: column; font-size: .98rem; gap: .6rem; }
  .eyebrow { margin-bottom: 26px; }
  .sayfa { max-width: none; width: 100%; margin: 0; padding: 72px clamp(28px, 4vw, 64px) 64px; border-left: 1px solid var(--line); }
  .sayfa > * { max-width: 500px; margin-left: auto; margin-right: auto; }
  .sahne-ic .vitrin { height: 100vh; }
  .sahne-ic .isim { font-size: clamp(3.2rem, 8cqw, 5.6rem); }
}
@media (min-width: 980px) and (max-height: 640px) { .vitrin { position: relative; height: auto; min-height: 100vh; } }

@media (max-width: 380px) {
  .saatler { gap: 6px; }
  .bilet-zaman { gap: 12px; padding-left: 18px; padding-right: 18px; }
  .bilet-gun { padding-right: 12px; }
  .bilet-gun b { font-size: 3.4rem; }
  .bilet-satirlar, .bilet-alt { margin-left: 18px; margin-right: 18px; }
  .bilet-alt { padding-left: 0; padding-right: 0; }
  .bilet-ust { padding-left: 18px; padding-right: 18px; }
  .bilet-etiket { display: none; }
}

/* ---------- Hareket tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bilet { opacity: 1; }
}
