/**
 * GSAP ScrollTrigger dla Elementor – style pomocnicze
 */

/* Zapobiegaj FOUC (flash of unstyled content) dla animowanych elementów */
[data-gep="1"] {
  /* will-change jest ustawiane przez JS tylko gdy potrzebne */
}

/* Poziome scrollowanie – obcinaj overflow na sekcji-kontenerze */
[data-gep="1"][data-gep-config*='"type":"horizontal"'] {
  overflow: hidden !important;
  position: relative;
}

/* Text reveal – clip-path musi być wspierany */
[data-gep="1"][data-gep-config*='"type":"text_reveal"'] h1,
[data-gep="1"][data-gep-config*='"type":"text_reveal"'] h2,
[data-gep="1"][data-gep-config*='"type":"text_reveal"'] h3,
[data-gep="1"][data-gep-config*='"type":"text_reveal"'] h4,
[data-gep="1"][data-gep-config*='"type":"text_reveal"'] p {
  overflow: hidden;
}

/* Chars stagger – litery inline-block */
[data-gep="1"][data-gep-config*='"type":"chars_stagger"'] .elementor-heading-title span {
  display: inline-block;
}

/* Parallax – zapobiegaj przycinaniu obrazka w tle */
[data-gep="1"][data-gep-config*='"type":"parallax"'],
[data-gep="1"][data-gep-config*='"type":"parallax_fast"'] {
  overflow: hidden;
}

/* ScrollTrigger markers – lepszy wygląd w dev mode */
.gsap-marker-start,
.gsap-marker-end {
  font-family: monospace !important;
  font-size: 11px !important;
}


/* Video scrub captions i zoom gallery teksty –
   visibility:hidden zamiast opacity:0 !important
   JS nadpisuje przez style.opacity (inline > klasa CSS) */
[class*="gep-vs-caption-"],
[class*="gep-zg-text-"] {
    visibility: hidden;
    pointer-events: none;
}
