/* 3N DETAILING - Özel Koyu Tema & Vurgu Stilleri */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #09090b;
  --bg-card: #121318;
  --bg-card-hover: #181922;
  --accent-red: #ef4444;
  --accent-red-glow: rgba(239, 68, 68, 0.35);
  --accent-blue: #3b82f6;
  --accent-blue-glow: rgba(59, 130, 246, 0.35);
  --text-main: #f4f4f5;
  --text-muted: #9ca3af;
  --border-color: #27272a;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: 'Montserrat', sans-serif;
}

/* Neon & Vurgu Efektleri */
.glow-red {
  box-shadow: 0 0 25px var(--accent-red-glow);
}

.glow-blue {
  box-shadow: 0 0 25px var(--accent-blue-glow);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #9ca3af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-red-blue {
  background: linear-gradient(135deg, #ef4444 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-gradient {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(59, 130, 246, 0.15));
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Kartlar ve Arka Plan Dokuları */
.card-detailing {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-detailing:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

/* Before / After Slider Stilleri */
.ba-container {
  position: relative;
  width: 100%;
  height: 480px;
  max-width: 950px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.95);
  border: 2px solid #27272a;
  user-select: none;
  touch-action: none; /* Mobilde parmakla kaydırırken sayfa titremesini önler */
  --pos: 50%;
  cursor: ew-resize;
  background-color: #0d0e12;
}

@media (max-width: 640px) {
  .ba-container {
    height: 320px;
  }
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

/* Sonrası Katmanı: Siyah Mercedes-Benz E-Serisi W214 Ön Kaput Yakın Plan (Temiz, derin siyah ayna parlaklığı) */
.ba-image-after {
  background-image: url('../images/mercedes-w214-hood-after.jpg');
  filter: none; /* Karartma veya filtre yok, doğal netlik */
}

/* Öncesi Katmanı: Birebir aynı araç & kadraj (Güçlü ışık altında gerçekçi kılcal çizikler ve dairesel hareler) */
.ba-image-before {
  background-image: url('../images/mercedes-w214-hood-before.jpg');
  filter: none; /* Karartma, perde veya siyah filtre kesinlikle YOKTUR */
  clip-path: polygon(0 0, var(--pos, 50%) 0, var(--pos, 50%) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, var(--pos, 50%) 0, var(--pos, 50%) 100%, 0 100%);
  width: 100%;
  height: 100%;
}

/* Katmanlar arası görsel uyumu */
.ba-swirl-overlay {
  display: none; /* Görsel içinde doğal olarak işlendiğinden ek filtre katmanı devre dışı */
}

/* Sürükleme Çizgisi */
.ba-slider-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  background: linear-gradient(180deg, #ef4444 0%, #ffffff 50%, #3b82f6 100%);
  transform: translateX(-50%);
  z-index: 20;
  pointer-events: none;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 8px #3b82f6;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background-color: #09090b;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.95), 0 0 16px rgba(59, 130, 246, 0.9);
  color: white;
  pointer-events: auto;
  cursor: ew-resize;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ba-handle:hover, .ba-handle:active {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.95), 0 0 20px rgba(59, 130, 246, 0.95);
}

/* Rozetler */
.ba-badge {
  position: absolute;
  bottom: 18px;
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 10;
  backdrop-filter: blur(12px);
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.ba-badge-before {
  left: 18px;
  background-color: rgba(239, 68, 68, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
}

.ba-badge-after {
  right: 18px;
  background-color: rgba(59, 130, 246, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
}
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.ba-badge-before {
  left: 16px;
  background-color: rgba(239, 68, 68, 0.75);
  color: white;
}

.ba-badge-after {
  right: 16px;
  background-color: rgba(59, 130, 246, 0.75);
  color: white;
}

/* WhatsApp Floating Buton Dalga Efekti */
.pulse-green {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Kampanya seçici — mevcut koyu 3N DETAILING görünümüyle uyumlu */
.campaign-selector {
  background: linear-gradient(125deg, rgba(17,24,39,.96), rgba(12,13,19,.99) 58%, rgba(30,19,24,.93));
  border: 1px solid rgba(100,116,139,.40);
  box-shadow: 0 20px 50px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.035);
}
.service-choice {
  color: #cbd5e1;
  background: #171923;
  border: 1px solid #343947;
  min-height: 53px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.service-choice:hover, .service-choice:focus-within { border-color: #60a5fa; }
.service-choice.selected {
  background: rgba(37,99,235,.13);
  color: #fff;
  border-color: #3b82f6;
  box-shadow: inset 0 0 0 1px rgba(59,130,246,.23);
}
.service-checkbox { width: 18px; height: 18px; flex-shrink: 0; accent-color: #3b82f6; }
.campaign-input { background: #0c1019; color: #fff; border: 1px solid #3f4654; outline: none; }
.campaign-input::placeholder { color: #748094; }
.campaign-input:focus { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(59,130,246,.17); }
.campaign-action { background: linear-gradient(105deg,#b91c1c,#2563eb); color: #fff; text-decoration: none; transition: filter .15s, transform .15s; }
.campaign-action:hover { filter: brightness(1.15); transform: translateY(-1px); }
.campaign-action:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
.campaign-action.is-disabled { opacity: .42; cursor: not-allowed; pointer-events:none; }
.campaign-action-red { background: linear-gradient(110deg,#b91c1c,#ef4444); }
.campaign-action-blue { background: linear-gradient(110deg,#1d4ed8,#3b82f6); }
.campaign-result { overflow: hidden; min-width: 0; }
.campaign-tag { display: inline-flex; padding: 5px 11px; border-radius: 99px; font-size: .7rem; font-weight: 800; letter-spacing:.04em; text-transform: uppercase; }
.campaign-tag-red { background: rgba(239,68,68,.17); color:#fca5a5; border:1px solid rgba(239,68,68,.32); }
.campaign-tag-blue { background: rgba(59,130,246,.17); color:#93c5fd; border:1px solid rgba(59,130,246,.32); }
.campaign-match-full,.campaign-match-partial { font-size:.72rem; font-weight:700; padding:5px 8px; border-radius:7px; }
.campaign-match-full { color:#86efac; background:rgba(22,101,52,.25); }
.campaign-match-partial { color:#bfdbfe; background:rgba(29,78,216,.15); }


/* Çalışma günleri/saatleri: Instagram ve diğer iletişim kartlarından bağımsız. */
.business-hours { background: linear-gradient(125deg, #121725, #111318 55%, #17121a); }
.business-hours-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:9px; }
.business-hours-item { display:flex; align-items:center; justify-content:space-between; gap:12px; background:#171a25; border:1px solid #303749; border-radius:11px; padding:11px 14px; font-size:13px; min-width:0; }
.business-hours-item span { color:#cbd5e1; font-weight:600; }
.business-hours-item strong { color:white; font-size:13px; text-align:right; }
.business-hours-closed { background:rgba(127,29,29,.2); border-color:rgba(248,113,113,.34); }
.business-hours-closed strong { color:#fca5a5; }
.business-hours-sunday { border-color:rgba(96,165,250,.5); background:rgba(29,78,216,.15); }
.business-hours-sunday strong { color:#bfdbfe; }
.business-hours-unknown strong { color:#fcd34d; }
@media(max-width:660px) { .business-hours-grid {grid-template-columns:1fr;} }

/* Google yorumları & gerçek işletme konumu - özgün 3N renk paletiyle uyumlu */
#yorumlar, #iletisim { scroll-margin-top: 95px; }
.review-rating-display { border:1px solid rgba(245,158,11,.32); background:rgba(245,158,11,.065); border-radius:16px; padding:16px 22px; min-width:225px; }
.review-stars { color:#fbbf24; font-size:18px; letter-spacing:.15em; line-height:1.65; }
.review-quote-card { display:flex; flex-direction:column; justify-content:space-between; min-height:165px; border:1px solid #303746; background:linear-gradient(135deg, #161923, #101216); border-radius:16px; padding:22px; transition:border-color .2s; }
.review-quote-card:hover { border-color:rgba(251,191,36,.65); }
.review-quote-card blockquote { font-size:17px; line-height:1.55; font-weight:650; color:#fff; margin:12px 0; }
.review-quote-credit { font-size:12px; color:#94a3b8; }
.google-review-link-primary { display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:12px 17px; border-radius:11px; background:linear-gradient(105deg,#b91c1c,#2563eb); color:#fff; font-weight:750; font-size:13px; text-decoration:none; transition:filter .2s; }
.google-review-link-primary:hover { filter:brightness(1.18); }
.google-review-link-secondary { display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:12px 17px; border-radius:11px; background:#1b2230; border:1px solid #475569; color:#f8fafc; font-weight:650; font-size:13px; text-decoration:none; }
.google-review-link-secondary:hover { border-color:#60a5fa; }
.google-map-frame { display:block; border:0; width:100%; height:370px; background:#1b2130; }
@media(max-width:640px){ .review-rating-display { width:100%; } .google-map-frame { height:280px; } }

/* Listed reviews expansion: hidden cards must remain hidden in CSS grid */
#yorum-listesi .review-extra[hidden], #yorum-listesi .review-quote-card[hidden] { display: none !important; }
.review-mark { color: #60a5fa; font-size: 34px; line-height: 1; font-weight: 800; }
.review-summary { font-size: 16px; line-height: 1.6; font-weight: 550; color: #f1f5f9; margin: 8px 0 18px; }
button.google-review-link-primary { cursor:pointer; font-family:inherit; }
button.google-review-link-primary:focus-visible { outline:3px solid #93c5fd; outline-offset:3px; }

/* Google İşletme Profili: yetki sonrası kendini yenileyen, erişilebilir yorum kartları. */
.review-live-status { border:1px solid rgba(96,165,250,.26); background:#111b2d; color:#cbd5e1; font-size:13px; border-radius:11px; padding:12px 16px; margin:0 0 20px; }
.review-live-status.ready { border-color:rgba(52,211,153,.4); background:#0e2622; color:#a7f3d0; }
.review-live-status.waiting { border-color:rgba(251,191,36,.25); background:#282013; color:#fde68a; }
.review-google-stars { color:#fbbf24; letter-spacing: .06em; font-size:17px; }
.review-google-date {color:#64748b; margin-top:7px; font-size:12px;}
.review-quote-card .review-google-comment {font-size:15px; overflow-wrap:anywhere; color:#e2e8f0; font-weight:500; margin:12px 0 18px; line-height:1.6;}
.review-quote-card.review-rating-only .review-google-comment {color:#94a3b8; font-style:italic;}
/* Tümünü göster: gerçekten yalnızca <=3 yorum varsa gizlenir. */
button.google-review-link-primary[hidden] {display:none !important;}

/* Revys canlı Google yorum bileşeni */
.revys-review-surface {
  width: 100%;
  min-height: 230px;
  border-radius: 18px;
  border: 1px solid #2d3644;
  background: linear-gradient(135deg, #151920, #0d1118);
  padding: clamp(12px, 2.2vw, 24px);
  overflow: hidden;
}
.revys-review-surface iframe { max-width: 100%; border: 0; }
.revys-review-surface > noscript a { color: #93c5fd; text-decoration: underline; }


/* 3N DETAILING | 30 dakika aralıklı WhatsApp randevu talebi */
#randevu { scroll-margin-top: 100px; }
.booking-section { background: radial-gradient(ellipse at 6% 5%, rgba(29,78,216,.14), transparent 48%), radial-gradient(ellipse at 95% 90%, rgba(185,28,28,.13),transparent 46%), #0b0d12; }
.booking-shell { background:linear-gradient(123deg,#141a27 0%,#0e1119 65%,#18121b 100%);border:1px solid #353e50;box-shadow:0 18px 60px rgba(0,0,0,.4); }
.booking-label {font-size:1.08rem;font-weight:800;color:#fff;line-height:1.5;}
.booking-sub-label {display:block;font-weight:700;font-size:.84rem;color:#cbd5e1;margin-bottom:6px;}
.booking-hint {font-size:.75rem;color:#94a3b8;margin-top:6px;line-height:1.45;}
.booking-mode-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.booking-mode-option {display:flex;gap:10px;align-items:center;justify-content:center;padding:13px 10px; border:1px solid #41516b;border-radius:12px;background:#111827; color:#d7e0ef;cursor:pointer;font-weight:700;font-size:.83rem;transition:background .18s,border-color .18s;}
.booking-mode-option:has(input:checked) {background:rgba(37,99,235,.19);border-color:#60a5fa;color:#fff;}
.booking-mode-option input {accent-color:#3b82f6;flex-shrink:0;}
.booking-field {width:100%;min-width:0;display:block;padding:12px 14px;background:#0b101b; border:1px solid #4b5563;border-radius:11px;color:#fff;font:inherit;font-size:.92rem;color-scheme:dark; outline:none;}
.booking-field:focus {border-color:#60a5fa;box-shadow:0 0 0 3px rgba(59,130,246,.22);}
.booking-field::placeholder {color:#8291a6;}
.booking-field option {color:#f9fafb;background:#111827;}
.booking-service-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.booking-service-option {display:flex;align-items:center;gap:9px;background:#151b29;border:1px solid #374151;padding:11px 12px;border-radius:11px;cursor:pointer;font-size:.78rem;font-weight:600;color:#cbd5e1;}
.booking-service-option:has(input:checked) {border-color:#60a5fa;background:rgba(29,78,216,.2);color:#fff;}
.booking-service-option input {accent-color:#3b82f6;flex-shrink:0;width:16px;height:16px;}
.booking-note {background:rgba(37,99,235,.1);border:1px solid rgba(96,165,250,.24);border-radius:10px;padding:11px 13px;font-size:.81rem;color:#bfdbfe;line-height:1.5;}
.booking-note.is-closed {border-color:rgba(248,113,113,.48);background:rgba(127,29,29,.2);color:#fecaca;}
.booking-note.is-warning {border-color:rgba(251,191,36,.3);background:rgba(120,53,15,.19);color:#fde68a;}
.booking-error {padding:12px 14px;border:1px solid rgba(248,113,113,.5);border-radius:10px;background:rgba(127,29,29,.2);color:#fecaca;font-weight:650;font-size:.86rem;}
.booking-error[hidden],#booking-services-area[hidden],#booking-campaign-area[hidden]{display:none!important;}
.booking-submit {background:linear-gradient(100deg,#15803d,#16a34a 48%,#166534);box-shadow:0 10px 30px rgba(22,163,74,.16);border:1px solid rgba(134,239,172,.3);transition:filter .16s,transform .16s;cursor:pointer;}
.booking-submit:hover {filter:brightness(1.13);transform:translateY(-1px);}
.booking-submit:focus-visible,.booking-transfer:focus-visible {outline:3px solid #93c5fd;outline-offset:3px;}
.booking-side {background:linear-gradient(155deg,#111827,#151923);border:1px solid #394252;align-self:start;}
.booking-side-icon {display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;background:rgba(22,163,74,.13);color:#86efac;border:1px solid rgba(74,222,128,.3);border-radius:14px;}
.booking-summary {display:grid;gap:12px;font-size:.9rem;}
.booking-summary-item {display:grid;gap:3px;overflow-wrap:anywhere;}
.booking-summary-item small {color:#94a3b8;font-size:.72rem;font-weight:750;text-transform:uppercase;letter-spacing:.035em;}
.booking-summary-item strong {color:#fff;font-weight:650;line-height:1.45;}
.booking-info {background:rgba(29,78,216,.1);border:1px solid rgba(96,165,250,.22);}
.booking-transfer {background:rgba(37,99,235,.15);color:#bfdbfe;border:1px solid #3b82f6;cursor:pointer;}
.booking-transfer:hover {background:rgba(37,99,235,.32);color:#fff;}
@media (max-width:640px) { .booking-mode-grid,.booking-service-grid {grid-template-columns:1fr;} }
