/* Özkoçak Harita — özgün tasarım sistemi
   HTML5 + CSS3. Framework yok. */

:root {
  --paper: #f4efe4;
  --paper-2: #ebe4d4;
  --sheet: #fffcf6;
  --ink: #1b2430;
  --ink-soft: #3a4654;
  --muted: #5d6b78;
  --navy: #17324a;
  --navy-2: #0f2438;
  --marker: #c45c26;
  --marker-2: #a44a1c;
  --field: #2f6a4a;
  --field-2: #24553b;
  --line: #d4cbb8;
  --line-2: #c2b59a;
  --cyan-ink: #1a6b8a;
  --danger: #b42318;
  --ok: #1f7a45;
  --shadow: 0 18px 40px rgba(23, 50, 74, 0.1);
  --shadow-sm: 0 8px 22px rgba(23, 50, 74, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 78px;
  --container: 1160px;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --contour: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cg fill='none' stroke='%2317324a' stroke-width='.7' opacity='.09'%3E%3Cellipse cx='160' cy='160' rx='18' ry='11'/%3E%3Cellipse cx='160' cy='160' rx='42' ry='26'/%3E%3Cellipse cx='160' cy='160' rx='70' ry='44'/%3E%3Cellipse cx='160' cy='160' rx='102' ry='66'/%3E%3Cellipse cx='160' cy='160' rx='138' ry='90'/%3E%3Cpath d='M12 230C70 200 110 260 160 232s92 8 148 36'/%3E%3Cpath d='M20 90C80 58 120 108 170 82s86 6 120 32'/%3E%3C/g%3E%3C/svg%3E");
  --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M40 0H0' stroke='%2317324a' stroke-opacity='.05'/%3E%3Cpath d='M0 0V40' stroke='%2317324a' stroke-opacity='.05'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper) var(--contour);
  background-size: auto, 320px 320px;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-ink); text-decoration: none; }
a:hover { color: var(--marker); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.55em;
}
h1 { font-size: clamp(1.85rem, 3.5vw, 3.05rem); }
h2 { font-size: clamp(1.4rem, 2.3vw, 2rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding: 0 0 0 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible {
  outline: 2px solid var(--marker);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container {
  width: min(100% - 2.4rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  background: rgba(255, 252, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  flex: 0 0 auto;
}
.logo:hover { color: var(--navy); }
.logo-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text strong {
  font-family: var(--serif);
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}
.logo-text span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li > a,
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 42px;
  padding: 0 0.7rem;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
}
.nav-list > li > a:hover,
.dropdown-toggle:hover,
.nav-list > li > a[aria-current="page"] {
  color: var(--navy);
  background: rgba(196, 92, 38, 0.08);
}
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% - 0.2rem);
  left: 0;
  min-width: 15.5rem;
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 20;
}
.dropdown.wide { min-width: 18rem; }
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown a {
  display: block;
  padding: 0.48rem 0.7rem;
  color: var(--ink-soft);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}
.dropdown a:hover { background: var(--paper-2); color: var(--navy); }
.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
}
.chevron { width: 0.85em; height: 0.85em; transition: transform 0.16s ease; }
.has-dropdown.is-open .chevron,
.has-dropdown:hover .chevron { transform: rotate(180deg); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.6rem;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--sheet);
  border-radius: 10px;
  place-items: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.btn:hover { color: #fff; transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-marker { background: var(--marker); color: #fff; }
.btn-marker:hover { background: var(--marker-2); color: #fff; }
.btn-green { background: var(--field); color: #fff; }
.btn-green:hover { background: var(--field-2); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.hero-actions, .cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  padding: 3.5rem 0 4.2rem;
  overflow: hidden;
  background: var(--navy-2);
  color: #eef4f0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(196, 92, 38, 0.28), transparent 42%),
    radial-gradient(ellipse at 12% 88%, rgba(47, 106, 74, 0.28), transparent 46%),
    var(--contour);
  background-size: auto, auto, 280px 280px;
  opacity: 1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 36, 56, 0.15) 0%, rgba(15, 36, 56, 0.78) 100%),
    var(--grid);
  background-size: auto, 40px 40px;
  pointer-events: none;
}
.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 46rem;
}
.hero h1, .hero h2 { color: #fff; }
.hero .lead, .hero p { color: #d7e0e6; }
.kicker {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.22rem 0.7rem;
  border: 1px solid rgba(196, 92, 38, 0.45);
  border-radius: 999px;
  color: #f0c3a6;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section .kicker {
  color: var(--marker);
  border-color: rgba(196, 92, 38, 0.35);
}
.lead { font-size: 1.12rem; max-width: 42rem; }

.section { padding: 4.4rem 0; }
.section-sm { padding: 2.4rem 0 1rem; }
.section-alt { background: color-mix(in srgb, var(--paper-2) 70%, transparent); }
.section-navy {
  background: var(--navy-2) var(--grid);
  background-size: 40px 40px;
  color: #e7eef2;
}
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .muted { color: #b7c4ce; }
.section-head { margin-bottom: 1.8rem; max-width: 40rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.muted { color: var(--muted); }

.cards, .grid-3, .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.card {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.3rem;
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
a.card { color: inherit; }
a.card:hover {
  transform: translateY(-3px);
  border-color: var(--marker);
  color: inherit;
}
.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  border-radius: 10px;
  background: rgba(23, 50, 74, 0.07);
  color: var(--navy);
}
.card-icon .icon { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.35em; }
.card p { color: var(--ink-soft); margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: center;
}
.split-rev { grid-template-columns: 0.95fr 1.05fr; }
.prose p { max-width: 42rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy-2);
  box-shadow: var(--shadow);
}
.frame svg, .frame img { width: 100%; height: auto; }
.frame figcaption {
  padding: 0.7rem 0.9rem;
  background: var(--sheet);
  color: var(--muted);
  font-size: 0.88rem;
}

.illu {
  width: 100%;
  min-height: 240px;
  display: block;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.stat {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
}
.stat .counter, .stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--navy);
  line-height: 1.1;
}
.stat-label { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.92rem; }

.process, .steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  counter-reset: step;
}
.process-step, .steps li {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  position: relative;
  counter-increment: step;
}
.process-step::before, .steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.55rem;
  color: var(--marker);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.pills, .chips, .tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pill, .chip, .tech-pills li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.25rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sheet);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
}
a.chip:hover { border-color: var(--marker); color: var(--navy); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--line-2);
}
.page-hero {
  padding: 2.2rem 0 0.4rem;
}

.faq details {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.2rem 1rem;
  margin-bottom: 0.55rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 0;
  color: var(--navy);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--marker);
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq-body { padding: 0 0 0.95rem; color: var(--ink-soft); }
.faq-body p:last-child { margin-bottom: 0; }

.form {
  display: grid;
  gap: 0.9rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  min-height: 46px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy);
  outline: none;
  box-shadow: 0 0 0 3px rgba(23, 50, 74, 0.12);
}
.field-error { color: var(--danger); font-size: 0.85rem; }
.form-status {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: rgba(31, 122, 69, 0.12);
  color: var(--ok);
  font-weight: 600;
}
.form-status.is-error { background: rgba(180, 35, 24, 0.1); color: var(--danger); }
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.contact-cards {
  display: grid;
  gap: 0.8rem;
}
.contact-cards a, .contact-cards div {
  display: block;
  padding: 1rem 1.1rem;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: inherit;
}
.contact-cards strong { display: block; color: var(--navy); margin-bottom: 0.15rem; }

.blog-card img, .blog-card .illu { border-radius: 10px; margin-bottom: 0.8rem; }
.blog-meta { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--marker); margin: 0 0 0.3rem; font-weight: 700; }

.cta-band {
  padding: 2.6rem 0;
  background: var(--navy);
  color: #eaf0f4;
}
.cta-band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 0.3em; }
.cta-band p { margin: 0; color: #c5d2dc; }

.site-footer {
  background: var(--navy-2);
  color: #c9d5de;
  padding: 3.2rem 0 6.5rem;
}
.site-footer a { color: #e8eef2; }
.site-footer a:hover { color: #f0c3a6; }
.site-footer h2 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.6rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0.35rem 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1fa855;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(31, 168, 85, 0.35);
}
.wa-float:hover { color: #fff; background: #178c45; }
.wa-float .icon { width: 28px; height: 28px; }

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 75;
  grid-template-columns: 1fr 1fr;
  background: var(--navy-2);
}
.mobile-cta a {
  min-height: 52px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}
.mobile-cta .call { background: var(--navy); }
.mobile-cta .wa { background: var(--field); }

.reveal { opacity: 1; transform: none; }
.js .reveal {
  transform: translateY(10px);
  transition: transform 0.5s ease;
}
.js .reveal.is-visible { transform: none; }

.slider {
  position: relative;
  overflow: hidden;
}
.slider-track {
  display: flex;
  transition: transform 0.35s ease;
}
.slide {
  min-width: 100%;
  padding: 0.2rem;
}
.slider-nav {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.9rem;
}
.slider-nav button {
  min-width: 42px;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--sheet);
  cursor: pointer;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}
.filter-bar button {
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--sheet);
  cursor: pointer;
  font-weight: 700;
}
.filter-bar button.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.project-card[hidden] { display: none; }

.page-404 {
  min-height: 58vh;
  display: grid;
  align-items: center;
  padding: 3rem 0;
}
.page-404 .code {
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 7rem);
  color: var(--marker);
  line-height: 0.9;
  margin: 0 0 0.3em;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .slider-track { transition: none; }
}
