/*
 * Özel Doğru Ağız ve Diş Sağlığı Polikliniği (Babaeski)
 * Kurumsal Web Arayüzü CSS Tasarım Sistemi
 */

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

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-gold: #f59e0b;
  --accent-rose: #f43f5e;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --border: #e2e8f0;
  --border-focus: #38bdf8;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 14px -2px rgba(2, 132, 199, 0.08), 0 2px 6px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 28px -4px rgba(2, 132, 199, 0.12), 0 4px 10px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 35px -6px rgba(15, 23, 42, 0.12);
  
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Site Geneli Paragraf ve Tanıtım Metinlerini İki Yana Yaslama */
p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  line-height: 1.75;
}

.footer-brand p,
.about-rich-content p,
.treatment-desc,
.treatment-summary,
.treatment-content p,
.article-content p,
.doctor-specialty,
.doctor-body p,
.gallery-desc,
.review-text,
.regional-content p,
.page-content p {
  text-align: justify;
  text-justify: inter-word;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ========================================================
   TOP EMERGENCY & DUTY NOTICE BAR
======================================================== */
.top-notice-bar {
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.notice-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: #38bdf8;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.notice-doctor-name {
  color: #cbd5e1;
  font-weight: 600;
}

.notice-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #f1f5f9;
  font-size: 0.8125rem;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.notice-rating:hover {
  opacity: 0.85;
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
  user-select: none;
}

.notice-contacts {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  white-space: nowrap;
}

.notice-link {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.notice-link:hover {
  color: #38bdf8;
}

.notice-phone {
  color: #38bdf8 !important;
  font-weight: 800;
  border: 1.5px solid rgba(56, 189, 248, 0.7) !important;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.1);
  transition: all 0.2s ease;
}

.notice-phone:hover {
  background: #38bdf8 !important;
  color: #070d18 !important;
  border-color: #38bdf8 !important;
}

.notice-whatsapp {
  color: #34d399;
  font-weight: 700;
}

.notice-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 1.8s infinite;
  display: inline-block;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ========================================================
   HEADER & NAVIGATION
======================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 0.75rem;
  width: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(2, 132, 199, 0.12));
  transition: transform 0.2s ease;
}

.header-logo:hover img {
  transform: scale(1.04);
}

.header-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  padding: 0 0.5rem;
  min-width: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #1e293b;
  font-weight: 700;
  font-size: 0.865rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
}

.nav-arrow {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
  margin-left: 2px;
  opacity: 0.75;
}

.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

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

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0,0,0,0.02);
  padding: 0.5rem;
  min-width: 280px;
  width: max-content;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
  list-style: none;
}

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

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.nav-dropdown-item span {
  white-space: nowrap;
}

.nav-dropdown-item i {
  width: 20px;
  text-align: center;
  color: #0284c7;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.nav-dropdown-item:hover {
  background-color: #f0f9ff;
  color: #0284c7;
  transform: translateX(3px);
}

/* İki Sütunlu Mega Dropdown (Tedavilerimiz) */
.nav-dropdown-mega {
  min-width: 580px;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
}

.mega-dropdown-header {
  background: #f8fafc;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mega-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.85rem;
}

.mega-col-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem 0.5rem;
}

.mega-dropdown-grid .nav-dropdown-item {
  align-items: flex-start;
  padding: 0.55rem 0.75rem;
}

.mega-dropdown-grid .nav-dropdown-item div strong {
  display: block;
  font-size: 0.875rem;
  color: #0f172a;
  line-height: 1.2;
}

.mega-dropdown-grid .nav-dropdown-item div small {
  display: block;
  font-size: 0.725rem;
  color: #64748b;
  margin-top: 2px;
  font-weight: 500;
}

.mega-dropdown-grid .nav-dropdown-item:hover div strong {
  color: #0284c7;
}

.mega-dropdown-footer {
  background: #f0f9ff;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid #e0f2fe;
}

.mega-footer-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0284c7;
  font-size: 0.8125rem;
  font-weight: 800;
  text-decoration: none;
  transition: gap 0.2s;
}

.mega-footer-link:hover {
  text-decoration: underline;
}

/* Header Eylem Butonları (CTAs) */
.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.btn-whatsapp-header {
  background: rgba(37, 211, 102, 0.12);
  color: #059669;
  border: 1px solid rgba(37, 211, 102, 0.3);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.48rem 0.85rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-whatsapp-header:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transform: translateY(-1px);
}

.btn-primary-header {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.48rem 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-primary-header:hover {
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
  color: #ffffff;
}

/* Mobil Hamburger Butonu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  gap: 5px;
  padding: 0;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: #e2e8f0;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: #0f172a;
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* ========================================================
   MOBİL ÇEKMECE MENÜ (MOBILE DRAWER)
======================================================== */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: #ffffff;
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.drawer-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}

.drawer-actions {
  padding: 1.25rem 1.5rem 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.mobile-drawer-nav {
  flex: 1;
  padding: 0.75rem 1rem;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: #1e293b;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.925rem;
  transition: background 0.15s ease;
}

.mobile-nav-link i {
  width: 20px;
  text-align: center;
  color: #0284c7;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: #f0f9ff;
  color: #0284c7;
}

/* Mobil Akordeon Menü */
.mobile-nav-accordion {
  border-radius: 8px;
  overflow: hidden;
}

.mobile-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: #1e293b;
  font-weight: 700;
  font-size: 0.925rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.mobile-accordion-header:hover {
  background: #f8fafc;
}

.mobile-accordion-header span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-accordion-header span i {
  width: 20px;
  text-align: center;
  color: #0284c7;
}

.accordion-arrow {
  font-size: 0.75rem;
  color: #94a3b8;
  transition: transform 0.25s ease;
}

.mobile-nav-accordion.open .accordion-arrow {
  transform: rotate(180deg);
}

.mobile-accordion-body {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.5rem 2.5rem;
  display: none;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-nav-accordion.open .mobile-accordion-body {
  display: flex;
}

.mobile-accordion-body a {
  display: block;
  padding: 0.35rem 0;
  color: #475569;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.mobile-accordion-body a:hover {
  color: #0284c7;
}

.mobile-drawer-footer {
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
  color: #ffffff;
}

.btn-outline,
a[href^="tel:"].btn {
  background: #ffffff;
  color: var(--secondary);
  border: 2px solid #0284c7 !important;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.12);
  transition: all 0.25s ease;
}

.btn-outline:hover,
a[href^="tel:"].btn:hover {
  border-color: #0369a1 !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
  transform: translateY(-2px);
}

.phone-badge-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid #0284c7;
  padding: 0.35rem 0.85rem;
  border-radius: 10px;
  background: rgba(2, 132, 199, 0.06);
  font-weight: 800;
  color: #0284c7;
  text-decoration: none;
  transition: all 0.2s ease;
}

.phone-badge-box:hover {
  background: #0284c7;
  color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.8125rem;
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
}
.btn-whatsapp:hover {
  background: #1eb956;
  color: #ffffff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* ========================================================
   HERO SECTION
======================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(224, 242, 254, 0.7) 0%, rgba(248, 250, 252, 0.9) 90%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.hero-title span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
  text-align: justify !important;
  text-justify: inter-word !important;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-item i {
  font-size: 1.75rem;
  color: var(--primary);
}

.trust-item-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary);
}

.trust-item-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--primary-gradient);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.hero-card-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.hero-quick-form .form-group {
  margin-bottom: 1rem;
}

.hero-quick-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: var(--transition);
  background: #ffffff;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* ========================================================
   SECTION TITLES & COMMONS
======================================================== */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center !important;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-header .section-subtitle,
.section-subtitle {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 0.5rem;
  text-align: center !important;
}

.section-header .section-title,
.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-align: center !important;
}

.section-header .section-lead,
.section-header p,
.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center !important;
  text-justify: auto !important;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ========================================================
   TREATMENTS GRID (TEDAVİLER)
======================================================== */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

.treatment-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2.25rem 2rem 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.treatment-card:hover {
  transform: translateY(-6px);
  border-color: #38bdf8;
  box-shadow: var(--shadow-lg);
}

.treatment-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin: 0 auto 1.5rem auto;
  transition: var(--transition);
}

.treatment-card:hover .treatment-icon-wrap {
  background: var(--primary-gradient);
  color: #ffffff;
  transform: scale(1.08);
}

.treatment-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1rem;
  text-align: center;
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.35;
}

.treatment-summary {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  min-height: 4.75rem;
  flex-grow: 1;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
}

.treatment-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.treatment-duration {
  font-size: 0.8125rem;
  color: var(--text-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.treatment-link-btn {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.treatment-link-btn:hover {
  transform: translateX(4px);
}

/* ========================================================
   DOCTORS SECTION (HEKİM KADROSU)
======================================================== */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 2rem;
}

.doctor-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #38bdf8;
}

.doctor-img-wrap {
  height: 280px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.doctor-img-placeholder {
  font-size: 5rem;
  color: #0284c7;
  opacity: 0.85;
}

.doctor-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
}

.doctor-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.doctor-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.25rem;
  min-height: 1.75rem;
}

.doctor-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: block;
  min-height: 1.25rem;
}

.doctor-specialty {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.45;
  min-height: 3.25rem;
  flex-grow: 1;
}

/* ========================================================
   BEFORE & AFTER GALLERY (GÜLÜŞ GALERİSİ)
======================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.gallery-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.before-after-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 220px;
  background: #0f172a;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.ba-side {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  overflow: hidden;
  height: 100%;
}

.ba-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-card:hover .ba-side img {
  transform: scale(1.06);
}

.ba-before {
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  border-right: 2px solid #ffffff;
}

.ba-after {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
}

.ba-tag {
  position: absolute;
  top: 10px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ba-before .ba-tag {
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: #ffffff;
}

.ba-after .ba-tag {
  right: 10px;
  background: #ffffff;
  color: var(--primary);
}

.gallery-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-category {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  min-height: 1.25rem;
  line-height: 1.25rem;
}

.gallery-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.65rem;
  min-height: 3.1rem;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  text-align: justify;
  text-justify: inter-word;
}

.gallery-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  min-height: 4.85rem;
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 0;
  display: block;
  flex-grow: 1;
}

/* ========================================================
   BLOG & REHBER KARTLARI (BLOG & GUIDE CARDS)
======================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

.blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #38bdf8;
}

.blog-card-img-wrap {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  min-height: 180px;
  background: #ffffff;
  display: block;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.03);
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  height: 1.5rem;
  text-align: left !important;
}

.blog-card-cat-centered {
  display: block;
  text-align: left !important;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  height: 1.25rem;
  line-height: 1.25rem;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0.25rem 0 0.85rem 0;
  line-height: 1.45;
  height: 3.8rem;
  max-height: 3.8rem;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  text-align: left !important;
  text-justify: none !important;
}

.blog-card-title a {
  color: var(--secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left !important;
  text-justify: none !important;
  text-decoration: none;
  width: 100%;
  line-height: 1.4;
  transition: color 0.2s ease;
}

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

.blog-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  height: 4.25rem;
  max-height: 4.25rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-align: left !important;
  text-justify: none !important;
  margin-bottom: 1.25rem;
  flex-grow: 0;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* ========================================================
   REVIEWS (HASTA YORUMLARI)
======================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

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

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

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  margin-bottom: 1.15rem;
  display: flex;
  gap: 3px;
}

.review-text {
  font-size: 0.9375rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
  flex-grow: 1;
  text-align: justify;
  text-justify: inter-word;
  min-height: 7.25rem;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1.15rem;
  margin-top: auto;
  min-height: 4.25rem;
}

.review-author-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 2.75rem;
}

.review-name {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.35;
}

.review-treatment {
  display: block;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.35;
  margin-top: 2px;
}

.review-source {
  font-size: 0.8125rem;
  color: var(--text-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

/* ========================================================
   COST CALCULATOR (TEDAVİ HESAPLAYICI)
======================================================== */
.calc-section {
  background: radial-gradient(circle at 90% 10%, rgba(224, 242, 254, 0.6) 0%, #f8fafc 90%);
}

.calc-widget {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
}

.calc-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.calc-item-info strong {
  display: block;
  font-size: 0.9375rem;
}

.calc-item-info span {
  font-size: 0.8125rem;
  color: var(--text-light);
}

.calc-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-subtle);
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.calc-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.calc-qty {
  width: 28px;
  text-align: center;
  font-weight: 800;
}

.calc-summary-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-price-est {
  font-size: 2.25rem;
  font-weight: 900;
  color: #38bdf8;
  margin: 1rem 0;
}

/* ========================================================
   MAP & CONTACT SECTION
======================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item-content h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.contact-item-content p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.map-embed-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 420px;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 420px;
}

/* ========================================================
   FOOTER
======================================================== */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 1.25rem;
  text-align: justify;
  text-justify: inter-word;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #64748b;
}

/* ========================================================
   FLOATING ACTION BUTTONS
======================================================== */
.floating-action-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: var(--transition);
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.float-btn-whatsapp {
  background: #25d366;
}

.float-btn-phone {
  background: #0284c7;
}

/* Yukarı Çık Butonu (Back to Top - Sol Alt Köşe, Bağımsız ve Net Görünür) */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: 2.5px solid #ffffff;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: #ffffff;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.65);
}

.back-to-top:active {
  transform: translateY(0) scale(0.95);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    left: 20px;
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }
}

/* ========================================================
   RESPONSIVE DESIGN
======================================================== */
@media (max-width: 1280px) {
  .nav-menu {
    gap: 0.1rem;
  }
  .nav-link {
    font-size: 0.825rem;
    padding: 0.4rem 0.55rem;
  }
  .header-logo img {
    height: 48px;
    max-width: 220px;
  }
  .btn-whatsapp-header {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .btn-whatsapp-header .btn-text {
    display: none;
  }
  .btn-whatsapp-header i {
    font-size: 1.15rem;
    margin: 0;
  }
}

@media (max-width: 1080px) {
  .header-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .hide-tablet {
    display: none !important;
  }
  .header-inner {
    height: 74px;
  }
  .header-cta-group {
    gap: 0.5rem;
  }
  .btn-whatsapp-header {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .btn-whatsapp-header .btn-text {
    display: none;
  }
  .btn-whatsapp-header i {
    font-size: 1.15rem;
    margin: 0;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .hide-mobile {
    display: none !important;
  }
  .header-inner {
    height: 70px;
  }
  .header-logo img {
    height: 44px;
    max-width: 190px;
  }
  .btn-whatsapp-header {
    display: none !important;
  }
  .btn-primary-header {
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .notice-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }
  .notice-left, .notice-contacts {
    justify-content: center;
    width: 100%;
  }
  .section-title {
    font-size: 1.85rem;
  }
}

/* ========================================================
   AYDINLIK VE KARANLIK GÖRÜNÜM (DARK / LIGHT MODE) SİSTEMİ
======================================================== */
/* Varsayılan: Aydınlık (Light) Moddur */
:root {
  --theme-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
  transition: var(--theme-transition);
}

/* Karanlık Görünüm Değişkenleri */
[data-theme="dark"] {
  --primary: #38bdf8;
  --primary-hover: #0ea5e9;
  --primary-light: rgba(56, 189, 248, 0.15);
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  
  --secondary: #f8fafc;
  --secondary-light: #e2e8f0;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  
  --bg-page: #0b1120;
  --bg-card: #131d31;
  --bg-subtle: #1e293b;
  
  --border: #22324e;
  --border-focus: #38bdf8;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 14px -2px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 20px 35px -6px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] body {
  background-color: var(--bg-page);
  color: var(--text-main);
}

[data-theme="dark"] .site-header,
[data-theme="dark"] .main-navbar {
  background: rgba(11, 17, 32, 0.95);
  border-bottom-color: var(--border);
}

[data-theme="dark"] .nav-link {
  color: #cbd5e1;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  color: #38bdf8;
}

[data-theme="dark"] .top-bar,
[data-theme="dark"] .top-notice-bar {
  background: #070d18;
  border-bottom-color: #1e293b;
}

[data-theme="dark"] .section-padding {
  background: transparent;
}

/* Backgrounds & Radial Gradients in Dark Theme */
[data-theme="dark"] section[style*="background: radial-gradient"],
[data-theme="dark"] div[style*="background: radial-gradient"],
[data-theme="dark"] .hero-section,
[data-theme="dark"] .calc-section {
  background: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.14) 0%, #070d18 90%) !important;
}

[data-theme="dark"] section[style*="background: #ffffff"],
[data-theme="dark"] section[style*="background: var(--bg-page)"],
[data-theme="dark"] div[style*="background: #ffffff"],
[data-theme="dark"] div[style*="background: #f8fafc"],
[data-theme="dark"] .bg-white {
  background: var(--bg-page) !important;
}

[data-theme="dark"] h1, 
[data-theme="dark"] h2, 
[data-theme="dark"] h3, 
[data-theme="dark"] h4, 
[data-theme="dark"] h5, 
[data-theme="dark"] h6,
[data-theme="dark"] .section-title {
  color: #f8fafc !important;
}

[data-theme="dark"] .section-lead {
  color: #94a3b8 !important;
}

[data-theme="dark"] p {
  color: #cbd5e1;
}

[data-theme="dark"] strong {
  color: #ffffff;
}

/* Tedavi & Tahmini Maliyet Hesaplayıcı (Cost Calculator) Dark Mode */
[data-theme="dark"] .calc-widget {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
  color: #f1f5f9 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .calc-widget h3 {
  color: #f8fafc !important;
}

[data-theme="dark"] .calc-item-row {
  border-bottom-color: var(--border) !important;
}

[data-theme="dark"] .calc-item-info strong {
  color: #f8fafc !important;
  font-weight: 800;
}

[data-theme="dark"] .calc-item-info span {
  color: #94a3b8 !important;
  font-weight: 600;
}

[data-theme="dark"] .calc-btn {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .calc-btn:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
}

[data-theme="dark"] .calc-qty {
  color: #38bdf8 !important;
  font-weight: 800;
  font-size: 1.15rem;
}

[data-theme="dark"] .calc-summary-box {
  background: linear-gradient(135deg, #070d18 0%, #0f172a 100%) !important;
  border: 1.5px solid var(--border) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .calc-summary-box span {
  color: #94a3b8 !important;
}

[data-theme="dark"] .calc-summary-box p {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .calc-price-est {
  color: #38bdf8 !important;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* Hakkımızda Değer ve Çağrı Kartları */
[data-theme="dark"] .about-value-card {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
}

[data-theme="dark"] .about-value-card h4 {
  color: #f8fafc !important;
}

[data-theme="dark"] .about-value-card p {
  color: #cbd5e1 !important;
}

[data-theme="dark"] div[style*="background: radial-gradient(circle at 10% 20%, #f0fdf4"] {
  background: #131d31 !important;
  border-color: var(--border) !important;
}

[data-theme="dark"] div[style*="background: radial-gradient(circle at 10% 20%, #f0fdf4"] h3 {
  color: #f8fafc !important;
}

[data-theme="dark"] div[style*="background: radial-gradient(circle at 10% 20%, #f0fdf4"] p {
  color: #cbd5e1 !important;
}

/* Yorumlar (Reviews) */
[data-theme="dark"] .review-card {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
}

[data-theme="dark"] .review-text {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .review-name {
  color: #f8fafc !important;
}

[data-theme="dark"] .review-treatment {
  color: #38bdf8 !important;
}

[data-theme="dark"] .review-source {
  color: #94a3b8 !important;
}

/* Hero Section Güven Kartları */
[data-theme="dark"] .hero-trust-box {
  background: rgba(19, 29, 49, 0.9) !important;
  border-color: var(--border) !important;
}

[data-theme="dark"] .hero-badge {
  background: rgba(15, 23, 42, 0.85) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
}

[data-theme="dark"] .hero-stat-num {
  color: #38bdf8 !important;
}

[data-theme="dark"] .hero-stat-label {
  color: #94a3b8 !important;
}

/* Form Elemanları (Randevu & İletişim Formları) */
[data-theme="dark"] .form-control {
  background-color: #070d18 !important;
  border-color: #22324e !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .form-control:focus {
  border-color: #38bdf8 !important;
  background-color: #0b1120 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
}

[data-theme="dark"] label {
  color: #e2e8f0 !important;
}

[data-theme="dark"] select.form-control option {
  background: #0f172a;
  color: #f8fafc;
}

/* İletişim ve Harita Kartları */
[data-theme="dark"] .contact-info-card {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
}

[data-theme="dark"] .contact-item-content h4 {
  color: #f8fafc !important;
}

[data-theme="dark"] .contact-item-content p {
  color: #cbd5e1 !important;
}

/* Banka Hesapları Sayfası */
[data-theme="dark"] .bank-card,
[data-theme="dark"] .bank-account-card {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
}

[data-theme="dark"] .bank-account-card strong,
[data-theme="dark"] .bank-account-card h3 {
  color: #f8fafc !important;
}

[data-theme="dark"] .iban-code {
  background: #070d18 !important;
  color: #38bdf8 !important;
  border-color: var(--border) !important;
}

/* Tedaviler Kataloğu & Kartları */
[data-theme="dark"] .treatment-card {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
}

[data-theme="dark"] .treatment-title,
[data-theme="dark"] .treatment-title a {
  color: #f8fafc !important;
}

[data-theme="dark"] .treatment-summary {
  color: #94a3b8 !important;
}

[data-theme="dark"] .treatment-card-badge {
  background: rgba(7, 13, 24, 0.9) !important;
  border-color: #334155 !important;
  color: #38bdf8 !important;
}

/* SSS ve Akordiyon / Bilgi Kutuları */
[data-theme="dark"] .faq-item,
[data-theme="dark"] div[style*="background: var(--bg-page)"],
[data-theme="dark"] div[style*="background: var(--bg-subtle)"] {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
}

[data-theme="dark"] .faq-question {
  color: #f8fafc !important;
}

[data-theme="dark"] .faq-answer {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .blog-card,
[data-theme="dark"] .doctor-card,
[data-theme="dark"] .gallery-card,
[data-theme="dark"] .hero-card {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
}

[data-theme="dark"] .blog-card-img-wrap {
  background: #0b1120 !important;
}

[data-theme="dark"] .blog-card-meta span {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
}

[data-theme="dark"] .blog-card-meta span:last-child {
  color: #94a3b8 !important;
  background: transparent !important;
}

[data-theme="dark"] .blog-card-cat-centered {
  color: #38bdf8 !important;
}

[data-theme="dark"] .blog-card-title a {
  color: #f8fafc !important;
}

[data-theme="dark"] .blog-card-title a:hover {
  color: #38bdf8 !important;
}

[data-theme="dark"] .blog-card-desc {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .blog-card-footer {
  border-top-color: var(--border) !important;
}

[data-theme="dark"] .blog-card-footer span {
  color: #f1f5f9 !important;
}

[data-theme="dark"] .blog-card-footer a {
  color: #38bdf8 !important;
}

[data-theme="dark"] .nav-dropdown-menu {
  background: #131d31;
  border-color: var(--border);
}

[data-theme="dark"] .nav-dropdown-item {
  color: #f1f5f9;
}

[data-theme="dark"] .nav-dropdown-item:hover {
  background-color: #1e293b;
  color: #38bdf8;
}

[data-theme="dark"] .mega-dropdown-grid {
  background: #131d31;
}

[data-theme="dark"] .mega-dropdown-footer {
  background: #0b1120;
}

[data-theme="dark"] .mega-dropdown-grid .nav-dropdown-item div strong {
  color: #f1f5f9;
}

[data-theme="dark"] .mega-dropdown-grid .nav-dropdown-item div small {
  color: #94a3b8;
}

[data-theme="dark"] .mobile-drawer {
  background: #0f172a !important;
  color: #f1f5f9 !important;
}

[data-theme="dark"] .mobile-drawer-header {
  background: #0b1120 !important;
  border-bottom-color: var(--border) !important;
}

[data-theme="dark"] .mobile-nav-link {
  color: #f1f5f9 !important;
}

[data-theme="dark"] .mobile-menu-toggle {
  background: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .hamburger-line {
  background-color: #f8fafc;
}

[data-theme="dark"] .btn-outline,
[data-theme="dark"] a[href^="tel:"].btn {
  border: 2px solid #38bdf8 !important;
  color: #f8fafc !important;
  background: rgba(56, 189, 248, 0.08) !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25) !important;
}

[data-theme="dark"] .btn-outline:hover,
[data-theme="dark"] a[href^="tel:"].btn:hover {
  background: #38bdf8 !important;
  border-color: #38bdf8 !important;
  color: #070d18 !important;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.5) !important;
}

[data-theme="dark"] .phone-badge-box {
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
}

[data-theme="dark"] .site-footer {
  background: #070d18;
  border-top-color: #1e293b;
}

/* Tema Değiştirici Buton (Theme Toggle Button) */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: var(--bg-subtle);
  color: var(--primary);
  transform: rotate(15deg) scale(1.06);
}

[data-theme="dark"] .theme-toggle-btn {
  background: #1e293b;
  border-color: #334155;
  color: #fbbf24;
}

[data-theme="dark"] .theme-toggle-btn:hover {
  background: #334155;
  color: #fde047;
}

/* ========================================================
   TREATMENT HERO & INLINE FIGURE (SEO GÖRSELLERİ)
======================================================== */
.treatment-hero-figure {
  margin: 0 0 2rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
  transition: var(--transition);
}

.treatment-hero-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
  transition: transform 0.4s ease;
}

.treatment-hero-figure:hover img {
  transform: scale(1.02);
}

.treatment-hero-figure figcaption {
  padding: 0.9rem 1.4rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  background: var(--bg-page);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.treatment-hero-figure figcaption .caption-badge {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.treatment-inline-figure {
  margin: 2.25rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
  transition: var(--transition);
}

.treatment-inline-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
  transition: transform 0.4s ease;
}

.treatment-inline-figure:hover img {
  transform: scale(1.02);
}

.treatment-inline-figure figcaption {
  padding: 0.85rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  background: var(--bg-page);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.doctor-advice-callout {
  margin: 2.25rem 0;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, rgba(56, 189, 248, 0.04) 100%);
  border: 1.5px solid rgba(2, 132, 199, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.doctor-advice-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.doctor-advice-body {
  flex-grow: 1;
}

.doctor-advice-body h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.doctor-advice-body p {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.6rem;
  font-style: italic;
}

.doctor-advice-body .doctor-sign {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-block;
}

/* Treatment Card Media */
.treatment-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  background: var(--bg-subtle);
}

.treatment-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.treatment-card:hover .treatment-card-media img {
  transform: scale(1.06);
}

.treatment-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Dark Mode Styles for Treatments */
[data-theme="dark"] .treatment-hero-figure,
[data-theme="dark"] .treatment-inline-figure {
  background: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .treatment-hero-figure figcaption,
[data-theme="dark"] .treatment-inline-figure figcaption {
  background: #0f172a;
  border-color: #334155;
  color: #94a3b8;
}

[data-theme="dark"] .doctor-advice-callout {
  background: rgba(2, 132, 199, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
}

[data-theme="dark"] .doctor-advice-body h4 {
  color: #f1f5f9;
}

[data-theme="dark"] .doctor-advice-body p {
  color: #cbd5e1;
}

/* Treatment Article Content Typography */
.treatment-article-content {
  line-height: 1.85;
  font-size: 1.05rem;
  color: var(--text-main);
}

.treatment-article-content h2,
.treatment-article-content h3,
.treatment-article-content h4 {
  text-align: left !important;
  color: var(--secondary);
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}

.treatment-article-content p {
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

.treatment-article-content ul,
.treatment-article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
}

.treatment-article-content li {
  margin-bottom: 0.6rem;
  text-align: left;
  line-height: 1.7;
}

[data-theme="dark"] .treatment-article-content h2,
[data-theme="dark"] .treatment-article-content h3,
[data-theme="dark"] .treatment-article-content h4 {
  color: #f8fafc !important;
}


