/* =============================================================
   Bolu Mutlu Trans — Özel stiller (Tailwind dışı override'lar)
   Marka paleti: siyah (primary) · kırmızı (secondary) · hardal (accent)
   ============================================================= */

:root {
  --color-primary: #111111;
  --color-primary-dark: #050505;
  --color-secondary: #C8102E;
  --color-secondary-dark: #A30D26;
  --color-accent: #B8860B;
  --color-ink: #111111;
  --color-ink-muted: #6B7280;
  --color-surface: #F5F5F5;
}

/* Hero overlay düzgün işle */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
}

/* Hero swiper özelleştirme */
.hero-swiper { height: 100vh; min-height: 600px; }
@media (max-width: 768px) { .hero-swiper { height: 80vh; min-height: 500px; } }

.hero-swiper .swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: #fff;
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}
.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after { font-size: 18px; font-weight: bold; }
.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover { background: var(--color-secondary); }

.hero-swiper .swiper-pagination-bullet { background: #fff; opacity: 0.4; width: 12px; height: 12px; }
.hero-swiper .swiper-pagination-bullet-active { background: var(--color-secondary); opacity: 1; width: 32px; border-radius: 6px; }

.hero-content { animation: heroFadeIn 1.2s ease-out both; }
@keyframes heroFadeIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* Marquee for references */
.marquee-track { display: flex; gap: 3rem; animation: marquee 35s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Service card hover */
.service-card { transition: transform 0.4s, box-shadow 0.4s; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(200,16,46,0.18); }

.service-card-img-wrap { position: relative; overflow: hidden; aspect-ratio: 3/2; }
.service-card-img-wrap img { transition: transform 0.6s; }
.service-card:hover .service-card-img-wrap img { transform: scale(1.08); }

/* Quick service strip */
.quick-strip { transform: translateY(-80px); }
@media (max-width: 1024px) { .quick-strip { transform: none; margin-top: -40px; } }

/* Fleet card */
.fleet-feature-icon { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(17,17,17,0.08); color: var(--color-primary); }

/* Testimonial */
.testimonial-card { position: relative; padding: 2.5rem 2rem 2rem; }
.testimonial-card::before {
  content: '“'; position: absolute; top: 0; right: 1.5rem;
  font-size: 6rem; line-height: 1; color: var(--color-secondary); opacity: 0.18; font-family: serif;
}

/* Counter */
.counter-bg {
  background-image: linear-gradient(135deg, rgba(5,5,5,0.92), rgba(17,17,17,0.92)),
    url('https://placehold.co/1920x600/050505/FFFFFF?text=');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

/* Page banner */
.page-banner {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 7rem 0 4rem;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.55), rgba(17,17,17,0.35));
}
.page-banner > * { position: relative; }

/* Prose for blog/service content */
.prose-content { color: var(--color-ink); line-height: 1.75; font-size: 16px; }
.prose-content h2 { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--color-primary); font-size: 1.75rem; margin: 2rem 0 1rem; }
.prose-content h3 { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--color-primary); font-size: 1.35rem; margin: 1.5rem 0 0.75rem; }
.prose-content p  { margin-bottom: 1rem; }
.prose-content ul, .prose-content ol { margin: 1rem 0 1.25rem 1.5rem; }
.prose-content ul { list-style: none; padding-left: 0; }
.prose-content ul li { position: relative; padding-left: 1.75rem; margin-bottom: 0.5rem; }
.prose-content ul li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--color-secondary);
}
.prose-content ol li { margin-bottom: 0.5rem; }
.prose-content strong { color: var(--color-primary); font-weight: 700; }
.prose-content a { color: var(--color-secondary); text-decoration: underline; text-underline-offset: 3px; }
.prose-content a:hover { color: var(--color-secondary-dark); }
.prose-content blockquote { border-left: 4px solid var(--color-secondary); padding: 0.75rem 1.25rem; margin: 1.5rem 0; background: #FDECEF; font-style: italic; }

/* Form focus */
input:focus, select:focus, textarea:focus { outline: none; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Toast (saf JS) */
.toast-wrap { position: fixed; top: 1rem; right: 1rem; z-index: 90; display: flex; flex-direction: column; gap: 0.5rem; pointer-events: none; }
.toast { pointer-events: auto; padding: 0.85rem 1.25rem; border-radius: 8px; color: #fff; box-shadow: 0 12px 40px rgba(0,0,0,0.18); animation: toastIn 0.3s ease-out both; max-width: 360px; }
.toast.success { background: #10B981; }
.toast.error { background: #EF4444; }
.toast.info { background: var(--color-primary); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

/* Scroll-down arrow */
.scroll-arrow { animation: scrollDown 1.6s ease-in-out infinite; }
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* Map embed (Google iframe responsive fill) */
.map-embed-wrap { position: relative; width: 100%; }
.map-embed-wrap iframe,
.map-embed-wrap > * { width: 100% !important; height: 100% !important; display: block; border: 0; }

/* Map pulse */
.map-bolu-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-secondary);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(200,16,46,0.6); }
  70% { box-shadow: 0 0 0 18px rgba(200,16,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,16,46,0); }
}

/* Helpers */
[x-cloak] { display: none !important; }

/* Erişilebilirlik — odak göstergesi */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-secondary); color: #fff;
  padding: 0.75rem 1rem; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* =============================================================
   Akıcı animasyonlar & geçişler — tüm site
   ============================================================= */

/* Yumuşak kaydırma (çapa/anchor linkleri için) */
html { scroll-behavior: smooth; }

/* İnteraktif öğelerde tutarlı, yumuşak hover geçişleri.
   (transform/opacity dahil edilmedi → AOS scroll-reveal'larını bozmaz) */
a, button, summary, .btn,
input, select, textarea {
  transition-property: color, background-color, border-color, box-shadow, fill, stroke;
  transition-duration: 0.25s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* CTA / birincil butonlarda hafif yukarı kalkma efekti */
a.shadow-cta, button.shadow-cta {
  transition: color .25s, background-color .25s, box-shadow .3s ease,
              transform .3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
a.shadow-cta:hover, button.shadow-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(200, 16, 46, 0.45);
}

/* Scroll-reveal (AOS) için daha akıcı easing */
[data-aos] { transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1); }

/* Erişilebilirlik — hareketi azaltma tercihine saygı */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .no-print { display: none !important; }
}
