/* ==========================================================================
   Keskintech — components.css
   Tüm sayfalarda kullanılan yeniden kullanılabilir bileşenler.
   Sayfa-spesifik stiller (hero, services-grid vb.) ilgili sayfa CSS'indedir.
   ========================================================================== */


/* ==========================================================================
   1. Tipografi yardımcıları (H1 / H2 + aksent)
   ========================================================================== */

.kt-h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--white);
  margin: 18px 0 22px;
  text-wrap: balance;
}
.kt-h1-accent {
  background: linear-gradient(120deg, #34D399 0%, #60A5FA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kt-h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--ink);
  margin: 8px 0 14px;
  text-wrap: balance;
}
.kt-h2-light { color: var(--white); }

.kt-h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}


/* ==========================================================================
   2. Eyebrow (bölüm üst etiketi)
   ========================================================================== */

.kt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.kt-eyebrow-dark { color: var(--blue); }
.kt-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16,185,129,.18);
}


/* ==========================================================================
   3. Butonlar
   ========================================================================== */

.kt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition:
    transform var(--t-fast),
    box-shadow var(--t-fast),
    background var(--t-fast),
    color var(--t-fast),
    border-color var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
}

/* Primary (zümrüt yeşili — ana CTA) */
.kt-btn-primary {
  background: var(--emerald);
  color: var(--white);
  box-shadow:
    0 1px 0 rgba(255,255,255,.1) inset,
    0 6px 16px rgba(16,185,129,.28);
}
.kt-btn-primary:hover {
  background: var(--emerald-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(16,185,129,.36);
}
.kt-btn-primary:disabled {
  background: var(--muted-2);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* Boyut varyantları */
.kt-btn-lg { padding: 14px 22px; font-size: 16px; border-radius: 12px; }
.kt-btn-xl { padding: 18px 28px; font-size: 17px; border-radius: 14px; }
.kt-btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }

/* Ghost — koyu zeminde */
.kt-btn-ghost-light {
  color: var(--white);
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
}
.kt-btn-ghost-light:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.4);
}

/* Ghost — açık zeminde */
.kt-btn-ghost-dark {
  color: var(--ink);
  background: transparent;
}
.kt-btn-ghost-dark:hover { background: var(--line-soft); }

/* Outline */
.kt-btn-outline {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}
.kt-btn-outline:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Dark (lacivert) */
.kt-btn-dark {
  background: var(--navy);
  color: var(--white);
}
.kt-btn-dark:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
}

/* Block (full width) */
.kt-btn-block { width: 100%; justify-content: center; }


/* ==========================================================================
   4. Section base (her sayfa içinde tekrarlanan)
   ========================================================================== */

.kt-section {
  padding: 96px 0;
  position: relative;
}
.kt-section-tinted { background: var(--bg); }
.kt-section.kt-section-tinted + .kt-section { background: var(--white); }

.kt-section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.kt-section-head-light { color: var(--white); }
.kt-section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  text-align: left;
}
.kt-section-head-row > div { flex: 1; }
.kt-section-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.kt-section-head-light .kt-section-sub { color: rgba(255,255,255,.72); }
.kt-section-foot {
  text-align: center;
  margin-top: 48px;
}


/* ==========================================================================
   5. Logo group (header + footer için)
   ========================================================================== */

.kt-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.kt-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.kt-logo-text strong { font-weight: 800; }
.kt-logo-text span {
  color: var(--emerald);
  font-weight: 700;
}


/* ==========================================================================
   6. Tag / Pill / Badge
   ========================================================================== */

.kt-tag {
  display: inline-flex;
  align-items: center;
  background: var(--line-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Pill — daha yuvarlak, içerikli */
.kt-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid transparent;
}
.kt-pill-emerald {
  background: rgba(16,185,129,.14);
  color: var(--emerald-2);
  border-color: rgba(16,185,129,.3);
}
.kt-pill-muted {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.6);
  border-color: rgba(255,255,255,.08);
  font-family: var(--font-mono);
}


/* ==========================================================================
   7. Link-arrow (sağ ok ikonlu link)
   ========================================================================== */

.kt-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--blue);
  font-size: 15px;
  transition: color var(--t-fast);
}
.kt-link-arrow:hover { color: var(--emerald); }
.kt-link-arrow svg { transition: transform var(--t-fast); }
.kt-link-arrow:hover svg { transform: translateX(3px); }


/* ==========================================================================
   8. Trust row (güven göstergeleri — hero altı)
   ========================================================================== */

.kt-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}
.kt-trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.kt-trust-row svg { color: var(--emerald); flex-shrink: 0; }


/* ==========================================================================
   9. Feature list (checkmark'lı madde listesi)
   ========================================================================== */

.kt-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
.kt-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 500;
  color: var(--ink);
}
.kt-feature-list svg {
  color: var(--emerald);
  flex-shrink: 0;
}


/* ==========================================================================
   10. Process steps (4 adımlı süreç anlatımı)
   ========================================================================== */

.kt-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.kt-process::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--line), var(--blue), var(--line));
  z-index: 0;
}
.kt-process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 16px;
}
.kt-process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(37,99,235,.12);
}
.kt-process-t {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.kt-process-d {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}


/* ==========================================================================
   11. Stats grid (sayılarla biz)
   ========================================================================== */

.kt-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.kt-stat {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.kt-stat:last-child { border-right: none; }
.kt-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16,185,129,.14);
  color: var(--emerald);
  margin-bottom: 14px;
}
.kt-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--emerald);
  margin-bottom: 8px;
}
.kt-stat-label {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  font-weight: 500;
}


/* ==========================================================================
   12. CTA Banner (genel — alt sayfalarda da kullanılır)
   ========================================================================== */

.kt-cta-banner {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 80px 0;
  overflow: hidden;
}
.kt-cta-banner-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(16,185,129,.18), transparent 65%),
    radial-gradient(700px 300px at 0% 100%, rgba(37,99,235,.18), transparent 65%);
}
.kt-cta-banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.kt-cta-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.kt-cta-banner h2 { margin: 0 0 8px; }
.kt-cta-banner-sub {
  color: rgba(255,255,255,.72);
  font-size: 18px;
  margin: 0;
}


/* ==========================================================================
   13. FAQ accordion
   ========================================================================== */

.kt-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.kt-faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.kt-faq-item:hover { border-color: var(--blue); }
.kt-faq-item.is-open { border-color: var(--blue); }

.kt-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.kt-faq-q .kt-faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--line-soft);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0; /* "+" text karakteri kullanılırsa baseline shift'i engellemek için */
  position: relative;
  transition: transform var(--t-base), background var(--t-fast), color var(--t-fast);
}
.kt-faq-q .kt-faq-icon::before,
.kt-faq-q .kt-faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: opacity var(--t-fast);
}
.kt-faq-q .kt-faq-icon::before {
  /* yatay çizgi */
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.kt-faq-q .kt-faq-icon::after {
  /* dikey çizgi */
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.kt-faq-item.is-open .kt-faq-icon {
  background: var(--blue);
  color: var(--white);
}
.kt-faq-item.is-open .kt-faq-icon::after {
  /* açıkken dikey çizgi gizlenir → yatay çizgi (–) */
  opacity: 0;
}

.kt-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base) ease-out;
}
.kt-faq-item.is-open .kt-faq-a {
  max-height: 600px;
  transition: max-height var(--t-slow) ease-in;
}
.kt-faq-a-inner {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.kt-faq-a-inner > :first-child { margin-top: 0; }
.kt-faq-a-inner > :last-child { margin-bottom: 0; }


/* ==========================================================================
   14. Form alanları
   ========================================================================== */

.kt-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kt-field-wide { grid-column: 1 / -1; }
.kt-field label,
.kt-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.kt-field input[type="text"],
.kt-field input[type="email"],
.kt-field input[type="tel"],
.kt-field input[type="url"],
.kt-field input[type="number"],
.kt-field input[type="search"],
.kt-field textarea,
.kt-field select {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.kt-field input:focus,
.kt-field textarea:focus,
.kt-field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.kt-field textarea { resize: vertical; min-height: 110px; }

.kt-field input[aria-invalid="true"],
.kt-field textarea[aria-invalid="true"] {
  border-color: var(--rose);
}
.kt-field input[aria-invalid="true"]:focus,
.kt-field textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(244,63,94,.15);
}
.kt-field-error {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--rose);
  font-weight: 500;
}
.kt-field-help {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}

.kt-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Checkbox + radio */
.kt-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}
.kt-check input[type="checkbox"],
.kt-check input[type="radio"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}


/* ==========================================================================
   15. Modal (genel altyapı)
   ========================================================================== */

.kt-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10,22,40,.65);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--t-base);
}
.kt-modal-backdrop.is-open {
  display: flex;
  opacity: 1;
  animation: kt-fade var(--t-base);
}
@keyframes kt-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.kt-modal {
  background: var(--white);
  border-radius: 18px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  padding: 36px;
  box-shadow: 0 32px 80px rgba(0,0,0,.4);
  position: relative;
}
.kt-modal-backdrop.is-open .kt-modal {
  animation: kt-pop .25s cubic-bezier(.2,.8,.3,1.2);
}
@keyframes kt-pop {
  from { transform: scale(.94); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.kt-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), color var(--t-fast);
}
.kt-modal-close:hover {
  background: var(--line-soft);
  color: var(--ink);
}

.kt-modal-head {
  margin-bottom: 24px;
}
.kt-modal-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 6px 0;
}
.kt-modal-sub {
  color: var(--muted);
  margin: 0;
}

.kt-modal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.kt-modal-success {
  text-align: center;
  padding: 20px 0;
}
.kt-modal-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16,185,129,.14);
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.kt-modal-success-icon svg { width: 32px; height: 32px; }
.kt-modal-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 8px;
}
.kt-modal-success p {
  color: var(--muted);
  margin: 0 0 24px;
}

/* Body scroll lock — JS tarafından açılır */
body.kt-modal-open {
  overflow: hidden;
}


/* ==========================================================================
   16. Hizmet seçici (modal içinde)
   ========================================================================== */

.kt-service-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.kt-service-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  text-align: left;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.kt-service-pick:hover { border-color: var(--blue); }
.kt-service-pick.is-on {
  border-color: var(--emerald);
  background: rgba(16,185,129,.06);
}
.kt-service-pick-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(37,99,235,.10);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-fast), color var(--t-fast);
}
.kt-service-pick.is-on .kt-service-pick-icon {
  background: rgba(16,185,129,.16);
  color: var(--emerald);
}


/* ==========================================================================
   17. WhatsApp floating button (her sayfada sabit)
   ========================================================================== */

.kt-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 12px 32px rgba(16,185,129,.45),
    0 0 0 0 rgba(16,185,129,.4);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  animation: kt-wa-pulse 2.4s ease-out infinite;
}
.kt-wa:hover {
  transform: scale(1.06);
  text-decoration: none;
}
@keyframes kt-wa-pulse {
  0%   { box-shadow: 0 12px 32px rgba(16,185,129,.45), 0 0 0 0 rgba(16,185,129,.45); }
  70%  { box-shadow: 0 12px 32px rgba(16,185,129,.45), 0 0 0 18px rgba(16,185,129,0); }
  100% { box-shadow: 0 12px 32px rgba(16,185,129,.45), 0 0 0 0 rgba(16,185,129,0); }
}

@media (prefers-reduced-motion: reduce) {
  .kt-wa { animation: none; }
}


/* ==========================================================================
   18. Çerez banner
   ========================================================================== */

.kt-cookie {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  max-width: 460px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
  display: none;
  animation: kt-slide-up var(--t-base) ease-out;
}
.kt-cookie.is-visible { display: block; }

@keyframes kt-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.kt-cookie-text {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0 0 14px;
}
.kt-cookie-text a { color: var(--blue); font-weight: 600; }

.kt-cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}


/* ==========================================================================
   19. Reading progress bar (sadece blog yazılarında JS ile aktif)
   ========================================================================== */

.kt-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--emerald));
  z-index: 80;
  transition: width 100ms linear;
  pointer-events: none;
}


/* ==========================================================================
   20. Breadcrumb
   ========================================================================== */

.kt-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}
.kt-breadcrumb a {
  color: var(--muted);
  transition: color var(--t-fast);
}
.kt-breadcrumb a:hover { color: var(--blue); }
.kt-breadcrumb .sep { opacity: .5; }
.kt-breadcrumb .current { color: var(--ink-2); font-weight: 500; }
.kt-breadcrumb-light { color: rgba(255,255,255,.6); }
.kt-breadcrumb-light a { color: rgba(255,255,255,.6); }
.kt-breadcrumb-light a:hover { color: var(--white); }
.kt-breadcrumb-light .current { color: rgba(255,255,255,.95); }


/* ==========================================================================
   21. Logo pill (marketplace logos vb.)
   ========================================================================== */

.kt-logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}
.kt-logo-glyph {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
}


/* ==========================================================================
   22. Generic card (varyantlar sayfa CSS'inde)
   ========================================================================== */

.kt-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.kt-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}


/* ==========================================================================
   23. Page Hero — alt sayfa hero (her sayfada paylaşılan)
   ========================================================================== */

.kt-hero-page {
  min-height: auto;
  padding: 32px 0 72px;
}
.kt-hero-page-inner {
  display: block;
  max-width: 760px;
  position: relative;
  z-index: 1;
}
.kt-hero-page .kt-h1 {
  font-size: clamp(34px, 4vw, 48px);
}
.kt-hero-page .kt-eyebrow { margin-bottom: 14px; }


/* ==========================================================================
   24. Why Us section (navy zemin, sayılarla biz) — anasayfa + hakkımızda
   ========================================================================== */

.kt-why {
  position: relative;
  padding: 88px 0;
  background: var(--navy);
  overflow: hidden;
}
.kt-why-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.kt-why .kt-container {
  position: relative;
  z-index: 1;
}


/* ==========================================================================
   25. Service card grid (anasayfa + hizmetler related)
   ========================================================================== */

.kt-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.kt-service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  transition:
    transform var(--t-base),
    box-shadow var(--t-base),
    border-color var(--t-base);
  position: relative;
}
.kt-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.kt-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, .10);
  color: var(--blue);
  margin-bottom: 18px;
}
.kt-service-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.kt-service-desc {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
}
.kt-service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  transition: color var(--t-fast);
}
.kt-service-link:hover { color: var(--emerald); }
.kt-service-link svg { transition: transform var(--t-fast); }
.kt-service-card:hover .kt-service-link svg { transform: translateX(3px); }


/* ==========================================================================
   26. Blog post card + grid (anasayfa teaser, blog arşiv, related)
   ========================================================================== */

.kt-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.kt-post {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
  display: flex;
  flex-direction: column;
}
.kt-post:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.kt-post-thumb-link { display: block; }
.kt-post-thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      oklch(0.96 0.03 var(--hue, 200)) 0 12px,
      oklch(0.94 0.04 var(--hue, 200)) 12px 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.kt-post-thumb-img { background: var(--line-soft); }
.kt-post-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kt-post-thumb-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: oklch(0.4 0.06 var(--hue, 200));
  opacity: .6;
}

.kt-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px 0;
  font-size: 13px;
}
.kt-post-cat {
  background: var(--blue);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background var(--t-fast);
}
.kt-post-cat:hover {
  background: var(--emerald);
  text-decoration: none;
}
.kt-post-date { color: var(--muted); }

.kt-post-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 12px 22px 8px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.kt-post-title a {
  color: var(--ink);
  transition: color var(--t-fast);
}
.kt-post-title a:hover { color: var(--blue); }

.kt-post-excerpt {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 22px 16px;
  flex: 1;
}
.kt-post-link {
  margin: 0 22px 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  align-self: flex-start;
  transition: color var(--t-fast);
}
.kt-post-link:hover { color: var(--emerald); }
.kt-post-link svg { transition: transform var(--t-fast); }
.kt-post:hover .kt-post-link svg { transform: translateX(3px); }


/* ==========================================================================
   27. Blog sidebar — archive + single ortak
   ========================================================================== */

.kt-blog-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kt-side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.kt-side-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.kt-side-text {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* CTA kartı */
.kt-side-cta {
  background: linear-gradient(135deg, rgba(37, 99, 235, .06), rgba(16, 185, 129, .04));
  border-color: rgba(37, 99, 235, .2);
}
.kt-side-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  margin-bottom: 12px;
}
.kt-side-cta .kt-side-title { border-bottom: none; padding-bottom: 0; margin-bottom: 8px; }

/* Son yazılar listesi */
.kt-side-recent {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.kt-side-recent li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.kt-side-recent-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  background: var(--line-soft);
}
.kt-side-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kt-side-recent-title {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color var(--t-fast);
}
.kt-side-recent-title:hover { color: var(--blue); }
.kt-side-recent-date {
  font-size: 12px;
  color: var(--muted);
}

/* Kategoriler */
.kt-side-cats {
  display: flex;
  flex-direction: column;
}
.kt-side-cats li {
  border-bottom: 1px solid var(--line-soft);
}
.kt-side-cats li:last-child { border-bottom: none; }
.kt-side-cats a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink-2);
  transition: color var(--t-fast);
}
.kt-side-cats a:hover { color: var(--blue); }
.kt-side-cat-count {
  font-size: 11.5px;
  font-weight: 600;
  background: var(--line-soft);
  color: var(--muted);
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
}

/* Etiket bulutu (sidebar + single tags reuse) */
.kt-side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.kt-side-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--line-soft);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
  transition: background var(--t-fast), color var(--t-fast);
}
.kt-side-tag:hover {
  background: var(--blue);
  color: var(--white);
}


/* ==========================================================================
   28. Responsive — components ortak breakpoint'ler
   ========================================================================== */

@media (max-width: 1024px) {
  .kt-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .kt-stat:nth-child(2) { border-right: none; }
  .kt-stat:nth-child(1),
  .kt-stat:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .kt-process { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .kt-process::before { display: none; }

  .kt-services-grid,
  .kt-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kt-blog-sidebar {
    position: relative;
    top: 0;
  }
}

@media (max-width: 720px) {
  .kt-section { padding: 64px 0; }
  .kt-stats-grid { grid-template-columns: 1fr; }
  .kt-stat {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .kt-stat:last-child { border-bottom: none; }
  .kt-process { grid-template-columns: 1fr; }
  .kt-form-grid { grid-template-columns: 1fr; }
  .kt-service-picker { grid-template-columns: 1fr; }
  .kt-modal { padding: 24px; }
  .kt-section-head-row { flex-direction: column; align-items: flex-start; }
  .kt-section-head { margin-bottom: 40px; }
  .kt-cta-banner { padding: 64px 0; }
  .kt-cta-banner-inner { flex-direction: column; align-items: flex-start; }

  .kt-services-grid,
  .kt-blog-grid {
    grid-template-columns: 1fr;
  }

  .kt-wa {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .kt-cookie {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}
