/* ==========================================================================
   Niksar Yol Yardım - Özel Reskin & Modern Tasarım Stilleri
   ========================================================================== */

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: #334155;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6, .title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  letter-spacing: -0.02em;
}

/* 7/24 Acil Yardım Vurgusu & Rozetleri */
.badge-24-7 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 94, 20, 0.12);
  color: #FF5E14;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255, 94, 20, 0.25);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-24-7 .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Buton İyileştirmeleri */
.btn.style2, .theme-btn, .btn {
  border-radius: 8px !important;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 94, 20, 0.35) !important;
}

.btn-emergency {
  background: linear-gradient(135deg, #FF5E14 0%, #E64A19 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 14px 28px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  border-radius: 50px !important;
  box-shadow: 0 8px 24px rgba(255, 94, 20, 0.4) !important;
  animation: pulseEmergency 2.5s infinite;
}

.btn-emergency:hover {
  background: linear-gradient(135deg, #E64A19 0%, #D84315 100%) !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 94, 20, 0.6) !important;
}

@keyframes pulseEmergency {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(255, 94, 20, 0.4);
  }
  50% {
    box-shadow: 0 8px 32px rgba(255, 94, 20, 0.7);
  }
}

.btn-whatsapp {
  background: #25D366 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 14px 28px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  border-radius: 50px !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35) !important;
}

.btn-whatsapp:hover {
  background: #20BA5A !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5) !important;
}

/* Sabit Alt Hızlı İletişim Çubuğu / Floating Butonlar */
.floating-quick-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 50px;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.float-call {
  background: linear-gradient(135deg, #FF5E14, #E64A19);
}

.float-call:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 94, 20, 0.5);
}

.float-whatsapp {
  background: #25D366;
}

.float-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* Hero Alanı İyileştirmeleri */
.hero-wrapper.hero-1 {
  position: relative;
  background-color: #0B0F19;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Gerçek araç fotoğrafı üzerine koyu gradient overlay */
.hero-wrapper.hero-1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(11, 15, 25, 0.88) 0%,
    rgba(11, 15, 25, 0.72) 50%,
    rgba(11, 15, 25, 0.50) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-wrapper.hero-1 .container {
  position: relative;
  z-index: 2;
}

.hero-wrapper.hero-1::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 30%, rgba(255, 94, 20, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-style1 .hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
}

.hero-style1 .hero-title span {
  color: #FF5E14;
}

.hero-style1 .hero-text {
  font-size: 18px;
  line-height: 1.7;
  color: #94A3B8;
  max-width: 600px;
}

/* Servis Kartları & Modern Gölgeler */
.service-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: #FF5E14;
  box-shadow: 0 20px 40px rgba(255, 94, 20, 0.12);
}

/* Yol Yardım Avantaj Kartı */
.rescue-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.rescue-feat-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
}

.rescue-feat-box:hover {
  background: #ffffff;
  border-color: #FF5E14;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.rescue-feat-box .icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 94, 20, 0.1);
  color: #FF5E14;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.rescue-feat-box h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0F172A;
}

.rescue-feat-box p {
  font-size: 14px;
  color: #64748B;
  margin: 0;
  line-height: 1.5;
}

/* Header & Nav */
.header-layout1 .header-logo {
  background: #FF5E14 !important;
  border-radius: 0 0 12px 12px;
}

.header-top {
  background: #0F172A !important;
  color: #94A3B8;
}

.header-top a {
  color: #CBD5E1;
}

.header-top a:hover {
  color: #FF5E14;
}

/* Acil Çağrı Şeridi (CTA) */
.emergency-cta-bar {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-top: 4px solid #FF5E14;
  color: #ffffff;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.emergency-cta-bar .cta-phone {
  font-size: 32px;
  font-weight: 900;
  color: #FFB703;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.emergency-cta-bar .cta-phone:hover {
  color: #ffffff;
}

/* Mobil Uyumluluk */
@media (max-width: 767px) {
  .hero-style1 .hero-title {
    font-size: 36px;
  }
  
  .floating-quick-actions {
    bottom: 16px;
    right: 16px;
    left: 16px;
    flex-direction: row;
  }

  .float-btn {
    flex: 1;
    justify-content: center;
    font-size: 13px;
    padding: 10px 14px;
  }

  .emergency-cta-bar .cta-phone {
    font-size: 24px;
  }
}

/* Araç Filosu / Portfolio Kartları */
.portfolio-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(255, 94, 20, 0.14);
  border-color: #FF5E14;
}

.portfolio-card-thumb img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.portfolio-card:hover .portfolio-card-thumb img {
  transform: scale(1.05);
}

.portfolio-card-details {
  padding: 20px 20px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.portfolio-card-details_subtitle {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FF5E14;
  display: block;
  margin-bottom: 4px;
}

.portfolio-card-details_title {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 4px;
  line-height: 1.3;
}

/* Acil Kurtarma CTA Banner */
.emergency-bg {
  background: linear-gradient(135deg, #0B0F19 0%, #1E293B 100%);
  border-top: 4px solid #FF5E14;
}

/* Harita iframe */
.map-sec iframe {
  border: none;
  filter: grayscale(8%);
  width: 100%;
  height: 380px;
  border-radius: 12px;
  display: block;
}

/* İletişim formu giriş alanları koyu modda */
.bg-dark .form-control,
.bg-dark .form-select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.bg-dark .form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.bg-dark .form-control:focus,
.bg-dark .form-select:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FF5E14;
  box-shadow: 0 0 0 3px rgba(255, 94, 20, 0.2);
  color: #ffffff;
}

/* Filter butonları */
.filter-menu-active .btn.style-border3 {
  border: 2px solid #E2E8F0;
  color: #475569;
  background: #ffffff;
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s ease;
  margin: 4px;
}

.filter-menu-active .btn.style-border3:hover,
.filter-menu-active .btn.style-border3.active {
  border-color: #FF5E14;
  color: #FF5E14;
  background: rgba(255, 94, 20, 0.06);
}

/* İletişim Kart Hover Efekti */
.contact-info-card {
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.1);
}

/* Sayfa Geçiş Görselleri */
.about-img-1, .about-img-2 {
  overflow: hidden;
  border-radius: 16px;
}

.about-img-1 img, .about-img-2 img {
  transition: transform 0.5s ease;
}

.about-img-1:hover img, .about-img-2:hover img {
  transform: scale(1.04);
}

/* 197x227 Placeholder and Shape Fixes */
.about-year-wrap:after {
  background: rgba(255, 94, 20, 0.08) !important;
  border: 2px solid #FF5E14 !important;
  border-radius: 12px;
}

.about-year-wrap .about-year-mask-wrap {
  background: #0B0F19 !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  border-radius: 12px;
}

/* Preloader Güvenlik Kuralı: Sayfanın donmasını veya beyaz ekranda kalmasını önler */
.preloader {
  animation: autoDismissPreloader 0.5s ease 1s forwards;
}

@keyframes autoDismissPreloader {
  0% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; display: none; }
}

