/* ============================================================
   GK InterCare — TREATMENT DETAIL PAGE STYLES
   treatments/*.html sayfaları için ortak stiller.
   styles.css'ten sonra yüklenir, onun değişkenlerini kullanır.
   ============================================================ */

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb .sep { opacity: 0.4; }

.breadcrumb .current { color: var(--accent); font-weight: 600; }

/* ─── TREATMENT HERO ─── */
.td-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1a3a7c 60%, #2d5098 100%);
  padding: 56px 60px 64px;
  color: white;
  position: relative;
  overflow: hidden;
}

.td-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.td-hero .breadcrumb { color: rgba(255,255,255,0.55); position: relative; z-index: 1; }
.td-hero .breadcrumb a { color: rgba(255,255,255,0.55); }
.td-hero .breadcrumb a:hover { color: white; }
.td-hero .breadcrumb .current { color: #9dc0ff; }

.td-hero-content { position: relative; z-index: 1; max-width: 760px; }

.td-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9dc0ff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.td-hero h1 {
  color: white;
  margin-bottom: 14px;
}

.td-hero .intro {
  font-size: 15px;
  opacity: 0.78;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 620px;
}

.td-hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── QUICK STATS STRIP ─── */
.td-stats-strip {
  background: var(--dark-bar);
  padding: 22px 60px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}

.td-stats-strip .stat-item { text-align: center; color: white; }
.td-stats-strip .stat-item .stat-number { font-size: 24px; font-weight: 800; display: block; color: white; }
.td-stats-strip .stat-item .stat-label { font-size: 11.5px; opacity: 0.6; }

/* ─── CONTENT LAYOUT ─── */
.td-content {
  padding: 70px 60px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

.td-main { display: flex; flex-direction: column; gap: 56px; }

/* ─── OVERVIEW ─── */
.td-section h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.td-section p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 14px;
}

.td-section p:last-child { margin-bottom: 0; }

/* ─── BENEFIT / WHY CHOOSE GRID ─── */
.td-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.td-benefit-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.td-benefit-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(61,107,228,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.td-benefit-card h4 { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 5px; }
.td-benefit-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 0; }

/* ─── CANDIDATES CHECKLIST ─── */
.td-candidates-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.td-candidates-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.td-candidates-list .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── PROCESS STEPS ─── */
.td-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.td-step {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  position: relative;
}

.td-step .num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.td-step h4 { font-size: 13.5px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.td-step p { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin-bottom: 0; }

/* ─── FAQ ─── */
.td-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: white;
}

.td-faq-item summary {
  padding: 18px 22px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.td-faq-item summary::-webkit-details-marker { display: none; }

.td-faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.td-faq-item[open] summary::after { transform: rotate(45deg); }

.td-faq-item .td-faq-body {
  padding: 0 22px 20px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ─── SIDEBAR ─── */
.td-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 90px;
}

.td-sidebar-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.td-sidebar-card h3 { font-size: 17px; margin-bottom: 14px; color: var(--primary); }

.td-sidebar-card .feature-list { margin-bottom: 20px; }

/* Related Treatments */
.td-related-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.td-related-card h3 { font-size: 16px; margin-bottom: 14px; color: var(--primary); }

.td-related-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }

.td-related-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  transition: var(--transition);
}

.td-related-list a:hover {
  background: var(--light-bg);
  color: var(--accent);
}

.td-related-list a .arrow { color: var(--accent); opacity: 0.6; font-size: 13px; }

/* Category banner card */
.td-category-card {
  background: var(--dark-bar);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: white;
}

.td-category-card .td-category-tag {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  color: #9dc0ff;
}

.td-category-card h3 { font-size: 17px; color: white; margin: 12px 0 8px; }
.td-category-card p { font-size: 13px; opacity: 0.65; line-height: 1.7; margin-bottom: 16px; }

/* ─── ALL TREATMENTS GRID (bottom of page) ─── */
.td-all-treatments {
  padding: 0 60px 70px;
}

.td-all-treatments h2 { text-align: center; margin-bottom: 6px; }
.td-all-treatments .sub { text-align: center; font-size: 14px; color: var(--text-muted); margin-bottom: 36px; }

.td-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.td-tags-grid a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.td-tags-grid a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(61,107,228,0.05);
}

.td-tags-grid a.current {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .td-hero { padding: 48px 40px 56px; }
  .td-content { padding: 56px 40px; grid-template-columns: 1fr; }
  .td-sidebar { position: static; }
  .td-stats-strip { padding: 20px 40px; }
  .td-all-treatments { padding: 0 40px 56px; }
}

@media (max-width: 768px) {
  .td-hero { padding: 40px 18px 48px; }
  .td-hero .intro { font-size: 14px; }
  .td-hero-buttons a { width: 100%; justify-content: center; }
  .td-hero-buttons { flex-direction: column; }

  .td-stats-strip { padding: 18px; gap: 14px; }
  .td-stats-strip .stat-item { flex: 1 1 40%; }

  .td-content { padding: 40px 18px; gap: 36px; }
  .td-section h2 { font-size: 21px; }

  .td-benefits-grid { grid-template-columns: 1fr; }
  .td-steps { grid-template-columns: 1fr 1fr; gap: 12px; }

  .td-all-treatments { padding: 0 18px 48px; }
  .td-tags-grid a { font-size: 12px; padding: 8px 14px; }
}

@media (max-width: 480px) {
  .td-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   LANGUAGE DROPDOWN (duplicated here as a safeguard in case of
   stale cached styles.css — see styles.css for the source of truth)
   ============================================================ */
.lang-dropdown { position: relative; }
.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 150px;
  z-index: 9999;
  overflow: hidden;
}
.lang-dropdown.open .lang-dropdown-menu { display: block; }
.lang-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  transition: background 0.15s;
}
.lang-dropdown-menu a:hover { background: var(--light-bg); }
.lang-dropdown-menu a.lang-active { font-weight: 700; color: var(--accent); }

.lang-mobile-trigger { display: none; }
@media (max-width: 768px) {
  .lang-mobile-trigger { display: flex; align-items: center; }
}
