/* ==========================================================================
   BYD SERVİS İSTANBUL - Kurumsal Tasarım Sistemi & Stil Dosyası
   bydservisistanbul.com | Özel BYD Servisi
   ========================================================================== */

/* --- Google Fonts & Font-Face --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

/* --- CSS Değişkenleri & Tasarım Sistemi --- */
:root {
  /* Renk Paleti - Dark Obsidian (Master Kılavuz Standardı) */
  --bg-body: #080c16;
  --bg-surface: #0e1526;
  --bg-card: #111a2e;
  --bg-card-hover: #16223b;
  --bg-glass: rgba(17, 26, 46, 0.85);
  --bg-glass-strong: rgba(14, 21, 38, 0.95);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(2, 132, 199, 0.25);
  --border-accent: rgba(2, 132, 199, 0.4);

  /* BYD Kurumsal & Asil Mat Mavi Renk Paleti (Master Şablon Standardı) */
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-active: #075985;
  --primary-glow: rgba(2, 132, 199, 0.2);
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --secondary: #1e293b;
  --secondary-hover: #334155;
  --secondary-glow: rgba(30, 41, 59, 0.3);
  --accent-cyan: #38bdf8;
  --accent-purple: #7c3aed;
  --accent-silver: #94a3b8;

  /* Durum & Aksiyon Renkleri (Kurumsal Standart) */
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.2);
  --whatsapp: #1b8a5a;
  --whatsapp-hover: #157347;
  --whatsapp-dark: #105936;
  --warning: #f59e0b;
  --danger: #dc2626;

  /* Tipografi Renkleri */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-inverse: #080c16;

  /* Gölgeler - Mat, Tok & Derin (Aşırı Parlak Neon Kaldırıldı) */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-neon: 0 4px 16px rgba(2, 132, 199, 0.18);
  --shadow-card: 0 8px 24px -6px rgba(0, 0, 0, 0.4);

  /* Tipografi Ailesi */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Yerleşim & Aralıklar */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;
  --transition-fast: 0.16s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1240px;
}

/* --- Crisp Light Tema (Açık Mod - Master Şablon Standardı) --- */
[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-glass-strong: rgba(255, 255, 255, 0.98);
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(2, 132, 199, 0.2);
  --border-accent: rgba(2, 132, 199, 0.35);

  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-active: #075985;
  --primary-glow: rgba(2, 132, 199, 0.15);
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --secondary: #f1f5f9;
  --secondary-hover: #e2e8f0;
  --secondary-glow: rgba(2, 132, 199, 0.1);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-inverse: #ffffff;

  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-neon: 0 4px 16px rgba(2, 132, 199, 0.1);
  --shadow-card: 0 8px 24px -6px rgba(15, 23, 42, 0.06);
}

/* --- Temel Sıfırlamalar (CSS Reset) --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

/* Çapa Linklerinde Sabit Header Boşluğu (Bölümün Başına Konumlandırma) */
[id] {
  scroll-margin-top: 110px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-tap-highlight-color: transparent;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* --- Özel Kaydırma Çubuğu --- */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- Konteyner & Grid Izgara --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-pad {
  padding: 75px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section-pad {
    padding: 48px 0;
  }
}

/* --- Tipografi & Başlık Standartları --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

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

[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #0f172a 35%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan {
  color: var(--primary);
}

.lead-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.75;
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-header .lead-text {
  margin: 12px auto 0;
}

/* --- Rozetler (Badge / Tag - Mat & Asil Görünüm) --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(2, 132, 199, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(2, 132, 199, 0.25);
  box-shadow: none;
  width: fit-content;
}

[data-theme="light"] .badge {
  background: rgba(2, 132, 199, 0.08);
  color: var(--primary);
  border-color: rgba(2, 132, 199, 0.25);
}

.badge-pulse {
  position: relative;
}
.badge-pulse::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.6);
  animation: pulseDot 2s infinite;
}

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

/* --- Butonlar (Master Kural: Mavi/Vurgu Butonlarda Yazı Daima Saf Beyazdır!) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
  color: #ffffff !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(2, 132, 199, 0.4);
  color: #ffffff !important;
  transform: translateY(-2px);
}

[data-theme="light"] .btn-secondary {
  background: #f1f5f9;
  color: #0f172a !important;
  border: 1px solid #cbd5e1;
}
[data-theme="light"] .btn-secondary:hover {
  background: #e2e8f0;
  color: #0f172a !important;
}

.btn-outline {
  background: rgba(2, 132, 199, 0.06);
  color: #38bdf8 !important;
  border: 1px solid rgba(2, 132, 199, 0.35);
}
.btn-outline:hover {
  background: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 12px rgba(27, 138, 90, 0.22);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(27, 138, 90, 0.32);
}

.btn-call {
  background: #0284c7;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.22);
}
.btn-call:hover {
  background: #0369a1;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.32);
}

.btn-alert {
  background: #dc2626;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}
.btn-alert:hover {
  background: #b91c1c;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 15px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* --- Kart & Cam Efekti (Glassmorphism) --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.card-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
}

.card:hover {
  border-color: rgba(2, 132, 199, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* --- Üst Çubuk (Top Bar - Kullanıcı İsteği Doğrultusunda Gizlendi) --- */
.top-bar {
  display: none !important;
}

/* --- Ana Navigasyon (Navbar - Fiyat Hesapla Standartı) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
  padding-top: env(safe-area-inset-top, 0px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}

/* Logo Stili (Fiyat Hesapla ile Birebir Aynı Master Standart) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-emblem {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.25);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-main);
  line-height: 1.15;
  white-space: nowrap;
}

.brand-title span {
  color: #38bdf8;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}

/* Masaüstü Menü (Kesinlikle Tek Satır - Asla 2. Satıra Kırılmaz!) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap !important;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-link:hover, .nav-link.active {
  color: #38bdf8;
  background: rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .nav-link:hover, [data-theme="light"] .nav-link.active {
  color: var(--primary);
  background: rgba(2, 132, 199, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-call {
  white-space: nowrap !important;
}

/* Açılır Menü (Dropdown) */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  color: var(--primary);
  background: rgba(0, 229, 255, 0.08);
  transform: translateX(4px);
}

/* --- Mobil Görünürlük Yardımcı Sınıfları (aybeniz-crm Standartı) --- */
.hide-mobile {
  display: inline-flex;
}

@media (max-width: 992px) {
  .hide-mobile,
  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 993px) {
  .mobile-only {
    display: none !important;
  }
}

/* Aksiyon Butonları & Tema Butonu */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 14px var(--primary-glow);
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.hamburger-btn:hover,
.hamburger-btn:focus-visible {
  color: var(--primary);
  background: rgba(2, 132, 199, 0.12);
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .hamburger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
  }
  .top-bar {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar-inner {
    height: 62px;
    gap: 8px;
  }
  .brand-logo {
    gap: 8px;
    min-width: 0;
  }
  .brand-emblem {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    border-radius: 8px;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .brand-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.04em;
  }
  .nav-actions {
    gap: 6px;
  }
  .theme-toggle-btn {
    width: 38px;
    height: 38px;
  }
  .hamburger-btn {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 380px) {
  .brand-title {
    font-size: 0.95rem;
  }
  .brand-subtitle {
    display: none;
  }
}

/* Mobil Menü Çekmecesi (aybeniz-crm Standartı - 100dvh & Safe-Area) */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(86vw, 360px);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.65);
  z-index: 2000;
  padding: max(20px, env(safe-area-inset-top, 20px)) 20px max(24px, env(safe-area-inset-bottom, 24px)) 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-nav a {
  padding: 12px 14px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-nav a:hover {
  background: rgba(0, 229, 255, 0.08);
  color: var(--primary);
}

/* --- Hero Bölümü --- */
.hero-section {
  position: relative;
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  padding: 70px 0 60px;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 30%, rgba(0, 229, 255, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(0, 102, 255, 0.14) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 45px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 10px 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
}

.highlight-item svg {
  color: var(--primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.hero-visual {
  position: relative;
}

.hero-card-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-lg), var(--shadow-neon);
}

.hero-card-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.hero-card-frame:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.floating-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(0, 229, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.floating-badge-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.floating-badge-text span {
  font-size: 0.775rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-card-frame img {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 24px;
    padding-bottom: 36px;
  }
  .hero-grid {
    gap: 24px;
  }
  .hero-content {
    gap: 16px;
  }
  .lead-text {
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 12px 0;
  }
  .highlight-item {
    font-size: 0.88rem;
    gap: 10px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.95rem;
  }
  .hero-card-frame img {
    height: 230px;
    object-fit: cover;
  }
  .hero-floating-badge {
    position: static;
    margin-top: 12px;
    width: 100%;
    transform: none;
    box-sizing: border-box;
  }
}

/* --- Sayısal İstatistik Şeridi (Stats Strip - Kullanıcı İsteği Doğrultusunda Kaldırıldı) --- */
.stats-strip {
  display: none !important;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 10px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-number {
    font-size: 2rem;
  }
}

/* --- BYD Model Kataloğu & Bento Grid --- */
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.model-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.model-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--shadow-neon);
}

.model-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #080d1a;
}

.model-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.model-card:hover .model-thumb img {
  transform: scale(1.06);
}

.model-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(6, 10, 19, 0.85);
  backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glow);
}

.model-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.model-title-wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.model-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.model-type {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
}

.model-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.55;
}

.model-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 18px;
  text-align: center;
}

.spec-item strong {
  display: block;
  font-size: 0.875rem;
  color: var(--primary);
  font-family: var(--font-heading);
}

.spec-item span {
  font-size: 0.725rem;
  color: var(--text-subtle);
}

.model-card-footer {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

@media (max-width: 992px) {
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .models-grid {
    grid-template-columns: 1fr;
  }
}

/* --- BYD Özel Hizmetler Izgarası (Services Grid) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  border-color: rgba(2, 132, 199, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  margin-bottom: 18px;
  font-size: 1.4rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.service-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.service-features {
  margin-top: auto;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.service-feature-item svg {
  color: var(--primary);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.service-link:hover {
  gap: 10px;
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* --- İnteraktif Fiyat & Bakım Hesaplayıcı (Interactive Wizard) --- */
.calculator-wrap {
  background: var(--bg-surface);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
}

.calc-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.model-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.model-pill-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-main);
}

.model-pill-btn strong {
  display: block;
  font-size: 0.95rem;
}

.model-pill-btn small {
  font-size: 0.725rem;
  color: var(--text-muted);
}

.model-pill-btn.active, .model-pill-btn:hover {
  border-color: var(--primary);
  background: rgba(2, 132, 199, 0.12);
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.2);
}

.km-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.km-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.km-btn.active, .km-btn:hover {
  background: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary);
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25);
}

.extra-services-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.extra-service-checkbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.extra-service-checkbox:hover {
  border-color: var(--border-glow);
}

.extra-service-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.extra-service-checkbox input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Hesaplayıcı Özet Kutusu */
.calc-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.calc-selected-model {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.calc-price-wrap {
  margin: 20px 0;
  text-align: center;
  background: rgba(0, 229, 255, 0.05);
  border: 1px dashed var(--border-glow);
  border-radius: var(--radius-md);
  padding: 18px;
}

.calc-price-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.calc-price-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.calc-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--success);
  margin-top: 6px;
}

.calc-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.calc-checklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-checklist-item svg {
  color: var(--success);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .model-pills {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Hizmetler Detay Kartları (hizmetler.html Mobil Uyum Standartı) --- */
.services-detail-container,
.models-detail-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.service-detail-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  height: 340px;
}

.service-detail-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .services-detail-container,
  .models-detail-container {
    gap: 22px !important;
  }
  .service-detail-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding: 20px 16px !important;
  }
  .service-detail-card h2,
  .model-detail-row h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.7rem) !important;
    line-height: 1.3 !important;
  }
  .service-detail-card .service-detail-img-wrap {
    height: 220px !important;
    width: 100% !important;
    order: -1 !important; /* Görsel mobilde her zaman kartın üstünde yer alır, estetik ve tutarlı native görünüm */
  }
  .service-detail-card .btn-group,
  .service-detail-card > div > div[style*="display: flex"],
  .model-detail-row > div > div[style*="display: flex"] {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .service-detail-card .btn,
  .model-detail-row .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 12px 16px !important;
  }
}

/* --- Modeller Detay Kartları (modeller.html Mobil Uyum Standartı) --- */
.model-detail-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: center;
}

.model-detail-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  width: 100%;
}

.model-detail-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .model-detail-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .model-detail-img-wrap {
    height: 220px !important;
    width: 100% !important;
  }
  .model-detail-row .model-specs {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

/* --- İletişim Düzeni & Bento Kartları (iletisim.html Mobil Uyum Standartı) --- */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: start;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 900px) {
  .contact-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .contact-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

@media (max-width: 768px) {
  .calculator-wrap {
    padding: 20px 14px !important;
    border-radius: var(--radius-lg) !important;
  }
}

@media (max-width: 640px) {
  .custom-modal-backdrop {
    padding: 12px !important;
  }
  .custom-modal-card {
    padding: 22px 16px !important;
    max-height: 92vh !important;
    overflow-y: auto !important;
    border-radius: var(--radius-md) !important;
  }
  .custom-modal-card .modal-header-row h3 {
    font-size: 1.15rem !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .card {
    padding: 18px 14px !important;
  }
}

/* --- Blade Batarya & Yüksek Teknoloji Vitrini --- */
.tech-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.tech-visual-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-lg), var(--shadow-neon);
}

.tech-visual-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.tech-points-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}

.tech-point-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.tech-point-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0, 229, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.tech-point-info strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.tech-point-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .tech-feature-grid {
    grid-template-columns: 1fr;
  }
  .tech-visual-frame img {
    height: 300px;
  }
}

/* --- Karşılaştırma Tablosu (Yetkili vs Özel Servis) --- */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  background: var(--bg-surface);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.comparison-table th.highlight-col {
  background: rgba(0, 229, 255, 0.1);
  color: var(--primary);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

.comparison-table td.highlight-col {
  background: rgba(0, 229, 255, 0.04);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  font-weight: 600;
}

/* --- Müşteri Yorumları & Referanslar --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #fbbf24;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 18px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.9rem;
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.author-info span {
  font-size: 0.775rem;
  color: var(--primary);
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Faydalı Bilgiler & Blog Kartları --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--shadow-neon);
}

.blog-thumb {
  height: 190px;
  background: #080d1a;
  overflow: hidden;
  position: relative;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.06);
}

.blog-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(6, 10, 19, 0.85);
  backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.blog-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.775rem;
  color: var(--text-subtle);
  margin-bottom: 10px;
}

.blog-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-title {
  color: var(--primary);
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* --- SSS Akordeon Bölümü --- */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover, .faq-item.active {
  border-color: var(--border-glow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-chevron {
  transition: transform var(--transition-fast);
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 22px;
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

/* --- Lokasyon & İletişim Bölümü (Toyoland İkitelli Verileri) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1.25rem;
  transition: all var(--transition-normal);
}

.contact-item:hover .contact-icon {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .contact-icon {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.2);
  color: var(--primary);
}

[data-theme="light"] .contact-item:hover .contact-icon {
  background: var(--primary);
  color: #ffffff;
}

.contact-details strong {
  display: block;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.contact-details p, .contact-details a {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-details a:hover {
  color: var(--primary);
}

.contact-action-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.map-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 380px;
  box-shadow: var(--shadow-md);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Form Elemanları (Katı Kural: Satır İçi Stil Yok, Standart Form Sınıfları) --- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

/* --- Alt Bilgi (Footer - 4 Sütunlu Kurumsal Mimari) --- */
.site-footer {
  background: #03060c;
  border-top: 1px solid var(--border-subtle);
  padding: 65px 0 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: background-color var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="light"] .site-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  color: #475569;
}

[data-theme="light"] .site-footer p {
  color: #475569 !important;
}

[data-theme="light"] .footer-col-title,
[data-theme="light"] .footer-title {
  color: #0f172a !important;
}

[data-theme="light"] .site-footer .brand-title {
  color: #0f172a !important;
}

[data-theme="light"] .site-footer .brand-subtitle {
  color: #64748b !important;
}

[data-theme="light"] .footer-links a,
[data-theme="light"] .footer-nav a {
  color: #475569;
}

[data-theme="light"] .footer-links a:hover,
[data-theme="light"] .footer-nav a:hover {
  color: var(--primary);
}

[data-theme="light"] .footer-bottom {
  border-top: 1px solid #e2e8f0 !important;
  color: #64748b !important;
}

[data-theme="light"] .site-footer .social-btn {
  background: #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .site-footer .social-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

[data-theme="light"] .site-footer .btn-secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .site-footer .btn-secondary:hover {
  background: #f1f5f9;
  border-color: var(--primary);
  color: var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 45px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
}

.footer-links,
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a,
.footer-nav a {
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover,
.footer-nav a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-col-title,
.footer-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after,
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.footer-contact-item svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  stroke: var(--primary) !important;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-card, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, #94a3b8);
  font-size: 1.15rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.social-btn:hover {
  transform: translateY(-3px);
  color: #ffffff !important;
}

.social-btn.social-ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(214, 36, 159, 0.45);
}

.social-btn.social-fb:hover {
  background: #1877f2 !important;
  border-color: #1877f2 !important;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}

.social-btn.social-wa:hover {
  background: #25d366 !important;
  border-color: #25d366 !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* --- Sticky Mobil Aksiyon Barı (Mobile Bottom Action Bar - aybeniz-crm Safe-Area Standartı) --- */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: calc(64px + env(safe-area-inset-bottom, 0px));
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  z-index: 1500;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) 12px;
  box-sizing: border-box;
}

.mobile-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  height: 48px;
}

.mobile-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  padding: 6px 4px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, opacity 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bottom-btn i,
.mobile-bottom-btn svg {
  font-size: 1.15rem;
  width: 18px;
  height: 18px;
  line-height: 1;
}

.mobile-bottom-btn:active {
  transform: scale(0.96);
}

.mobile-btn-call {
  background: #0284c7;
  color: #ffffff !important;
}

.mobile-btn-wa {
  background: var(--whatsapp);
  color: #ffffff !important;
}

.mobile-btn-nav {
  background: #dc2626;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: block;
  }
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 12px)) !important;
  }

  /* iOS Safari Otomatik Zoom Engelleme (aybeniz-crm Standartı) */
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="number"],
  input[type="password"],
  input[type="date"],
  select,
  textarea,
  .form-control,
  .form-select,
  .form-input {
    font-size: 16px !important;
  }
}

/* --- Özel Toast Bildirim Motoru --- */
.toast-container {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.custom-toast {
  pointer-events: auto;
  min-width: 290px;
  max-width: 400px;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg), var(--shadow-neon);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  animation: slideToastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.custom-toast.toast-success {
  border-color: var(--success);
}
.custom-toast.toast-success svg {
  color: var(--success);
}

.custom-toast.toast-error {
  border-color: var(--danger);
}
.custom-toast.toast-error svg {
  color: var(--danger);
}

@keyframes slideToastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideToastOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* --- Özel Onay & Randevu Modalı (Custom Confirm & Booking Modal) --- */
.custom-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.custom-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.custom-modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg), var(--shadow-neon);
  transform: scale(0.92);
  transition: transform var(--transition-normal);
}

.custom-modal-backdrop.active .custom-modal-card {
  transform: scale(1);
}

.modal-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--primary);
}

/* ==========================================================================
   BAŞA DÖN (SCROLL TO TOP) BUTONU
   ========================================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface-card, #0e1526);
  color: var(--text-main, #f8fafc);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.14));
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

[data-theme="light"] .scroll-top-btn {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.14);
}

.scroll-top-btn:hover {
  background: var(--primary, #0284c7) !important;
  color: #ffffff !important;
  border-color: var(--primary, #0284c7) !important;
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
}

.scroll-top-btn:active {
  transform: translateY(-2px) scale(0.98);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
  .scroll-top-btn {
    bottom: calc(76px + env(safe-area-inset-bottom, 12px));
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }
}

