/* Mercan Pictures — mercanpictures.com
   Marka renkleri: lagün turkuazı, derin deniz, kum beji, mercan (tek vurgu) */

:root {
  --lagun: #199B93;
  --lagun-acik: #5CC9C0;
  --derin: #123F3B;
  --kum: #FFE8D6;
  --mercan: #F2735C; /* Kesin marka mercan kodunuz varsa burada değiştirin */

  --bg: var(--kum);
  --surface: #FFF3E9;
  --text: var(--derin);
  --muted: #3D615C;
  --line: rgba(18, 63, 59, 0.16);
  --line-strong: rgba(18, 63, 59, 0.38);
  --link: #0F6E68;
  --numeral: var(--lagun);
  --band-bg: var(--derin);
  --band-text: var(--kum);
  --band-heading: var(--lagun-acik);
  --focus: var(--mercan);

  --serif: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --sans: "Jost", Futura, "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --pad: clamp(1.25rem, 5vw, 4rem);
  --max: 76rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D2B28;
    --surface: #123F3B;
    --text: var(--kum);
    --muted: #BFD3CE;
    --line: rgba(255, 232, 214, 0.14);
    --line-strong: rgba(255, 232, 214, 0.36);
    --link: var(--lagun-acik);
    --numeral: var(--lagun-acik);
    --band-bg: #081E1C;
    color-scheme: dark;
  }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

img, video { max-width: 100%; display: block; }

a { color: var(--link); text-underline-offset: 0.2em; }

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

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.08; }
h3 { font-family: var(--sans); font-weight: 500; font-size: 1.3rem; line-height: 1.3; margin: 0; }
p { margin: 0; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--mercan); color: var(--derin);
  padding: 0.6rem 1rem; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section-lead { color: var(--muted); max-width: 38rem; margin-top: 1.25rem; font-size: 1.125rem; }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: 0.75rem 1.6rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1.2rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-cta { background: var(--mercan); color: var(--derin); }
.btn-cta:hover { background: #F58A76; }
.btn-ghost { background: transparent; color: var(--kum); border-color: rgba(255, 232, 214, 0.6); }
.btn-ghost:hover { border-color: var(--kum); background: rgba(255, 232, 214, 0.1); }
.btn-line { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--text); }

/* ---------- Üst bant ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.25rem var(--pad);
  color: var(--kum);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  color: var(--kum); text-decoration: none;
  font: 500 1.35rem/1 var(--serif);
  white-space: nowrap;
  margin-right: auto;
}
.brand img { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--lagun); }
.site-nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--kum); text-decoration: none; font-size: 1rem; }
.site-nav a:hover { text-decoration: underline; }
.lang {
  color: var(--kum); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  border: 1px solid rgba(255, 232, 214, 0.5); border-radius: 999px; padding: 0.3rem 0.8rem;
}
.lang:hover { border-color: var(--kum); }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255, 232, 214, 0.5);
  color: var(--kum); border-radius: 999px; padding: 0.4rem 0.9rem;
  font: 500 0.95rem/1 var(--sans); cursor: pointer;
}

@media (max-width: 860px) {
  .site-header { gap: 0.6rem; }
  .brand { font-size: 1.15rem; gap: 0.5rem; }
  .brand img { width: 2.2rem; height: 2.2rem; }
  .lang { padding: 0.3rem 0.65rem; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute; top: 100%; left: var(--pad); right: var(--pad);
    background: var(--derin); border-radius: 6px; padding: 1rem 1.25rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0.25rem; }
  .site-nav a { display: block; padding: 0.6rem 0; font-size: 1.1rem; }
}

/* ---------- Açılış ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--derin) center / cover no-repeat;
  color: var(--kum); overflow: hidden; isolation: isolate;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(10, 36, 33, 0.92) 0%, rgba(10, 36, 33, 0.45) 45%, rgba(10, 36, 33, 0.15) 100%);
}
.hero-content { width: 100%; max-width: var(--max); margin-inline: auto; padding: 8rem var(--pad) clamp(3rem, 8vw, 6rem); }
.hero h1 {
  font-size: clamp(3.2rem, 10vw, 8.5rem);
  line-height: 0.98;
  max-width: 11ch;
  animation: rise 1.4s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-lead { max-width: 36rem; margin-top: 1.6rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255, 232, 214, 0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

@keyframes rise { from { opacity: 0; transform: translateY(0.4em); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero h1 { animation: none; } }

/* ---------- Manifesto: Kafen. Dükkânın. Ürünün. Markan. ---------- */
.manifesto { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 960px) { .manifesto-text { justify-self: end; max-width: 30rem; } }
.manifesto-words {
  font: 700 clamp(3rem, 10.5vw, 8.4rem)/0.9 var(--sans);
  letter-spacing: -0.035em; color: var(--text);
}
.manifesto-words span { display: block; white-space: nowrap; }
.manifesto-words span:nth-child(2) { padding-left: 0.6em; }
.manifesto-words span:nth-child(3) { padding-left: 1.2em; }
.manifesto-words span:nth-child(4) { padding-left: 1.8em; }
@media (max-width: 520px) {
  .manifesto-words { font-size: 9.4vw; }
  .manifesto-words span:nth-child(2) { padding-left: 0.35em; }
  .manifesto-words span:nth-child(3) { padding-left: 0.7em; }
  .manifesto-words span:nth-child(4) { padding-left: 1.05em; }
}
.manifesto-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.manifesto-text p { margin-top: 1.1rem; color: var(--muted); max-width: 32rem; }

/* ---------- Hizmetler ---------- */
.service-list { display: grid; gap: 3rem 4rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 900px) { .service-list { grid-template-columns: repeat(3, 1fr); } }
.service h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; }
.service > p { margin-top: 0.7rem; color: var(--muted); }
.service ul { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.service li { padding: 0.6rem 0; border-top: 1px solid var(--line); }
.service li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- Strateji bandı ---------- */
.band { background: var(--band-bg); color: var(--band-text); }
.band .section-lead { color: rgba(255, 232, 214, 0.82); }
.band a { color: var(--lagun-acik); }
.strategy-grid { display: grid; gap: 2.5rem 4rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 860px) { .strategy-grid { grid-template-columns: 1fr 1fr; } }
.strategy-grid h3 { color: var(--band-heading); font-size: 1.45rem; }
.strategy-grid p { margin-top: 0.8rem; color: rgba(255, 232, 214, 0.85); max-width: 34rem; }

/* ---------- Süreç ---------- */
.steps { list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; display: grid; gap: 2.5rem 2.5rem; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block; font: 500 3.6rem/1 var(--serif); color: var(--numeral);
  margin-bottom: 1rem;
}
.steps h3 { font-size: 1.4rem; }
.steps p { margin-top: 0.6rem; color: var(--muted); }

/* ---------- İşler ---------- */
.reel-tile {
  position: relative; display: block; width: 100%; margin-top: clamp(2.5rem, 5vw, 3.5rem);
  aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer; overflow: hidden;
  background: var(--derin);
}
.reel-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.reel-tile:hover img { transform: scale(1.02); }
.reel-tile span {
  position: absolute; left: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  background: var(--mercan); color: var(--derin);
  font: 600 1.2rem/1 var(--sans); padding: 0.95rem 1.5rem; border-radius: 999px;
}
.work-grid { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.work-grid figure { margin: 0; }
.work-grid .frame { aspect-ratio: 16 / 9; background: var(--surface); overflow: hidden; }
.work-grid img { width: 100%; height: 100%; object-fit: cover; }
.work-grid figcaption { margin-top: 0.6rem; color: var(--muted); font-size: 0.98rem; }
img.is-missing { visibility: hidden; }

/* ---------- Hakkımızda ---------- */
.partners { display: grid; gap: 3rem 4rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 800px) { .partners { grid-template-columns: 1fr 1fr; } }
.partner .photo { aspect-ratio: 4 / 5; max-width: 22rem; background: var(--surface); overflow: hidden; margin-bottom: 1.5rem; }
.partner .photo img { width: 100%; height: 100%; object-fit: cover; }
.partner h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.partner .role { color: var(--muted); margin-top: 0.25rem; }
.partner p:last-child { margin-top: 1rem; max-width: 30rem; }
.transparency { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); max-width: 40rem; }

/* ---------- İletişim ---------- */
.contact { display: grid; gap: 3rem 5rem; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.contact-intro p { margin-top: 1.2rem; color: var(--muted); max-width: 30rem; }
.contact-links { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; justify-items: start; }
.contact-form { display: grid; gap: 1.2rem; }
.contact-form label { display: grid; gap: 0.4rem; font-weight: 500; }
.contact-form input[type="text"],
.contact-form select,
.contact-form textarea {
  width: 100%; font: 400 1.0625rem/1.5 var(--sans); color: var(--text);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 4px;
  padding: 0.75rem 0.9rem;
}
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form .consent { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 400; }
.contact-form .consent input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--lagun); }
.form-error { color: #B3261E; font-weight: 500; }
@media (prefers-color-scheme: dark) { .form-error { color: #FFB4A8; } }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Alt bant ---------- */
.site-footer { background: var(--derin); color: var(--kum); padding-block: 3rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.site-footer .brand { margin-right: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; }
.site-footer a { color: var(--kum); }
.site-footer small { color: rgba(255, 232, 214, 0.7); font-size: 0.9rem; flex-basis: 100%; }

/* ---------- Showreel penceresi ---------- */
.reel { width: min(94vw, 1400px); max-height: 92vh; padding: 0; border: 0; background: #000; overflow: visible; }
.reel::backdrop { background: rgba(6, 22, 20, 0.92); }
.reel-frame { width: 100%; aspect-ratio: 16 / 9; max-height: 88vh; background: #000; }
.reel-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.reel-close {
  position: absolute; top: -3.2rem; right: 0;
  background: none; border: 1px solid rgba(255, 232, 214, 0.6); color: var(--kum);
  border-radius: 999px; padding: 0.45rem 1rem; font: 500 1rem/1 var(--sans); cursor: pointer;
}

/* ---------- Yasal sayfalar ---------- */
.legal-header { position: static; background: var(--derin); }
.legal { max-width: 46rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.1; }
.legal h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.legal p, .legal ul { margin-top: 1rem; }
.legal .note { background: var(--surface); border-left: 4px solid var(--mercan); padding: 1rem 1.2rem; }
