/* ============================================================
   DKS Theme — Paylaşılan (Global) Stiller
   Tüm sayfalarda yüklenir.
   ============================================================ */

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black:      #0a0a0a;
  --white:      #ffffff;
  --blue:       #5500C4;
  --blue-dark:  #42009a;
  --gray-50:    #f7f7f7;
  --gray-100:   #f0f0f0;
  --gray-200:   #e0e0e0;
  --gray-400:   #aaaaaa;
  --gray-600:   #666666;
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'IBM Plex Sans',        system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono',        monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── Ticker ──────────────────────────────────────────────── */
.ticker {
  background: var(--black);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  animation: tickscroll 36s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .75);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 0 36px;
}
.ticker-item::after {
  content: '✦';
  margin-left: 36px;
  opacity: .4;
}
@keyframes tickscroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Site Header Sarmalayıcı ────────────────────────────── */
.site-header { position: relative; }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px max(24px, calc((100% - 1280px) / 2 + 56px));
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-color: var(--gray-100); }

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 48px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 13px;
  color: var(--gray-600);
  letter-spacing: .01em;
  transition: color .2s;
}
.nav-link:hover, .nav-link.active { color: var(--black); }

/* ── Submenu (Dropdown) ──────────────────────────────────── */
.has-submenu { position: relative; }

.submenu-caret {
  display: inline-block;
  vertical-align: middle;
  margin-left: 2px;
  transition: transform .2s;
}
.has-submenu:hover .submenu-caret,
.has-submenu.sub-open .submenu-caret { transform: rotate(180deg); }

.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: 8px;
  min-width: 220px;
  z-index: 200;
  list-style: none;
}
/* Fare köprüsü: nav-link ile submenu arasındaki 10px boşluğu kapatır */
.nav-submenu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.has-submenu:hover .nav-submenu,
.has-submenu.sub-open .nav-submenu { display: block; }

.nav-sub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px;
  font-size: 13px;
  color: var(--gray-600);
  border-radius: 6px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-sub-link:hover { background: var(--gray-50, #f7f7f7); color: var(--black); }
.nav-sub-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--gray-100, #f0f0f0);
  font-size: 12px;
  flex-shrink: 0;
  transition: background .15s;
}
.nav-sub-link:hover .nav-sub-icon { background: var(--gray-200, #e5e5e5); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-cta {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: opacity .2s;
}
.nav-cta:hover { opacity: .8; color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hline { display: block; height: 1.5px; background: var(--black); }

/* ── Mobil Nav Drawer ────────────────────────────────────── */
@media (max-width: 1200px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(8px);
    padding: 0 24px;
    gap: 0;
    border-bottom: 1px solid var(--gray-100);
    z-index: 99;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease, padding .35s ease;
    pointer-events: none;
  }
  .nav-links.nav-open {
    max-height: 700px;
    opacity: 1;
    padding: 16px 24px 24px;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; }
  .nav-link {
    display: block;
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--gray-100);
  }
  .nav-links li:last-child > .nav-link { border-bottom: none; }
  .hamburger { display: flex; }
  .nav { padding: 18px 24px; }

  /* Mobil submenu — accordion */
  .nav-submenu {
    display: none;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 4px 12px;
    min-width: 0;
    background: transparent;
  }
  .has-submenu.sub-open .nav-submenu { display: block; }
  .nav-sub-link {
    font-size: 14px;
    padding: 7px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--gray-100);
    gap: 10px;
  }
  .nav-sub-link:hover { background: transparent; color: var(--black); }
  .nav-sub-icon {
    width: 24px;
    height: 24px;
    font-size: 11px;
    border-radius: 4px;
    background: var(--gray-100, #f0f0f0);
  }
  .nav-submenu li:last-child .nav-sub-link { border-bottom: none; }
}

@media (max-width: 480px) {
  .nav-cta { display: none; }
}

/* ── Section Tag ─────────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue);
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--blue);
}

/* ── Section Başlık/Alt Başlık ───────────────────────────── */
.section-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 3.5vw, 48px);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 560px;
  font-weight: 300;
}

/* ── Section Container ───────────────────────────────────── */
.section { padding: 88px max(24px, calc((100% - 1280px) / 2 + 56px)); }
.section.alt { background: var(--gray-50); }
.section-gray  { background: var(--gray-50); }

/* ── Page Hero (iç sayfalar) ─────────────────────────────── */
.page-hero {
  padding: 80px max(24px, calc((100% - 1280px) / 2 + 56px)) 60px;
  border-bottom: 1px solid var(--gray-100);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 4.5vw, 60px);
  letter-spacing: -.035em;
  line-height: 1.05;
  margin-bottom: 18px;
  max-width: 820px;
}
.page-hero h1 em { font-style: normal; color: var(--blue); }
.page-hero p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  font-weight: 300;
  max-width: 620px;
}

/* ── Paylaşılan Butonlar ─────────────────────────────────── */
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 14px 28px;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }

.btn-secondary {
  background: none;
  color: var(--black);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 13px 24px;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 400;
  cursor: pointer;
  transition: border-color .2s;
}
.btn-secondary:hover { border-color: var(--gray-400); }

.btn-white {
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 100px;
  padding: 16px 32px;
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: opacity .2s;
  white-space: nowrap;
  display: inline-block;
}
.btn-white:hover { opacity: .88; }

/* ── Process Steps (anasayfa + hizmet-seo) ───────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 52px;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}
.step {
  padding: 32px 28px;
  border-right: 1px solid var(--gray-200);
  list-style: none;
}
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-200);
  margin-bottom: 18px;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.step-desc {
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.6;
  font-weight: 300;
}

/* ── CTA Bölümü (koyu arka plan) ─────────────────────────── */
.cta-section {
  padding: 88px max(24px, calc((100% - 1280px) / 2 + 56px));
  background: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}
.cta-tag {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .3);
  margin-bottom: 20px;
}
.cta-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 3.5vw, 52px);
  letter-spacing: -.04em;
  line-height: 1.04;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, .45);
  line-height: 1.65;
  font-weight: 300;
  max-width: 460px;
}
.cta-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.cta-contact-info {
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
  text-align: right;
  line-height: 1.7;
}
.cta-contact-info a { color: rgba(255, 255, 255, .75); }
.cta-contact-info a:hover { color: var(--white); }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  padding: 36px max(24px, calc((100% - 1280px) / 2 + 56px));
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-logo img { height: 48px; width: auto; }
.footer-center { font-size: 12px; color: var(--gray-400); text-align: center; }
.footer-links ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.footer-link { font-size: 12px; color: var(--gray-400); transition: color .2s; }
.footer-link:hover { color: var(--black); }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  padding: 18px max(24px, calc((100% - 1280px) / 2 + 56px));
  font-size: 12px; color: var(--gray-400);
  border-bottom: 1px solid var(--gray-100);
}
.breadcrumb ol { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin: 0 8px; color: var(--gray-200); }
.breadcrumb a { color: var(--gray-600); transition: color .2s; }
.breadcrumb a:hover { color: var(--blue); }

/* ── Responsive: CTA + Footer ────────────────────────────── */
@media (max-width: 900px) {
  .page-hero { padding: 50px 24px 40px; }
  .section    { padding: 60px 24px; }
  .cta-section {
    flex-direction: column;
    padding: 60px 24px;
    align-items: flex-start;
  }
  .cta-right {
    align-items: flex-end;
    width: 100%;
  }
  .footer {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .step:nth-child(odd) { border-right: 1px solid var(--gray-200); }
  .step:last-child { border-bottom: none; }
}
