/* ════════════════════════════════════════════════════════════════
   hakkimizda.css — Giriş, değerler, tesis detayları, termal bilgi
   UI/UX: Tailwind ile uyumlu, premium responsive tasarım
   ════════════════════════════════════════════════════════════════ */

/* ── TAILWIND PREFLIGHT DÜZELTMESİ ────────────────────────────── */
/* Tailwind CDN preflight, a etiketlerinin rengini sıfırlayabilir.
   Hakkımızda sayfasındaki tüm linkler doğru renk almalı.          */
body.page-about a,
body.page-about a:visited {
  color: inherit !important;
  text-decoration: none;
}

/* Paragraf içi linkler — metin rengini miras al, mavi gösterme */
body.page-about .about-p a,
body.page-about .about-p a:visited {
  color: #2a2a2a !important;
  text-decoration: none;
}
body.page-about .about-p a:hover {
  text-decoration: underline;
  color: var(--teal-mid) !important;
}

/* Navbar link renkleri Tailwind'den etkilenmesin */
body.page-about .navbar .nav-links a {
  color: #111a26;
}
body.page-about .navbar .nav-cta {
  color: #fff !important;
}

body.page-about .page-breadcrumb a {
  color: rgba(255,255,255,0.55);
}
body.page-about .page-breadcrumb a:hover {
  color: #fff;
}

/* ── Ken Burns poster animasyonu (index.css yokken kullanılır) ── */
@keyframes heroPosterKen {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1%, -0.5%); }
}

/* ── HERO: Hakkımızda — kompakt yükseklik ────────────────────────── */
/* Arka plan görseli yok — ic-sayfa.css'teki lacivert gradient kullanılır */

body.page-about .page-hero {
  height: clamp(280px, 38vh, 360px);
  min-height: 280px;
}


/* ────────────────────────────────────────────────────────────────
   GİRİŞ (BİZ KİMİZ) — İki sütun: metin + video
   ──────────────────────────────────────────────────────────────── */

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
}

/* Desktop: Biz Kimiz iki sütun, doğal yükseklik — kısıtlama yok */
@media (min-width: 1024px) {
  .about-intro {
    align-items: stretch;
  }

  .about-intro-visual {
    min-height: 520px;
  }
}

.about-intro-content {
  padding: 56px var(--container-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-p {
  font-size: 14.5px;
  font-weight: 300;
  color: #2a2a2a;
  line-height: 1.82;
  margin-top: 14px;
  max-width: 560px;
}

/* ── İSTATİSTİKLER ─────────────────────────────────────────────── */

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(14, 45, 45, 0.09);
}

.about-stat-num {
  font-size: 30px;
  font-weight: 700;
  color: var(--mineral);
  line-height: 1;
  letter-spacing: -0.01em;
}

.about-stat-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-top: 5px;
}

/* ── VIDEO EMBED ────────────────────────────────────────────────── */

.about-intro-visual {
  position: relative;
  min-height: 360px;
  background: var(--off-white);
}

@media (min-width: 1024px) {
  .about-intro-visual {
    min-height: 100%;
    align-self: stretch;
  }
}

.about-visual-main {
  position: absolute;
  inset: 24px 0 24px 0;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a3d70 0%, #0d1e33 100%);
  container-type: size;
  container-name: about-visual;
  box-shadow: 0 16px 64px rgba(13, 30, 51, 0.22);
}

.about-visual-main__deco.about-visual-video-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.about-video-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #000;
  background-image: url('https://i.ytimg.com/vi/1v2wjCxPGlE/maxresdefault.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroPosterKen 24s ease-in-out infinite alternate;
}

.about-visual-main .about-video-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 100cqw;
  height: 56.25cqw;
  min-width: 177.78cqh;
  min-height: 100cqh;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

@supports not (width: 1cqw) {
  .about-visual-main .about-video-iframe {
    width: 100%;
    height: 100%;
    min-width: 140%;
    min-height: 140%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.about-video-dim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(13, 30, 51, 0.48) 0%, rgba(13, 30, 51, 0.28) 45%, rgba(13, 30, 51, 0.44) 100%);
  pointer-events: none;
}

.about-visual-main__caption {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 120px;
  z-index: 3;
}

.about-visual-main__tag {
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(116, 170, 111, 0.95);
  margin-bottom: 6px;
}

.about-visual-main__title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.about-visual-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 4;
  background: var(--mineral);
  padding: 20px 24px;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(13, 30, 51, 0.28);
}

.about-visual-badge__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.about-visual-badge__year {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.about-visual-badge__month {
  font-size: 10px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

/* ────────────────────────────────────────────────────────────────
   DEĞERLER (Misyon / Vizyon / Değerlerimiz)
   ──────────────────────────────────────────────────────────────── */

.about-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--off-white);
  border-top: 1px solid rgba(14, 45, 45, 0.07);
}

.about-block {
  padding: 60px var(--container-pad);
  border-right: 1px solid rgba(14, 45, 45, 0.07);
  transition: background 0.3s;
}

.about-block:hover {
  background: rgba(18, 48, 94, 0.025);
}

.about-block:last-child {
  border-right: none;
}

.about-block-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--stone-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  transition: background 0.3s;
}

.about-block:hover .about-block-icon {
  background: rgba(18, 48, 94, 0.12);
}

.about-block-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--mineral);
}

.about-block-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--mineral);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.about-block-text {
  font-size: 14px;
  font-weight: 300;
  color: #2a2a2a;
  line-height: 1.88;
}

/* ────────────────────────────────────────────────────────────────
   TESİS ÖZELLİKLERİ — 4 kart, 2×2 grid
   ──────────────────────────────────────────────────────────────── */

.about-details {
  padding: 80px 0;
  background: #fff;
}

.about-details-inner {
  padding: 0 var(--container-pad);
}

.about-details .section-title {
  margin-top: 12px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.detail-card {
  display: flex;
  gap: 22px;
  padding: 36px;
  border: 1px solid rgba(14, 45, 45, 0.08);
  border-radius: 8px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  min-width: 0;
}

.detail-card:hover {
  border-color: rgba(45, 96, 153, 0.28);
  box-shadow: 0 8px 36px rgba(45, 96, 153, 0.09);
  transform: translateY(-2px);
}

.detail-card-icon {
  width: 50px;
  height: 50px;
  background: var(--stone-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}

.detail-card:hover .detail-card-icon {
  background: rgba(18, 48, 94, 0.12);
}

.detail-card-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--mineral);
}

.detail-card-content {
  min-width: 0;
  flex: 1;
}

.detail-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--mineral);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.detail-card-text {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.detail-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 14px;
  padding: 0;
  margin: 0;
}

.detail-list li {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.detail-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 1px;
}

/* ────────────────────────────────────────────────────────────────
   TERMAL BİLGİ — koyu arka planlı full-width bölüm
   ──────────────────────────────────────────────────────────────── */

.thermal-info {
  background: linear-gradient(135deg, #12305e 0%, #0d1e33 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Dekoratif arka plan halkası */
.thermal-info::before {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.thermal-info-inner {
  display: flex;
  gap: 80px;
  align-items: center;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--container-pad);
}

.thermal-info-text {
  flex: 1;
  min-width: 0;
}

.thermal-info .section-tag--thermal {
  color: var(--gold-light);
}

.thermal-info .section-title--on-dark {
  color: #fff;
}

.thermal-info .title-accent--thermal {
  color: var(--gold-light);
  font-style: normal;
}

.thermal-info-lead {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.92;
  margin-top: 20px;
  max-width: 520px;
}

.thermal-info-lead + .thermal-info-lead {
  margin-top: 14px;
}

.thermal-info-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  flex-shrink: 0;
}

.thermal-info-stat {
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}

.thermal-info-stat:hover {
  background: rgba(255, 255, 255, 0.09);
}

.thermal-info-num {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.01em;
}

.thermal-info-label {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 1023px)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {

  /* Intro: tek sütun */
  body.page-about .about-intro.about-intro--screen {
    grid-template-rows: auto;
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  body.page-about .about-intro.about-intro--screen .about-intro-content {
    overflow-y: visible;
    padding: 48px max(20px, env(safe-area-inset-left, 0px));
  }

  .about-intro-content {
    padding: 48px max(20px, env(safe-area-inset-left, 0px));
  }

  .about-p {
    max-width: 100%;
  }

  .about-intro-visual {
    min-height: 380px;
    height: auto;
    max-height: none;
  }

  .about-visual-main {
    inset: 24px;
  }

  .about-visual-main__caption {
    left: 24px;
    right: 110px;
    bottom: 28px;
  }

  .about-visual-badge {
    bottom: 16px;
    right: 16px;
    padding: 16px 18px;
  }

  /* Değerler: tek sütun */
  .about-blocks {
    grid-template-columns: 1fr;
  }

  .about-block {
    padding: 40px max(20px, env(safe-area-inset-left, 0px));
    border-right: none;
    border-bottom: 1px solid rgba(14, 45, 45, 0.07);
  }

  .about-block:last-child {
    border-bottom: none;
  }

  /* Tesis kart: tek sütun */
  .about-details {
    padding: 56px var(--container-pad);
  }

  .details-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .detail-card {
    flex-direction: row;
    gap: 18px;
    padding: 28px;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .about-details .section-title {
    font-size: clamp(28px, 7vw, 48px);
  }

  /* Termal: dikey */
  .thermal-info {
    padding: 64px var(--container-pad);
  }

  .thermal-info-inner {
    flex-direction: column;
    gap: 44px;
    align-items: stretch;
  }

  .thermal-info-stats {
    width: 100%;
    max-width: 480px;
  }

  .thermal-info-lead {
    max-width: 100%;
  }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Büyük mobil (≤ 767px)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  body.page-about {
    overflow-x: clip;
  }

  body.page-about #main-content {
    max-width: 100%;
    overflow-x: clip;
  }

  .about-intro-visual {
    min-height: 300px;
  }

  .about-visual-main__caption {
    right: 16px;
    left: 16px;
    bottom: 20px;
  }

  .about-visual-main__title {
    font-size: clamp(17px, 5vw, 22px);
  }

  /* İstatistikler 2 sütun */
  .about-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    justify-content: stretch;
  }

  .about-stat {
    min-width: 0;
  }

  .about-stat-num {
    font-size: clamp(22px, 6vw, 32px);
  }

  .about-visual-badge {
    padding: 12px 14px;
    max-width: calc(100% - 32px);
  }

  .about-visual-badge__year {
    font-size: clamp(22px, 6vw, 32px);
  }

  .about-block {
    padding: 36px 16px;
  }

  .about-details {
    padding: 48px 16px;
  }

  .detail-card {
    padding: 22px 16px;
    gap: 14px;
  }

  .thermal-info {
    padding: 56px 16px;
  }

  .thermal-info-stats {
    max-width: 100%;
    gap: 16px;
  }

  .thermal-info-num {
    font-size: 32px;
  }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Küçük mobil (≤ 479px)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 479px) {
  body.page-about .about-intro.about-intro--screen .about-intro-content {
    padding: 36px max(12px, env(safe-area-inset-left, 0px));
  }

  .about-intro-content {
    padding: 36px 14px;
  }

  .about-p {
    font-size: 14px;
  }

  .about-details {
    padding: 40px 14px;
  }

  .thermal-info {
    padding: 44px 14px;
  }

  .detail-card {
    flex-direction: column;
    gap: 12px;
    padding: 20px 14px;
  }

  .thermal-info-stat {
    padding: 18px 16px;
  }

  .thermal-info-stats {
    gap: 12px;
  }
}
