/* GSAP Scroll Text Animation - Bağımsız CSS Dosyası
 * Bu dosya metin animasyonu için gerekli tüm CSS stillerini içerir
 * Farklı projelerde kolayca kullanılabilir
 */


/* Ana Metin Konteyner Stilleri */
.text-animation-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Başlık Stilleri */
.text-animation-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #231F20;
  margin-bottom: 40px;
  text-align: left;
}

/* Ana Metin Konteyner - Animasyon için hedef */
.gsap-scroll-text {
  font-size: 1.5rem;
  font-family: 'trebuchet ms', geneva, sans-serif;
  font-weight: 400;
  line-height: 1.8;
  color: #4A4F55;
  margin-bottom: 30px;
  max-width: 100%;
}

/* Paragraf stilleri */
.gsap-scroll-text p {
  margin-bottom: 1.5rem;
  position: relative;
}

/* Son paragrafın alt boşluğunu kaldır */
.gsap-scroll-text p:last-child {
  margin-bottom: 0;
}

/* Progressive Text Animation CSS
 * Basit ve temiz fade-in animasyonu için
 */
.gsap-scroll-text span {
  display: inline-block;
  line-height: 1.8;
  /* GSAP animasyonu için hazır */
}

/* Boşluk karakterleri için */
.gsap-scroll-text span[style*="width:0.3em"] {
  width: 0.3em !important;
}

/* Paragraf baseline ayarı */
.gsap-scroll-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  /* Karakterlerin düzgün sıralanması için */
}

/* Temiz ve basit metin düzeni */
.gsap-scroll-text {
  word-spacing: normal;
  letter-spacing: normal;
}

/* Responsif Tasarım - Tablet */
@media (max-width: 1024px) {
  .text-animation-container {
    padding: 50px 15px;
  }
  
  .text-animation-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .gsap-scroll-text {
    font-size: 1rem;
  }
}

/* Responsif Tasarım - Mobil */
@media (max-width: 768px) {
  .text-animation-container {
    padding: 30px 10px;
  }
  
  .text-animation-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .gsap-scroll-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .gsap-scroll-text p {
    margin-bottom: 1rem;
  }
}

/* Küçük mobil cihazlar */
@media (max-width: 480px) {
  .text-animation-container {
    padding: 20px 8px;
  }
  
  .text-animation-title {
    font-size: 1.3rem;
  }
  
  .gsap-scroll-text {
    font-size: 0.9rem;
  }
}

/* Dark Theme Support (Opsiyonel) */
.dark-theme .gsap-scroll-text {
  color: #e0e0e0;
}

.dark-theme .text-animation-title {
  color: #ffffff;
}

.dark-theme .mask {
  background: #1a1a1a;
}

/* Smooth Scroll için optimizasyon */
.text-animation-container {
  transform: translateZ(0);
  will-change: transform;
}

/* Animasyon sırasında performans iyileştirmesi */
.gsap-scroll-text p {
  transform: translateZ(0);
  will-change: transform;
}
