/* Ortak temel: her tasarım bunun üstüne assets/themes/<ad>.css ile kendi düzenini kurar. */
:root {
  --bg: #0c0c0d;
  --surface: #161618;
  --line: #2b2b2f;
  --text: #f1efe9;
  --muted: #9b9890;
  --accent: #e8d9b5;
  --header-h: 84px;
  --gutter: clamp(16px, 4vw, 64px);
  --font: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: var(--font);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.label { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; margin: 0 0 4px; }

/* Üst bar (varsayılan: sağda yatay menü, telefonda açılır) */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
  transition: background .3s, transform .4s var(--ease);
}
.brand img { width: 160px; height: auto; }
.site-nav { display: flex; gap: clamp(18px, 3vw, 40px); align-items: center; }
.site-nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 500; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; position: relative; z-index: 2; }
.menu-toggle span { display: block; height: 2px; background: currentColor; color: var(--text); margin: 6px 0; transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .brand img { width: 132px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 8px; background: var(--bg);
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .site-nav a { font-size: 32px; letter-spacing: .04em; font-family: var(--display); }
  .menu-open .site-nav { opacity: 1; pointer-events: auto; }
}

/* Video, künye, hikâye */
.video { margin: 0; }
.video figcaption { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.yt { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .8s var(--ease); }
.yt:hover img { opacity: 1; transform: scale(1.04); }
.yt button { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; background: transparent; }
.yt button::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px; border-radius: 50%;
  background: var(--accent); transition: transform .35s var(--ease);
}
.yt button::after {
  content: ''; position: absolute; left: 50%; top: 50%; margin: -11px 0 0 -6px; border-style: solid;
  border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--bg);
}
.yt:hover button::before { transform: scale(1.12); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.credit-block h3 { text-transform: uppercase; letter-spacing: .2em; font-size: 13px; color: var(--accent); margin: 0 0 18px; }
.credit-block dl { margin: 0 0 20px; }
.credit-block dl div { margin: 0 0 6px; font-size: 14px; letter-spacing: .03em; }
.credit-block dt { display: inline; color: var(--muted); }
.credit-block dd { display: inline; margin: 0; }

/* Form, harita, KVKK */
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.contact-form input, .contact-form textarea {
  width: 100%; background: transparent; color: var(--text); border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0; font: inherit; border-radius: 0; transition: border-color .2s;
}
.contact-form textarea { border: 1px solid var(--line); padding: 12px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form button {
  justify-self: start; background: var(--accent); color: var(--bg); border: 0; padding: 16px 44px; font: 600 14px var(--font);
  letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: transform .3s var(--ease);
}
.contact-form button:hover { transform: translateY(-3px); }
.contact-info h2 { margin: 0 0 24px; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; }
.contact-info p { margin: 0 0 16px; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.legal { max-width: 860px; margin: 0 auto; padding: calc(var(--header-h) + 56px) var(--gutter) 24px; }
.legal h1 { font-size: clamp(30px, 4.5vw, 52px); line-height: 1.1; margin: 0 0 32px; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }

/* Alt bilgi */
.site-footer { margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); padding: 56px var(--gutter) 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 32px; align-items: start; }
.footer-grid p { margin: 0; }
.social { display: flex; gap: 14px; justify-content: flex-end; }
.social a { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: .25s; }
.social a:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } .social { justify-content: flex-start; } }

/* Hareket: main.js .reveal/.in, .split satırları ve --py paralaks değerini verir */
[data-parallax] { will-change: transform; transform: translate3d(0, var(--py, 0px), 0); }
.reveal { opacity: 0; transform: translate3d(0, 56px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
/* Üst boşluk büyük İ'nin noktası kırpılmasın diye (Türkçe başlıklar) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .36em 0 .08em; margin: -.36em 0 -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + var(--d, 0s)); }
.split.in .w > span { transform: none; }
.no-js .split .w > span, .no-motion .split .w > span { transform: none; }
body::after { /* ince film greni */
  content: ''; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-parallax] { transform: none !important; }
  .reveal, .split .w > span { opacity: 1 !important; transform: none !important; }
}
