/*
 Theme Name:   Hello Elementor Child
 Theme URI:    
 Description:  Child theme for Hello Elementor with GSAP Animations.
 Author:       Jahid Islam Rafsan
 Author URI:   https://portfolio-client-y9gw.onrender.com/
 Template:     hello-elementor
 Version:      3.0.5
 Text Domain:  hello-elementor-child
*/

/* Default: Seite immer sichtbar (Fallback) */
body {
  opacity: 1;
  visibility: visible;
}

/* Inhalte bleiben auch während langsamer Bild- und Script-Anfragen sichtbar. */
body.gsap-loaded {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Empfohlener Ansatz: nur animierte Elemente verstecken */
.gsap-fade-in {
  opacity: 0;
  transform: translateY(20px);
}

/* Zustand nach Laden */
body.gsap-loaded .gsap-fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Swiper Fix */
.advance-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}
