/* Coffee Truck ana sayfa taban stilleri (2026 yeniden tasarım).
   Kimlik poşet baskısındaki logodan geliyor: siyah zemin, krem yazı, tek vurgu rengi bakır.
   Menü sayfaları ve admin bu dosyayı kullanmaz; onlar assets/css/style.css ile çalışır. */
:root {
  --bg: #111110; --bg-2: #1a1817; --bg-3: #23201e;
  --text: #efe9df; --muted: rgb(239 233 223 / .68); --faint: rgb(239 233 223 / .52); --line: rgb(239 233 223 / .14);
  --accent: #c47a3a; --accent-2: #d99257;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-perde: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(16px, 5vw, 80px);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-stretch: 100%; line-height: 1.55; overflow-x: hidden; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
/* Bileşenlere verilen display değerleri hidden özniteliğini ezmesin */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- LOGO (inline SVG sembolü, rengi currentColor) ---------- */
.logo { display: block; width: auto; height: 100%; overflow: visible; }
/* Sembol yollarında renk yok; <use> ile çizilen her şey yazı rengini alır */
.logo, .perde__logo, .ok { fill: currentColor; }

/* ---------- AÇILIŞ PERDESİ ----------
   Logo harfleri belirir, R'deki ok soldan gelir, perde ok yönünde açılır.
   data-acik eklenince açılır; data-bitti ile tamamen kalkar. */
.perde { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg); color: var(--text);
  clip-path: inset(0 0 0 0); transition: clip-path .8s var(--ease-perde); cursor: pointer; }
.perde[data-acik] { clip-path: inset(0 0 0 100%); }
.perde[data-bitti] { display: none; }
.perde__logo { width: min(72vw, 440px); aspect-ratio: 323.4 / 43.9; }
.perde__harf { opacity: 0; animation: perde-harf .5s var(--ease) .1s forwards; }
.perde__ok { opacity: 0; transform: translateX(-34px); animation: perde-ok .65s var(--ease) .32s forwards; }
@keyframes perde-harf { to { opacity: 1; } }
@keyframes perde-ok { to { opacity: 1; transform: none; } }
.perde__cizgi { position: absolute; left: 50%; bottom: 18%; width: min(40vw, 220px); height: 1px; translate: -50% 0; background: var(--line); overflow: hidden; }
.perde__cizgi::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); animation: perde-cizgi 1.1s var(--ease) .2s forwards; }
@keyframes perde-cizgi { to { transform: scaleX(1); } }

/* ---------- ÜST MENÜ ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(to bottom, rgb(0 0 0 / .72), rgb(0 0 0 / .3) 60%, transparent); transition: background .4s var(--ease); }
.nav[data-dolu] { background: rgb(17 17 16 / .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.nav__marka { display: block; height: 22px; color: var(--text); }
.nav__linkler { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav__linkler a:not(.btn) { text-decoration: none; font-size: .9rem; font-weight: 500; color: rgb(239 233 223 / .82); text-shadow: 0 1px 8px rgb(0 0 0 / .6); transition: color .2s; }
.nav__linkler a:not(.btn):hover { color: var(--text); }
.nav__ac { display: none; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 4px; font-size: .85rem; font-weight: 600; letter-spacing: .04em; }
@media (min-width: 1024px) { .nav { height: 88px; } .nav__marka { height: 30px; } }
@media (max-width: 899px) {
  .nav__linkler { display: none; }
  .nav__ac { display: inline-flex; align-items: center; gap: 8px; }
}

/* Telefon menüsü: tam ekran panel */
.panel { position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: 96px var(--gutter) 40px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .55s var(--ease-perde), visibility 0s .55s; }
.panel[data-acik] { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .55s var(--ease-perde), visibility 0s; }
.panel > a { text-decoration: none; font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 800; font-stretch: 112%; line-height: 1.2; letter-spacing: -.01em; padding: 6px 0; border-bottom: 1px solid var(--line); }
.panel__kapat { position: absolute; top: 16px; right: var(--gutter); height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 4px; font-size: .85rem; font-weight: 600; }
.panel__alt { margin-top: auto; color: var(--muted); font-size: .9rem; }
.panel__alt a { color: var(--text); }
@media (max-height: 480px) { .panel { padding-top: 68px; } .panel > a { font-size: 1.4rem; padding: 4px 0; } }

/* ---------- ORTAK TİPOGRAFİ VE BUTONLAR ---------- */
.ust-etiket { font-size: .76rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.dev { font-weight: 850; font-stretch: 118%; font-size: clamp(2.7rem, 6vw, 6rem); line-height: .97; letter-spacing: -.018em; text-wrap: balance; }
.buyuk { font-weight: 800; font-stretch: 114%; font-size: clamp(2rem, 4.2vw, 4rem); line-height: 1; letter-spacing: -.014em; text-wrap: balance; }
.metin { font-size: clamp(1rem, 1.25vw, 1.15rem); color: var(--muted); max-width: 34rem; text-wrap: pretty; }
.butonlar { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 22px; border-radius: 4px; background: var(--accent); color: #111110;
  text-decoration: none; font-size: .95rem; font-weight: 650; transition: background .2s, transform .15s; }
.btn:hover { background: var(--accent-2); }
.btn:active { transform: scale(.97); }
.btn--cizgi { background: transparent; color: var(--text); border: 1px solid rgb(239 233 223 / .5); }
.btn--cizgi:hover { background: rgb(239 233 223 / .08); }
/* Butonlardaki ok, logodaki R'nin oku */
.ok { width: .62em; height: .95em; flex: none; transition: transform .25s var(--ease); }
.btn:hover .ok { transform: translateX(4px); }

/* ---------- SCROLL VİDEO BÖLÜMÜ (scrub.js) ---------- */
.vs { position: relative; height: 320svh; background: var(--bg); }
.vs--giris { height: 350svh; }
.vs__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.vs__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -2; }
.vs__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(17 17 16 / .82) 0%, rgb(17 17 16 / .45) 36%, transparent 60%), linear-gradient(0deg, rgb(17 17 16 / .55), transparent 28%); }
.vs__beats { position: absolute; left: var(--gutter); top: 50%; translate: 0 -46%; width: min(40rem, 48vw); display: grid; }
.vs__beat { grid-area: 1 / 1; display: grid; gap: 1.4rem; align-content: start; opacity: 0; filter: blur(12px); translate: 0 26px; pointer-events: none;
  transition: opacity .7s var(--ease), filter .7s var(--ease), translate .9s var(--ease); }
.vs__beat.is-on { opacity: 1; filter: blur(0); translate: 0 0; pointer-events: auto; }
.vs__beat .metin { margin-top: -.2rem; }

/* Giriş altındaki kaydır işareti */
.kaydir { position: absolute; left: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; transition: opacity .4s; }
.kaydir .ok { rotate: 90deg; color: var(--accent); animation: kaydir 1.8s var(--ease) infinite; }
@keyframes kaydir { 0%, 100% { translate: 0 0; } 50% { translate: 0 5px; } }
.vs[data-kaydi] .kaydir { opacity: 0; }

/* Dik ekran (telefon): video seti de dikey (scrub.js aynı kuralı kullanır), metin üstte, gölge yukarıdan */
@media (max-aspect-ratio: 9/10) {
  .vs { height: 280svh; }
  .vs--giris { height: 300svh; }
  .vs__shade { background: linear-gradient(180deg, rgb(17 17 16 / .86) 0%, rgb(17 17 16 / .5) 30%, transparent 52%), linear-gradient(0deg, rgb(17 17 16 / .5), transparent 22%); }
  .vs__beats { left: 16px; right: 16px; width: auto; top: clamp(88px, 13svh, 120px); translate: none; }
  .vs__beat { gap: 1rem; }
  .dev { font-size: clamp(2.3rem, 10.5vw, 3.6rem); }
  .vs__beat .metin { font-size: .98rem; }
  .kaydir { left: 16px; bottom: 20px; }
}
/* Yatay ama 16:9'dan basık ekran (tablet, 4:3 / 16:10 dizüstü): yatay video, metin solda ama daha dar ve küçük */
@media (min-aspect-ratio: 9/10) and (max-aspect-ratio: 3/2) {
  .vs__beats { width: min(28rem, 42vw); }
  .dev { font-size: clamp(1.9rem, 5.4vw, 3.2rem); }
  .buyuk { font-size: clamp(1.6rem, 4vw, 2.6rem); }
  .vs__beat .metin { font-size: .95rem; }
}
@media (max-width: 1023px) {
  .btn { height: 46px; padding: 0 18px; font-size: .9rem; }
}
/* Yatay telefon: ekran çok basık, uzun açıklamalar sığmaz */
@media (min-aspect-ratio: 9/10) and (max-height: 480px) {
  .vs__beats { top: 76px; translate: none; width: min(26rem, 46vw); }
  .vs__beat { gap: .6rem; }
  .vs__beat .ust-etiket { display: none; }
  .vs__beat:not(.yontem) .metin, .kaydir { display: none; }
  .dev { font-size: clamp(1.6rem, 4.4vw, 2.4rem); }
  .buyuk { font-size: clamp(1.4rem, 3.6vw, 2rem); }
  .btn { height: 42px; }
}
/* Kısa dik ekran (iPhone SE ve tarayıcı çubukları): üst gölge daha uzun, açıklama cümlesi kalkar */
@media (max-aspect-ratio: 9/10) and (max-height: 640px) {
  .vs__shade { background: linear-gradient(180deg, rgb(17 17 16 / .92) 0%, rgb(17 17 16 / .72) 42%, transparent 64%), linear-gradient(0deg, rgb(17 17 16 / .5), transparent 22%); }
  .vs__beat:not(.yontem) .metin { display: none; }
  .dev { font-size: clamp(2rem, 9.4vw, 3rem); }
}
/* Telefonda girişteki uzun cümle portafiltrenin üstüne biniyor; aynı bilgi aşağıdaki bölümlerde de var */
@media (max-width: 599px) { .genis-ekran { display: none; } }

/* ---------- ORTAK GİRİŞ EFEKTLERİ (site.js) ---------- */
[data-lines] > span { display: block; overflow: hidden; padding-bottom: .05em; }
[data-lines] > span > span { display: block; }
.wd { display: inline-block; overflow: hidden; vertical-align: top; }
.wd > span { display: inline-block; }

/* ---------- ALT BİLGİ ---------- */
.altbilgi { display: grid; gap: 28px; padding: 56px var(--gutter) 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.altbilgi__ust { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.altbilgi__marka { height: 26px; color: var(--text); }
.altbilgi__slogan { margin-top: 12px; }
.altbilgi nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.altbilgi a { text-decoration: none; }
.altbilgi a:hover { color: var(--text); }
.altbilgi__alt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: .8rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .vs__beat { filter: none; translate: none; }
}

/* ---------- YASAL METİN SAYFASI (gizlilik-politikasi.html) ---------- */
.yasal { padding: clamp(120px, 14vw, 180px) var(--gutter) clamp(72px, 10vw, 120px); display: grid; gap: clamp(36px, 5vw, 56px); }
.yasal__ust { display: grid; gap: 16px; max-width: 46rem; }
.yasal__metin { max-width: 46rem; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.yasal__metin h2 { margin: 2.4em 0 .7em; color: var(--text); font-size: 1.25rem; font-weight: 750; font-stretch: 108%; letter-spacing: -.005em; line-height: 1.3; }
.yasal__metin h2:first-child { margin-top: 0; }
.yasal__metin p + p { margin-top: 1em; }
.yasal__metin ul { margin: .8em 0 0 1.2em; display: grid; gap: .45em; }
.yasal__metin strong { color: var(--text); font-weight: 650; }
.yasal__metin a { color: var(--text); text-underline-offset: 3px; }
.yasal__metin code { font-size: .9em; padding: .1em .35em; border-radius: 3px; background: var(--bg-2); }
.yasal__tarih { font-size: .85rem; color: var(--faint); }

/* Giriş (hero2): portafiltrenin ahşap kolu sola uzanıyor; yatay ekranda karartma kolun ucunu da örter, başlık bir tık küçük */
@media (min-aspect-ratio: 9/10) {
  .vs--giris .vs__shade { background: linear-gradient(90deg, rgb(17 17 16 / .92) 0%, rgb(17 17 16 / .78) 30%, rgb(17 17 16 / .32) 50%, transparent 64%), linear-gradient(0deg, rgb(17 17 16 / .55), transparent 28%); }
  .vs--giris .dev { font-size: clamp(2.5rem, 5.1vw, 5.2rem); }
  /* Metin kolun altında, tezgâhın karanlık gölgesinde dursun */
  .vs--giris .vs__beats { top: auto; bottom: clamp(56px, 9svh, 110px); translate: none; width: min(42rem, 44vw); }
}
