/* ==========================================================
   ANIMATIONS - עלים נופלים, פרחי CSS, בועות, עיגולי רקע
   ========================================================== */

/* FALLING LEAVES */
.leaves-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.leaf { position: absolute; animation: fallLeaf linear infinite; opacity: 0; }
.leaf svg { width: 100%; height: 100%; }
@keyframes fallLeaf {
    0% { transform: translateY(-100px) translateX(0) rotate(var(--start-rotate, -20deg)); opacity: 0; }
    5% { opacity: var(--leaf-opacity, 0.6); }
    25% { transform: translateY(25vh) translateX(calc(var(--drift, 50px) * -1)) rotate(calc(var(--start-rotate) + 60deg)); }
    50% { transform: translateY(50vh) translateX(var(--drift, 50px)) rotate(calc(var(--start-rotate) + 120deg)); }
    75% { transform: translateY(75vh) translateX(calc(var(--drift, 50px) * -0.5)) rotate(calc(var(--start-rotate) + 180deg)); }
    95% { opacity: var(--leaf-opacity, 0.6); }
    100% { transform: translateY(105vh) translateX(var(--drift, 50px)) rotate(calc(var(--start-rotate) + 240deg)); opacity: 0; }
}

/* CSS FLOWERS */
.css-flower {
    position: absolute;
    width: 80px;
    height: 80px;
    pointer-events: none;
    z-index: 1;
}
.flower-petals {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: flowerSpin 25s linear infinite;
}
.petal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 40px;
    margin-top: -40px;
    margin-left: -10px;
    transform-origin: center bottom;
}
.petal svg { width: 100%; height: 100%; }
.petal:nth-child(1) { transform: rotate(0deg); }
.petal:nth-child(2) { transform: rotate(51.4deg); }
.petal:nth-child(3) { transform: rotate(102.8deg); }
.petal:nth-child(4) { transform: rotate(154.3deg); }
.petal:nth-child(5) { transform: rotate(205.7deg); }
.petal:nth-child(6) { transform: rotate(257.1deg); }
.petal:nth-child(7) { transform: rotate(308.6deg); }
.flower-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    background: var(--color-gold);
    border-radius: 50%;
    animation: flowerPulse 3s ease-in-out infinite;
}
@keyframes flowerSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes flowerPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.2); opacity: 1; }
}
.flower-rose .petal svg path { fill: rgba(212, 165, 165, 0.6); }
.flower-sage .petal svg path { fill: rgba(154, 173, 140, 0.6); }
.flower-sky .petal svg path { fill: rgba(168, 197, 217, 0.6); }
.flower-lavender .petal svg path { fill: rgba(197, 184, 217, 0.6); }
.flower-gold .petal svg path { fill: rgba(201, 169, 98, 0.5); }

/* TESTIMONIALS BUBBLES */
.testimonials-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.testimonial-bubble {
    position: absolute;
    border-radius: 50%;
    animation: bubbleRise linear infinite;
}
.testimonial-bubble::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 30%;
    height: 30%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    border-radius: 50%;
}
@keyframes bubbleRise {
    0% { transform: translateY(100%) translateX(0) scale(0.3); opacity: 0; }
    10% { opacity: var(--bubble-opacity, 0.4); transform: translateY(85%) translateX(5px) scale(1); }
    30% { transform: translateY(60%) translateX(calc(var(--bubble-drift, 20px) * -1)) scale(1.02); }
    60% { transform: translateY(30%) translateX(var(--bubble-drift, 20px)) scale(1); }
    90% { opacity: var(--bubble-opacity, 0.4); }
    100% { transform: translateY(-10%) translateX(calc(var(--bubble-drift, 20px) * 0.5)) scale(0.8); opacity: 0; }
}

/* EXPERIENCE SECTION BACKGROUND CIRCLES */
.experience-bg-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.exp-circle {
    position: absolute;
    border-radius: 50%;
    animation: floatCircle ease-in-out infinite;
}
@keyframes floatCircle {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10px, -15px) scale(1.05); }
    66% { transform: translate(-8px, 10px) scale(0.95); }
}

/* STATIC DECOR */
.static-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {
    .css-flower { transform: scale(0.7); }
}
