/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* GSAP Animation Helpers */
/* ---------------------------------------------------------------- */

/*
 * Styles for Text Reveal Animation
 * The .line-wrapper is created dynamically by our custom-animations.js script.
 * We need to hide the overflow so the text lines can slide in from below without being visible beforehand.
 */
.line-wrapper {
    overflow: hidden;
}

/*
 * Styles for 3D Animations
 * The .gsap-3d-parent class creates a perspective context for its children.
 * Add this class to the container of any element that uses a 3D animation.
 */
.gsap-3d-parent {
    perspective: 1000px;
}

/*
 * Ensures that elements within a 3D context are rendered correctly during animation.
 * Backface-visibility prevents flickering during flips.
 */
.gsap-3d-parent [class*="gsap-"] {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}
