/* ============================================================
   YAKA MEDYA - Oyuncu Remix tasarım sistemi
   Renkler: krem / mürekkep / elektrik moru / koyu yeşil / lime
   Tipografi: Unbounded (display) + Space Grotesk (metin)
   ============================================================ */

:root {
  --bg: #F2F0E9;
  --ink: #151915;
  --accent: #6C4CF0;
  --green: #1F4D3A;
  --lime: #D9FF7A;
  --lav: #E7DEFF;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-hard: 6px 6px 0 var(--ink);
  --shadow-hard-sm: 4px 4px 0 var(--ink);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
  --ease-pop: cubic-bezier(.22, 1.2, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

section { padding: 130px 0; position: relative; }

/* ---------- Reveal animasyonları ---------- */
[data-reveal] {
  opacity: 0;
  transition: opacity .7s var(--ease-pop), transform .7s var(--ease-pop);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
[data-reveal="up"]     { transform: translateY(48px); }
[data-reveal="left"]   { transform: translateX(-48px); }
[data-reveal="right"]  { transform: translateX(48px); }
[data-reveal="pop"]    { transform: scale(.82); }
[data-reveal="tilt"]   { transform: rotate(4deg) translateY(32px); }
[data-reveal].in       { opacity: 1; transform: none; }

body.motion-off [data-reveal] { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee-track, .spin-badge { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 22px 0;
}
.nav.scrolled {
  background: rgba(242, 240, 233, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(21, 25, 21, .12);
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 12px;
  transform: rotate(-2deg); text-decoration: none; display: inline-block;
  transition: transform .25s var(--ease-pop);
}
.logo:hover { transform: rotate(2deg) scale(1.05); }
.logo .star { color: var(--lime); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px;
}
.nav-links a:hover { text-decoration: underline wavy var(--accent); text-underline-offset: 6px; }
.nav-cta {
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
  background: var(--accent); color: #fff; padding: 12px 22px; border-radius: 12px;
  text-decoration: none; box-shadow: var(--shadow-hard-sm);
  transition: transform .15s, box-shadow .15s; white-space: nowrap;
}
.nav-cta:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

/* Hamburger (mobil) */
.nav-burger {
  display: none; width: 48px; height: 48px; border: 2px solid var(--ink);
  border-radius: 12px; background: var(--white); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-burger span { width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  display: flex; flex-direction: column; gap: 8px;
  padding: 90px 40px 40px;
  overflow-y: auto;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a:first-of-type { margin-top: auto; }
.mobile-menu a:last-of-type { margin-bottom: auto; }
.mobile-menu a {
  font-family: var(--font-display); font-weight: 700; font-size: 34px;
  color: var(--ink); text-decoration: none; padding: 10px 0;
  border-bottom: 1.5px solid rgba(21,25,21,.12);
}
.mobile-menu a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 160px 0 90px; overflow: hidden;
}
.hero-shape-a {
  position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: var(--accent); right: -130px; top: 16%; opacity: .92; z-index: 0;
}
.hero-shape-b {
  position: absolute; width: 310px; height: 310px; border-radius: 36px;
  background: var(--green); right: 220px; top: 52%; transform: rotate(12deg); z-index: 0;
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(44px, 6.4vw, 92px); line-height: 1.05; letter-spacing: -0.02em;
  max-width: 1000px; text-wrap: balance;
}
.hl-accent { color: var(--accent); }
.hl-green { color: var(--green); }
.hero-sub {
  font-size: 21px; max-width: 540px; margin-top: 32px; color: rgba(21,25,21,.75);
  text-wrap: pretty;
}
.hero-actions { display: flex; gap: 18px; margin-top: 42px; align-items: center; flex-wrap: wrap; }

.btn {
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  background: var(--accent); color: #fff; padding: 20px 36px; border-radius: var(--radius);
  text-decoration: none; display: inline-block; border: none; cursor: pointer;
  box-shadow: var(--shadow-hard); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--ink); }
.btn-alt {
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  border: 2px solid var(--ink); color: var(--ink); background: transparent;
  padding: 18px 34px; border-radius: var(--radius); text-decoration: none;
  display: inline-block; cursor: pointer; transition: background .2s, color .2s;
}
.btn-alt:hover { background: var(--ink); color: var(--bg); }

.hero-stickers { display: flex; gap: 14px; margin-top: 60px; flex-wrap: wrap; }
.sticker {
  font-weight: 700; font-size: 15px; padding: 12px 22px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--white); transform: rotate(-3deg);
  transition: transform .25s var(--ease-pop);
}
.sticker:nth-child(2) { transform: rotate(2deg); background: var(--lime); }
.sticker:nth-child(3) { transform: rotate(-1deg); background: var(--lav); }
.sticker:hover { transform: rotate(0deg) scale(1.08); }

.spin-badge {
  position: absolute; right: 30px; top: 22%; width: 180px; height: 180px; z-index: 2;
  animation: spin 16s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink); color: var(--bg); padding: 18px 0;
  overflow: hidden; white-space: nowrap;
}
.marquee-track {
  display: inline-flex; animation: marquee var(--marquee-speed, 18s) linear infinite;
  font-family: var(--font-display); font-weight: 600; font-size: 19px; text-transform: uppercase;
}
.marquee-track span { padding: 0 16px; }
.marquee-track .star { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
body.motion-off .marquee-track { animation: none; }
body.motion-off .spin-badge { animation: none; }

/* ---------- Bölüm başlıkları ---------- */
.section-head { margin-bottom: 72px; }
.kicker {
  display: inline-block; font-weight: 700; font-size: 14.5px; letter-spacing: .08em;
  text-transform: uppercase; padding: 10px 20px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--lime); transform: rotate(-2deg);
  margin-bottom: 26px;
}
h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 4.4vw, 58px); line-height: 1.1; letter-spacing: -0.02em;
  max-width: 800px; text-wrap: balance;
}
.section-head p { margin-top: 22px; font-size: 19px; color: rgba(21,25,21,.7); max-width: 560px; }

/* ---------- Hizmetler ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-lg);
  padding: 40px 34px 36px; display: flex; flex-direction: column; gap: 0;
  transition: transform .25s var(--ease-pop), box-shadow .25s var(--ease-pop), background .25s;
  cursor: default;
}
.service-card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.service-card:nth-child(1):hover { background: var(--lav); }
.service-card:nth-child(2):hover { background: var(--lime); }
.service-card:nth-child(3):hover { background: #FFE8D6; }
.service-num {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  color: var(--accent); margin-bottom: 22px;
}
.service-glyph { font-size: 40px; line-height: 1; margin-bottom: 26px; color: var(--ink); }
.service-card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 23px; line-height: 1.25;
  margin-bottom: 16px;
}
.service-card p { font-size: 16.5px; color: rgba(21,25,21,.72); flex: 1; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.service-tags span {
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: var(--bg);
}

/* ---------- Projeler ---------- */
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.project-card { text-decoration: none; color: var(--ink); display: block; }
.project-media {
  border: 2px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--lav); transition: transform .3s var(--ease-pop), box-shadow .3s var(--ease-pop);
}
.project-card:hover .project-media { transform: translate(-5px, -5px) rotate(-.5deg); box-shadow: 9px 9px 0 var(--ink); }
.project-media image-slot { display: block; width: 100%; height: 420px; }
.project-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 22px; }
.project-meta h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; }
.project-meta span {
  font-size: 13.5px; font-weight: 700; padding: 6px 16px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--lime); white-space: nowrap;
}
.projects-cta { margin-top: 64px; text-align: center; }

/* ---------- Hakkımızda (yeşil bölüm) ---------- */
.about { background: var(--green); color: var(--bg); }
.about .kicker { background: var(--lime); color: var(--ink); border-color: var(--ink); }
.manifesto {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 3.8vw, 50px); line-height: 1.25; letter-spacing: -0.01em;
  max-width: 1050px; margin-top: 8px;
}
.manifesto .w {
  display: inline-block; opacity: 0; transform: translateY(.5em) rotate(2deg);
  transition: opacity .5s var(--ease-pop), transform .5s var(--ease-pop);
  transition-delay: var(--wd, 0s);
}
.manifesto.in .w { opacity: 1; transform: none; }
body.motion-off .manifesto .w { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .manifesto .w { opacity: 1; transform: none; transition: none; } }
.manifesto .mark { color: var(--lime); }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 80px; }
.value {
  border-top: 2px solid rgba(242,240,233,.3); padding-top: 26px;
}
.value h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-bottom: 12px; color: var(--lime); }
.value p { font-size: 16.5px; color: rgba(242,240,233,.78); }

/* ---------- Ekip ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-card {
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-lg);
  padding: 36px 28px; text-align: center;
  transition: transform .25s var(--ease-pop), box-shadow .25s var(--ease-pop);
}
.team-card:hover { transform: translate(-4px, -4px) rotate(-1deg); box-shadow: 8px 8px 0 var(--ink); }
.team-card image-slot {
  display: block; width: 150px; height: 150px; margin: 0 auto 24px;
  border: 2px solid var(--ink); border-radius: 50%;
}
.team-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.team-card .role {
  display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700;
  padding: 7px 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--lav);
}
.team-card .bio {
  margin-top: 18px; font-size: 14.5px; line-height: 1.6; text-align: left;
  color: rgba(21,25,21,.72);
}

/* ---------- Süreç ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.step { padding: 44px 32px 48px; border-right: 2px solid var(--ink); transition: background .25s; }
.step:last-child { border-right: none; }
.step:hover { background: var(--lime); }
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 46px; color: var(--accent);
  line-height: 1; margin-bottom: 26px;
}
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-bottom: 14px; }
.step p { font-size: 16px; color: rgba(21,25,21,.72); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .25s var(--ease-pop), box-shadow .25s var(--ease-pop);
}
.blog-card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.blog-thumb {
  height: 170px; display: flex; align-items: center; justify-content: center;
  font-size: 54px; border-bottom: 2px solid var(--ink);
}
.blog-card:nth-child(1) .blog-thumb { background: var(--lav); }
.blog-card:nth-child(2) .blog-thumb { background: var(--lime); }
.blog-card:nth-child(3) .blog-thumb { background: #FFE8D6; }
.blog-body { padding: 28px 26px 30px; }
.blog-date { font-size: 13.5px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.blog-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 18.5px; line-height: 1.35; margin-top: 12px; }
.blog-body .read { display: inline-block; margin-top: 18px; font-weight: 700; font-size: 15px; }
.blog-card:hover .read { text-decoration: underline wavy var(--accent); text-underline-offset: 5px; }

/* ---------- SSS / FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 16px; max-width: 860px; }
.faq-item {
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-lg);
  overflow: hidden; transition: box-shadow .25s var(--ease-pop), transform .25s var(--ease-pop);
}
.faq-item[open] { box-shadow: var(--shadow-hard-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 24px 26px; font-family: var(--font-display); font-weight: 700; font-size: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1;
  color: var(--accent); transition: transform .25s var(--ease-pop); flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-a { padding: 0 26px 26px; font-size: 16.5px; line-height: 1.6; color: rgba(21,25,21,.72); }

/* ---------- İletişim (koyu bölüm) ---------- */
.contact { background: var(--ink); color: var(--bg); padding-bottom: 110px; }
.contact .kicker { background: var(--accent); color: #fff; border-color: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact h2 { color: var(--bg); }
.contact-blurb { margin-top: 24px; font-size: 19px; color: rgba(242,240,233,.7); max-width: 420px; }
.contact-lines { margin-top: 48px; display: flex; flex-direction: column; gap: 18px; }
.contact-line { display: flex; align-items: center; gap: 16px; font-size: 17px; }
.contact-line .dot {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0;
}
.contact-line a { color: var(--bg); text-decoration: none; font-weight: 600; }
.contact-line a:hover { text-decoration: underline wavy var(--accent); text-underline-offset: 5px; }

#contactForm { scroll-margin-top: 90px; }
.form {
  background: var(--bg); color: var(--ink); border-radius: var(--radius-lg);
  padding: 44px 40px; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--accent);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-weight: 700; font-size: 14.5px; }
.field label .optional { font-weight: 500; opacity: .6; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 16px; padding: 15px 18px;
  border: 2px solid var(--ink); border-radius: 14px; background: var(--white);
  color: var(--ink); outline: none; transition: box-shadow .2s, border-color .2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 4px 4px 0 var(--accent); }
.field input.err, .field textarea.err { border-color: #D9482B; box-shadow: 3px 3px 0 #D9482B; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-weight: 700; font-size: 14.5px; padding: 11px 20px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--white); cursor: pointer;
  transition: background .15s, transform .15s;
  user-select: none;
}
.chip:hover { transform: scale(1.05); }
.chip.on { background: var(--accent); color: #fff; }
.form .btn { width: 100%; text-align: center; margin-top: 8px; }
.form-success {
  display: none; text-align: center; padding: 60px 20px;
}
.form-success .big { font-size: 56px; }
.form-success h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; margin-top: 20px; }
.form-success p { margin-top: 12px; color: rgba(21,25,21,.7); }
.form.sent .form-fields { display: none; }
.form.sent .form-success { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--bg); padding: 0 0 56px; overflow: hidden; }
.footer-word {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(48px, 9vw, 140px); line-height: 1; text-align: center;
  letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 2px var(--bg);
  user-select: none; padding: 30px 0 60px; transition: color .4s;
}
.footer-word:hover { color: var(--accent); -webkit-text-stroke: 2px var(--accent); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-top: 1.5px solid rgba(242,240,233,.2); padding-top: 32px; flex-wrap: wrap;
}
.footer-bottom nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(242,240,233,.75); text-decoration: none; font-size: 15px; }
.footer-bottom a:hover { color: var(--lime); }
.footer-copy { font-size: 14.5px; color: rgba(242,240,233,.55); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid, .team-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .spin-badge { width: 150px; height: 150px; right: 24px; top: 20%; }
  .hero-shape-b { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 720px) {
  section { padding: 88px 0; }
  .container { padding: 0 22px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero { padding-top: 130px; }
  .hero-shape-a { width: 300px; height: 300px; right: -140px; top: 8%; }
  .services-grid, .team-grid, .blog-grid, .projects-grid, .process-grid, .about-values { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 2px solid var(--ink); }
  .step:last-child { border-bottom: none; }
  .project-media image-slot { height: 280px; }
  .form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 48px; }
  .footer-word { font-size: 10vw; padding: 24px 0 44px; }
  .spin-badge { display: block; width: 96px; height: 96px; right: 14px; top: 96px; }
}

@media (max-width: 575px) {
  .hero-shape-a { display: none; }
    .spin-badge { top: auto; bottom: 35% }

}

/* ---------- Statik görsel placeholder'ları (prod) ----------
   Gerçek görseller hazır olduğunda .img-ph div'lerini <img> ile değiştirin;
   aynı sınıfları img üzerinde de kullanabilirsiniz. */
.img-ph {
  display: flex; align-items: center; justify-content: center;
  background: var(--lav); color: rgba(21,25,21,.55);
  font-weight: 700; font-size: 15px; letter-spacing: .04em;
}
.project-media .img-ph { width: 100%; height: 420px; }
.project-media img { display: block; width: 100%; height: 420px; object-fit: cover; }
.team-card .img-ph, .team-card img.img-ph-circle {
  width: 150px; height: 150px; margin: 0 auto 24px;
  border: 2px solid var(--ink); border-radius: 50%; object-fit: cover;
}
@media (max-width: 720px) {
  .project-media .img-ph, .project-media img { height: 280px; }
}
