/* ==========================================================================
   İzmir Acil Çekici & Oto Kurtarma Merkezi - Aydınlık & Kurumsal Mavi-Beyaz Tema
   izmiracilcekici.com.tr | Tel: 0536 976 42 93
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F0F7FF;
  --bg-card: #FFFFFF;
  --border-card: #E2E8F0;
  --border-focus: #0284C7;
  --blue-primary: #0284C7;
  --blue-dark: #1D4ED8;
  --blue-navy: #0F172A;
  
  /* Daha Açık, Canlı ve Aciliyet Hissi Veren Parlak Kırmızı */
  --red-alert-bright: #EF4444;
  --red-alert-mid: #F43F5E;
  --red-alert-dark: #DC2626;

  --orange-accent: #EA580C;
  --green-whatsapp: #10B981;
  --green-dark: #059669;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
}

* {
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: linear-gradient(180deg, #F0F7FF 0%, #E0F2FE 20%, #EFF6FF 45%, #E1EFFE 75%, #F0F7FF 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  overflow-x: hidden;
  padding-bottom: 76px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0284C7;
}

/* Canlı ve Parlak Görsel Kuralı - Karartma Asla Yok */
.clean-img {
  filter: none !important;
  opacity: 1 !important;
}

/* Sabit En-Boy Oranı */
.img-aspect-4-3 {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.875rem;
  background-color: #F8FAFC;
}

.img-aspect-4-3 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.img-aspect-4-3:hover img {
  transform: scale(1.04);
}

/* Hero Sıfır Kasmayan Donanım Hızlandırmalı CSS Slider */
.hero-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 1rem;
  background-color: #F8FAFC;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

@media (max-width: 640px) {
  .hero-slider-container {
    aspect-ratio: 4 / 3;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translate3d(0, 0, 0);
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Aciliyet Hissi Veren, Sırıtmayan Canlı ve Açık Kırmızı Acil Çağrı Butonu */
.btn-urgent-call {
  background: linear-gradient(135deg, #FF334B 0%, #FF4D61 50%, #E60023 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(255, 51, 75, 0.32), 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-urgent-call:hover {
  background: linear-gradient(135deg, #FF475E 0%, #FF6073 50%, #F50027 100%);
  box-shadow: 0 6px 22px rgba(255, 51, 75, 0.45);
  transform: translateY(-1px);
}

.btn-urgent-call:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(255, 51, 75, 0.25);
}

/* Canlı Açık Kırmızı Acil Durum Nabız Animasyonu (Gözü Yormayan, Aciliyet Hissi Veren) */
@keyframes urgentCallPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 51, 75, 0.45), 0 4px 14px rgba(255, 51, 75, 0.28);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 51, 75, 0), 0 6px 20px rgba(255, 51, 75, 0.42);
    transform: scale(1.015);
  }
}

@keyframes liveDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

.animate-call-urgent {
  animation: urgentCallPulse 2s infinite ease-in-out;
}

.animate-beacon {
  animation: urgentCallPulse 2s infinite ease-in-out;
}

.animate-live-dot {
  animation: liveDot 1.5s infinite ease-in-out;
}

/* Parlama Efekti */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(30deg);
  animation: shimmer 3.2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(30deg); }
  25% { transform: translateX(100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

/* Kurumsal Güven Veren Geçişli Kartlar */
.corporate-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F7FF 100%);
  border: 1.5px solid rgba(2, 132, 199, 0.28);
  border-radius: 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px -2px rgba(2, 132, 199, 0.10), 0 2px 4px rgba(0, 0, 0, 0.04);
}

.corporate-card:hover {
  transform: translateY(-4px);
  border-color: #0284C7;
  background: linear-gradient(180deg, #FFFFFF 0%, #E0F2FE 100%);
  box-shadow: 0 20px 32px -4px rgba(2, 132, 199, 0.20), 0 6px 12px -2px rgba(0, 0, 0, 0.06);
}

/* Fiyat Hesaplama Sihirbazı Seçenekleri */
.calc-option {
  cursor: pointer;
  border: 1.5px solid rgba(2, 132, 199, 0.25);
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F7FF 100%);
  border-radius: 0.875rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.06);
}

.calc-option:hover {
  border-color: #0284C7;
  background: linear-gradient(180deg, #FFFFFF 0%, #E0F2FE 100%);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.15);
  transform: translateY(-2px);
}

.calc-option.active {
  border-color: #0284C7;
  background: linear-gradient(180deg, #E0F2FE 0%, #BAE6FD 100%);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.30), 0 6px 16px rgba(2, 132, 199, 0.18);
}

/* İlçe Etiket Bulutu - Mavi Geçişli Kurumsal Ton */
.district-pill {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(180deg, #FFFFFF 0%, #E8F4FD 100%);
  border: 1.5px solid rgba(2, 132, 199, 0.32);
  color: #0F172A;
  box-shadow: 0 2px 5px rgba(2, 132, 199, 0.08);
}

.district-pill:hover {
  background: linear-gradient(135deg, #0284C7 0%, #1D4ED8 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  border-color: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.30);
}

/* Lightbox Modal */
#lightboxModal {
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#lightboxModal.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.accordion-toggle[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}
