/* Animation Styles */

/* Base Animation Classes */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide.active .animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animations */
.slide.active .animate-in:nth-child(1) {
    transition-delay: 0.1s;
}

.slide.active .animate-in:nth-child(2) {
    transition-delay: 0.3s;
}

.slide.active .animate-in:nth-child(3) {
    transition-delay: 0.5s;
}

.slide.active .animate-in:nth-child(4) {
    transition-delay: 0.7s;
}

.slide.active .animate-in:nth-child(5) {
    transition-delay: 0.9s;
}

/* Slide Transition Animations */
.slide {
    transition: opacity 0.5s ease, visibility 0.5s, transform 0.5s ease;
    transform: translateX(50px);
}

.slide.active {
    transform: translateX(0);
}

.slide.prev {
    transform: translateX(-50px);
}

/* Robot Animation */
@keyframes robotMove {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

.slide.active .robot {
    animation: robotMove 3s ease-in-out infinite;
}

/* House Frame Animation */
@keyframes houseFrameBuild {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

.slide.active .house-frame {
    animation: houseFrameBuild 1.5s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

/* Blueprint Animation */
@keyframes blueprintUnfold {
    0% {
        opacity: 0;
        transform: translateX(-50%) scaleY(0.1);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scaleY(1);
    }
}

.slide.active .blueprint {
    animation: blueprintUnfold 1.2s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
    transform-origin: center bottom;
}

/* Robot Apprentice Animation */
@keyframes robotApprenticeWork {
    0% {
        transform: translateX(-50%) rotate(0);
    }
    25% {
        transform: translateX(-50%) rotate(5deg);
    }
    75% {
        transform: translateX(-50%) rotate(-5deg);
    }
    100% {
        transform: translateX(-50%) rotate(0);
    }
}

.slide.active .robot-apprentice {
    animation: robotApprenticeWork 2s ease-in-out infinite;
    animation-delay: 1s;
}

/* Building Blocks Animation */
@keyframes blockAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide.active .block {
    animation: blockAppear 0.5s ease-out forwards;
    opacity: 0;
}

.slide.active .block:nth-child(1) {
    animation-delay: 0.2s;
}

.slide.active .block:nth-child(2) {
    animation-delay: 0.4s;
}

.slide.active .block:nth-child(3) {
    animation-delay: 0.6s;
}

.slide.active .block:nth-child(4) {
    animation-delay: 0.8s;
}

/* Q&A Animation */
@keyframes qaReveal {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide.active .qa-item {
    animation: qaReveal 0.5s ease-out forwards;
    opacity: 0;
}

.slide.active .qa-item:nth-child(1) {
    animation-delay: 1s;
}

.slide.active .qa-item:nth-child(2) {
    animation-delay: 1.3s;
}

.slide.active .qa-item:nth-child(3) {
    animation-delay: 1.6s;
}

/* Workshop Illustration Animation */
@keyframes workshopPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.slide.active .workshop-illustration::before {
    animation: workshopPulse 2s ease-in-out infinite;
    display: inline-block;
}

/* Title Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.title-slide {
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
}

/* Logo Animation - Removed as requested */
