/* ===================================
   AB Dance Art - Watercolor Effects
   =================================== */

/* ===== WATERCOLOR BACKGROUNDS ===== */
.watercolor-blue {
    background-image: url('../images/watercolor-splash-blue.png');
    filter: none;
}

.watercolor-pink {
    background-image: url('../images/watercolor-splash-pink.png');
    filter: none;
}

.watercolor-green {
    background-image: url('../images/watercolor-splash-green.png');
    filter: none;
}

.watercolor-lavender {
    background-image: url('../images/watercolor-splash-pink.png');
    filter: hue-rotate(40deg);
}

/* ===== HERO WATERCOLOR BACKGROUND ===== */
.watercolor-hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    background: url('../images/hero-trio.png') bottom right/40% no-repeat;
    mix-blend-mode: multiply;
}

/* Add a very subtle white overlay to improve text readability without hiding the art */
.watercolor-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.6) 40%, rgba(255, 255, 255, 0.3) 100%);
    z-index: 1;
}

/* Clear legacy pseudo-elements if any remain */
.watercolor-hero::after {
    display: none;
}

/* ===== WATERCOLOR PARTICLES ===== */
.watercolor-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.4;
    animation: float 15s ease-in-out infinite;
}

.particle-1 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--color-blue), transparent);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--color-pink), transparent);
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.particle-3 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--color-lavender), transparent);
    bottom: 30%;
    left: 20%;
    animation-delay: 10s;
}

/* ===== DANCER SILHOUETTE ===== */
/* Removed CSS dancer silhouette as it's replaced by IMG tag */
.dancer-silhouette {
    display: none;
}

/* ===== CONTACT WATERCOLOR DECORATION ===== */
.watercolor-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    pointer-events: none;
}

.watercolor-bottom {
    bottom: -100px;
    right: -50px;
    background: radial-gradient(circle, rgba(184, 232, 212, 0.2), transparent);
    border-radius: 50%;
    filter: blur(40px);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ANIMATIONS ===== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-20px) translateX(10px);
    }

    50% {
        transform: translateY(-10px) translateX(-10px);
    }

    75% {
        transform: translateY(-30px) translateX(5px);
    }
}

@keyframes dancerFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* ===== WATERCOLOR BRUSH STROKES ===== */
.brush-stroke {
    position: relative;
}

.brush-stroke::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-pink), transparent);
    opacity: 0.5;
    filter: blur(2px);
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 767px) {

    .watercolor-hero::before,
    .watercolor-hero::after {
        width: 300px;
        height: 300px;
    }

    .particle {
        display: none;
        /* Hide particles on mobile for performance */
    }
}

/* ===== TABLET & DESKTOP ===== */
@media (min-width: 768px) {
    .watercolor-hero::before {
        width: 800px;
        height: 800px;
    }

    .watercolor-hero::after {
        width: 700px;
        height: 700px;
    }
}