/* ============================================================
 * home-vision-quote.css — "Yaklaşımımız" Premium Cinematic Section
 * Yürüyen karakter, dağ siluetleri, aurora, rüzgar, hedef ışığı
 * ============================================================ */

/* ── 1. Section Base ──────────────────────────────────────────────
   Section'ın kendisi diğer tüm modüller gibi BEYAZ kalır — bu sayede
   ortak bölüm ayracı (::before) her yerde olduğu gibi beyaz zeminde
   görünür. Koyu "sinematik" görünüm section'ın İÇİNE gömülü ayrı bir
   panel (.vision-quote__panel) olarak eklenir; panelin üstten/alttan
   margin'i olduğu için ayraç çizgilerine hiçbir zaman değmez. */
.page-home .site-main > section.content-section.vision-quote {
  text-align: center;
}

.vision-quote__panel {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  margin: 18px 0;
  padding: clamp(34px, 4.2vw, 48px) 0 clamp(52px, 6vw, 70px);
  background: linear-gradient(175deg, #050d18 0%, #091b2e 35%, #0a2240 65%, #071525 100%);
}

.vision-quote__panel > .container {
  background: transparent;
}



/* ── 2. Yıldızlar ─────────────────────────────────────────────── */
.vision-quote__stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.vision-quote__stars span {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  box-shadow: 0 0 4px 1px rgba(255,255,255,.4);
  animation-name: vq-twinkle;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes vq-twinkle {
  0%, 100% { opacity: 0; transform: scale(.4); }
  50%      { opacity: .6; transform: scale(1); }
}



/* ── 3. Aurora / Nebula ───────────────────────────────────────── */
.vision-quote__aurora {
  position: absolute;
  top: -24%;
  left: 12%;
  width: 76%;
  height: 54%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(14,159,170,.10) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 30%, rgba(99,91,255,.07) 0%, transparent 50%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: vq-aurora 20s ease-in-out infinite;
}

@keyframes vq-aurora {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .6; }
  33%      { transform: translate(5%, 3%) scale(1.05); opacity: .8; }
  66%      { transform: translate(-3%, -2%) scale(.97); opacity: .5; }
}



/* ── 6b. Canvas — sola sabit yürüyen figür, rüzgar, enerji izi ──── */
.vision-quote__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ── 7. Hedef: Kuzey Yıldızı / Vizyon Yıldızı ─────────────────── */
.vision-quote__beacon {
  position: absolute;
  right: 12%;
  bottom: 30%; /* Yerden yüksekte havada asılı */
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-quote__star {
  width: 56px;
  height: 56px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 2s ease 1.5s, transform 2s ease 1.5s;
}

.vision-quote__star svg {
  display: block;
  width: 100%;
  height: 100%;
}

.vision-quote.vq-active .vision-quote__star {
  opacity: 1;
  transform: scale(1);
  animation: vq-star-float 4s ease-in-out infinite;
}

.vision-quote__beacon-rays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(110,231,222,.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 2.5s ease 2s;
  pointer-events: none;
}

.vision-quote.vq-active .vision-quote__beacon-rays {
  opacity: 1;
  animation: vq-rays-pulse 4s ease-in-out infinite;
}

@keyframes vq-star-float {
  0%, 100% { transform: scale(1) translateY(0); filter: drop-shadow(0 0 10px rgba(110,231,222,0.4)); }
  50%      { transform: scale(1.1) translateY(-8px); filter: drop-shadow(0 0 25px rgba(110,231,222,0.8)); }
}

@keyframes vq-rays-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50%      { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* ── 8. Üst grup: kicker + giriş cümlesi (gezegenin üstündeki uzayda) */
.vision-quote__container {
  position: absolute;
  top: clamp(26px, 5vw, 52px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  max-width: 680px;
  width: 100%;
}

/* ── 9. Kicker ────────────────────────────────────────────────── */
.vision-quote__kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(14px) scale(0.95);
  filter: blur(6px);
  transition: opacity 1.5s cubic-bezier(.2,.8,.2,1) .2s,
              transform 1.5s cubic-bezier(.2,.8,.2,1) .2s,
              filter 1.5s cubic-bezier(.2,.8,.2,1) .2s;
}

.vision-quote__kicker::before,
.vision-quote__kicker::after {
  content: '';
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,159,170,.5), transparent);
}

.vision-quote.vq-active .vision-quote__kicker {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ── 10a. Giriş cümlesi (lead) — "Önce yola çıkmak gerekir" ─────
   Ana sözden ÖNCE gelir, sebep-sonuç kurar: "Önce yola çıkmak
   gerekir, çünkü ..." — kicker'dan hemen sonra, hafif ve sakin. */
.vision-quote__lead {
  z-index: 3;
  margin: 0 0 12px;
  font-size: clamp(.92rem, 1.3vw, 1.1rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: .01em;
  color: rgba(255,255,255,.5);
  opacity: 0;
  transform: translateY(12px);
  filter: blur(6px);
  transition: opacity 1.3s cubic-bezier(.2,.8,.2,1) .15s,
              transform 1.3s cubic-bezier(.2,.8,.2,1) .15s,
              filter 1.3s cubic-bezier(.2,.8,.2,1) .15s;
}

.vision-quote.vq-lead .vision-quote__lead {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ── Alt grup: ana söz + kapanış cümlesi (gezegenin yüzeyinde) ──── */
.vision-quote__bottom {
  position: absolute;
  left: 50%;
  bottom: clamp(56px, 9vw, 96px);
  transform: translateX(-50%);
  z-index: 3;
  width: 100%;
  max-width: 720px;
  padding: 0 16px;
  text-align: center;
}

/* ── 10b. Ana Söz — vurucu kapanış ─────────────────────────────── */
.vision-quote__text {
  margin: 0;
  border: 0;
  font-size: clamp(1.2rem, 2.35vw, 1.85rem);
  line-height: 1.32;
  letter-spacing: -.01em;
  font-weight: 700;
  white-space: normal;
}

.vision-quote__line {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  filter: blur(12px);
  transition: opacity 1.5s cubic-bezier(.2,.8,.2,1),
              transform 1.5s cubic-bezier(.2,.8,.2,1),
              filter 1.5s cubic-bezier(.2,.8,.2,1);
}

.vision-quote.vq-text1 .vision-quote__line--1 {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  background: linear-gradient(90deg, #ffffff 0%, #6ee7de 30%, #0e9faa 50%, #6ee7de 70%, #ffffff 100%);
  background-size: 280% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: vq-shimmer 6s ease-in-out infinite;
}

@keyframes vq-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

@media (max-width: 720px) {
  .vision-quote__text { white-space: normal; }
}

/* ── 13. Gradient Border ──────────────────────────────────────── */
.vision-quote__border {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 4;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(14,159,170,0) 15%,
    rgba(14,159,170,.45) 50%,
    rgba(14,159,170,0) 85%,
    transparent 100%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 1.2s ease .5s;
}

.vision-quote__border--top    { top: 0; }
.vision-quote__border--bottom { bottom: 0; }

.vision-quote.vq-active .vision-quote__border {
  opacity: 1;
  animation: vq-border-flow 4s linear infinite;
}

@keyframes vq-border-flow {
  0%   { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* ── 14. No-JS Fallback ───────────────────────────────────────── */
.vision-quote:not(.vq-js-ready) .vision-quote__kicker {
  opacity: 1; transform: none;
}
.vision-quote:not(.vq-js-ready) .vision-quote__line--1 {
  background: linear-gradient(90deg, #6ee7de, #0e9faa, #6ee7de);
  background-size: 280% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: vq-shimmer 6s ease-in-out infinite;
}
.vision-quote:not(.vq-js-ready) .vision-quote__lead {
  opacity: 1; transform: none; filter: none;
}
.vision-quote:not(.vq-js-ready) .vision-quote__star {
  opacity: 1; transform: none;
}

/* ═══════════════════════════════════════════════════════════════
 * RESPONSIVE
 * ═══════════════════════════════════════════════════════════════ */
@media (max-width: 820px) {
  .vision-quote__panel {
    min-height: 320px;
    padding-top: clamp(30px, 5vw, 42px);
  }
  .vision-quote__beacon { right: 8%; }
  .vision-quote__beacon-rays { width: 150px; height: 150px; }
}

@media (max-width: 640px) {
  .vision-quote__panel {
    min-height: 260px;
    padding-top: clamp(22px, 4vw, 30px);
    padding-bottom: clamp(42px, 8vw, 56px);
    margin: 14px 0;
  }
  .vision-quote__container { padding: 0 10px; }
  .vision-quote__text { font-size: clamp(1.05rem, 5vw, 1.28rem); }
  .vision-quote__kicker { font-size: .6rem; gap: 10px; margin-bottom: 14px; }
  .vision-quote__kicker::before,
  .vision-quote__kicker::after { width: 16px; }
  .vision-quote__lead { font-size: .82rem; margin-bottom: 8px; }

  /* Yıldız mobilde sağ orta/üste çıkar, yazıyla çakışmaz */
  .vision-quote__beacon { right: 3%; bottom: 40%; }
  .vision-quote__star { width: 30px; height: 30px; }
  .vision-quote__beacon-rays { width: 88px; height: 88px; }

}

/* ═══════════════════════════════════════════════════════════════
 * REDUCED MOTION
 * ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .vision-quote__stars span,
  .vision-quote__aurora,
  .vision-quote__star,
  .vision-quote__beacon-rays,
  .vision-quote__border,
  .vision-quote.vq-text1 .vision-quote__line--1 {
    animation: none !important;
  }
  .vision-quote__line,
  .vision-quote__kicker,
  .vision-quote__lead {
    transition-duration: 0s !important;
  }
}
