/* Havacılık Tarihi — ortak stil (Osmanlı / sonraki dönem sayfaları) */

.tarih-page {
  background: #f4f6f9;
}

.tarih-page .kurumsal-breadcrumb {
  background: #f4f6f9;
}

/* —— Hero —— */
.tarih-hero {
  position: relative;
  padding: 64px 0 72px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: #011a33;
}

.tarih-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(1, 22, 42, 0.94) 0%, rgba(1, 46, 90, 0.88) 48%, rgba(8, 70, 120, 0.8) 100%),
    var(--tarih-hero-image, none) center 40% / cover no-repeat;
  transform: scale(1.03);
  animation: tarihKen 20s ease-in-out infinite alternate;
}

.tarih-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(240, 160, 48, 0.18), transparent 40%),
    radial-gradient(circle at 82% 72%, rgba(90, 170, 255, 0.14), transparent 42%);
  pointer-events: none;
}

.tarih-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.tarih-hero__eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.tarih-hero h1 {
  margin: 0 0 14px;
  padding-top: 0;
  font-size: clamp(32px, 5.5vw, 48px);
  font-weight: 300;
  line-height: 1.15;
  color: #fff;
  text-align: center;
}

.tarih-hero__lead {
  margin: 0 auto;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}

@keyframes tarihKen {
  from { transform: scale(1.03); }
  to { transform: scale(1.08); }
}

/* —— Stats —— */
.tarih-stats {
  margin-top: -28px;
  position: relative;
  z-index: 3;
  padding-bottom: 8px;
}

.tarih-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(1, 46, 90, 0.1);
  padding: 8px;
}

.tarih-stat {
  text-align: center;
  padding: 22px 12px;
  border-radius: 8px;
}

.tarih-stat i {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  color: #012e5a;
}

.tarih-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  color: #012e5a;
}

.tarih-stat span {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: #5a6570;
}

/* —— Sections —— */
.tarih-section {
  padding: 56px 0;
}

.tarih-section--alt {
  background: #fff;
}

.tarih-section__head {
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
}

.tarih-section__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b8926a;
}

.tarih-section__head h2 {
  margin: 0 0 12px;
  padding-top: 0;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 400;
  color: #012e5a;
  line-height: 1.2;
  text-align: center;
}

.tarih-section__head > p {
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.65;
  color: #4a5560;
  text-align: center;
}

.tarih-prose {
  max-width: 820px;
  margin: 0 auto;
}

.tarih-prose p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.75;
  color: #333a42;
}

.tarih-prose p:last-child {
  margin-bottom: 0;
}

/* —— Chapter blocks —— */
.tarih-chapters {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.tarih-chapter {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(1, 46, 90, 0.08);
  box-shadow: 0 6px 22px rgba(1, 46, 90, 0.05);
  overflow: hidden;
}

.tarih-section--alt .tarih-chapter {
  background: #f8fafc;
}

.tarih-chapter__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 22px 0;
}

.tarih-chapter__year {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b8926a;
}

.tarih-chapter__title {
  margin: 0;
  padding-top: 0;
  font-size: 20px;
  font-weight: 700;
  color: #012e5a;
  text-align: left;
  line-height: 1.3;
}

.tarih-chapter__body {
  padding: 12px 22px 22px;
}

.tarih-chapter__body p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #333a42;
}

.tarih-chapter__body p:last-child {
  margin-bottom: 0;
}

/* —— Timeline —— */
.tarih-timeline {
  --tl-year: 100px;
  --tl-gap: 40px;
  --tl-line: calc(var(--tl-year) + (var(--tl-gap) / 2) - 1px);
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 780px;
  position: relative;
}

.tarih-timeline::before {
  content: '';
  position: absolute;
  left: var(--tl-line);
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, #012e5a, rgba(1, 46, 90, 0.15));
}

.tarih-timeline__item {
  display: grid;
  grid-template-columns: var(--tl-year) 1fr;
  gap: var(--tl-gap);
  padding-bottom: 28px;
  position: relative;
}

.tarih-timeline__item:last-child {
  padding-bottom: 0;
}

.tarih-timeline__year {
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  color: #8a6a3f;
  padding: 2px 12px 0 0;
  line-height: 1.3;
  white-space: nowrap;
}

.tarih-timeline__body {
  position: relative;
  padding: 0;
}

.tarih-timeline__body::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--tl-gap) / 2 - 6px);
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f0a030;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #012e5a;
}

.tarih-timeline__body h3 {
  margin: 0 0 8px;
  padding-top: 0;
  font-size: 17px;
  font-weight: 600;
  color: #012e5a;
  text-align: left;
}

.tarih-timeline__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #4a5560;
}

/* —— People —— */
.tarih-people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tarih-person {
  padding: 22px 20px;
  background: #f4f6f9;
  border-radius: 12px;
  border-top: 3px solid #012e5a;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tarih-section--alt .tarih-person {
  background: #fff;
}

.tarih-person:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(1, 46, 90, 0.08);
}

.tarih-person h3 {
  margin: 0 0 6px;
  padding-top: 0;
  font-size: 17px;
  font-weight: 700;
  color: #012e5a;
  text-align: left;
  line-height: 1.3;
}

.tarih-person__role {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #b8926a;
}

.tarih-person p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #5a6570;
}

/* —— Bridge CTA —— */
.tarih-bridge {
  padding: 0 0 64px;
}

.tarih-bridge__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(1, 26, 51, 0.95), rgba(1, 58, 110, 0.92));
  color: #fff;
}

.tarih-bridge h2 {
  margin: 0 0 8px;
  padding-top: 0;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  text-align: left;
}

.tarih-bridge p {
  margin: 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.tarih-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: #f0a030;
  color: #011a33;
  border: 1px solid #f0a030;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.tarih-bridge__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tarih-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.tarih-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

.tarih-sources-block {
  padding: 0 0 64px;
}

.tarih-sources-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tarih-sources-list__item {
  padding: 18px 20px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(1, 46, 90, 0.08);
  box-shadow: 0 4px 16px rgba(1, 46, 90, 0.04);
}

.tarih-sources-list__link {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #012e5a;
  text-decoration: none;
  line-height: 1.4;
}

.tarih-sources-list__link i {
  margin-top: 3px;
  font-size: 12px;
  color: #b8926a;
  flex-shrink: 0;
}

.tarih-sources-list__link:hover {
  color: #0a447a;
  text-decoration: underline;
}

.tarih-sources-list__item p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #5a6570;
}

.tarih-sources-list__url {
  display: block;
  font-size: 12px;
  word-break: break-all;
  color: #8a96a3;
}

.tarih-sources {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 0 48px;
  font-size: 13px;
  line-height: 1.55;
  color: #8a96a3;
  text-align: center;
}

/* —— Reveal —— */
.tarih-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.tarih-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* —— Responsive —— */
@media (max-width: 992px) {
  .tarih-stats__grid,
  .tarih-people {
    grid-template-columns: repeat(2, 1fr);
  }

  .tarih-timeline::before {
    left: 18px;
  }

  .tarih-timeline__item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 40px;
  }

  .tarih-timeline__year {
    text-align: left;
    padding-right: 0;
  }

  .tarih-timeline__body::before {
    left: -28px;
  }
}

@media (max-width: 600px) {
  .tarih-hero {
    padding: 48px 0 56px;
  }

  .tarih-stats {
    margin-top: -20px;
    padding: 0 12px 8px;
  }

  .tarih-stats__grid,
  .tarih-people {
    grid-template-columns: 1fr;
  }

  .tarih-bridge__inner {
    padding: 28px 22px;
  }

  .tarih-section {
    padding: 44px 0;
  }
}
