/**
 * Temizlio - Modern Temizlik Scripti UI Stilleri
 */

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --accent: #10b981;
  --accent-hover: #059669;
  --dark: #0f172a;
  --gray-dark: #334155;
  --gray-light: #f8fafc;
  --border: #e2e8f0;
}

/* Genel Yumuşak Kaydırma & Font */
html {
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Arka Plan Gradyanları & Gölgeler */
.hero-gradient {
  background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.15) 0%, rgba(255, 255, 255, 0) 60%),
              radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.12) 0%, rgba(255, 255, 255, 0) 50%),
              #f8fafc;
}

.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Canlı Fiyat Hesaplama Kartı */
.calc-card {
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.2);
  box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.15);
  border-radius: 1.5rem;
}

.calc-option-btn {
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid #e2e8f0;
  user-select: none;
}
.calc-option-btn:hover {
  border-color: #38bdf8;
  background-color: #f0f9ff;
}
.calc-option-btn.active {
  border-color: #0284c7;
  background-color: #e0f2fe;
  color: #0369a1;
  font-weight: 600;
}

/* Öncesi / Sonrası (Before / After) Gerçek Fotoğraf Karşılaştırma Bileşeni */
.ba-container {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: 420px;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  user-select: none;
  background-color: #0f172a;
}

.ba-before-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ba-before-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-after-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 3px solid #ffffff;
  z-index: 5;
}

.ba-after-layer img {
  position: absolute;
  top: 0;
  left: 0;
  width: 680px;
  height: 420px;
  object-fit: cover;
  display: block;
  max-width: none;
}

.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #ffffff;
  z-index: 15;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.ba-slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  font-weight: 900;
  font-size: 1.1rem;
}

.ba-pill {
  position: absolute;
  top: 1rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  z-index: 20;
}
.ba-pill-before {
  right: 1rem;
  background: rgba(220, 38, 38, 0.85);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.ba-pill-after {
  left: 1rem;
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Mobil Sabit Alt Menü */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid #e2e8f0;
  padding: 0.6rem 1rem;
  z-index: 50;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.06);
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

/* Masaüstü WhatsApp Yüzen Buton */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 45;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

@media (max-width: 767px) {
  .floating-whatsapp {
    display: none;
  }
}

/* Form Elemanları */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 0.75rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

/* Dalga & Güven Rozetleri */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
