/* Ayrancı Oto Kurtarma - Ultra Responsive, Mobil Öncelikli & Endüstriyel CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --color-bg: #0A0E17;
  --color-surface: #111726;
  --color-surface-hover: #182238;
  --color-surface-card: #0F1626;
  --color-border: #1E293B;
  --color-border-glow: #FF6B00;
  
  --color-primary: #FF6B00;
  --color-primary-hover: #E05D00;
  --color-primary-glow: rgba(255, 107, 0, 0.35);
  
  --color-secondary: #0284C7;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #20BA56;
  --color-whatsapp-glow: rgba(37, 211, 102, 0.3);
  
  --color-text-main: #F8FAFC;
  --color-text-muted: #94A3B8;
  --color-text-dim: #64748B;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent auto zoom on iOS input focus */
input, select, textarea, button {
  font-family: inherit;
  font-size: 16px;
}

/* Container */
.container-custom {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #080C14;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Utility Helpers */
.whitespace-nowrap {
  white-space: nowrap !important;
}

.no-shrink {
  flex-shrink: 0 !important;
}

/* Glow & Shadows */
.glow-primary {
  box-shadow: 0 0 25px var(--color-primary-glow);
}
.glow-whatsapp {
  box-shadow: 0 0 20px var(--color-whatsapp-glow);
}

/* Emergency Badge Pulse */
@keyframes pulse-emergency {
  0% { transform: scale(0.97); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 107, 0, 0); }
  100% { transform: scale(0.97); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

.pulse-badge {
  animation: pulse-emergency 2s infinite ease-in-out;
}

@keyframes radar-ping {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

.radar-dot {
  position: relative;
  display: inline-block;
}
.radar-dot::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  animation: radar-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Gradients and Card Surfaces */
.hero-gradient {
  background: radial-gradient(circle at 50% 15%, rgba(255, 107, 0, 0.12) 0%, rgba(10, 14, 23, 0) 70%);
}

.card-gradient {
  background: linear-gradient(180deg, rgba(22, 32, 50, 0.85) 0%, rgba(15, 22, 38, 0.98) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
}

.badge-orange {
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.4);
  color: #FF8A33;
}

.badge-green {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ADE80;
}

/* Header & Nav Layout Fixes */
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-text-title {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1.1;
  color: #FFFFFF;
}

.logo-text-sub {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.2;
  margin-top: 2px;
}

.nav-links-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #CBD5E1;
  white-space: nowrap;
}

@media (min-width: 1120px) {
  .nav-links-desktop {
    display: flex;
  }
}

.nav-links-desktop a {
  text-decoration: none;
  color: #CBD5E1;
  transition: color 0.2s;
  padding: 0.25rem 0;
}

.nav-links-desktop a:hover {
  color: var(--color-primary);
}

.header-action-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .header-action-group {
    gap: 0.75rem;
  }
}

/* Call & WhatsApp Buttons */
.btn-emergency-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #FF6B00 0%, #EA580C 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.65rem 1.1rem;
  border-radius: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.35);
  transition: all 0.2s;
  min-height: 44px;
}

.btn-emergency-call:hover {
  background: linear-gradient(135deg, #FF7D1F 0%, #F97316 100%);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
  transform: translateY(-1px);
}

.btn-whatsapp-header {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #4ADE80;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
  border-radius: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
  min-height: 44px;
}

@media (min-width: 640px) {
  .btn-whatsapp-header {
    display: inline-flex;
  }
}

.btn-whatsapp-header:hover {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

/* Mobile Emergency Floating Bar */
.mobile-emergency-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10, 14, 23, 0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid #1E293B;
  padding: 0.6rem 0.85rem calc(0.6rem + var(--safe-bottom));
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-emergency-bar {
    display: none !important;
  }
}

/* Body bottom padding for mobile bar */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(74px + var(--safe-bottom));
  }
}

/* Specs Table */
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}
.spec-row:last-child {
  border-bottom: none;
}
.spec-label {
  color: var(--color-text-muted);
}
.spec-val {
  color: #FFFFFF;
  font-weight: 600;
  text-align: right;
}

/* Tag Chips */
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  background: #162032;
  border: 1px solid #1E293B;
  font-size: 0.8rem;
  color: #CBD5E1;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}

.tag-chip:hover, .tag-chip.active {
  background: #FF6B00;
  color: #FFFFFF;
  border-color: #FF6B00;
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.4);
}

/* FAQ Accordion */
.faq-header {
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}
.faq-item.active .faq-content {
  max-height: 600px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Mobile Nav Drawer */
#mobileMenu {
  transition: all 0.25s ease-in-out;
}
