/* ========== PAGE BANNER ========== */
.page-banner {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 40, 60, 0.55);
  z-index: 2;
}

.page-banner-content {
  position: relative;
  z-index: 5;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.page-banner-content h1 {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 400;
}

.breadcrumb a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb .sep {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

.breadcrumb .current {
  color: rgba(255,255,255,0.7);
}

.page-banner-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 6;
  line-height: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-banner-wave svg {
  width: 100%;
  height: 160px;
  display: block;
}

/* ========== TARİHİMİZİ KEŞFEDİN ========== */
.tarih-section {
  background: #f7f8fa;
  padding: 70px 0 90px;
}

.tarih-header {
  margin-bottom: 45px;
}

.tarih-badge {
  display: inline-block;
  background: #e8ecf0;
  color: #5a6570;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.tarih-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #00b4d8;
  margin: 0;
  letter-spacing: -0.5px;
}

.tarih-card {
  display: flex;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.tarih-card-left {
  flex: 1;
  padding: 48px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tarih-card-left h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #2c3340;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.tarih-card-left p {
  font-size: 15px;
  line-height: 1.8;
  color: #8a93a2;
  margin: 0;
}

.tarih-card-right {
  width: 48%;
  flex-shrink: 0;
}

.tarih-card-right img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

/* ========== KATKI + TIMELINE ========== */
.katki-section {
  background: #f7f8fa;
  padding: 40px 0 100px;
  overflow: hidden;
}

.katki-inner {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  max-width: 1140px;
  margin: 0 auto 70px;
}

.katki-left {
  flex: 1.1;
  position: relative;
}

.photo-stack {
  position: relative;
  height: 420px;
  margin-bottom: 40px;
}

.stack-img {
  position: absolute;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #eee;
  opacity: 0.88;
  animation: floatY 5.5s ease-in-out infinite;
}

.stack-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stack-1 { width: 220px; height: 220px; top: 0; right: 40px; z-index: 5; }
.stack-2 { width: 385px; height: 385px; top: 40px; left: 0; z-index: 4; }
.stack-3 { width: 280px; height: 280px; top: 280px; left: 200px; z-index: 6; }

.katki-title-block {
  position: relative;
  z-index: 10;
  margin-top: 20px;
}

.katki-title-block h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #2c3340;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.katki-title-block p {
  font-size: 15px;
  line-height: 1.75;
  color: #8a93a2;
  margin: 0;
  max-width: 420px;
}

.katki-right {
  flex: 1;
  padding-top: 10px;
}

.katki-right p {
  font-size: 15px;
  line-height: 1.8;
  color: #8a93a2;
  margin: 0 0 24px;
}

.katki-right p:last-of-type {
  margin-bottom: 30px;
}

/* Sağ fotoğraflar */
.katki-right-photos {
  position: relative;
  height: 280px;
  margin-top: 10px;
}

.katki-right-photos .stack-img {
  position: absolute;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #eee;
  opacity: 0.88;
  animation: floatY 5.5s ease-in-out infinite;
}

.katki-right-photos .stack-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rstack-1 {
  width: 260px;
  height: 260px;
  top: 0;
  left: 0;
  z-index: 2;
}

.rstack-2 {
  width: 240px;
  height: 240px;
  top: 120px;
  left: 140px;
  z-index: 3;
}

/* Animasyon */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

/* ========== TIMELINE ========== */
.timeline-box {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  padding: 52px 40px 48px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.timeline-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #00b4d8;
  font-size: 13.5px;
  font-weight: 600;
  padding: 4px 20px;
  white-space: nowrap;
}

.timeline-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-bottom: 52px;
}

.timeline-row:last-child {
  margin-bottom: 0;
}

.timeline-row::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 4%;
  right: 4%;
  height: 3.5px;
  background: linear-gradient(90deg, #008dd2 0%, #00b4d8 40%, #2dd4a8 100%);
  border-radius: 3px;
  z-index: 1;
}

.timeline-row-2::before {
  top: 35px;
  left: 0;
  right: 4%;
}

.timeline-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 6px;
}

.timeline-year {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #2c3340;
  margin-bottom: 13px;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: #008dd2;
  border-radius: 50%;
  margin: -6px auto 14px;
  box-shadow: 0 0 0 4px rgba(0, 141, 210, 0.14);
  position: relative;
  z-index: 3;
}

.timeline-row .timeline-item:nth-child(4) .timeline-dot,
.timeline-row-2 .timeline-item:nth-child(3) .timeline-dot {
  background: #00b4d8;
}

.timeline-row .timeline-item:nth-child(5) .timeline-dot,
.timeline-row-2 .timeline-item:nth-child(4) .timeline-dot {
  background: #2dd4a8;
}

.timeline-item p {
  font-size: 12.5px;
  line-height: 1.45;
  color: #9aa3b0;
  margin: 0 auto;
  max-width: 145px;
}

/* ======================================================
   RESPONSIVE
   ====================================================== */

/* Tablet */
@media (max-width: 991px) {
  .page-banner {
    height: 320px;
  }
  .page-banner-content h1 {
    font-size: 2.2rem;
  }
  .page-banner-wave svg {
    height: 70px;
  }

  .tarih-section {
    padding: 50px 0 60px;
  }
  .tarih-header h2 {
    font-size: 1.9rem;
  }
  .tarih-card {
    flex-direction: column;
  }
  .tarih-card-left {
    padding: 36px 28px;
  }
  .tarih-card-right {
    width: 100%;
  }
  .tarih-card-right img {
    min-height: 240px;
  }

  .katki-inner {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
  }

  .photo-stack {
    height: 320px;
    max-width: 380px;
    margin: 0 auto 30px;
  }

  .stack-1 { width: 160px; height: 160px; right: 20px; }
  .stack-2 { width: 280px; height: 280px; top: 30px; }
  .stack-3 { width: 200px; height: 200px; top: 220px; left: 140px; }

  .katki-title-block {
    text-align: center;
    margin-top: 10px;
  }
  .katki-title-block h2 {
    font-size: 2rem;
  }
  .katki-title-block p {
    max-width: 100%;
  }

  .katki-right {
    text-align: center;
  }
  .katki-right p {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .katki-right-photos {
    height: 240px;
    max-width: 360px;
    margin: 20px auto 0;
  }
  .rstack-1 { width: 200px; height: 200px; }
  .rstack-2 { width: 180px; height: 180px; top: 100px; left: 120px; }

  .timeline-box {
    padding: 46px 24px 38px;
  }
  .timeline-row {
    flex-wrap: wrap;
    gap: 28px 0;
    margin-bottom: 20px;
  }
  .timeline-row::before {
    display: none;
  }
  .timeline-item {
    flex: 0 0 50%;
  }
  .timeline-item p {
    max-width: 170px;
    font-size: 13px;
  }
}

/* Mobil */
@media (max-width: 575px) {
  .page-banner {
    height: 260px;
  }
  .page-banner-content h1 {
    font-size: 1.8rem;
  }
  .page-banner-wave svg {
    height: 50px;
  }

  .tarih-header h2 {
    font-size: 1.6rem;
  }
  .tarih-card-left {
    padding: 28px 22px;
  }
  .tarih-card-left h3 {
    font-size: 1.4rem;
  }
  .tarih-card-left p {
    font-size: 14.5px;
  }
  .tarih-card-right img {
    min-height: 200px;
  }

  .photo-stack {
    height: 260px;
    max-width: 300px;
  }
  .stack-1 { width: 120px; height: 120px; right: 10px; top: 0; }
  .stack-2 { width: 210px; height: 210px; top: 25px; left: 0; }
  .stack-3 { width: 150px; height: 150px; top: 170px; left: 110px; }

  .katki-title-block h2 {
    font-size: 1.7rem;
  }
  .katki-title-block p {
    font-size: 14.5px;
  }

  .katki-right p {
    font-size: 14.5px;
  }

  .katki-right-photos {
    height: 200px;
    max-width: 280px;
  }
  .rstack-1 { width: 160px; height: 160px; }
  .rstack-2 { width: 145px; height: 145px; top: 85px; left: 90px; }

  .timeline-box {
    padding: 40px 16px 32px;
    border-radius: 16px;
  }
  .timeline-label {
    font-size: 12.5px;
    padding: 3px 14px;
  }
  .timeline-item {
    flex: 0 0 100%;
  }
  .timeline-year {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .timeline-dot {
    width: 15px;
    height: 15px;
    margin-bottom: 11px;
  }
  .timeline-item p {
    max-width: 240px;
    font-size: 13px;
  }
}