/* BOSSINNHOUSE tanıtım sitesi — kurumsal kimlik: krem kâğıt zemin, siyah, marka kırmızısı,
   Anton başlıklar, geniş harf aralıklı küçük etiketler, kırmızı/siyah çapraz şeritler. */

@font-face {
  font-family: "Anton";
  src: url("fonts/Anton-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Lalezar";
  src: url("fonts/Lalezar-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("fonts/Oswald.ttf") format("truetype");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --paper: #f8f4eb;
  --paper-2: #efe9dc;
  --ink: #111111;
  --ink-soft: #4a4640;
  --muted: #6b665f;
  --red: #f20108;
  --red-dark: #c40007;
  --line: rgba(17, 17, 17, 0.14);
  --display: "Anton", "Oswald", Impact, "Arial Narrow", sans-serif;
  --label: "Oswald", "Arial Narrow", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --display-weight: 400;
}
/* Anton'da Kiril harfleri yok: Rusçada başlıklar kalın Oswald ile; Arapçada Lalezar ve sistem Arapça yazısı. */
:root:lang(ru) {
  --display: "Oswald", "Arial Narrow", sans-serif;
  --display-weight: 700;
}
:root:lang(ar) {
  --display: "Lalezar", "Geeza Pro", "Noto Naskh Arabic", Tahoma, sans-serif;
  --label: "Geeza Pro", "Noto Naskh Arabic", Tahoma, sans-serif;
  --body: "Geeza Pro", "Noto Naskh Arabic", Tahoma, -apple-system, sans-serif;
}
/* İngilizce marka sloganları her dilde Anton ile kalır */
.hero-words[lang="en"] {
  --display: "Anton", "Oswald", Impact, sans-serif;
  --display-weight: 400;
  --label: "Oswald", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* İnce kâğıt dokusu (görsel dosyası gerekmez) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.27 0 0 0 0 0.22 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.label {
  font-family: var(--label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1.7;
}
.slash { color: var(--red); font-family: "Anton", Impact, sans-serif; font-weight: 400; }

[dir="rtl"] .label, [dir="rtl"] .nav a, [dir="rtl"] .pill, [dir="rtl"] .num { letter-spacing: 0; }
[dir="rtl"] .label { font-size: 14px; line-height: 1.9; }
.h2 { overflow-wrap: break-word; }

/* ---------- Üst menü ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 244, 235, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 88px; }
.brand { display: block; flex-shrink: 0; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; gap: 28px; margin-inline-start: auto; }
.nav a {
  text-decoration: none;
  font-family: var(--label);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav a:hover { color: var(--red); }
.lang {
  display: flex;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  overflow: hidden;
}
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--label);
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 6px 9px;
  cursor: pointer;
  color: var(--ink);
  min-height: 36px;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ---------- Giriş (hero) ---------- */
.hero { padding: 40px 0 0; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: stretch;
}
.hero-text { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 32px; }
.hero h1 {
  /* -4° eğim üst satırları sola kaydırır; o kadar boşluk bırakılır */
  padding-inline-start: 0.26em;
  font-family: var(--display);
  font-weight: var(--display-weight);
  text-transform: uppercase;
  font-size: clamp(64px, 9.4vw, 148px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  margin: 28px 0 24px;
  transform: rotate(-4deg);
  transform-origin: left bottom;
}
.hero h1 .r { color: var(--red); }
.hero h1 .slash { font-size: 0.8em; margin-left: 0.08em; }
.hero-sub { align-self: flex-end; text-align: end; }
.hero-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%);
}
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 46%;
  height: 100%;
  background: linear-gradient(115deg, transparent 0 34%, var(--red) 34% 62%, var(--ink) 62%);
  mix-blend-mode: normal;
  opacity: 0.94;
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 100% 100%);
}
.hero-words {
  position: absolute;
  right: 24px;
  bottom: 72px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  z-index: 2;
  color: var(--paper);
  text-align: left;
}
.hero-words .label { display: block; font-size: 13px; }
.hero-words::after { content: ""; display: block; width: 28px; height: 2px; background: var(--paper); margin-top: 12px; }

/* Uygulama şeridi (tasarımdaki arama çubuğunun yerinde) */
.appbar {
  position: relative;
  z-index: 3;
  margin-top: -40px;
}
.appbar .inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  background: #fffdf8;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.12);
  padding: 18px 20px 18px 24px;
}
.appbar .icon { width: 52px; height: 52px; border-radius: 12px; }
.appbar p { margin: 0; color: var(--ink-soft); }
.appbar strong { color: var(--ink); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--label);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 22px;
  white-space: nowrap;
}

/* ---------- Bölüm başlıkları ---------- */
section { padding: 96px 0 0; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.h2 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  text-transform: uppercase;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.92;
  margin: 0;
}
.h2 .slash { font-size: 0.85em; }
.head .label { color: var(--ink-soft); max-width: 280px; }

/* ---------- Destinasyonlar ---------- */
.cities {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.city {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ink);
  margin: 0;
}
.city img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.city:hover img { transform: scale(1.05); }
.city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.72), transparent 55%); }
.city figcaption { position: absolute; inset-inline-start: 14px; bottom: 12px; z-index: 1; color: #fff; }
.city b {
  display: block;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(17px, 1.65vw, 30px);
  text-transform: uppercase;
  line-height: 1.05;
}
.city span { font-size: 13px; opacity: 0.85; }

.dest-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button, .more {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--ink-soft);
  font-family: var(--label);
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 8px 10px;
  cursor: pointer;
  min-height: 40px;
}
.tabs button:hover, .more:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--red); border-bottom-color: var(--red); }
.more { border: 1.5px solid var(--ink); color: var(--ink); padding: 8px 14px; }
.city { animation: cityIn 0.45s ease both; }
@keyframes cityIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Neden BOSSINNHOUSE ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; }
.why .h2 { font-size: clamp(36px, 3.8vw, 56px); }
.why .label { color: var(--ink-soft); margin-top: 18px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card {
  background: #fffdf8;
  border: 1px solid var(--line);
  padding: 26px 24px 24px;
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 54px;
  height: 4px;
  background: var(--red);
}
.card h3 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  text-transform: uppercase;
  font-size: 26px;
  line-height: 1.05;
  margin: 6px 0 10px;
}
.card p { margin: 0; color: var(--ink-soft); }
.num { font-family: var(--label); color: var(--red); font-size: 13px; letter-spacing: 0.2em; }

/* ---------- More than a stay ---------- */
.band {
  position: relative;
  margin-top: 96px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  min-height: 460px;
  position: relative;
}
.band-text { padding: 72px 0; position: relative; z-index: 2; }
.band .h2 { font-size: clamp(56px, 7.4vw, 112px); transform: rotate(-4deg); transform-origin: left bottom; padding-inline-start: 0.14em; }
.band .h2 .r { color: var(--red); }
.band .label { margin-top: 36px; max-width: 320px; color: rgba(248, 244, 235, 0.86); }
.band-media { position: relative; }
.band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, var(--ink) 0 18%, var(--red) 18% 30%, transparent 30%);
}

/* ---------- Uygulama ---------- */
.app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.app ul { list-style: none; padding: 0; margin: 24px 0 0; }
.app li { padding: 14px 0; border-top: 1px solid var(--line); display: flex; gap: 14px; }
.app li:last-child { border-bottom: 1px solid var(--line); }
.soon { color: var(--red); }
.app li b { font-family: "Oswald", sans-serif; color: var(--red); font-weight: 500; min-width: 28px; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.langs span { border: 1.5px solid var(--ink); padding: 4px 12px; font-family: var(--label); font-size: 14px; letter-spacing: 0.06em; }
.phone {
  justify-self: center;
  width: min(300px, 80vw);
  aspect-ratio: 9 / 19;
  border-radius: 42px;
  background: var(--ink);
  padding: 12px;
  box-shadow: 0 30px 60px rgba(17, 17, 17, 0.25);
  transform: rotate(4deg);
}
.screen {
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.screen .s-top { padding: 34px 18px 10px; }
.screen .s-top img { height: 18px; width: auto; }
.screen h4 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  text-transform: uppercase;
  font-size: 40px;
  line-height: 0.9;
  margin: 18px 18px 14px;
  transform: rotate(-4deg);
}
.screen h4 .r { color: var(--red); }
.screen .s-img { flex: 1; position: relative; margin: 0 12px 12px; overflow: hidden; border-radius: 120px 120px 6px 6px; }
.screen .s-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Alt bilgi ---------- */
.foot {
  margin-top: 110px;
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}
.foot::before {
  content: "";
  position: absolute;
  right: -150px;
  top: 0;
  width: 380px;
  height: 100%;
  background: linear-gradient(120deg, transparent 0 40%, var(--red) 40% 64%, transparent 64%);
  opacity: 0.9;
}
.foot .wrap { position: relative; }
.foot img { height: 60px; width: auto; }
.foot .tag { margin: 18px 0 40px; color: rgba(248, 244, 235, 0.8); }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; border-top: 1px solid rgba(248, 244, 235, 0.18); padding-top: 22px; font-size: 14px; }
.foot-links a { text-decoration: none; color: rgba(248, 244, 235, 0.86); }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-links .copy { margin-inline-start: auto; margin-inline-end: 140px; color: rgba(248, 244, 235, 0.6); }

/* ---------- Metin sayfaları (gizlilik, kaynaklar) ---------- */
.doc { max-width: 760px; padding-top: 64px; }
.doc .h2 { margin-bottom: 24px; font-size: clamp(30px, 7.6vw, 52px); }
.doc h3 { font-family: var(--label); font-weight: 600; letter-spacing: 0.04em; font-size: 20px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc .note { border-left: 4px solid var(--red); background: #fffdf8; padding: 14px 18px; margin: 24px 0; }
.lang-end { margin-inline-start: auto; }
.doc .updated { margin-top: 40px; }
.credits { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 16px; }
.credits th, .credits td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits th { font-family: var(--label); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }

/* ---------- Ana başlık: dile göre boyut ---------- */
/* Almanca ve Rusçada kelimeler daha uzun, Rusça başlık yazı tipi (Oswald) daha geniştir. */
:root:lang(ru) .hero h1 { line-height: 0.95; }
:root:lang(ar) .hero h1 { line-height: 1.12; }
:root:lang(de) .screen h4 { font-size: 30px; }
:root:lang(ru) .screen h4 { font-size: 30px; line-height: 1; }
:root:lang(ar) .screen h4 { line-height: 1.2; }


/* ---------- Sağdan sola (Arapça) ---------- */
[dir="rtl"] .hero-media { clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
[dir="rtl"] .hero-media::after { right: auto; left: 0; transform: scaleX(-1); }
[dir="rtl"] .hero-words { right: auto; left: 24px; }
[dir="rtl"] .band-media::before { background: linear-gradient(-105deg, var(--ink) 0 18%, var(--red) 18% 30%, transparent 30%); }
[dir="rtl"] .foot::before { right: auto; left: -150px; transform: scaleX(-1); }
[dir="rtl"] .phone { transform: rotate(-4deg); }
[dir="rtl"] .hero h1 { transform: rotate(4deg); transform-origin: right bottom; }
[dir="rtl"] .band .h2 { transform: rotate(4deg); transform-origin: right bottom; }
[dir="rtl"] .screen h4 { transform: rotate(4deg); }

/* ---------- Mobil ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .brand img { height: 40px; }
  .top .wrap { height: 76px; }
  .lang { margin-inline-start: auto; }
  .hero-grid, .why, .app, .band .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-media { min-height: 380px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); margin: 0 calc(var(--gutter) * -1); }
  .hero-text { padding-bottom: 8px; }
  .hero-sub { text-align: left; align-self: flex-start; }
  .appbar { margin-top: -28px; }
  .appbar .inner { grid-template-columns: auto 1fr; }
  .appbar .pill { grid-column: 1 / -1; justify-content: center; }
  .cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .head { flex-direction: column; align-items: flex-start; }
  .band-text { padding: 56px 0 32px; }
  .band-media { min-height: 300px; margin: 0 calc(var(--gutter) * -1); }
  section { padding-top: 72px; }
  .foot-links .copy { margin-inline-start: 0; margin-inline-end: 0; width: 100%; }
  .foot::before { right: -170px; width: 260px; }
  [dir="rtl"] .foot::before { right: auto; left: -170px; }
  [dir="rtl"] .hero-media { clip-path: none; }
}
@media (max-width: 560px) {
  .brand img { height: 30px; }
  .top .wrap { gap: 10px; height: 68px; }
  .foot img { height: 44px; }
  .lang button { padding: 6px 7px; font-size: 12px; }
  .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dest-bar { flex-direction: column; align-items: stretch; gap: 10px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: 0 0 auto; white-space: nowrap; }
  .more { align-self: flex-start; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .credits { font-size: 13px; }
  .credits th:nth-child(3), .credits td:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .city img { transition: none; }
  .city { animation: none; }
}

/* ---------- Başlıklar sütuna sığar ----------
   Her başlık bulunduğu sütunun genişliğine göre boyutlanır: en uzun satırı (em cinsinden,
   yazı tipiyle ölçüldü) sütunu aşmaz; böylece hiçbir dilde ve ekranda kelime bölünmez.
   Eski tarayıcılar yukarıdaki clamp() değerlerini kullanır. */
:root:lang(tr) { --em-hero: 3.73; --em-band: 6.00; --em-why: 6.29; --em-doc: 8.70; --em-dest: 6.63; --em-app: 4.40; }
:root:lang(en) { --em-hero: 4.49; --em-band: 4.23; --em-why: 5.15; --em-doc: 5.92; --em-dest: 5.45; --em-app: 3.38; }
:root:lang(de) { --em-hero: 5.62; --em-band: 4.87; --em-why: 5.26; --em-doc: 6.18; --em-dest: 4.25; --em-app: 3.20; }
:root:lang(ru) { --em-hero: 5.70; --em-band: 5.51; --em-why: 5.71; --em-doc: 11.08; --em-dest: 6.81; --em-app: 6.32; }
:root:lang(ar) { --em-hero: 3.46; --em-band: 4.54; --em-why: 5.88; --em-doc: 6.03; --em-dest: 3.61; --em-app: 4.65; }
.hero-text, .band-text, .why-head, .doc, .app-text, .head { container-type: inline-size; }
.hero h1 { font-size: min(148px, calc(100cqi / (var(--em-hero) + 0.26) * 0.86)); }
.band .h2 { font-size: min(112px, calc(100cqi / (var(--em-band) + 0.14) * 0.88)); }
.why .h2 { font-size: min(72px, calc(100cqi / var(--em-why) * 0.92)); }
.doc .h2 { font-size: min(72px, calc(100cqi / var(--em-doc) * 0.95)); }
.app .h2 { font-size: min(84px, calc(100cqi / var(--em-app) * 0.92)); }
#dest-title { font-size: min(84px, calc(100cqi / var(--em-dest) * var(--dest-k, 0.62))); }
@media (max-width: 960px) { #dest-title { --dest-k: 0.95; } }
