/* ==========================================================================
   Kiosk ekranı
   ========================================================================== */
body.kiosk {
  min-height: 100dvh;
  overflow-x: hidden;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(212, 175, 106, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(212, 175, 106, 0.05), transparent 60%),
    var(--bg);
}

/* ---------- Üst bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: calc(var(--header-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--page-x) 0;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  border-width: 0 0 1px 0;
}
.brand { display: flex; align-items: center; gap: var(--sp-3); min-height: var(--touch); text-align: left; position: relative; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; overflow: hidden;
  background: var(--gold-soft); border: 1px solid var(--line-gold); color: var(--gold);
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.55rem);
  letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand::after { /* uzun basma geri bildirimi */
  content: ''; position: absolute; left: 0; bottom: 2px; height: 2px; width: 0; background: var(--gold); border-radius: 2px;
}
.brand.is-pressing::after { width: 100%; transition: width 3s linear; }

.topbar__nav { display: flex; align-items: center; gap: var(--sp-2); }
.nav-btn { padding: 0 var(--sp-4); }
.nav-btn__ico { display: inline-flex; }

.lang-switch {
  display: flex; padding: 4px; gap: 2px;
  border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: rgba(0, 0, 0, 0.25);
}
.lang-switch button {
  min-width: 48px; height: 40px; padding: 0 10px; border-radius: var(--r-pill);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; color: var(--text-dim);
  transition: all var(--dur) var(--ease);
}
.lang-switch button.is-active { background: var(--gold-grad); color: var(--on-gold); box-shadow: 0 4px 14px var(--gold-glow); }

.preview-bar {
  position: fixed; z-index: 49; top: calc(var(--header-h) + env(safe-area-inset-top)); left: 0; right: 0;
  text-align: center; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; padding: 4px;
  background: var(--warn); color: #1d1206;
}

/* ---------- Görünüm alanı ---------- */
.view {
  min-height: 100dvh;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + var(--sp-5)) var(--page-x) calc(var(--sp-7) + env(safe-area-inset-bottom));
  outline: none;
}
.boot { min-height: 60dvh; display: grid; place-items: center; }

.page-head { margin-bottom: var(--sp-5); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--sp-2); }
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold); }
.page-title { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 600; line-height: 1.1; }
.page-sub { color: var(--text-dim); margin-top: var(--sp-2); max-width: 70ch; }
.section { margin-top: var(--sp-7); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.section__title { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(260px, 42dvh, 460px);
  border-radius: var(--r-xl); border: 1px solid var(--line);
  display: flex; align-items: flex-end;
  box-shadow: var(--shadow-md);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 30s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 9, 11, 0.92) 0%, rgba(8, 9, 11, 0.55) 55%, rgba(8, 9, 11, 0.15) 100%), linear-gradient(0deg, rgba(8, 9, 11, 0.7), transparent 50%); }
.hero__content { position: relative; z-index: 1; padding: clamp(24px, 4vw, 56px); max-width: 760px; }
.hero__title { font-family: var(--font-display); font-size: var(--fs-hero); font-weight: 600; line-height: 1.04; margin-bottom: var(--sp-3); }
.hero__text { color: var(--text-dim); font-size: clamp(1rem, 1.35vw, 1.2rem); max-width: 56ch; margin-bottom: var(--sp-5); }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, -1%); } }

/* ---------- Kart ızgarası ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--card-min), 1fr)); gap: clamp(14px, 2vw, 26px); }
.grid--cats { --card-min: 300px; }

.card {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), border-color var(--dur), box-shadow var(--dur);
}
.card:active { transform: scale(0.975); border-color: var(--line-gold); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 13, 15, 0.55), transparent 45%); }
.card__badges { position: absolute; z-index: 1; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; }
.card__play { position: absolute; z-index: 1; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(11, 13, 15, 0.6); border: 1px solid var(--line-gold); color: var(--gold-strong); backdrop-filter: blur(6px); }
.card__body { padding: var(--sp-4) var(--sp-5) var(--sp-5); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__title { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; }
.card__text { font-size: 0.92rem; color: var(--text-dim); }
.card__foot { margin-top: auto; padding-top: var(--sp-3); display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--gold); font-weight: 700; font-size: 0.9rem; }
.card__price { color: var(--text); font-weight: 700; }
@media (hover: hover) {
  .card:hover { border-color: var(--line-gold); box-shadow: var(--shadow-md); }
  .card:hover .card__media img { transform: scale(1.05); }
}

/* Kategori kartı — büyük görsel üstüne yazı */
.card--cat .card__media { aspect-ratio: 5 / 4; }
.card--cat .card__media::after { background: linear-gradient(0deg, rgba(8, 9, 11, 0.95) 0%, rgba(8, 9, 11, 0.35) 55%, transparent 100%); }
.card--cat .card__body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: var(--sp-5); }
.card--cat .card__title { font-family: var(--font-display); font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 600; }

/* Yatay kaydırmalı şerit (öne çıkanlar) */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%); gap: clamp(14px, 2vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-2); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* ---------- Hizmet detayı ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(18px, 2.6vw, 36px); align-items: start; }
.stage-wrap { position: sticky; top: calc(var(--header-h) + var(--sp-4)); }
.stage { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.stage > img, .stage > video { width: 100%; height: 100%; object-fit: cover; animation: fadeIn 0.4s var(--ease); }
.stage__controls { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 10px; justify-content: space-between; align-items: center; }
.stage__controls .btn { background: rgba(11, 13, 15, 0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-color: var(--line-strong); }
.thumbs { display: flex; gap: 10px; margin-top: var(--sp-3); overflow-x: auto; scrollbar-width: none; padding: 2px; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { position: relative; flex: 0 0 auto; width: 104px; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; opacity: 0.6; transition: all var(--dur) var(--ease); background: var(--surface-2); }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.thumb.is-active { border-color: var(--gold); opacity: 1; }
.thumb__ico { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, 0.35); }

.info { display: flex; flex-direction: column; gap: var(--sp-4); }
.info__title { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 600; line-height: 1.08; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; }
.meta__item { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-size: 0.92rem; }
.meta__item .ico { color: var(--gold); }
.meta__item small { display: block; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); font-weight: 700; }
.meta__item b { font-weight: 700; }
.info__desc { color: var(--text-dim); line-height: 1.7; }
.info__h { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-top: var(--sp-2); }
.steps { display: flex; flex-direction: column; gap: 10px; counter-reset: step; }
.step { display: flex; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.step__num { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--gold-grad); color: var(--on-gold); font-weight: 800; font-size: 0.9rem; }
.step__title { font-weight: 700; margin-bottom: 2px; }
.step__desc { font-size: 0.9rem; color: var(--text-dim); }

.mini-list { display: grid; gap: 10px; }
.mini { display: flex; align-items: center; gap: 12px; padding: 8px; padding-right: 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); text-align: left; width: 100%; transition: transform 0.15s; }
.mini:active { transform: scale(0.98); }
.mini img { width: 72px; height: 56px; border-radius: var(--r-sm); object-fit: cover; flex-shrink: 0; }
.mini__t { font-weight: 700; font-size: 0.95rem; }
.mini__s { font-size: 0.8rem; color: var(--text-faint); }
.mini .ico:last-child { margin-left: auto; color: var(--gold); }

/* ---------- Galeri ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--sp-5); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows: 10px; gap: 0 clamp(10px, 1.6vw, 18px); }
.tile { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: clamp(10px, 1.6vw, 18px); transition: transform 0.2s var(--ease); }
.tile:active { transform: scale(0.97); }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.tile--tall { grid-row: span 30; }
.tile--wide { grid-row: span 18; }
.tile--sq { grid-row: span 23; }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 0.85rem; font-weight: 600; background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent); }
.tile__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(11, 13, 15, 0.55); border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; backdrop-filter: blur(6px); }

.empty { padding: var(--sp-8) var(--sp-4); text-align: center; color: var(--text-faint); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }

/* ---------- Lightbox & Sunum Büyütme (Zoom In / Out) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(4, 5, 6, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0; pointer-events: none;
}
.lightbox.is-open {
  opacity: 1; pointer-events: auto;
}
.lightbox__stage {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  position: relative;
  cursor: zoom-out;
}
.lightbox__media-wrap {
  position: relative;
  max-width: 92vw; max-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,0.85);
  border: 1px solid var(--line-gold);
}
.lightbox.is-open .lightbox__media-wrap {
  transform: scale(1);
  opacity: 1;
}
.lightbox__media-wrap.is-shrinking {
  transform: scale(0.75);
  opacity: 0;
  transition: transform 0.25s ease-in, opacity 0.25s ease-in;
}
.lightbox__media-wrap img, .lightbox__media-wrap video {
  max-width: 92vw; max-height: 85vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--r-lg);
  cursor: zoom-out;
}
.lightbox__media-wrap video {
  background: #000;
  width: min(100%, 1100px);
}
.lightbox__top {
  position: absolute; top: calc(16px + env(safe-area-inset-top)); left: 24px; right: 24px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 10; pointer-events: none;
}
.lightbox__count {
  font-weight: 700; letter-spacing: 0.1em; color: var(--gold-strong);
  background: rgba(11, 13, 15, 0.7); padding: 6px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line-gold); backdrop-filter: blur(8px);
}
.lightbox__hint {
  font-size: 0.85rem; color: var(--text-dim); background: rgba(0,0,0,0.6); padding: 6px 14px; border-radius: var(--r-pill);
}
.lightbox__close {
  --h: 50px; background: rgba(255, 255, 255, 0.1); border-color: var(--line-strong); pointer-events: auto;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(17, 20, 23, 0.75); border: 1px solid var(--line-gold); color: var(--gold);
  backdrop-filter: blur(10px); z-index: 20; transition: transform 0.15s, background 0.2s;
}
.lightbox__nav:active { transform: translateY(-50%) scale(0.92); background: var(--gold); color: var(--on-gold); }
.lightbox__nav--prev { left: clamp(10px, 2.5vw, 32px); }
.lightbox__nav--next { right: clamp(10px, 2.5vw, 32px); }
.lightbox__caption {
  position: absolute; left: 0; right: 0; bottom: calc(20px + env(safe-area-inset-bottom));
  text-align: center; font-family: var(--font-display); font-size: var(--fs-h3);
  padding: 8px 30px; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: #fff;
}

/* Medya vitrini (Hizmet detayında fotoğraflar ve videolar) */
.media-showcase {
  margin: var(--sp-4) 0 var(--sp-5);
}
.media-showcase__head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px;
}
.media-showcase__title {
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.media-showcase__hint {
  font-size: 0.8rem; color: var(--text-faint); display: flex; align-items: center; gap: 6px;
}
.media-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.media-item {
  position: relative; aspect-ratio: 16 / 10;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  cursor: zoom-in; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.media-item:active { transform: scale(0.97); }
.media-item:hover { border-color: var(--line-gold); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.media-item img, .media-item video {
  width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  transition: transform 0.6s var(--ease);
}
.media-item:hover img, .media-item:hover video { transform: scale(1.04); }
.media-item__badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
}
.media-item__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.35); color: #fff;
}
.media-item__play-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad); color: var(--on-gold); box-shadow: 0 4px 18px var(--gold-glow);
}
.media-item__zoom-hint {
  position: absolute; right: 10px; bottom: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(11, 13, 15, 0.7); color: var(--gold);
  border: 1px solid var(--line-gold); backdrop-filter: blur(4px);
}

/* ---------- Ekran koruyucu ---------- */
.screensaver { position: fixed; inset: 0; z-index: 600; background: #000; cursor: pointer; animation: fadeIn 0.8s ease; }
.screensaver__slides, .screensaver__slides > * { position: absolute; inset: 0; }
.screensaver__slides > * { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.screensaver__slides > img.is-on { animation: kenburns 14s ease-out forwards; }
.screensaver__slides > .is-on { opacity: 1; }
.screensaver__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.75)), linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent 55%); }
.screensaver__content { position: absolute; inset: auto 0 0 0; padding: var(--sp-7) var(--page-x) calc(var(--sp-7) + env(safe-area-inset-bottom)); text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); }
.screensaver__brand { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; font-size: clamp(1rem, 2vw, 1.4rem); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.screensaver__tagline { font-family: var(--font-display); font-size: var(--fs-hero); font-weight: 600; line-height: 1.05; max-width: 18ch; transition: opacity 0.6s; }
.screensaver__cta { display: inline-flex; align-items: center; gap: 12px; margin-top: var(--sp-3); padding: 14px 26px; border-radius: var(--r-pill); border: 1px solid var(--line-gold); background: rgba(0, 0, 0, 0.35); font-weight: 700; letter-spacing: 0.06em; transition: opacity 0.6s; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 var(--gold-glow); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 175, 106, 0.6); } 100% { box-shadow: 0 0 0 18px rgba(212, 175, 106, 0); } }
.screensaver__langs { display: flex; gap: 10px; margin-top: var(--sp-4); flex-wrap: wrap; justify-content: center; }
.screensaver__langs button { min-width: 120px; min-height: 52px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.06); font-weight: 700; backdrop-filter: blur(6px); }
.screensaver__langs button:active { background: var(--gold); color: var(--on-gold); }

/* ---------- Idle / senkron ---------- */
.idle-bar { position: fixed; left: 0; right: 0; bottom: 0; height: 3px; z-index: 60; opacity: 0; transition: opacity 0.4s; }
.idle-bar.is-visible { opacity: 1; }
.idle-bar i { display: block; height: 100%; background: var(--gold-grad); transform-origin: left; transition: transform 1s linear; }
.sync-pill { position: fixed; z-index: 700; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: var(--r-pill); font-size: 0.85rem; font-weight: 600; }
.sync-pill .spinner { width: 20px; height: 20px; border-width: 2px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .detail { grid-template-columns: 1fr; }
  .stage-wrap { position: static; }
  .rail { grid-auto-columns: minmax(250px, 44%); }
}
@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .nav-btn__txt { display: none; }
  .nav-btn { width: var(--touch); padding: 0; }
  .brand__name { font-size: 1rem; letter-spacing: 0.05em; }
  .lang-switch button { min-width: 40px; padding: 0 6px; }
}
@media (max-width: 600px) {
  .brand__name { display: none; }
  .rail { grid-auto-columns: 78%; }
  .grid { --card-min: 100%; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .lightbox__nav { display: none; }
  .lightbox__caption { padding: 0 16px; }
  .screensaver__langs button { min-width: 0; flex: 1 1 40%; }
}
@media (orientation: portrait) and (min-width: 700px) {
  .hero { min-height: 34dvh; }
  .grid--cats { --card-min: 320px; }
}
