/* Haydaaa Production — siyah/beyaz tasarım
   Renk kuralı: site siyah-beyaz. Renk yalnızca (1) videoların kendi görüntüsünde
   ve (2) tıklanabilir şeylerde (düğme, geçerli sayfa, odak halkası) kullanılır. */

:root {
  --accent: #4d5cff;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --muted-on-dark: rgba(255, 255, 255, 0.68);
  --line-on-dark: rgba(255, 255, 255, 0.28);
  --muted-on-light: rgba(0, 0, 0, 0.66);
  --line-on-light: rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-variation-settings: "wdth" 100;
  font-size: 1rem;
  line-height: 1.6;
  background: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

img, iframe { display: block; max-width: 100%; }
a { color: inherit; }
ul { padding: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ---------- Üst çubuk ve menü simgesi ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--gutter);
  color: #fff;
  mix-blend-mode: difference; /* siyah zeminde beyaz, beyaz zeminde siyah görünür */
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.site-header :focus-visible { outline-color: #fff; }

.brand {
  font-size: 1.2rem;
  font-weight: 800;
  font-variation-settings: "wdth" 75;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.menu-btn {
  display: grid;
  place-content: center;
  gap: 7px;
  width: 3rem;
  height: 3rem;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 2rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.35s ease;
}
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Tam ekran menü ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 6.5rem var(--gutter) 2rem;
  background: #fff;
  color: #000;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.6s cubic-bezier(0.77, 0, 0.18, 1), visibility 0s 0.6s;
}
.menu.is-open {
  clip-path: inset(0);
  visibility: visible;
  transition: clip-path 0.6s cubic-bezier(0.77, 0, 0.18, 1), visibility 0s 0s;
}

.menu-list {
  list-style: none;
  margin-block: auto;
}

.menu-link {
  display: block;
  padding-block: 0.06em;
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.02;
  font-variation-settings: "wdth" 62;
  text-decoration: none;
  transition: font-variation-settings 0.35s ease, color 0.2s ease;
}
.menu-link[aria-current="page"] { color: var(--accent); }
.menu-link:focus-visible { font-variation-settings: "wdth" 125; }
@media (hover: hover) {
  .menu-link:hover { font-variation-settings: "wdth" 125; color: var(--accent); }
}

.menu-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-on-light);
  font-size: 1rem;
}

/* ---------- Bölümler ---------- */

.section { padding: clamp(4rem, 10vw, 8rem) var(--gutter); }
.section--light { background: #fff; color: #000; }
.section--dark { background: #000; color: #fff; }

.h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  font-variation-settings: "wdth" 70;
  line-height: 0.98;
  letter-spacing: -0.005em;
}

.lede { font-size: 1.125rem; max-width: 36ch; }
.section--dark .lede { color: var(--muted-on-dark); }
.section--light .lede { color: var(--muted-on-light); }

/* ---------- Kahraman alanı ---------- */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2.5rem;
  min-height: 100svh;
  padding: 7rem var(--gutter) 2.5rem;
  background: #000;
  color: #fff;
}
.hero--page { min-height: 62svh; }

.hero-title {
  font-size: clamp(3.4rem, 15vw, 15rem);
  font-weight: 900;
  font-variation-settings: "wdth" 62;
  line-height: 0.88;
  letter-spacing: -0.01em;
}
.hero--page .hero-title { font-size: clamp(3rem, 12vw, 11rem); }
.hero .hero-title--404 {
  font-size: clamp(9rem, 42vw, 38rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem 2rem;
}
.hero-stack { display: grid; gap: 1.5rem; justify-items: start; }
.hero .lede { color: var(--muted-on-dark); }

.timecode {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted-on-dark);
}
.timecode::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.2s steps(1, end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Düğme ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.6rem;
  background: var(--accent);
  border: 2px solid var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 0.8em; height: 0.8em; fill: currentColor; }
.btn:hover { background: #fff; border-color: #fff; color: #000; }
.section--light .btn:hover { background: #000; border-color: #000; color: #fff; }

/* ---------- Son video ---------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.feature-text { display: grid; gap: 1.5rem; justify-items: start; }

.frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Türler listesi ---------- */

.section-head { margin-bottom: clamp(2rem, 5vw, 4rem); }

.genres { list-style: none; border-top: 1px solid var(--line-on-dark); }
.genres li {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 0.5rem 3rem;
  align-items: baseline;
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--line-on-dark);
}
.genre-name {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  font-variation-settings: "wdth" 70;
  line-height: 1;
}
.genre-text { color: var(--muted-on-dark); max-width: 38ch; }

/* ---------- Çağrı bandı ---------- */

.cta { display: grid; gap: 2rem; justify-items: start; }
.cta .h2 { font-size: clamp(2.8rem, 9vw, 8rem); font-variation-settings: "wdth" 62; }

/* ---------- Hakkımızda ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.prose { display: grid; gap: 1.25rem; font-size: 1.2rem; line-height: 1.7; max-width: 52ch; }

/* ---------- Videolarımız ---------- */

.video-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: 2rem 1.25rem;
}
.video-card {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #222;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.4s ease, transform 0.6s ease;
}
.video-card:hover .video-thumb img,
.video-card:focus-visible .video-thumb img {
  filter: none;
  transform: scale(1.03);
}
.video-play {
  position: absolute;
  left: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--accent);
}
.video-play svg { width: 1rem; height: 1rem; fill: #fff; }
.video-title { margin-top: 0.8rem; font-weight: 700; line-height: 1.35; }

.player {
  width: min(96vw, 1100px);
  padding: 0;
  border: 0;
  background: #000;
  color: #fff;
}
.player::backdrop { background: rgba(0, 0, 0, 0.9); }
.player-bar { display: flex; justify-content: flex-end; padding: 0.5rem; }
.player-close {
  padding: 0.6rem 1.1rem;
  background: none;
  border: 2px solid #fff;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.player-close:hover { background: #fff; color: #000; }

/* ---------- Galeri ---------- */

.photo-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
}
.photo-btn {
  display: block;
  width: 100%;
  padding: 0;
  background: #222;
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
}
.photo-btn img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.4s ease, transform 0.6s ease;
}
.photo-btn:hover img,
.photo-btn:focus-visible img {
  filter: none;
  transform: scale(1.03);
}
.photo-date { margin-top: 0.65rem; color: var(--muted-on-dark); font-size: 0.95rem; }
.gallery-empty { font-size: 1.25rem; color: var(--muted-on-dark); }

.photo-view {
  width: min(96vw, 1100px);
  max-height: 96vh;
  padding: 0;
  border: 0;
  background: #000;
  color: #fff;
}
.photo-view::backdrop { background: rgba(0, 0, 0, 0.92); }
.photo-view img {
  width: 100%;
  max-height: calc(96vh - 4rem);
  object-fit: contain;
}

/* ---------- Ekip ---------- */

.team {
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--line-on-light);
}
.team-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
  gap: 2rem 1.25rem;
  margin-top: 2rem;
}
.team-photo {
  aspect-ratio: 4 / 5;
  background: #000;
  color: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 4rem;
  font-weight: 900;
  font-variation-settings: "wdth" 70;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.4s ease;
}
.team-card:hover .team-photo img { filter: none; }
.team-name { margin-top: 0.8rem; font-weight: 800; font-size: 1.15rem; line-height: 1.3; }
.team-role { color: var(--muted-on-light); }

/* ---------- İletişim ---------- */

.contact-side { display: grid; gap: 2rem; align-content: start; }
.contact-list { list-style: none; border-top: 1px solid var(--line-on-light); }
.contact-list li { border-bottom: 1px solid var(--line-on-light); }
.contact-list a {
  display: block;
  padding-block: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-variation-settings: "wdth" 80;
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-list a:hover { color: var(--accent); }

.form { display: grid; gap: 1.5rem; align-content: start; }
.field { display: grid; gap: 0.5rem; }
.field label { font-weight: 700; }
.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 2px solid #000;
  border-radius: 0;
  color: #000;
  font: inherit;
}
.field textarea { resize: vertical; }
.field input:focus-visible,
.field textarea:focus-visible { outline-offset: 0; border-color: var(--accent); }
.form .btn { justify-self: start; }

/* ---------- Alt bilgi ---------- */

.footer-links { display: flex; gap: 1.5rem; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 2rem var(--gutter);
  background: #000;
  border-top: 1px solid var(--line-on-dark);
  color: var(--muted-on-dark);
  font-size: 0.9rem;
}
.site-footer a { color: #fff; }

/* ---------- Küçük ekranlar ---------- */

@media (max-width: 56rem) {
  .feature, .about { grid-template-columns: minmax(0, 1fr); }
  .genres li { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 36rem) {
  .brand { font-size: 1.35rem; }
  .menu-btn { width: 3.5rem; height: 3.5rem; }
  .menu {
    padding-top: 7rem;
    padding-bottom: 1.5rem;
  }
  .menu-link { font-size: clamp(2.8rem, 13vw, 4.25rem); }
  .menu-foot { font-size: 1.05rem; }
  .hero-title { font-size: clamp(4rem, 18vw, 6rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu, .menu.is-open, .menu-btn span, .menu-link, .video-thumb img, .btn {
    transition: none;
  }
  .timecode::before { animation: none; }
}
