/**
 * Ankara Dedektif - Göz Yormayan Prestijli & Asil Kurumsal Tasarım Sistemi
 * Dinlendirici İnci Grisi, Diplomatik Gece Laciverti ve Asil Şampanya Varak Paleti
 */

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

:root {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-soft: #f1f5f9;
  --color-border: #e2e8f0;
  --color-border-glow: #cbd5e1;
  --color-gold: #c59b27;
  --color-gold-light: #d4af37;
  --color-gold-dark: #8c6d23;
  --color-navy: #0f172a;
  --color-navy-light: #1e293b;
  --color-text-main: #0f172a;
  --color-text-body: #475569;
  --color-text-muted: #64748b;
  --font-heading: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Genel Gövde - Gözü Yormayan Pürüzsüz Dinlendirici Zemin */
body {
  background-color: var(--color-bg);
  color: var(--color-text-body);
  font-family: var(--font-body);
  background-image: radial-gradient(1200px circle at 50% 0%, #f1f5f9 0%, #f8fafc 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Başlıklar */
h1, h2, h3, .font-serif-detective {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  color: var(--color-text-main);
}

/* Özel Vurgulu Metinler (Göz Yormayan Asil İtalik & İnce Varak Çizgi) */
strong em, em strong {
  color: #0f172a;
  font-style: italic;
  font-weight: 700;
  background: transparent;
  border-bottom: 1.5px solid rgba(197, 155, 39, 0.45);
  padding: 0 1px;
}

/* Altın & Bronz Varak Metin */
.text-gold-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #8c6d23 50%, #c59b27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Kartlar ve Paneller (Temiz, Ferah ve Yumuşak Gölgeli) */
.glass-panel {
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

/* Dedektif Prestij Buton (Diplomatik Lacivert & Varak Altın Vurgulu) */
.btn-detective-gold {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  font-weight: 700;
  border: 1px solid rgba(197, 155, 39, 0.45);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.15);
  transition: all 0.25s ease;
}

.btn-detective-gold:hover {
  background: linear-gradient(135deg, #b8924b 0%, #9a7336 100%);
  border-color: #c59b27;
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(184, 146, 75, 0.35);
  transform: translateY(-2px);
}

/* Koyu Kontrast Buton */
.btn-detective-dark {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(197, 155, 39, 0.4);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.12);
  transition: all 0.25s ease;
}

.btn-detective-dark:hover {
  background: #1e293b;
  border-color: #c59b27;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ========================================================
   ANASAYFA TARİHİ ANKARA & DEDEKTİFLİK SLAYDER (CAROUSEL)
   ======================================================== */
.hero-slider-container {
  position: relative;
  width: 100%;
  min-height: 580px;
  overflow: hidden;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: scale(1.02);
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 10;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.1) 45%, rgba(0, 0, 0, 0.05) 100%);
  pointer-events: none;
}

.hero-caption {
  position: relative;
  z-index: 20;
  max-width: 680px;
  padding: 40px;
  animation: slideCaptionUp 0.6s ease forwards;
}

@keyframes slideCaptionUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slayder Kontrolleri */
.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #cbd5e1;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.slider-arrow-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow-prev { left: 24px; }
.slider-arrow-next { right: 24px; }

/* Slayder Nokta Göstergeleri */
.slider-dots-container {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 1px solid #94a3b8;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  width: 24px;
  border-radius: 12px;
  background: #0f172a;
  border-color: #0f172a;
}

/* Slayder İlerleme Çubuğu */
.slider-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #c59b27, #0f172a);
  z-index: 35;
  width: 0%;
  transition: width 0.1s linear;
}

/* ========================================================
   SABİT BUTONLAR (TEKLİF AL & WHATSAPP)
   ======================================================== */
.floating-quote-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #0f172a;
  border: 1px solid rgba(197, 155, 39, 0.5);
  border-radius: 50px;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.25);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.floating-quote-btn:hover {
  transform: scale(1.04) translateY(-2px);
  background: #1e293b;
  border-color: #c59b27;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
}

.floating-quote-btn .pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #c59b27;
  border-radius: 50%;
  box-shadow: 0 0 8px #c59b27;
  animation: pulseDot 1.5s infinite;
}

.floating-contact-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.floating-wa-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.90rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-wa-btn:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.floating-phone-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 30px;
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  text-decoration: none;
}

.floating-phone-btn:hover {
  border-color: #0f172a;
  color: #0f172a;
  background: #f8fafc;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Modal */
.detective-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeInModal 0.25s ease forwards;
}

.detective-modal.active {
  display: flex;
}

@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

/* Sayfalama (Pagination) */
.detective-page-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}

.detective-page-item:hover {
  border-color: #0f172a;
  color: #0f172a;
  background: #f1f5f9;
}

.detective-page-item.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  font-weight: 800;
}
