/*
Theme Name: Astra Child
Theme URI: https://yourwebsite.com
Description: Astra Child Theme with GSAP Advanced Animations
Author: Your Name
Author URI: https://yourwebsite.com
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
*/

/* Smooth Scroll Wrapper Styles */
#smooth-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#smooth-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: visible;
    will-change: transform;
}

/* Fix for Elementor Sections */
.elementor-section {
    will-change: transform;
}

/* Fix for Fixed Elements */
.elementor-sticky--active {
    z-index: 999 !important;
}

/* Animation Classes Base Styles */
.hover-scale {
    transition: transform 0.3s ease;
}

.float-element {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.glow-element {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(255,255,255,0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(255,255,255,0.8)); }
}

.animated-bg {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Draggable Element */
.draggable {
    cursor: grab;
    user-select: none;
}

.draggable:active {
    cursor: grabbing;
}

/* Flip Container */
.flip-container {
    perspective: 1000px;
}

.flip-item {
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-item.flipped {
    transform: rotateY(180deg);
}

/* Parallax Background */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Grid Cards */
.grid-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Ensure Elementor compatibility */
.elementor-widget-container {
    position: relative;
    z-index: 1;
}

