/* ==========================================================================
   YÖNTEM PATENT — DESIGN SYSTEM & BASE STYLES
   Marka paleti: Lacivert #272d6b (güven/otorite) + Turuncu #ff6900 (aksiyon)
   Tipografi: Poppins (başlık) + Inter (gövde) — fontlar <head> içinde <link> ile yüklenir
   ========================================================================== */

:root {
  /* --- Marka renkleri --- */
  --navy-primary: #272d6b;
  --navy-deep: #1d2252;
  --navy-dark: #151940;
  --navy-light: #343b85;
  --navy-border: #3a418f;

  /* Eski değişken adları korunuyor (tüm sayfalar bunları kullanıyor);
     değerler marka paletine eşlendi. */
  --royal-blue: #272d6b;          /* birincil buton / link rengi = marka laciverti */
  --royal-blue-hover: #1d2252;
  --blue-accent: #0693e3;         /* teknik mavi — ikon ve küçük vurgular */
  --blue-light: #eef0fa;          /* açık lacivert zemin */
  --blue-soft: #d9dcf2;           /* açık lacivert kenarlık */

  --accent: #ff6900;              /* CTA turuncusu */
  --accent-light: #ff8a3d;
  --accent-hover: #e65e00;
  --accent-on-dark: #ffb27a;      /* koyu zeminde turuncu metin (kontrast için açık ton) */
  --gold: var(--accent);          /* eski ad — turuncuya eşlendi */
  --gold-light: var(--accent-light);
  --gold-hover: var(--accent-hover);
  --gold-gradient: linear-gradient(135deg, #ff6900 0%, #ff8a3d 100%);
  --gold-soft-bg: rgba(255, 105, 0, 0.08);
  --gold-border: rgba(255, 105, 0, 0.3);

  --whatsapp: #25D366;
  --whatsapp-hover: #1ebd56;

  --success: #16a34a;
  --danger: #ef4444;

  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-white: #ffffff;
  --text-on-dark: #c7cbe8;        /* koyu lacivert zeminde gövde metni */
  --text-on-dark-muted: #9aa1d1;

  --bg-body: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;

  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;

  /* --- Gölgeler --- */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-gold: 0 10px 25px -5px rgba(255, 105, 0, 0.35);
  --shadow-accent: var(--shadow-gold);
  --shadow-blue: 0 10px 25px -5px rgba(39, 45, 107, 0.35);

  /* --- Tipografi --- */
  --font-heading: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-serif: var(--font-heading);       /* eski ad — artık Poppins */
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-calligraphy: var(--font-heading); /* eski ad — el yazısı kaldırıldı */

  /* --- Geçişler --- */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Köşeler --- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* --- Konteyner --- */
  --container-max: 1240px;
  --container-narrow: 1080px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  background: none;
}

/* Klavye kullanıcıları için görünür odak halkası */
:focus-visible {
  outline: 3px solid rgba(255, 105, 0, 0.55);
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Ekran okuyucu için gizli metin */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Section Common */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.text-center {
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: var(--accent);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy-primary);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   BUTTON SYSTEM
   .btn-gold / .btn-accent : turuncu — birincil dönüşüm butonu (Sorgula, Gönder)
   .btn-royal / .btn-primary : lacivert — ikincil aksiyon
   .btn-white / .btn-outline : nötr
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}

.btn-primary,
.btn-royal {
  background: var(--navy-primary);
  color: var(--text-white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover,
.btn-royal:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -5px rgba(39, 45, 107, 0.45);
}

.btn-gold,
.btn-accent {
  background: var(--accent);
  color: var(--text-white);
  font-weight: 700;
  box-shadow: var(--shadow-accent);
}

.btn-gold:hover,
.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -5px rgba(255, 105, 0, 0.5);
}

.btn-outline {
  background-color: transparent;
  border: 1.5px solid var(--navy-primary);
  color: var(--navy-primary);
}

.btn-outline:hover {
  background-color: var(--navy-primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline-blue {
  background-color: transparent;
  border: 1.5px solid var(--navy-primary);
  color: var(--navy-primary);
}

.btn-outline-blue:hover {
  background-color: var(--navy-primary);
  color: var(--text-white);
}

.btn-white {
  background-color: var(--bg-white);
  color: var(--navy-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background-color: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--text-white);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  box-shadow: 0 8px 20px -3px rgba(37, 211, 102, 0.4);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn:disabled,
.btn[aria-busy="true"] {
  opacity: 0.7;
  cursor: wait;
  transform: none !important;
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
