/* ============================================================
   RENT-A-CAR — Global CSS
   ============================================================ */

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Body */
body {
  background-color: #131313;
  color: #e2e2e2;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slide { transition: opacity 0.8s ease-in-out; }
.hero-slide.opacity-0 { pointer-events: none; }

/* ============================================================
   TESTIMONIAL SLIDER
   ============================================================ */
.testimonial-slide { display: none; }
.testimonial-slide.block { display: flex; flex-direction: column; height: 100%; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-answer { overflow: hidden; }
.faq-trigger { transition: background 0.2s; }
.faq-trigger:hover { background: rgba(255,215,0,0.03); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   PROSE (CKEditor içerik alanları)
   ============================================================ */
.prose h1, .prose h2, .prose h3 { color: #e2e2e2; }
.prose p  { color: #b0aead; line-height: 1.8; }
.prose a  { color: #ffd700; text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose ul { list-style: disc; padding-left: 1.5rem; }
.prose li { color: #b0aead; margin-bottom: 0.4rem; }
.prose blockquote {
  border-left: 3px solid #ffd700;
  padding-left: 1rem;
  color: #999077;
  font-style: italic;
}
.prose img {
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 8px 12px; border: 1px solid rgba(255,255,255,0.1); }
.prose th { background: rgba(255,215,0,0.08); color: #ffd700; }

/* ============================================================
   HEADER — scroll efekti
   ============================================================ */
#siteHeader { transition: background 0.3s, box-shadow 0.3s; }
#siteHeader.scrolled {
  background: rgba(0,0,0,0.98) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* ============================================================
   Lightbox
   ============================================================ */
#lightbox img {
  box-shadow: 0 25px 80px rgba(0,0,0,0.8);
}

/* ============================================================
   WhatsApp Button Pulse
   ============================================================ */
@keyframes waPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}
.wa-pulse { animation: waPulse 2.5s infinite; }

/* ============================================================
   Scrollbar (ince, markalı)
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #1f1f1f; }
::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #ffd700; }

/* ============================================================
   Yüklenme animasyonu
   ============================================================ */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, #1f1f1f 25%, #2a2a2a 50%, #1f1f1f 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
