/* ─────────────────────────────────────────
   DETAY SAYFA GENEL
───────────────────────────────────────── */
#detail {
  padding-top: 0;
}

/* ─────────────────────────────────────────
   HAKKINDA SAYFASI
───────────────────────────────────────── */
#hakkinda {
  padding-top: 0;
}

.hakkinda-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hakkinda-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 60px;
  position: relative;
  z-index: 1;
}

.hakkinda-logo {
  width: min(340px, 80%);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(58,158,200,0.3)) drop-shadow(0 0 80px rgba(201,162,39,0.15));
  animation: hakkindaFloat 6s ease-in-out infinite;
}

@keyframes hakkindaFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

.hakkinda-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 80px 100px 40px;
  position: relative;
  z-index: 1;
}

.hakkinda-title {
  font-family: var(--ff);
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.1;
  color: var(--on-dark);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.hakkinda-title em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.hakkinda-desc {
  font-family: var(--ff);
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--on-dark-70);
  margin-bottom: 14px;
}

.hakkinda-tag {
  font-size: 12px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 40px;
}

.hakkinda-divider {
  height: 1px;
  background: linear-gradient(to right, var(--gold-30), transparent);
  margin-bottom: 36px;
}

.hakkinda-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hakkinda-contact-head {
  font-size: 10px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 4px;
}

.hakkinda-contact a {
  font-size: 15px;
  color: var(--on-dark-70);
  text-decoration: none;
  transition: color .2s;
}

.hakkinda-contact a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .hakkinda-wrap { grid-template-columns: 1fr; }
  .hakkinda-logo-wrap { padding: 80px 40px 20px; }
  .hakkinda-logo { width: min(220px, 60%); }
  .hakkinda-content { padding: 20px 40px 80px; }
}

@media (max-width: 480px) {
  .hakkinda-logo-wrap { padding: 60px 24px 16px; }
  .hakkinda-content { padding: 16px 24px 60px; }
}

/* ─────────────────────────────────────────
   GERİ LİNKİ
───────────────────────────────────────── */
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 60px;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-15);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  width: 100%;
  text-align: left;
  transition: gap .3s;
}

.detail-back:hover { gap: 14px; }

/* ─────────────────────────────────────────
   DETAY HERO — İKİ SÜTUNLU AÇILIŞ
───────────────────────────────────────── */
.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
  max-height: 75vh;
}

/* Sol — fotoğraf alanı */
.detail-vis {
  background: var(--ink);
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--gold-15);
  max-height: 75vh;
}

.detail-vis-img {
  width: 100%;
  height: 100%;
  max-height: 75vh;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .8s ease;
}

.detail-vis:hover .detail-vis-img {
  transform: scale(1.03);
}

/* Karartma overlay */
.detail-vis-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 50%, var(--ink2) 100%),
    linear-gradient(to bottom, rgba(16,10,4,.6) 0%, transparent 18%, transparent 82%, rgba(16,10,4,.6) 100%);
  pointer-events: none;
}

/* Resim yoksa gösterilen geo */
.detail-vis-geo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink2);
}

/* Sağ — metin alanı */
.detail-info {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  background: var(--ink2);
  color: var(--on-dark);
}

.detail-info::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--gold-30), transparent);
}

/* Animasyonlu giriş elemanları */
.d-eyebrow {
  font-size: 10px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp .7s .2s forwards;
}

.d-arabic {
  font-family: var(--fa);
  font-size: clamp(24px, 3vw, 42px);
  color: var(--gold);
  direction: rtl;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp .7s .3s forwards;
}

.d-title {
  font-family: var(--ff);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: .95;
  margin-bottom: 14px;
  letter-spacing: -.01em;
  color: var(--on-dark);
  opacity: 0;
  animation: fadeUp .8s .4s forwards;
}

.d-year {
  font-family: var(--ff);
  font-style: italic;
  font-size: 20px;
  color: var(--gold-warm);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp .7s .5s forwards;
}

.d-facts {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .7s .6s forwards;
}

.d-fact .k {
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.d-fact .v {
  font-family: var(--ff);
  font-size: 17px;
  color: var(--on-dark);
}

/* ─────────────────────────────────────────
   DETAY İÇERİĞİ
───────────────────────────────────────── */
.detail-content {
  padding: 70px 60px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  margin: 40px 60px 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(26, 46, 74, 0.6); /* var(--ink2) with opacity */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Drop cap paragraf */
.d-story {
  font-family: var(--ff);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.65;
  color: var(--on-dark-70);
}

.d-story::first-letter {
  font-size: 72px;
  float: left;
  line-height: .85;
  padding: 6px 14px 0 0;
  font-weight: 600;
  color: var(--gold);
  font-style: italic;
}

/* Künye tablosu */
.facts-tbl {
  border-top: 2px solid var(--gold2);
}

.ftrow {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--gold-10);
}

.ftrow .k {
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold2);
  padding-top: 3px;
  font-weight: 500;
}

.ftrow .v {
  font-family: var(--ff);
  font-size: 18px;
  color: var(--cream);
}

/* ─────────────────────────────────────────
   İNTERAKTİF SAHNE
───────────────────────────────────────── */
.stage {
  background: transparent;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.stage-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .06;
  pointer-events: none;
}

.stage-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.stage-label {
  font-size: 10px;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  opacity: .7;
}

.stage-title {
  font-family: var(--ff);
  font-style: italic;
  font-size: 26px;
  color: var(--on-dark-70);
}

.stage-sub {
  font-size: 12px;
  margin-top: 10px;
  max-width: 320px;
  color: var(--on-dark-60);
}

/* ─────────────────────────────────────────
   GALERİ (Yatay Kaydırmalı)
───────────────────────────────────────── */
.gallery-section {
  padding: 50px 60px;
  margin: 40px 60px 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(26, 46, 74, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.gallery-label {
  font-family: var(--ff);
  font-weight: 400;
  font-size: 28px;
  color: var(--cream);
}

.gallery-nav {
  display: flex;
  gap: 12px;
}

.gallery-btn {
  background: rgba(196, 154, 60, 0.1);
  border: 1px solid rgba(196, 154, 60, 0.3);
  color: var(--gold);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.gallery-btn:hover {
  background: var(--gold);
  color: var(--ink);
}

.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  padding-bottom: 10px;
}

.gallery-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.gallery-item {
  flex: 0 0 calc(50% - 10px);
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s;
  cursor: zoom-in;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .gallery-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}

/* ─────────────────────────────────────────
   LİGHTBOX
───────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 10, 20, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(6px);
  cursor: default;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-overlay img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 0 80px rgba(0,0,0,0.8);
  transition: transform .3s ease;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 28px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  opacity: .8;
  transition: opacity .2s;
  z-index: 10000;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(196,154,60,0.15);
  border: 1px solid rgba(196,154,60,0.35);
  color: var(--gold);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: background .2s;
  z-index: 10000;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover { background: var(--gold); color: var(--ink); }


/* ─────────────────────────────────────────
   ZAMAN ÇİZELGESİ
───────────────────────────────────────── */
.timeline {
  padding: 50px 60px;
  margin: 40px 60px 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(26, 46, 74, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.timeline-head {
  font-family: var(--ff);
  font-weight: 400;
  font-size: 28px;
  margin-bottom: 40px;
  color: var(--cream);
}

.tl-row {
  display: grid;
  grid-template-columns: 90px 20px 1fr;
  gap: 0 18px;
  align-items: start;
}

.tl-yr {
  font-family: var(--ff);
  font-weight: 600;
  font-size: 16px;
  color: var(--gold2);
  text-align: right;
  padding-top: 2px;
}

.tl-dc {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20px;
}

.tl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold2);
  border: 2px solid var(--ink2);
  box-shadow: 0 0 0 1px var(--gold2);
  flex-shrink: 0;
  margin-top: 4px;
}

.tl-ln {
  flex: 1;
  width: 1px;
  background: rgba(196, 154, 60, .2);
  min-height: 36px;
}

.tl-row:last-child .tl-ln { display: none; }

.tl-body {
  padding-bottom: 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--on-dark-70);
}

.tl-body strong {
  display: block;
  font-family: var(--ff);
  font-size: 17px;
  color: var(--cream);
  margin-bottom: 3px;
  font-weight: 400;
}

/* ─────────────────────────────────────────
   İLGİLİ MEKÂNLAR
───────────────────────────────────────── */
.related {
  padding: 50px 60px 60px;
  margin: 40px 60px 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(26, 46, 74, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.related-head {
  font-family: var(--ff);
  font-weight: 400;
  font-size: 28px;
  margin-bottom: 28px;
  color: var(--cream);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: transparent;
}

/* ─────────────────────────────────────────
   RESPONSIVE — DETAY
───────────────────────────────────────── */
@media (max-width: 768px) {
  .detail-back { padding: 14px 20px; }

  /* Hero — tek sütun */
  .detail-hero { grid-template-columns: 1fr; max-height: none; }
  .detail-vis { min-height: 240px; max-height: 300px; border-right: none; border-bottom: 1px solid var(--gold-15); }
  .detail-info { padding: 32px 20px; }
  .d-title { font-size: clamp(32px, 8vw, 52px); }
  .d-arabic { font-size: clamp(18px, 5vw, 30px); }
  .d-facts { gap: 18px; }

  /* İçerik alanı — 60px yan margin → 12px */
  .detail-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 20px;
    margin: 20px 12px 0;
  }

  /* Drop cap mobilde daha küçük */
  .d-story::first-letter { font-size: 52px; padding: 4px 10px 0 0; }
  .d-story { font-size: clamp(16px, 4vw, 19px); }

  /* Künye tablosu */
  .ftrow { grid-template-columns: 80px 1fr; gap: 10px; }

  /* Galeri */
  .gallery-section { padding: 32px 16px; margin: 20px 12px 0; }
  .gallery-item { flex: 0 0 88%; }

  /* Zaman çizelgesi */
  .timeline { padding: 32px 16px; margin: 20px 12px 0; }
  .tl-row { grid-template-columns: 64px 16px 1fr; gap: 0 12px; }
  .tl-yr { font-size: 14px; }

  /* İlgili mekânlar */
  .related { padding: 32px 16px 48px; margin: 20px 12px 20px; }
  .related-grid { grid-template-columns: 1fr; }
}
