/* Has Çınar Oto Kurtarma - Premium Mobile-First Stiller */

:root {
  --bg-main: #10151c;
  --bg-secondary: #1c2530;
  --bg-card: #202a35;
  --bg-menu: #252e38;
  --accent-gold: #f5b83d;
  --accent-gold-hover: #ffcb58;
  --btn-whatsapp: #253f34;
  --btn-whatsapp-hover: #2e4d40;
  --text-main: #ffffff;
  --text-muted: #b9c1cb;
  --border-subtle: #303b48;
}

/* Genel Sıfırlama ve Safe-Area */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Mobil Alt Sabit İletişim Alanı Boşluğu */
.has-bottom-bar {
  padding-bottom: 84px;
}

@media (min-width: 1024px) {
  .has-bottom-bar {
    padding-bottom: 0;
  }
}

/* Özel Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Altın Parlama Efekti */
.gold-glow {
  box-shadow: 0 0 20px rgba(245, 184, 61, 0.25);
}

.gold-glow-sm {
  box-shadow: 0 0 10px rgba(245, 184, 61, 0.2);
}

/* Kart Hover Geçişleri */
.premium-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.premium-card:active {
  transform: scale(0.98);
}

@media (hover: hover) {
  .premium-card:hover {
    border-color: rgba(245, 184, 61, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
  }
}

/* Buton Mikro Etkileşimler */
.btn-tap-effect:active {
  transform: scale(0.96);
}

/* Mobil Safe-Area Padding Yardımcıları */
.pt-safe {
  padding-top: env(safe-area-inset-top, 0px);
}
.pb-safe {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Hareketi Azalt 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;
  }
}

/* Canlı Harita & Radar Animasyonları (Sakin, Akıcı ve Yavaş Geçiş) */
@keyframes radarSweep {
  0% { stroke-dashoffset: 400; }
  100% { stroke-dashoffset: 0; }
}

@keyframes signalPulse {
  0% { r: 4px; opacity: 0.9; }
  70% { r: 16px; opacity: 0.3; }
  100% { r: 22px; opacity: 0; }
}

.radar-line {
  stroke-dasharray: 10, 14;
  animation: radarSweep 10s linear infinite;
}

.signal-ring {
  animation: signalPulse 4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

/* Alpine.js cloak gizleme kuralı */
[x-cloak] {
  display: none !important;
}


