/*
 * Horasan Harcı bilgi merkezi — izole tasarım sistemi.
 * Tüm seçiciler `.tg-horasan-shell` içine ve `.tg-horasan-*` sınıflarına
 * sıkı biçimde kapsanmıştır; sitenin geri kalanını etkilemez.
 */

.tg-horasan-shell {
  --tg-h-navy: var(--ast-global-color-0, #172554);
  --tg-h-red: #8f1d24;
  --tg-h-ink: #182033;
  --tg-h-muted: #667085;
  --tg-h-surface: #f7f8fb;
  --tg-h-border: #e4e7ec;
  --tg-h-radius: 14px;
  --tg-h-shadow: 0 8px 30px rgba(23, 37, 84, 0.08);
  --tg-h-max: 1180px;

  display: block;
  box-sizing: border-box;
  color: var(--tg-h-ink);
  font-size: 16px;
  line-height: 1.6;
}

.tg-horasan-shell *,
.tg-horasan-shell *::before,
.tg-horasan-shell *::after {
  box-sizing: inherit;
}

.tg-horasan-shell img {
  max-width: 100%;
  height: auto;
  display: block;
}

.tg-horasan-shell a {
  color: var(--tg-h-navy);
}

.tg-horasan-shell :is(h1, h2, h3, h4) {
  color: var(--tg-h-navy);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

.tg-horasan-shell :focus-visible {
  outline: 3px solid var(--tg-h-red);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Breadcrumb ---------- */

.tg-horasan-breadcrumb {
  max-width: var(--tg-h-max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--tg-h-muted);
}

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

.tg-horasan-breadcrumb a:hover,
.tg-horasan-breadcrumb a:focus-visible {
  color: var(--tg-h-navy);
  text-decoration: underline;
}

.tg-horasan-breadcrumb span[aria-current='page'] {
  color: var(--tg-h-ink);
  font-weight: 600;
}

.tg-horasan-breadcrumb span[aria-hidden='true'] {
  color: var(--tg-h-border);
}

/* ---------- Hero ---------- */

.tg-horasan-hero {
  max-width: var(--tg-h-max);
  margin: 0 auto 48px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

/* Başlık üstü küçük etiket: hero paragraf kuralını geçmek için shell'e kapsanmıştır. */
.tg-horasan-shell .tg-horasan-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  max-width: 100%;
  color: var(--tg-h-red);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-wrap: balance;
}

.tg-horasan-shell .tg-horasan-eyebrow::before {
  content: '';
  flex: 0 0 auto;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.tg-horasan-hero__content h1 {
  font-size: clamp(28px, 3.6vw, 42px);
}

.tg-horasan-hero__content p {
  color: var(--tg-h-muted);
  font-size: 18px;
  max-width: 56ch;
}

.tg-horasan-hero__media {
  position: relative;
  background: linear-gradient(160deg, var(--tg-h-surface), #fff);
  border: 1px solid var(--tg-h-border);
  border-radius: var(--tg-h-radius);
  box-shadow: var(--tg-h-shadow);
  padding: 20px;
  display: flex;
  justify-content: center;
}

.tg-horasan-hero__media img {
  border-radius: calc(var(--tg-h-radius) - 6px);
}

.tg-horasan-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.tg-horasan-hero__actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.tg-horasan-hero__actions a:first-child {
  background: var(--tg-h-red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(143, 29, 36, 0.28);
}

.tg-horasan-hero__actions a:first-child:hover {
  background: #7a181e;
  transform: translateY(-2px);
}

.tg-horasan-hero__actions a:not(:first-child) {
  background: #fff;
  color: var(--tg-h-navy);
  border: 1px solid var(--tg-h-border);
}

.tg-horasan-hero__actions a:not(:first-child):hover {
  border-color: var(--tg-h-navy);
  transform: translateY(-2px);
}

/* ---------- Section ---------- */

.tg-horasan-section {
  max-width: var(--tg-h-max);
  margin: 0 auto;
  padding: 48px 20px;
}

.tg-horasan-section__heading {
  font-size: clamp(24px, 2.8vw, 32px);
  text-align: center;
  margin-bottom: 12px;
}

.tg-horasan-section__lead {
  color: var(--tg-h-muted);
  text-align: center;
  max-width: 68ch;
  margin: 0 auto 36px;
  font-size: 17px;
}

/* ---------- Family grid ---------- */

.tg-horasan-family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.tg-horasan-family {
  background: #fff;
  border: 1px solid var(--tg-h-border);
  border-radius: var(--tg-h-radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tg-horasan-family:hover {
  transform: translateY(-4px);
  box-shadow: var(--tg-h-shadow);
}

.tg-horasan-family h3 {
  font-size: 19px;
}

.tg-horasan-family p {
  color: var(--tg-h-muted);
  font-size: 15px;
  margin: 0;
}

/* ---------- Specs table ---------- */

.tg-horasan-specs {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--tg-h-border);
  border-radius: var(--tg-h-radius);
  background: #fff;
}

.tg-horasan-specs table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 15px;
}

.tg-horasan-specs caption {
  text-align: left;
  padding: 16px 20px 0;
  font-weight: 600;
  color: var(--tg-h-navy);
}

.tg-horasan-specs th,
.tg-horasan-specs td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--tg-h-border);
}

.tg-horasan-specs thead th {
  background: var(--tg-h-surface);
  color: var(--tg-h-navy);
  font-weight: 700;
  white-space: nowrap;
}

.tg-horasan-specs tbody tr:last-child td {
  border-bottom: none;
}

.tg-horasan-specs tbody tr:hover {
  background: var(--tg-h-surface);
}

/* ---------- Steps ---------- */

.tg-horasan-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: tg-h-step;
}

.tg-horasan-steps li {
  counter-increment: tg-h-step;
  position: relative;
  background: #fff;
  border: 1px solid var(--tg-h-border);
  border-radius: var(--tg-h-radius);
  padding: 28px 22px 22px;
}

.tg-horasan-steps li::before {
  content: counter(tg-h-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tg-h-navy);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}

/* ---------- Callout ---------- */

.tg-horasan-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--tg-h-surface);
  border-left: 4px solid var(--tg-h-red);
  border-radius: 0 var(--tg-h-radius) var(--tg-h-radius) 0;
  padding: 22px 26px;
}

.tg-horasan-callout p {
  margin: 0;
}

/* ---------- Download ---------- */

.tg-horasan-download {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.tg-horasan-download a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--tg-h-border);
  border-radius: var(--tg-h-radius);
  text-decoration: none;
  font-weight: 600;
  color: var(--tg-h-ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.tg-horasan-download a::before {
  content: '\2193';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--tg-h-red);
  color: #fff;
  flex-shrink: 0;
  font-weight: 700;
}

.tg-horasan-download a:hover,
.tg-horasan-download a:focus-visible {
  border-color: var(--tg-h-red);
  box-shadow: var(--tg-h-shadow);
}

/* ---------- FAQ ---------- */

.tg-horasan-faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tg-horasan-faq details {
  background: #fff;
  border: 1px solid var(--tg-h-border);
  border-radius: var(--tg-h-radius);
  padding: 4px 22px;
}

.tg-horasan-faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  color: var(--tg-h-navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tg-horasan-faq summary::-webkit-details-marker {
  display: none;
}

.tg-horasan-faq summary::after {
  content: '+';
  font-size: 22px;
  color: var(--tg-h-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.tg-horasan-faq details[open] summary::after {
  transform: rotate(45deg);
}

.tg-horasan-faq details p {
  margin: 0 0 18px;
  color: var(--tg-h-muted);
}

/* ---------- Related ---------- */

.tg-horasan-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.tg-horasan-related a {
  display: block;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--tg-h-border);
  border-radius: var(--tg-h-radius);
  text-decoration: none;
  color: var(--tg-h-ink);
  font-weight: 600;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.tg-horasan-related a:hover,
.tg-horasan-related a:focus-visible {
  border-color: var(--tg-h-navy);
  transform: translateY(-3px);
}

/* ---------- CTA ---------- */

.tg-horasan-cta {
  max-width: var(--tg-h-max);
  margin: 0 auto 56px;
  padding: 44px 40px;
  border-radius: var(--tg-h-radius);
  background: linear-gradient(135deg, var(--tg-h-navy), #101a3d);
  color: #fff;
  text-align: center;
}

.tg-horasan-cta h2 {
  color: #fff;
}

.tg-horasan-cta p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 60ch;
  margin: 0 auto 24px;
}

.tg-horasan-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  background: var(--tg-h-red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.tg-horasan-cta a:hover,
.tg-horasan-cta a:focus-visible {
  background: #7a181e;
  transform: translateY(-2px);
}

/* ---------- Responsive breakpoints ---------- */

@media (max-width: 960px) {
  .tg-horasan-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tg-horasan-hero__media {
    order: -1;
  }

  .tg-horasan-cta {
    padding: 36px 24px;
  }
}

@media (max-width: 680px) {
  .tg-horasan-shell {
    font-size: 15px;
  }

  .tg-horasan-section {
    padding: 36px 16px;
  }

  .tg-horasan-family-grid,
  .tg-horasan-steps,
  .tg-horasan-download,
  .tg-horasan-related {
    grid-template-columns: 1fr;
  }

  .tg-horasan-shell .tg-horasan-eyebrow {
    letter-spacing: 0.08em;
  }

  .tg-horasan-shell .tg-horasan-eyebrow::before {
    width: 16px;
  }

  .tg-horasan-hero__actions {
    flex-direction: column;
  }

  .tg-horasan-hero__actions a {
    width: 100%;
    justify-content: center;
  }

  .tg-horasan-specs table {
    min-width: 420px;
  }

  .tg-horasan-callout {
    flex-direction: column;
  }
}

/* ---------- Motion & accessibility ---------- */

@media (prefers-reduced-motion: reduce) {
  .tg-horasan-shell * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
