

:root {
  --navy-950: #0a1930;
  --navy-900: #0d2249;
  --navy-800: #14315f;
  --blue-600: #2f5fe0;
  --blue-500: #3f6ff0;
  --blue-100: #e7edfc;
  --ink: #14213d;
  --ink-soft: #55617a;
  --paper: #f5f7fb;
  --paper-alt: #eef1f8;
  --white: #ffffff;
  --line: #e2e6f0;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-card: 0 1px 2px rgba(15, 30, 60, 0.04), 0 12px 28px -14px rgba(15, 30, 60, 0.18);
  --shadow-pop: 0 20px 60px -20px rgba(10, 25, 48, 0.35);

  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: "Inter", sans-serif;
  color: var(--navy-950);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-600);
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--navy-950);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-600); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--navy-950);
}
.btn-outline:hover { border-color: var(--navy-950); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 247, 251, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img { height: 26px; width: auto; display: block; }
.site-footer .brand img { height: 24px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
}
.nav-links a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { border-color: var(--blue-600); color: var(--navy-950); }
.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none; border: 1.5px solid var(--line); border-radius: 8px;
  width: 38px; height: 38px; align-items: center; justify-content: center;
  font-size: 1.05rem; cursor: pointer; color: var(--navy-950); flex-shrink: 0;
}

/* ---------- Nav dropdown (Ürünler) ---------- */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > button {
  display: flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  font: inherit; color: inherit; padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-item-dropdown > button .caret { font-size: 0.65rem; transition: transform 0.15s ease; }
.nav-item-dropdown.open > button .caret { transform: rotate(180deg); }
.nav-item-dropdown.open > button { border-color: var(--blue-600); color: var(--navy-950); }
.dropdown-panel {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  min-width: 240px;
  padding: 10px;
  display: none;
  z-index: 50;
}
.nav-item-dropdown.open .dropdown-panel { display: block; }
.dropdown-panel a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 600; color: var(--navy-950);
}
.dropdown-panel a:hover { background: var(--paper-alt); }
.dropdown-panel a small {
  display: block; font-size: 0.78rem; font-weight: 400; color: var(--ink-soft); margin-top: 2px;
}
.dropdown-panel .dd-icon {
  width: 34px; height: 34px; border-radius: 9px; background: var(--blue-100);
  color: var(--blue-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ---------- Görsel yer tutucular (placeholder) ---------- */
.img-placeholder {
  width: 100%;
  border: 1.5px dashed #b9c3dc;
  border-radius: var(--radius-lg);
  background: var(--paper-alt);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 20px;
}
.img-placeholder small { display: block; font-weight: 400; margin-top: 6px; font-size: 0.78rem; color: #8590ab; }

/* ---------- Gerçek görsel çerçevesi (placeholder'ların yerini alır) ---------- */
.img-frame { width: 100%; overflow: hidden; display: block; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #c7d0e8;
  padding: 64px 0 26px;
  margin-top: 100px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 {
  color: white; font-size: 0.95rem; margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: #aab5d1; font-size: 0.92rem; }
.footer-grid a:hover { color: white; }
.footer-brand p { color: #9aa6c4; font-size: 0.92rem; margin-top: 14px; max-width: 300px; }
.footer-brand .brand { color: white; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; font-size: 0.84rem; color: #8895b8; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: #8895b8; }
.footer-bottom .legal { display: flex; gap: 18px; }

/* ---------- Utility layout ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 620px; margin: 0 0 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.icon-tile {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

/* ---------- Popup / Modal (Demo Talebi) ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 20, 40, 0.55);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  z-index: 100;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 34px;
  position: relative;
  box-shadow: var(--shadow-pop);
  max-height: 88vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper);
  cursor: pointer; font-size: 1rem; color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
}
.modal-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 600; color: var(--blue-600);
  background: none; border: none; cursor: pointer; padding: 0; margin-bottom: 18px;
}
.modal-step { display: none; }
.modal-step.active { display: block; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.option-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  cursor: pointer;
  background: var(--paper);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.option-card:hover { border-color: var(--blue-500); transform: translateY(-2px); }
.option-card .icon-tile { margin: 0 auto 14px; }
.option-card.disabled { opacity: 0.5; cursor: not-allowed; }
.option-card.disabled:hover { transform: none; border-color: var(--line); }
.option-card h3 { font-size: 1rem; }
.option-card p { font-size: 0.84rem; margin-top: 6px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; color: var(--navy-950); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); font-size: 0.94rem; font-family: inherit;
  background: var(--paper);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500);
}

/* ---------- KVKK / Açık Rıza onay kutuları ---------- */
.consent-check-group { margin: 4px 0 20px; display: flex; flex-direction: column; gap: 4px; }
.consent-check {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; padding: 2px 0;
}
.consent-check input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--blue-600);
}
.consent-check span { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.5; }
.consent-check span a.consent-link { color: var(--blue-600); font-weight: 600; text-decoration: underline; }
.consent-error {
  display: none; color: crimson; font-size: 0.78rem; margin: 0 0 10px 28px;
}
.consent-error.show { display: block; }

/* ---------- KVKK metin popup içeriği (mevcut .modal-box kullanılır) ---------- */
.legal-modal .modal-box { max-width: 640px; text-align: left; }
.legal-modal h3 { font-size: 1.15rem; margin-bottom: 14px; }
.legal-modal .legal-body { font-size: 0.88rem; line-height: 1.7; color: var(--ink); }
.legal-modal .legal-body h4 { font-size: 0.96rem; margin: 18px 0 6px; color: var(--navy-950); }
.legal-modal .legal-body p { color: var(--ink); margin-bottom: 8px; }
.legal-modal .legal-body ul { margin: 6px 0 10px 20px; padding: 0; }
.legal-modal .legal-body li { margin-bottom: 4px; }
.legal-modal .modal-close-btn {
  margin-top: 20px; width: 100%;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr !important; }
  /* İletişim sayfasında mobilde form üstte, bilgi kartı altta görünsün */
  .contact-split > div:first-child { order: 2; }
  .contact-split > div:last-child { order: 1; }
}
@media (max-width: 720px) {
  .header-actions .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .site-header .container { position: relative; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 28px 18px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-card);
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }
  .grid-3, .grid-4, .grid-5, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .option-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

.expletus-yazi {
  font-family: 'Expletus Sans', sans-serif;
}