/* ============================================================
   MODULE: HERO & ABOUT SECTIONS (REVİZE EDİLMİŞ)
   1. Fotoğraf placeholder alanı
   2. Temiz sadeleştirilmiş hakkımda bölümü
   3. Turuncu ışıltı/ambiyans vurguları
   ============================================================ */

/* Hero Section */
.hero {
  padding-top: calc(var(--nav-height) + 50px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

/* Arka plan parlaklık halkaları */
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -50px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 156, 18, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -50px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 84, 0, 0.09) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero__brand-badge-wrap {
  margin-bottom: 1rem;
  display: inline-block;
  max-width: 220px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(26, 43, 76, 0.08);
  border: 1px solid rgba(227, 232, 236, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero__brand-badge-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(211, 84, 0, 0.15);
}
.hero__brand-badge-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2.5px;
  background: var(--color-secondary);
  border-radius: var(--radius-full);
}

.hero__pillars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero__pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
}
.hero__pillar-item i {
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.hero__pillar-item strong {
  color: var(--color-heading);
}

.hero__quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(211, 84, 0, 0.07);
  border-left: 3px solid var(--color-primary);
  padding: 0.65rem 1rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 1.75rem;
}

.hero__title {
  margin-bottom: 1.35rem;
  /* 1. İSTEK: Soldan sağa akıcı giriş animasyonu */
  animation: heroTitleSlideFromLeft 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
  /* Hafif ve havalı blendli doku (Derin Kurumsal Lacivert -> Gece Mavisi) */
  background: linear-gradient(135deg, #0D1B33 0%, #1A2B4C 50%, #2A487C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes heroTitleSlideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-70px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero__title mark {
  /* Canlı sıcak ateş & kehribar blend geçişi */
  background: linear-gradient(135deg, #D35400 0%, #E67E22 50%, #F39C12 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  filter: drop-shadow(0 2px 10px rgba(243, 156, 18, 0.22));
}

.hero__sub {
  font-size: 1.12rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
  position: relative;
}

/* 2. İSTEK: Konteynır yeri sabit, harfler baştan yerleşir ve hızlı fade-in ile açılır */
.type-word {
  display: inline-block;
  white-space: nowrap;
}

.type-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(2.5px);
  transition: opacity 0.12s ease, transform 0.12s ease;
  will-change: opacity, transform;
}

.type-char.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__exam-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  perspective: 1000px;
}

.hero__tag {
  padding: 0.45rem 1.05rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-text);
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  animation: tagFloat 6s ease-in-out infinite;
}

/* Her etiket için farklı ritimde hafif canlı dalgalanma (Doğal akış) */
.hero__tag:nth-child(even) {
  animation-duration: 7.2s;
  animation-delay: 0.9s;
}

.hero__tag:nth-child(3n) {
  animation-duration: 5.8s;
  animation-delay: 1.6s;
}

.hero__tag:nth-child(4n) {
  animation-duration: 6.8s;
  animation-delay: 2.3s;
}

@keyframes tagFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.hero__tag:hover {
  /* Kullanıcı isteği: Hover'da yapay sıçrama/büyüme yok, doğal ve hafif canlı */
  border-color: rgba(211, 84, 0, 0.35);
  color: var(--color-primary);
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(211, 84, 0, 0.08);
}

.hero__actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* 1. İSTEK: Müşterinin Gelecek Fotoğrafı İçin Uygun Boyutta Placeholder */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero__photo-placeholder {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5; /* Şık dikey portre profil oranı */
  background: linear-gradient(145deg, #FFFFFF, #F8FAFC);
  border: 2px dashed rgba(211, 84, 0, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.hero__photo-placeholder:hover {
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(211, 84, 0, 0.15);
  transform: translateY(-3px);
}

.hero__photo-placeholder-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(211, 84, 0, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin-bottom: 1.25rem;
}

.hero__photo-placeholder h4 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.hero__photo-placeholder p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.hero__photo-dimensions {
  margin-top: 1rem;
  display: inline-block;
  background: rgba(243, 156, 18, 0.15);
  color: var(--color-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

/* Profil resmi altında müşteri adı */
.hero__author-badge {
  margin-top: 1.25rem;
  background: #FFFFFF;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero__author-badge i {
  color: var(--color-primary);
  font-size: 1.1rem;
}

.hero__author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

/* 2. KISIM: HAKKIMDA (SOLA YATIK, DİKKAT ÇEKEN ZARİF AMBİYANS ÇUBUĞU VE CANLI EFEKTLER) */
.about-section {
  position: relative;
  padding-block: 85px;
  overflow: hidden;
}

/* Arka plan için canlı, zarif ambiyans ışıltısı */
.about-section::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -80px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 156, 18, 0.12) 0%, transparent 68%);
  pointer-events: none;
  animation: aboutGlowFloat 8s ease-in-out infinite alternate;
}

.about-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 84, 0, 0.08) 0%, transparent 68%);
  pointer-events: none;
  animation: aboutGlowFloat 10s ease-in-out infinite alternate-reverse;
}

@keyframes aboutGlowFloat {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-20px) scale(1.08);
    opacity: 1;
  }
}

.about-clean-left {
  max-width: 860px;
  margin: 0;
  text-align: left;
  position: relative;
  padding-left: 2.5rem; /* Sol çizgi için ferah boşluk */
  z-index: 2;
}

/* Dikkat çeken sol dikey turuncu ışık çubuğu - Akıcı ışıltı animasyonu */
.about-clean-left::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 4.5px;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary) 100%);
  background-size: 100% 200%;
  animation: barShimmer 4s ease-in-out infinite;
  box-shadow: 0 0 16px rgba(211, 84, 0, 0.45);
}

@keyframes barShimmer {
  0%, 100% {
    background-position: 0% 0%;
    box-shadow: 0 0 14px rgba(211, 84, 0, 0.35);
  }
  50% {
    background-position: 0% 100%;
    box-shadow: 0 0 22px rgba(243, 156, 18, 0.65);
  }
}

.about-clean-left .badge {
  margin-bottom: 1.15rem;
  transition: transform 0.3s ease;
}

.about-clean-left h2 {
  font-size: clamp(2rem, 3.8vw, 2.6rem);
  color: var(--color-heading);
  margin-bottom: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* 3. İSTEK: "Girdiğiniz Bu Yolda Yalnız Değilsiniz" Harf Harf Ritimle Zıplayarak Giriş (Daha Zarif ve Ölçülü) */
.bounce-word {
  display: inline-block;
  white-space: nowrap;
}

.bounce-letter {
  display: inline-block;
  opacity: 0;
  color: var(--color-heading);
  transform: translateY(22px) scale(0.85);
  will-change: transform, opacity;
}

.about-clean-left h2.bounce-active .bounce-letter {
  animation: letterSpringBounce 0.65s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: var(--bounce-delay);
}

@keyframes letterSpringBounce {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.88);
  }
  60% {
    opacity: 1;
    transform: translateY(-6px) scale(1.06);
  }
  80% {
    transform: translateY(2px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.about-clean-left p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 1.4rem;
}

/* Kullanıcı İsteği: Ağır kutu ve dikey çizgi yerine sade, göze batmayan akıcı metin vurgusu */
.about-clean-left .about-highlight-text,
.about-clean-left .quote-box {
  background: transparent;
  border: none;
  padding: 0;
  margin-block: 1.25rem;
  font-size: 1.12rem;
  line-height: 1.85;
  color: var(--color-text);
  box-shadow: none;
}

.about-clean-left .about-highlight-text strong,
.about-clean-left .quote-box strong {
  color: var(--color-primary);
  font-weight: 700;
}

.about-clean-left .welcome-lead {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 0.75rem;
}

/* Kullanıcı İsteği: "Hoş geldiniz!" sadece 2 kere neşeyle zıplasın, sonsuza kadar değil */
.welcome-bounce {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 800;
  transform-origin: bottom center;
  animation: playfulHop 1.15s cubic-bezier(0.28, 0.84, 0.42, 1) 2 forwards;
  animation-delay: 0.4s;
  cursor: default;
  margin-left: 0.25rem;
}

@keyframes playfulHop {
  0% {
    transform: translateY(0) scale(1, 1);
  }
  28% {
    transform: translateY(-11px) scale(1.06, 0.94);
  }
  48% {
    transform: translateY(0) scale(0.96, 1.04);
  }
  68% {
    transform: translateY(-5px) scale(1.03, 0.97);
  }
  88%, 100% {
    transform: translateY(0) scale(1, 1);
  }
}

@media (max-width: 768px) {
  .about-clean-left {
    padding-left: 1.5rem;
  }
}


/* Ana Sayfa Afi Entegrasyonu */
.hero__poster {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-md);
  /* Arka plana yedirmek iin kenarlara doru giderek solan maske (alpha blending) */
  -webkit-mask-image: radial-gradient(circle, black 65%, transparent 100%);
  mask-image: radial-gradient(circle, black 65%, transparent 100%);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
  transition: transform var(--transition);
}
.hero__poster:hover {
  transform: scale(1.02);
}
