/* =========================================================
   Onur Şuay — Dijital Reklam Danışmanlığı
   Tasarım sistemi: "Signal & Ink"
   Palet: derin petrol-yeşil + sıcak amber accent + warm paper
   Tipografi: Fraunces (display) + Plus Jakarta Sans (gövde)
   ========================================================= */

:root {
  /* Renk */
  --paper:        #F5F4EF;
  --paper-2:      #EEEDE5;
  --surface:      #FFFFFF;
  --ink:          #14181B;
  --ink-soft:     #4C555A;
  --ink-faint:    #79828A;
  --line:         #E3E0D6;
  --line-soft:    #ECEAE1;

  --brand:        #0F4C46;
  --brand-deep:   #0A3A35;
  --brand-bright: #16645B;
  --brand-tint:   #E7EEEC;

  --accent:       #E9A23B;
  --accent-deep:  #C9842A;
  --accent-tint:  #F7E7C8;

  /* Tipografi */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Boşluk tokenları */
  --s-1: 0.5rem;
  --s-2: 0.75rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 3rem;
  --s-7: 4.5rem;
  --s-8: 6.5rem;

  /* Yarıçap */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Gölge — katmanlı, düşük opaklık, marka tonlu */
  --shadow-sm: 0 1px 2px rgba(20,24,27,.04), 0 2px 8px rgba(15,76,70,.05);
  --shadow-md: 0 4px 12px rgba(15,76,70,.07), 0 16px 34px rgba(10,58,53,.08);
  --shadow-lg: 0 12px 28px rgba(10,58,53,.10), 0 34px 64px rgba(10,58,53,.13);
  --shadow-accent: 0 8px 22px rgba(201,132,42,.22);

  --maxw: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Tipografi ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-optical-sizing: auto;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.75rem, 8vw, 6.5rem); }
.section-head { max-width: none; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-top: 0.7rem; }
.section-head .lede { color: var(--ink-soft); font-size: 1.06rem; margin-top: 0.9rem; max-width: 60ch; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.97rem;
  padding: 0.85rem 1.5rem; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #F5F4EF; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--brand-bright); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-primary:active { transform: translateY(0); }
.btn-accent { background: var(--accent); color: #1F1404; box-shadow: var(--shadow-accent); }
.btn-accent:hover { background: var(--accent-deep); color: #1F1404; transform: translateY(-2px); }
.btn-accent:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0); }
.btn-on-dark { background: rgba(255,255,255,.08); color: #F5F4EF; border-color: rgba(245,244,239,.28); }
.btn-on-dark:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }

:where(a, button, input, .chip):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,244,239,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(245,244,239,.92); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand .badge { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; color: var(--ink); }
.brand .brand-role { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }

.nav { display: flex; align-items: center; gap: 0.4rem; }
.nav a.nav-link {
  font-size: 0.94rem; font-weight: 500; color: var(--ink-soft);
  padding: 0.5rem 0.85rem; border-radius: var(--r-pill);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a.nav-link:hover { color: var(--brand); background: var(--brand-tint); }
.header-cta { margin-left: 0.4rem; }
.nav-toggle { display: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(233,162,59,.16), transparent 55%),
    radial-gradient(120% 120% at 6% 0%, rgba(22,100,91,.55), transparent 50%),
    linear-gradient(160deg, #0C413B 0%, #0A3A35 60%, #082E2A 100%);
  color: #EDEFEC;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero .eyebrow { color: var(--accent); }
.hero .eyebrow::before { background: var(--accent); }
.hero h1 {
  color: #FBFBF8; margin-top: 1.1rem;
  font-size: clamp(2.6rem, 6.2vw, 4.4rem); letter-spacing: -0.035em; line-height: 1.02;
}
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: #BFCDC9; margin-top: 1rem; font-weight: 500; }
.hero-lede { color: #A9BAB5; font-size: 1.05rem; margin-top: 1.25rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(245,244,239,.14); }
.hero-trust .t-item { display: flex; flex-direction: column; gap: 0.15rem; }
.hero-trust .t-k { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: #F4F3EE; }
.hero-trust .t-v { font-size: 0.82rem; color: #93A6A1; letter-spacing: 0.02em; }

/* Hero kart — performans imzası */
.hero-card {
  position: relative; align-self: stretch;
  background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(245,244,239,.16);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex; flex-direction: column; gap: 1.4rem;
  box-shadow: 0 30px 70px rgba(0,0,0,.28);
  backdrop-filter: blur(6px);
}
.hero-card .hc-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hero-card .hc-title { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #9FB2AD; }
.hero-card .hc-tag { font-size: 0.72rem; font-weight: 700; color: var(--accent); background: rgba(233,162,59,.12); border: 1px solid rgba(233,162,59,.3); padding: 0.25rem 0.6rem; border-radius: var(--r-pill); }
.hero-chart { width: 100%; height: auto; }
.hero-card .hc-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(245,244,239,.12); }
.hero-card .hc-metric { text-align: left; }
.hero-card .hc-metric .m-dot { width: 8px; height: 8px; border-radius: 50%; margin-bottom: 0.5rem; }
.hero-card .hc-metric .m-label { font-size: 0.78rem; color: #C3D0CC; font-weight: 600; line-height: 1.3; }

/* =========================================================
   About
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-copy p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 1.1rem; }
.about-copy p:first-of-type { margin-top: 1.4rem; }
.about-copy .lead { font-size: 1.2rem; color: var(--ink); font-weight: 500; line-height: 1.6; }
.about-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow-md); }
.about-side h3 { font-size: 1.1rem; margin-bottom: 1.1rem; }
.about-list { display: flex; flex-direction: column; gap: 0.95rem; }
.about-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.about-list .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.about-list .ic svg { width: 17px; height: 17px; }
.about-list .tx { font-size: 0.96rem; color: var(--ink-soft); }
.about-list .tx b { color: var(--ink); font-weight: 600; display: block; font-size: 0.99rem; }

/* =========================================================
   Services
   ========================================================= */
.services { background: var(--paper-2); border-block: 1px solid var(--line-soft); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.svc-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-tint); }
.svc-card .svc-ic { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(150deg, var(--brand-bright), var(--brand-deep)); color: #F2F6F4; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.svc-card .svc-ic svg { width: 23px; height: 23px; }
.svc-card h3 { font-size: 1.22rem; margin-top: 0.4rem; }
.svc-card p { font-size: 0.96rem; color: var(--ink-soft); }
.svc-card .svc-no { margin-top: auto; padding-top: 0.85rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-deep); }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: stretch; }
.contact-intro { display: flex; flex-direction: column; justify-content: center; }
.contact-intro .lede { color: var(--ink-soft); font-size: 1.06rem; margin-top: 1rem; max-width: 46ch; }
.contact-cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }

.contact-card {
  background: var(--brand);
  background: radial-gradient(120% 100% at 100% 0%, rgba(22,100,91,.7), transparent 55%), linear-gradient(165deg, #0F4C46, #0A3A35);
  color: #EDEFEC; border-radius: var(--r-lg); padding: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 1.1rem;
}
.contact-card h3 { color: #FBFBF8; font-size: 1.3rem; margin-bottom: 0.3rem; }
.contact-item { display: flex; gap: 1rem; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid rgba(245,244,239,.12); transition: transform .2s var(--ease); }
.contact-item:last-child { border-bottom: 0; }
a.contact-item:hover { transform: translateX(4px); }
a.contact-item:hover .ci-val { color: var(--accent); }
.contact-item .ci-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(245,244,239,.1); border: 1px solid rgba(245,244,239,.16); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.contact-item .ci-ic svg { width: 20px; height: 20px; }
.contact-item .ci-meta { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.contact-item .ci-key { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: #93A6A1; font-weight: 600; }
.contact-item .ci-val { font-size: 1.02rem; font-weight: 600; color: #F4F3EE; transition: color .2s var(--ease); word-break: break-word; }

/* =========================================================
   Privacy / KVKK (sayfa içi bölüm)
   ========================================================= */
.privacy { background: var(--paper-2); border-top: 1px solid var(--line-soft); }
.privacy-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow-sm); max-width: 860px; }
.privacy-card p { color: var(--ink-soft); margin-top: 0.9rem; }
.privacy-card h3 { font-size: 1.18rem; margin-top: 1.9rem; }
.privacy-card h3:first-of-type { margin-top: 1.2rem; }
.privacy-card ul.dotted { margin-top: 0.8rem; display: flex; flex-direction: column; gap: 0.5rem; }
.privacy-card ul.dotted li { position: relative; padding-left: 1.4rem; color: var(--ink-soft); }
.privacy-card ul.dotted li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.privacy-card .more-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.8rem; font-weight: 600; color: var(--brand); }
.privacy-card .more-link:hover { color: var(--brand-bright); gap: 0.75rem; }
.privacy-card .more-link { transition: gap .2s var(--ease), color .2s var(--ease); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: #0A3A35; color: #C3D0CC; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer-brand .brand .brand-name { color: #FBFBF8; }
.footer-brand .brand .brand-role { color: #8AA09B; }
.footer-brand p { margin-top: 1.1rem; max-width: 38ch; font-size: 0.95rem; color: #9FB2AD; }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #7E948F; font-weight: 700; margin-bottom: 1.1rem; font-family: var(--font-body); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a, .footer-col .f-line { font-size: 0.95rem; color: #C3D0CC; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(245,244,239,.1); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-bottom p { font-size: 0.88rem; color: #8AA09B; }
.footer-bottom .f-links { display: flex; gap: 1.5rem; }
.footer-bottom .f-links a { font-size: 0.88rem; color: #A9BAB5; }
.footer-bottom .f-links a:hover { color: var(--accent); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card { order: 2; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--brand); color: #F5F4EF; border: none; cursor: pointer;
    padding: 0.6rem 1rem; border-radius: var(--r-pill); font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  }
  .nav.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0.25rem; padding: 1rem clamp(1.25rem,4vw,2.5rem); background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .nav.open .header-cta { margin: 0.5rem 0 0; }
  .nav.open a.nav-link { padding: 0.75rem 1rem; }
  .hero-trust { gap: 1rem 1.5rem; }
  .svc-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .hero-trust { gap: 0.9rem 1.2rem; }
  .hero-card .hc-metrics { gap: 0.3rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Giriş animasyonu (sadece transform/opacity) ---------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; animation: riseIn .7s var(--ease) forwards; }
.reveal.d1 { animation-delay: .08s; }
.reveal.d2 { animation-delay: .16s; }
.reveal.d3 { animation-delay: .24s; }
