/* ==========================================================================
   Bodrum Moto Kurye — Blog stil dosyası
   Ana sitedeki tasarım sistemiyle aynı dil: koyu zemin, amber vurgu,
   bol boşluk, okunabilir satır uzunluğu.
   Blog HTML dosyaları DEĞİŞTİRİLMEMİŞTİR; tüm görsel yenileme buradadır.
   ========================================================================== */

:root {
  --bg: #0a0a0d;
  --surface: #12101408;
  --amber: #f5c518;
  --amber-warm: #ffb020;
  --amber-soft: #ffd466;
  --wa: #25d366;
  --wa-dark: #1ebe5a;
  --ink: #d6d6de;
  --muted: #a3a3ad;
  /* 0.62 opaklık — koyu zeminde WCAG AA (4.5:1) üstünde kalır */
  --faint: rgba(214, 214, 222, 0.62);
  --line: rgba(255, 255, 255, 0.07);
  --line-hover: rgba(245, 197, 24, 0.28);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  /* Düz siyah değil — sıcak amber'e süzülen katmanlar */
  background-image:
    radial-gradient(1000px 560px at 82% -10%, rgba(245, 197, 24, 0.09), transparent 62%),
    radial-gradient(760px 480px at 6% 10%, rgba(255, 176, 32, 0.05), transparent 60%),
    linear-gradient(178deg, #0a0a0d 0%, #0d0c10 45%, #12100c 100%);
  background-attachment: fixed;
  color: var(--muted);
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* Sağ altta sabit duran WhatsApp/Ara butonları 112px + 18px yer kaplar;
     sayfa sonu içeriği onların altında kalmasın. */
  padding-bottom: 146px;
}

/* İnce film greni — zemin yapay görünmesin */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

h1,
h2,
h3 {
  font-family: 'Oswald', system-ui, sans-serif;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

a {
  color: var(--amber);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

::selection {
  background: var(--amber);
  color: #0a0a0d;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: translateY(1px);
}

/* ---------- Butonlar (dokunma hedefi min 44px) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, transform 0.15s ease;
}

.btn--lg {
  min-height: 54px;
  padding: 0 32px;
  font-size: 15px;
}

.btn--md {
  min-height: 44px;
  padding: 0 20px;
}

.btn--lg svg {
  width: 20px;
  height: 20px;
}

.btn--md svg {
  width: 18px;
  height: 18px;
}

/* WhatsApp — bilinçli istisna, marka tanınırlığı için yeşil */
.btn-primary {
  background: var(--wa);
  color: #08080a;
  font-weight: 600;
  box-shadow: 0 0 32px -6px rgba(37, 211, 102, 0.5);
}

.btn-primary:hover {
  background: var(--wa-dark);
  box-shadow: 0 0 44px -4px rgba(37, 211, 102, 0.65);
  color: #08080a;
}

.btn:focus-visible,
.mob-bar a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* ---------- Üst bar ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 13, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.wordmark:hover {
  color: var(--amber-soft);
}

.wordmark .pin {
  width: 21px;
  height: 21px;
}

.wordmark b {
  font-weight: 600;
  color: var(--amber);
}

/* ---------- İçerik ---------- */
main {
  /* Okunabilir satır uzunluğu — makale metni için kritik */
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 22px 0;
}

.crumb {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.crumb a {
  color: var(--faint);
}

.crumb a:hover {
  color: var(--amber-soft);
}

.kicker {
  display: inline-flex;
  align-items: center;
  margin-top: 26px;
  padding: 5px 13px;
  border: 1px solid rgba(245, 197, 24, 0.25);
  background: rgba(245, 197, 24, 0.07);
  border-radius: 999px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--amber-soft);
}

h1 {
  margin-top: 20px;
  font-size: clamp(2rem, 6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--faint);
}

article {
  padding-top: 8px;
}

article h2 {
  margin-top: 46px;
  font-size: clamp(1.3rem, 3.6vw, 1.7rem);
  font-weight: 500;
  line-height: 1.25;
}

/* Başlıkların önünde kısa amber işaret */
article h2::before {
  content: '';
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--amber), transparent);
}

article h3 {
  margin-top: 32px;
  font-size: 1.12rem;
  font-weight: 500;
}

article p {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.78;
}

article strong {
  color: var(--ink);
  font-weight: 600;
}

article ul,
article ol {
  margin-top: 18px;
  padding-left: 22px;
}

article li {
  margin-top: 11px;
  font-size: 15.5px;
  line-height: 1.75;
}

article li::marker {
  color: var(--amber);
}

article table {
  width: 100%;
  margin-top: 26px;
  border-collapse: collapse;
  font-size: 14px;
  /* Dar ekranda taşma yerine kaydırma */
  display: block;
  overflow-x: auto;
}

article th {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(245, 197, 24, 0.25);
  background: rgba(245, 197, 24, 0.05);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  color: var(--amber-soft);
  white-space: nowrap;
}

article td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

article td:last-child {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  color: var(--amber);
  white-space: nowrap;
}

.callout {
  margin-top: 30px;
  padding: 20px 22px;
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.09), rgba(245, 197, 24, 0.01));
  font-size: 14.5px;
  line-height: 1.7;
}

.callout b {
  color: var(--amber-soft);
}

/* ---------- Yazı sonu CTA ---------- */
.cta-box {
  margin: 56px 0 40px;
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(600px 220px at 50% 0%, rgba(245, 197, 24, 0.11), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  text-align: center;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.9);
}

.cta-box h2 {
  font-size: clamp(1.5rem, 4.4vw, 2.1rem);
  font-weight: 600;
}

.cta-box p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--muted);
}

.cta-box .btn {
  margin-top: 26px;
}

.cta-box .tel {
  display: block;
  margin-top: 20px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--faint);
}

/* ---------- Blog listesi ---------- */
.list {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 720px) {
  .list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.9);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-hover);
  box-shadow: 0 28px 70px -30px rgba(0, 0, 0, 0.95), 0 0 36px -16px rgba(245, 197, 24, 0.5);
}

.card .tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(245, 197, 24, 0.7);
}

.card h2 {
  margin-top: 12px;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

.card p {
  margin-top: 12px;
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  min-height: 44px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--amber);
}

/* ---------- Alt bilgi ---------- */
footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 22px 40px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--faint);
}

footer a {
  color: var(--faint);
}

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

footer .mono {
  font-size: 11px;
  letter-spacing: 0.14em;
}

/* NAP satiri kendi satirini kaplar; telif ve bolge etiketi altta ayrilir. */
footer .nap {
  flex-basis: 100%;
  color: var(--faint);
  line-height: 1.7;
}

footer .nap strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Sabit hızlı iletişim ---------- */
.mob-bar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 55;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
}

.mob-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  font-size: 0; /* dairesel butonda yalnızca ikon */
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.mob-bar a svg {
  width: 26px;
  height: 26px;
}

.mob-bar .wa {
  background: var(--wa);
  color: #08080a;
  box-shadow: 0 0 32px -6px rgba(37, 211, 102, 0.55);
}

.mob-bar .wa:hover {
  background: var(--wa-dark);
}

.mob-bar .call {
  width: 46px;
  height: 46px;
  margin-left: 5px;
  border: 1px solid var(--line);
  background: rgba(18, 16, 20, 0.9);
  color: var(--ink);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mob-bar .call svg {
  width: 20px;
  height: 20px;
}

.mob-bar .call:hover {
  border-color: var(--line-hover);
  color: var(--amber-soft);
}

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