/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --bg:          #f8f8f6;
  --surface:     #ffffff;
  --text:        #0d1117;
  --muted:       #5e6a7a;
  --border:      #dde3ec;
  --accent:      #c9921e;
  --accent-pale: #f5ead6;
  --dark:        #0b1423;
  --dark2:       #132039;
  --radius-xl:   28px;
  --radius-lg:   20px;
  --radius-md:   14px;
  --shadow-sm:   0 4px 14px rgba(11,20,40,.06);
  --shadow-md:   0 12px 36px rgba(11,20,40,.10);
  --shadow-lg:   0 28px 70px rgba(11,20,40,.14);
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Layout ─────────────────────────────────────────────── */
.container { width: min(1180px, 92vw); margin: 0 auto; }
.section   { padding: 96px 0; }

/* ─── Topbar ─────────────────────────────────────────────── */
.topbar {
  background: var(--dark);
  color: #c8d4e8;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  font-size: .84rem;
}
.topbar p    { margin: 0; }
.topbar-right { display: inline-flex; align-items: center; gap: 14px; }
.topbar-right span { color: #8ea0be; }
.topbar a    { color: #fff; font-weight: 700; }

/* ─── Header / Nav ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248,248,246,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(221,227,236,.8);
  transition: background .2s, box-shadow .2s;
}
.site-header.is-scrolled {
  background: rgba(248,248,246,.97);
  box-shadow: 0 8px 28px rgba(11,20,40,.07);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.logo-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #d9ae62 0%, #a8741e 100%);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(163,113,29,.3);
}
.logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: #3a4a60;
  font-size: .88rem;
  font-weight: 600;
  transition: all .2s;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--text); background: #ececea; }

.mobile-toggle {
  display: none;
  width: 44px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0;
  place-items: center;
  cursor: pointer;
}
.mobile-toggle span {
  display: block;
  width: 19px; height: 2px;
  margin: 4px auto;
  background: #2a3a50;
}

/* ─── Eyebrow ────────────────────────────────────────────── */
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* ─── Section titles ─────────────────────────────────────── */
.section-head   { margin-bottom: 28px; }
.section-title  {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 1.2rem + 2.3vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -.01em;
}
.section-lead   { margin: 10px 0 0; max-width: 70ch; color: var(--muted); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: .9rem;
  font-weight: 700;
  transition: all .22s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--text);
  color: #fff;
}
.btn-primary:hover {
  background: #253047;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(11,20,40,.22);
}
.btn-ghost {
  border-color: var(--border);
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover {
  border-color: #b9c4d4;
  background: rgba(255,255,255,.7);
  transform: translateY(-1px);
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  padding-top: 86px;
  padding-bottom: 0;
  overflow: hidden;
}
.hero-eyebrow {
  margin: 0 0 18px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--muted);
}
.hero-heading {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(3rem, 2rem + 4.5vw, 6.8rem);
  line-height: .98;
  letter-spacing: -.025em;
  color: var(--text);
}
.hero-heading em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
.hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-top: 36px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.hero-text {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.02rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
  align-items: flex-start;
  margin-top: 4px;
}

/* Ticker */
.hero-ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding: 14px 0;
  user-select: none;
}
.hero-ticker {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: ticker 22s linear infinite;
}
.hero-ticker span {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #7c8fa8;
  white-space: nowrap;
}
.hero-ticker .sep { color: var(--accent); }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── About strip ────────────────────────────────────────── */
.strip-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 14px;
}
.strip-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}
.strip-card h2 {
  margin: 0 0 12px;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.45rem, 1rem + 1.1vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -.01em;
}
.strip-card > p { margin: 0; color: var(--muted); }
.card-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.strip-card.emphasis {
  background: linear-gradient(145deg, var(--dark) 0%, var(--dark2) 100%);
  border-color: transparent;
}
.strip-card.emphasis .card-kicker { color: #d4a558; }
.strip-card.emphasis > p           { color: #ccd9f0; }
.strip-card .note                  { margin-top: 10px; color: #8fa5c8; }

/* ─── Services ───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px 26px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #d9ae5a 0%, #a6701b 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.service-card:hover               { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card:hover::after        { transform: scaleX(1); }
.service-id {
  margin: 0 0 10px;
  color: #a8b4c6;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.service-card h3 { margin: 0 0 8px; font-size: 1.02rem; font-weight: 700; }
.service-card p  { margin: 0; color: var(--muted); font-size: .9rem; }

/* ─── Value / Neden Biz ──────────────────────────────────── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.value-card h3 { margin: 0 0 10px; font-size: 1.02rem; font-weight: 700; }
.value-card p  { margin: 0; color: var(--muted); }

/* ─── Portfolio (dark section) ───────────────────────────── */
.section-dark {
  background: linear-gradient(170deg, #0b1423 0%, #101e38 100%);
  color: #e8f0ff;
}
.section-head.dark .section-title  { color: #edf3ff; }
.section-head.dark .section-lead   { color: #8da4c8; }
.section-head.dark .eyebrow        { color: #c99336; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.portfolio-card {
  position: relative;
  min-height: 200px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.14);
  overflow: hidden;
  display: grid;
  place-items: end start;
  padding: 14px;
  cursor: pointer;
  background:
    linear-gradient(140deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.04) 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0, rgba(255,255,255,.04) 1px, transparent 1px, transparent 22px);
  transition: transform .26s ease, border-color .26s ease;
}
.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,14,28,.62) 100%);
}
.portfolio-card span {
  position: relative;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8,18,36,.58);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.portfolio-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.28); }

/* ─── Timeline / Süreç ───────────────────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  position: relative;
}
.timeline-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.timeline-step {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  margin-bottom: 12px;
  background: var(--accent-pale);
  color: var(--accent);
  font-size: .82rem;
  font-weight: 800;
}
.timeline-item h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 700; }
.timeline-item p  { margin: 0; color: var(--muted); font-size: .92rem; }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 8px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: .96rem;
  font-weight: 700;
  color: var(--text);
  padding: 16px 46px 16px 18px;
  cursor: pointer;
  position: relative;
  transition: background .18s;
}
.faq-question::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform .22s ease;
}
.faq-item.is-open .faq-question          { background: #f4f5f3; }
.faq-item.is-open .faq-question::after   { content: "−"; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .26s ease;
}
.faq-answer p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: .93rem;
}
.faq-item.is-open .faq-answer { max-height: 160px; }

/* ─── Contact ────────────────────────────────────────────── */
.contact {
  background: linear-gradient(170deg, var(--dark) 0%, var(--dark2) 100%);
  color: #e8f0ff;
}
.contact-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.contact-hero .eyebrow { color: #c99336; }
.contact-hero .section-title { color: #edf3ff; }
.contact-block { margin-bottom: 22px; }
.contact-label {
  margin: 0 0 6px;
  color: #7a94bb;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.contact-link {
  display: inline-block;
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}
.contact-block > p {
  margin: 0;
  color: #c4d4ee;
  font-size: .96rem;
}
.contact-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.contact .btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(192,140,28,.35);
}
.contact .btn-primary:hover {
  background: #b07a14;
  box-shadow: 0 14px 28px rgba(170,120,18,.42);
}
.contact .btn-ghost {
  border-color: rgba(255,255,255,.22);
  color: #d5e4ff;
  background: rgba(255,255,255,.06);
}
.contact .btn-ghost:hover {
  border-color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.12);
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 78px;
}
.footer-wrap p { margin: 0; color: var(--muted); font-size: .9rem; }
.footer-wrap a { color: var(--text); font-weight: 700; font-size: .9rem; }
.footer-credit { color: var(--accent); font-weight: 700; transition: opacity .18s; }
.footer-credit:hover { opacity: .75; }

/* ─── Floating CTA ───────────────────────────────────────── */
.floating-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(11,20,40,.28);
  transition: transform .2s, box-shadow .2s;
}
.floating-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(11,20,40,.34);
}

/* ─── Reveal animations ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .52s ease, transform .52s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1080px) {
  .services-grid            { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid           { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-grid               { grid-template-columns: 1fr; }
  .contact-hero             { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 780px) {
  .topbar p,
  .topbar-right span        { display: none; }

  .site-nav {
    position: absolute;
    top: 76px; right: 4vw;
    width: min(320px, 92vw);
    display: grid;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all .2s ease;
  }
  .site-nav a              { padding: 11px 12px; border-radius: 10px; }
  .site-nav.is-open        { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-toggle           { display: grid; }

  .section                 { padding: 72px 0; }
  .hero                    { padding-top: 72px; }

  .hero-row                { flex-direction: column; gap: 20px; }
  .hero-heading            { font-size: clamp(2.6rem, 10vw, 4.2rem); }

  .value-grid,
  .services-grid,
  .portfolio-grid,
  .timeline                { grid-template-columns: 1fr; }

  .footer-wrap             { flex-direction: column; align-items: flex-start; padding: 20px 0; min-height: 0; }
}
