/* ============================================================
   toplu.biz — site stili
   Palet: logo laciverti + açık zemin + kehribar vurgu
   ============================================================ */

:root {
  --navy: #16304d;
  --navy-dark: #0e2238;
  --navy-soft: #23446b;
  --accent: #b8892f;
  --accent-light: #d9b25f;
  --ink: #253345;
  --muted: #5c6b7e;
  --line: #dde4ec;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(14, 34, 56, .08);
  --shadow-md: 0 8px 24px rgba(14, 34, 56, .12);
  --container: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); letter-spacing: -.015em; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-soft); }
a:hover { color: var(--navy); }

ul, ol { padding-left: 1.3em; }

code {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .1em .4em;
  font-size: .9em;
}

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Butonlar ---------- */

.btn {
  display: inline-block;
  padding: .8rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); color: #fff; }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-light); color: var(--navy-dark); }

.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; }

.btn-outline-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }

.btn-sm { padding: .5rem 1.1rem; font-size: .92rem; }

/* ---------- Üst menü ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
}
.brand img { width: 52px; height: auto; }
.brand-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
}
.brand-text-light { color: #fff; }
.brand-dot { color: var(--accent); }

.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a:not(.btn) {
  display: block;
  padding: .55rem .8rem;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: .98rem;
}
.nav-list a:not(.btn):hover { background: var(--bg-alt); color: var(--navy); }
.nav-list a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.nav-cta { margin-left: .5rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: .6rem;
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
  content: "";
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before { position: absolute; top: -7px; }
.nav-toggle-bar::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .75rem 1.25rem 1.25rem;
  }
  .nav-list.is-open { display: flex; }
  .nav-cta { margin: .5rem 0 0; }
  .nav-cta .btn { display: block; text-align: center; }
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(184, 137, 47, .16), transparent 60%),
    linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: #e8eef5;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.hero h1 { color: #fff; max-width: 21ch; }
.hero .eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}
.hero-lead {
  font-size: 1.15rem;
  max-width: 58ch;
  color: #c6d2e0;
  margin-bottom: 2rem;
}
.hero-tech {
  font-size: .95rem;
  color: #9fb0c3;
  max-width: 60ch;
  margin: -1.25rem 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: -.02em;
}
.hero-stat span { font-size: .92rem; color: #a9b8c9; }

/* ---------- Bölümler ---------- */

.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy-dark); color: #cfd9e4; }
.section-navy h2 { color: #fff; }

.section-head { max-width: 62ch; margin-bottom: 2.25rem; }
.kicker {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.section-head p { color: var(--muted); }
.section-navy .section-head p { color: #a9b8c9; }

/* ---------- Kartlar ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #c8d3e0;
}
.card p { color: var(--muted); font-size: .98rem; }
.card .card-tech {
  margin-top: auto;
  padding-top: .85rem;
  border-top: 1px dashed var(--line);
  font-size: .85rem;
  color: var(--muted);
}
.card .card-tech strong { color: var(--navy-soft); font-weight: 600; }
.card .card-link {
  margin-top: auto;
  padding-top: .9rem;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
}
.card .card-tech + .card-link { margin-top: 0; padding-top: .6rem; }
.card .card-link::after { content: " →"; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff;
  margin-bottom: 1rem;
}
.card-icon svg { width: 24px; height: 24px; }

/* ---------- Sorun listesi (Hangi sorunları çözüyoruz?) ---------- */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: .9rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}
.problem-grid li {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: .9rem 1.1rem;
  font-size: .97rem;
  box-shadow: var(--shadow-sm);
}
.problem-note {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Hizmet grupları (ana / destekleyici / tamamlayıcı) ---------- */

.service-group { margin-bottom: 2.75rem; }
.service-group:last-child { margin-bottom: 0; }
.service-group-title {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy-soft);
  margin-bottom: 1.25rem;
}
.service-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.card-featured { border-top: 3px solid var(--accent); }

/* ---------- Süreç adımları (Nasıl çalışırız?) ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 1rem;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: .55rem;
}
.steps h3 { font-size: 1.02rem; margin-bottom: .35em; }
.steps p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- Neden biz / özellik listesi ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem 2rem;
}
.feature h3 { font-size: 1.08rem; margin-bottom: .35em; }
.feature p { color: var(--muted); font-size: .97rem; margin: 0; }
.section-navy .feature h3 { color: #fff; }
.section-navy .feature p { color: #a9b8c9; }
.feature-num {
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .08em;
}

/* ---------- Uzmanlık etiketleri ---------- */

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chip-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--navy-soft);
}
.chip-list li:has(> a) { padding: 0; }
.chip-list li > a {
  display: block;
  padding: .45rem 1rem;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.chip-list li > a:hover { background: var(--navy); color: #fff; }

/* ---------- Drone bandı ---------- */

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.media-box {
  border-radius: var(--radius);
  background:
    radial-gradient(400px 200px at 20% 15%, rgba(217, 178, 95, .35), transparent 60%),
    linear-gradient(150deg, var(--navy-soft), var(--navy-dark));
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 2rem;
}
.media-box .media-brand { font-size: 1.4rem; font-weight: 700; letter-spacing: .02em; }
.media-box .media-sub { color: #c6d2e0; font-size: .95rem; }
.media-box svg { width: 56px; height: 56px; margin-bottom: 1rem; opacity: .9; }

/* ---------- SSS / Akordeon ---------- */

.faq-group { margin-bottom: 2.5rem; }
.faq-group:last-child { margin-bottom: 0; }

.accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.accordion details + details { border-top: 1px solid var(--line); }
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 3rem 1.05rem 1.3rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  transition: background-color .15s ease;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { background: var(--bg-alt); }
.accordion summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform .2s ease;
}
.accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.accordion .faq-body { padding: .2rem 1.3rem 1.3rem; color: var(--muted); font-size: .98rem; }

/* ---------- CTA bandı ---------- */

.cta-band {
  background:
    radial-gradient(700px 300px at 15% 110%, rgba(184, 137, 47, .25), transparent 60%),
    linear-gradient(140deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius);
  color: #dbe4ee;
  padding: clamp(2.25rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { margin: 0; max-width: 52ch; }

/* ---------- İç sayfa başlığı ---------- */

.page-hero {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: #c6d2e0;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 62ch; margin: 0; }

/* ---------- Hizmet detay blokları ---------- */

.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2.25rem, 5vw, 3.25rem) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.service-block:last-of-type { border-bottom: 0; }
@media (max-width: 800px) { .service-block { grid-template-columns: 1fr; } }

.service-block p { color: var(--muted); }
.service-sub {
  margin: -.35rem 0 1.15rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy-soft);
}
.service-block h3 { font-size: 1.02rem; margin: 1.5em 0 .5em; }
.service-block ul { color: var(--muted); margin: 0 0 1em; }
.service-block li { margin-bottom: .35em; }
.service-cta { margin-top: 1.5rem; }

.service-aside {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  align-self: start;
}
.service-aside h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.service-aside ul { margin: 0; padding-left: 1.15em; color: var(--muted); font-size: .95rem; }
.service-aside li { margin-bottom: .4em; }

/* ---------- Form ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.form-field { margin-bottom: 1.15rem; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: .35rem;
  color: var(--navy);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(35, 68, 107, .15);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field textarea { min-height: 150px; resize: vertical; }

/* Honeypot alanı — bot tuzağı, ekranda görünmez */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-note { font-size: .88rem; color: var(--muted); }

.alert {
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.4rem;
  font-size: .98rem;
}
.alert-success { background: #eef7ef; border: 1px solid #bfe0c3; color: #23662c; }
.alert-error { background: #fdf1f0; border: 1px solid #f0c5c1; color: #9c3428; }

.contact-info-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.contact-info-card ul { list-style: none; margin: 0; padding: 0; }
.contact-info-card li { margin-bottom: .9rem; }
.contact-info-card strong { display: block; color: var(--navy); font-size: .92rem; }
.contact-info-card a { text-decoration: none; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-dark);
  color: #a9b8c9;
  padding: 3rem 0 1.5rem;
  margin-top: 0;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { margin-top: 1rem; max-width: 34ch; }
.footer-title {
  color: #fff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .9em;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .5em; }
.footer-col a { color: #a9b8c9; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 1.5rem; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- Görünürlük animasyonu ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
