/* ==========================================================================
   Kement Digital Hizmetleri — Tasarım Sistemi
   Palet: Lacivert (#0a1628) + Turkuaz (#00c9b7), nötr gri skalası
   ========================================================================== */

:root {
  --c-dark: #0a1628;
  --c-dark-2: #0f2140;
  --c-accent: #00c9b7;
  --c-accent-dark: #059d90;
  --c-ink: #16233a;
  --c-body: #4b5568;
  --c-muted: #8a94a6;
  --c-line: #e6eaf0;
  --c-bg: #ffffff;
  --c-bg-alt: #f5f8fb;
  --c-wa: #25d366;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(10, 22, 40, .06);
  --shadow-md: 0 12px 32px rgba(10, 22, 40, .10);
  --shadow-lg: 0 24px 56px rgba(10, 22, 40, .14);
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--c-body);
  background: var(--c-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--c-ink);
  line-height: 1.2;
  letter-spacing: -.01em;
}

.container { width: min(1140px, 100% - 48px); margin-inline: auto; }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-primary {
  background: var(--c-accent);
  color: #04211d;
  box-shadow: 0 8px 22px rgba(0, 201, 183, .32);
}
.btn-primary:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 201, 183, .42); }
.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line);
}
.btn-ghost:hover { border-color: var(--c-accent); color: var(--c-accent-dark); transform: translateY(-2px); }
.btn-whatsapp {
  background: var(--c-wa);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .32);
}
.btn-whatsapp:hover { background: #1eb857; transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; border-radius: 8px; overflow: hidden; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--c-ink);
  letter-spacing: -.02em;
}
.brand-accent { color: var(--c-accent); margin-left: 2px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--c-body);
  transition: color .18s ease;
}
.main-nav a:hover { color: var(--c-ink); }
.main-nav .nav-cta {
  background: var(--c-dark);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: background .18s ease, transform .18s ease;
}
.main-nav .nav-cta:hover { background: var(--c-accent); color: #04211d; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(0, 201, 183, .14), transparent 60%),
    linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%);
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-accent-dark);
  background: rgba(0, 201, 183, .1);
  border: 1px solid rgba(0, 201, 183, .28);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--c-accent-dark); }

.hero-copy > p { font-size: 18px; max-width: 52ch; margin-bottom: 30px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  gap: 40px;
  list-style: none;
}
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--c-ink);
}
.hero-stats span { font-size: 13.5px; color: var(--c-muted); }

/* Hero görsel */
.hero-visual { position: relative; min-height: 380px; }

.hero-card {
  background: var(--c-dark);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  color: #c7d2e4;
}
.hero-card-main { max-width: 400px; margin-left: auto; }
.hc-head { display: flex; gap: 6px; margin-bottom: 20px; }
.hc-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.hc-head .hc-dot:first-child { background: var(--c-accent); }
.hc-row { display: flex; justify-content: space-between; align-items: baseline; }
.hc-label { font-size: 13px; }
.hc-value { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #fff; }
.hc-value.up { color: var(--c-accent); }
.hc-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 130px;
  margin: 18px 0 20px;
}
.hc-bars span {
  flex: 1;
  height: var(--h, 50%);
  background: linear-gradient(180deg, var(--c-accent), rgba(0,201,183,.35));
  border-radius: 6px 6px 3px 3px;
  opacity: .9;
}
.hc-bars span:last-child { opacity: 1; box-shadow: 0 0 18px rgba(0,201,183,.5); }

.hero-card-float {
  position: absolute;
  left: 0;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  max-width: 300px;
}
.hero-card-float strong {
  display: block;
  font-size: 14px;
  color: var(--c-ink);
}
.hero-card-float span { font-size: 12.5px; color: var(--c-muted); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--c-bg-alt); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; margin-bottom: 14px; }
.section-head p { font-size: 17px; }

/* ---------- Hizmetler ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 201, 183, .45);
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(0,201,183,.14), rgba(0,201,183,.05));
  color: var(--c-accent-dark);
  margin-bottom: 20px;
}

.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; margin-bottom: 16px; }

.service-list {
  list-style: none;
  display: grid;
  gap: 8px;
}
.service-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--c-muted);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 201, 183, .16);
}
.service-list li::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 10px;
  width: 6px;
  height: 3px;
  border-left: 1.6px solid var(--c-accent-dark);
  border-bottom: 1.6px solid var(--c-accent-dark);
  transform: rotate(-45deg);
}

/* ---------- Neden Biz ---------- */
.why-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.why-copy h2 { font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 16px; }
.why-copy p { margin-bottom: 28px; font-size: 16.5px; }

.why-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.why-list li {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 22px;
  display: flex;
  gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.why-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.why-icon {
  flex: 0 0 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(0, 201, 183, .12);
  color: var(--c-accent-dark);
}
.why-list h3 { font-size: 15.5px; margin-bottom: 5px; }
.why-list p { font-size: 13.5px; line-height: 1.5; }

/* ---------- Süreç ---------- */
.process-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.process-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.process-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--c-accent-dark);
  background: rgba(0, 201, 183, .12);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.process-card h3 { font-size: 17px; margin-bottom: 8px; }
.process-card p { font-size: 14px; }

/* ---------- Hakkımızda ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: start;
}
.about-copy h2 { font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 18px; }
.about-copy p { margin-bottom: 14px; font-size: 16.5px; }
.about-copy strong { color: var(--c-ink); }

.about-facts { display: grid; gap: 18px; }
.fact {
  background: #fff;
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--c-ink);
  margin-bottom: 6px;
}
.fact p { font-size: 14px; }

/* ---------- İletişim ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact-copy h2 { font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 14px; }
.contact-copy > p { margin-bottom: 28px; font-size: 16.5px; }

.contact-items {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
}
.contact-items li { display: flex; align-items: center; gap: 16px; }
.contact-icon {
  flex: 0 0 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0, 201, 183, .12);
  color: var(--c-accent-dark);
}
.contact-items span { display: block; font-size: 12.5px; color: var(--c-muted); }
.contact-items a, .contact-items strong {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--c-ink);
  transition: color .18s ease;
}
.contact-items a:hover { color: var(--c-accent-dark); }

/* Form */
.contact-form {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 19px; margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--c-ink);
  background: var(--c-bg-alt);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--c-muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(0, 201, 183, .14);
}
.field textarea { resize: vertical; min-height: 96px; }

.field input.invalid,
.field select.invalid { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12); }

.form-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  min-height: 20px;
}
.form-status.ok { color: #0c8a4d; }
.form-status.err { color: #c62838; }

.form-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--c-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-dark);
  color: #9aa8bf;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 30ch; }
.footer-brand .brand-text { color: #fff; }
.footer-col h4 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.footer-col a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  transition: color .18s ease;
}
.footer-col a:hover { color: var(--c-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-bottom p { font-size: 13px; }

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--c-wa);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(37, 211, 102, .55); }

/* ---------- Reveal animasyon ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { min-height: 340px; max-width: 480px; margin-inline: auto; width: 100%; }
  .hero-card-main { margin-inline: auto; }
  .hero-card-float { left: 0; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-md);
    padding: 16px 24px 22px;
    transform: translateY(-130%);
    transition: transform .3s ease;
    z-index: 40;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--c-bg-alt); }
  .main-nav .nav-cta { text-align: center; margin-top: 10px; border-bottom: 0; }
  .nav-toggle { display: flex; }

  .section { padding: 68px 0; }
  .hero { padding: 60px 0 72px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .services-grid, .process-grid, .why-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form { padding: 26px 22px; }
}

@media (max-width: 480px) {
  .container { width: min(1140px, 100% - 36px); }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
