/* Yasal sayfalar, 404, çerez uyarısı, mobil hızlı iletişim çubuğu, erişilebilirlik yardımcıları */

/* ---------- klavye odağı + "içeriğe geç" ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 200; padding: .7rem 1.1rem; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 600; transition: top .25s;
}
.skip:focus { top: 1rem; }

/* ---------- yasal sayfalar ---------- */
.legal { max-width: 52rem; margin: 0 auto; padding: clamp(7rem, 14vh, 9.5rem) var(--gutter) clamp(4rem, 8vw, 7rem); }
.legal .crumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; font-size: .88rem; color: var(--muted); }
.legal .crumbs a:hover { color: var(--accent); }
.legal h1 { margin: .8rem 0 .6rem; font: 800 clamp(2rem, 1.2rem + 3.4vw, 3.6rem)/1.05 var(--font-display); letter-spacing: -.03em; }
.legal__meta { margin: 0 0 2rem; color: var(--muted); font-size: .9rem; }
.legal h2 { margin: 2.6rem 0 .8rem; font: 700 1.3rem/1.25 var(--font-display); letter-spacing: -.01em; scroll-margin-top: 6rem; }
.legal p, .legal li { font-size: 1.02rem; line-height: 1.75; color: color-mix(in srgb, var(--text) 86%, transparent); }
.legal p { margin: 0 0 1rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.3rem; display: grid; gap: .5rem; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text); font-weight: 600; }

/* ---------- 404 ---------- */
.nf { min-height: 78vh; display: grid; align-content: center; justify-items: start; gap: 1.2rem; padding: 8rem var(--gutter) 4rem; max-width: 64rem; margin: 0 auto; }
.nf__no { margin: 0; font: 850 clamp(6rem, 3rem + 18vw, 15rem)/.8 var(--font-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.nf h1 { margin: 0; font: 800 clamp(1.8rem, 1rem + 3vw, 3.2rem)/1.05 var(--font-display); letter-spacing: -.03em; }
.nf__lead { margin: 0; max-width: 34rem; color: var(--muted); line-height: 1.7; }
.nf__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .8rem; }

/* ---------- alt bilgi: yasal bağlantılar ---------- */
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer__legal a, .footer__cookie { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; transition: color .3s; }
.footer__legal a:hover, .footer__cookie:hover { color: var(--accent); }

/* ---------- çerez uyarısı ---------- */
.consent {
  position: fixed; z-index: 120; left: var(--gutter); bottom: 1.2rem; width: min(26rem, calc(100vw - 2 * var(--gutter)));
  padding: 1.2rem 1.3rem; border-radius: 1rem; background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35); animation: consentIn .5s var(--ease) both;
}
.consent__title { margin: 0 0 .4rem; font: 700 1rem/1.2 var(--font-display); }
.consent__text { margin: 0 0 1rem; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.consent__text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: .6rem; }
/* Telefon: çerez kutusu küçük olsun ve alttaki hızlı iletişim çubuğunun (.dock) üstünde dursun; içeriği kapatmasın */
@media (max-width: 820px) {
  .consent { left: .7rem; right: .7rem; width: auto; bottom: calc(5.6rem + env(safe-area-inset-bottom)); padding: .85rem 1rem; }
  .consent__title { font-size: .92rem; margin-bottom: .25rem; }
  .consent__text { font-size: .78rem; line-height: 1.45; margin-bottom: .65rem; }
}
/* Telefon, dar: metin solda, iki düğme sağda alt alta; kutu iki satıra iner ve hero sahnesini kapatmaz. Başlık ekran okuyucu için kalır */
@media (max-width: 560px) {
  .consent { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem .8rem; align-items: center; padding: .65rem .8rem; }
  .consent__title { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .consent__text { margin: 0; font-size: .72rem; line-height: 1.35; }
  .consent__actions { flex-direction: column; gap: .35rem; }
  .consent__actions .btn { min-height: 2.1rem; padding: .3rem .9rem; font-size: .8rem; justify-content: center; }
}
@keyframes consentIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- mobil hızlı iletişim çubuğu ---------- */
.dock { display: none; }
@media (max-width: 820px) {
  .dock {
    position: fixed; z-index: 90; left: .7rem; right: .7rem; bottom: calc(.7rem + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: .5rem; padding: .5rem; border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line-strong);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 34px rgba(0, 0, 0, .3);
    transition: transform .4s var(--ease), opacity .3s;
  }
  .dock a { display: grid; place-items: center; min-height: 2.8rem; padding: 0 .8rem; border-radius: 999px; font-size: .92rem; font-weight: 600; }
  .dock a:nth-child(3) { background: var(--accent); color: var(--on-accent); }
  .dock.is-hidden { transform: translateY(160%); opacity: 0; pointer-events: none; }
  .consent { bottom: 5.6rem; }
}
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } .dock { transition: none; } }

.form__status.is-error { color: var(--text); text-decoration: underline wavy var(--accent); text-underline-offset: 4px; }

/* gündüz temasında turuncu yazılar kontrast eşiğini (4.5:1) geçsin */
:root[data-theme="day"] .film__client,
:root[data-theme="day"] .reel__client,
:root[data-theme="day"] .fmodal__client { color: #b03606; }

/* "&" işareti: Archivo'nun geniş "&"i okunaksız kalıyordu; her yerde Times New Roman'daki klasik "&" kullanılır */
.amp { font-family: "Times New Roman", Times, serif; font-style: normal; font-weight: inherit; font-stretch: normal; line-height: 1; letter-spacing: 0; margin-inline: .02em; -webkit-text-stroke: 0; }

/* hizmet satırları: tüm satır tıklanabilir (film örneği ya da teklif) */
.service { position: relative; }
.service__a { color: inherit; text-decoration: none; }
.service__a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.service__a:focus-visible { outline: none; }
.service__a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: 6px; }
.service__go { display: block; margin-top: .55rem; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--text); transition: color .3s; }
.service:hover .service__go { color: inherit; }

/* ---------- sitenin en altı: dilimli dev "ANTAKYA360" (slab.js) ---------- */
.footer { padding-bottom: 0; }
.footer__bottom { padding-bottom: 1.4rem; }
.slab { position: relative; max-width: 1480px; margin: clamp(1.4rem, 3vw, 2.4rem) auto 0; user-select: none; }
.slab__band { position: absolute; left: 0; right: 0; overflow: hidden; transform-origin: 50% 0; transform: scaleY(0); will-change: transform; }
.slab__txt {
  position: absolute; left: 0; top: 0; white-space: nowrap; line-height: 1; text-transform: uppercase; color: var(--text);
  font-family: var(--font-display); font-weight: 900; font-stretch: 62%; font-variation-settings: "wght" 900, "wdth" 62; letter-spacing: 0;
  transition: color .5s;
}
.slab:hover .slab__txt { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .slab__band { transform: none; } }

/* ==========================================================================
   SANAL TUR PORTALI (portal.js): kartın içindeki panorama + karttan dünyaya geçiş
   ========================================================================== */
.tour__media.is-portal { perspective: 900px; }
.tour__media.is-portal .tour__img {
  width: 100%; height: 100%; max-width: none; object-fit: cover; transform-style: preserve-3d;
  transform: rotateY(calc(var(--px, 0) * 4deg)) rotateX(calc(var(--py, 0) * 3deg)) scale(1.16); transform-origin: 50% 50%;
  transition: transform .25s ease-out, filter .6s; filter: saturate(.9) brightness(.9);
}
.tour__card:hover .tour__media.is-portal .tour__img { transform: rotateY(calc(var(--px, 0) * 4deg)) rotateX(calc(var(--py, 0) * 3deg)) scale(1.16); filter: saturate(1.08) brightness(1); }
.portal__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .7s; }
.tour__media.is-live .portal__gl { opacity: 1; }
.tour__media.is-live .tour__img { opacity: 0; }
.tour__card.is-entering { pointer-events: none; }

.world { position: fixed; inset: 0; z-index: 95; background: #050506; }
.world[hidden] { display: none; }
.world__stage { position: absolute; inset: 0; }
.world__layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; will-change: clip-path; }
.world__ghost { background-size: 100%; background-position: center; background-repeat: no-repeat; }
.world__hud { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.world__hud > * { pointer-events: auto; }
.world__close {
  position: absolute; left: clamp(.8rem, 2vw, 1.6rem); top: clamp(.8rem, 2vw, 1.6rem); padding: .7rem 1.2rem; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  background: rgba(10, 10, 11, .66); color: #f4f1ea; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .3s, color .3s;
}
.world__close:hover { background: var(--accent); color: var(--on-accent); }

.world .tv360__top { padding-left: clamp(10.5rem, 14vw, 12.5rem); }
/* Telefon: "Turlara dön" kendi satırında, araç düğmeleri onun altında (tek satıra sığmıyordu, üst üste biniyordu) */
@media (max-width: 720px) {
  .world .tv360__title { display: none; }
  .world .tv360__top { padding-left: .7rem; padding-right: .7rem; padding-top: 3.9rem; justify-content: flex-end; }
  .world .tv360__tools { margin-left: auto; }
  .world__close { top: .7rem; left: .7rem; padding: .55rem .95rem; font-size: .85rem; }
}
/* Tur açıkken çerez kutusu turun üstünde durmasın (oklara, haritaya ve küçük resimlere biniyordu); tur kapanınca geri gelir */
body:has(.world:not([hidden])) .consent { display: none; }

/* ==========================================================================
   SANAL TURLAR: eşit boyutlu, alt alta, çerçeveli portal kartları
   ========================================================================== */
.tours__head { align-items: end; gap: 2rem clamp(2rem, 6vw, 6rem); }
.tours__intro { max-width: 38rem; }
.tours__intro p { margin: 0 0 1.2rem; color: var(--muted); font-size: clamp(1rem, .95rem + .25vw, 1.12rem); line-height: 1.75; }
.tours__points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.tours__points li { position: relative; padding-left: 1.3rem; font-size: .9rem; font-weight: 600; }
.tours__points li::before { content: ""; position: absolute; left: 0; top: .5em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); }

.tours__grid { grid-template-columns: 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); }
.tours__grid .tour, .tours__grid .tour:nth-child(n) { grid-column: 1 / -1; }
.tour__card {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1rem, 2.4vw, 2.4rem); align-items: stretch; height: auto;
  padding: clamp(.6rem, 1vw, .9rem); border: 1px solid var(--line-strong); border-radius: 1.6rem; transform: none !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 30px 70px -40px rgba(0, 0, 0, .5);
  transition: border-color .4s, box-shadow .6s var(--ease);
}
.tour__card:hover { border-color: var(--accent); box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 40px 90px -38px color-mix(in srgb, var(--accent) 40%, transparent); }
.tour__card::after { display: none; }
/* min-width:0 + width:100%: Safari/WebKit grid'de aspect-ratio'lu öğeyi genişliği orandan hesaplayıp sütunu aşıyordu (iPad'de görsel metnin üstüne taşıyordu) */
.tour__media { aspect-ratio: 16 / 10; border-radius: 1.1rem; min-width: 0; width: 100%; }
.tour__shade { background: linear-gradient(180deg, rgba(0, 0, 0, .32) 0%, transparent 28%, transparent 70%, rgba(0, 0, 0, .35) 100%); pointer-events: none; }

/* görüntü çerçevesi: köşe işaretleri */
.tour__media::after {
  content: ""; position: absolute; inset: .7rem; z-index: 3; pointer-events: none; border-radius: .7rem; opacity: .9;
  --c: rgba(255, 255, 255, .85); --l: 1.4rem; --w: 2px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) top right / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l) no-repeat;
  transition: inset .6s var(--ease), opacity .4s;
}
.tour__card:hover .tour__media::after { inset: .45rem; }
.tour__hud {
  position: absolute; left: 1.2rem; bottom: 1.1rem; z-index: 4; display: flex; gap: 1rem; padding: .4rem .8rem; border-radius: 999px; pointer-events: none;
  background: rgba(10, 10, 11, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #f4f1ea; font: 600 .7rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
}
.tour__hud b { font-variant-numeric: tabular-nums; color: #ffb48a; }

.tour__body { margin-top: 0; padding: clamp(.8rem, 2vw, 2rem) clamp(.4rem, 1.4vw, 1.4rem) clamp(.8rem, 2vw, 1.6rem) 0; justify-content: center; gap: .2rem; }
.tour__title { font-size: clamp(1.7rem, 1rem + 2vw, 3rem); margin-bottom: .8rem; }
.tour__summary { max-height: none; opacity: 1; margin: 0 0 1.4rem; font-size: 1rem; line-height: 1.7; }
.tour__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 1.6rem; padding: 0; border-top: 1px solid var(--line); }
.tour__facts div { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.tour__facts div:nth-child(odd) { padding-right: 1rem; }
.tour__facts dt { margin-bottom: .25rem; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.tour__facts dd { margin: 0; font: 600 .98rem/1.35 var(--font-display); }
.tour__cta {
  display: inline-flex; align-items: center; gap: .7rem; align-self: flex-start; padding: .9rem 1.5rem; border-radius: 999px; background: var(--accent); color: var(--on-accent);
  font-weight: 600; font-size: .98rem; transition: background .4s, color .4s, gap .4s var(--ease);
}
.tour__cta i { font-style: normal; transition: transform .5s var(--ease); }
.tour__card:hover .tour__cta { background: var(--text); color: var(--bg); gap: 1rem; }
.tour__card:hover .tour__cta i { transform: translateX(4px); }
.tour__card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (max-width: 900px) {
  .tour__card { grid-template-columns: 1fr; }
  .tour__body { padding: .4rem .6rem 1rem; }
}
@media (max-width: 560px) { .tour__facts { grid-template-columns: 1fr; } .tour__facts div:nth-child(odd) { padding-right: 0; } .tour__hud { left: .8rem; bottom: .8rem; gap: .6rem; } }

/* alt bilgi: taranabilir proje bağlantıları (JS'siz botlar da proje sayfalarına ulaşsın) */
.footer__projects { grid-column: 1 / -1; padding: 1.6rem 0 1.6rem; border-top: 1px solid var(--line); }
.footer__projects h2 { margin: 0 0 .9rem; font: 600 .72rem/1 var(--font-body, inherit); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.footer__projects ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-size: .92rem; }
.footer__projects a { transition: color .3s; }
.footer__projects a:hover { color: var(--accent); }

/* hizmet bölgeleri sayfası */
.legal h3 { margin: 1.6rem 0 .5rem; font: 700 1.05rem/1.3 var(--font-display); }
.legal ol.steps { margin: 0 0 1rem; padding-left: 1.3rem; display: grid; gap: .6rem; }
.legal ol.steps li { padding-left: .3rem; }
.legal ul.regions { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.legal ul.regions li { padding: .35rem .9rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .95rem; line-height: 1.4; scroll-margin-top: 6rem; }
.legal ul.regions li:target { border-color: var(--accent); color: var(--accent); }
.legal .btn { text-decoration: none; color: inherit; }

.legal ol.steps h3 { margin: 0 0 .25rem; }
.legal ol.steps p { margin: 0; }

/* Dokunmatik cihazlarda küçük düğmelere en az ~40px yükseklik */
@media (pointer: coarse) {
  .lang-toggle { min-height: 40px; }
  .reel__tool { padding-block: .8rem; }
}

/* WhatsApp QR bandı (hizmet ve rehber sayfalarının sonu). Telefonda gizli: orada hazır WhatsApp düğmeleri var. */
.wa-qr { display: none; border-top: 1px solid var(--line); }
.wa-qr__in { display: flex; align-items: center; gap: 1.25rem; max-width: 70rem; margin: 0 auto; padding: 2rem var(--gutter, 1.25rem); }
.wa-qr img { flex: none; width: 112px; height: 112px; border-radius: 6px; background: #fff; }
.wa-qr__h { margin: 0 0 .3rem; font: italic 400 1.25rem/1.1 var(--serif, Georgia, serif); color: var(--text); }
.wa-qr__p { margin: 0; max-width: 34ch; color: var(--muted); font-size: .9rem; line-height: 1.5; }
@media (hover: hover) and (pointer: fine) { .wa-qr { display: block; } }
