/* Simple Floating Animations - Debug Version */

.cta-section {
    position: relative;
    min-height: 500px;
}

.cta-content {
    position: relative;
    z-index: 100;
}

.floating-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.cta-boat-wrapper {
    position: absolute;
    top: 20%; /* Moved higher: 50% -> 30% -> 20% */
    left: 10%;
    transform: translateY(-50%);
    width: 600px; /* 20% smaller: 750 * 0.8 */
    height: 400px; /* 20% smaller: 500 * 0.8 */
    animation: boatFloat 4s ease-in-out infinite;
}

.boat-frame {
    position: absolute;
    max-width: 100%;
    height: auto;
}

.boat__frame1 {
    width: 100%;
    z-index: 1;
    opacity: 1;
}

.boat__spinner {
    position: absolute;
    right: 15%;
    top: 90%;
    width: 18%;
    animation: spin 3s linear infinite;
    pointer-events: none;
    z-index: 2;
    opacity: 1;
}

.boat__anim1, .boat__anim2 {
    top: 107%;
    left: 35%;
    width: 15%;
    z-index: 3;
}

.boat__anim1 {
    animation: blink 1s infinite;
}

.boat__anim2 {
    animation: blink 1s infinite;
    animation-delay: 0.5s;
}

.floating-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-cloud {
    position: absolute;
    opacity: 0.8;
    animation: cloudMove 60s linear infinite; /* Much slower: 10s -> 60s */
}

.cloud-1 {
    top: 20%;
    width: 400px; /* 500% bigger: 80 * 5 */
    animation-delay: 0s;
}

.cloud-2 {
    top: 60%;
    width: 300px; /* 500% bigger: 60 * 5 */
    animation-delay: -10s;
}

.cloud-3 {
    top: 80%;
    width: 350px; /* 500% bigger: 70 * 5 */
    animation-delay: -20s;
}

.floating-creatures {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.floating-creature {
    position: absolute;
    opacity: 0.8;
}

.creature-1 {
    bottom: 20%;
    left: 10%;
    width: 50px;
}

.creature-2 {
    bottom: 30%;
    right: 20%;
    width: 60px;
}

/* Hero Section Creature Animations */
.hero-floating-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-floating-decorations .floating-creatures {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-floating-decorations .floating-creature {
    position: absolute;
    opacity: 0.8;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
}

.hero-floating-decorations .creature-1 {
    bottom: 10%;
    left: 5%;
    width: 200px; /* 200-300% bigger: 80px * 2.5 */
}

.hero-floating-decorations .creature-2 {
    top: 20%;
    right: 8%;
    width: 240px; /* 200-300% bigger: 90px * 2.67 */
}

@keyframes boatFloat {
    0%, 100% { transform: translateY(-50%) translateX(0px); }
    50% { transform: translateY(-50%) translateX(10px) translateY(-60px); }
}

@keyframes boatFloatMobile {
    0%, 100% { transform: translateX(-50%) translateY(-50%); }
    50% { transform: translateX(-50%) translateY(-50%) translateY(-15px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes cloudMove {
    0% { transform: translateX(-200px); }
    100% { transform: translateX(calc(100vw + 200px)); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

@media (max-width: 768px) {
    /* Show boat on mobile - bigger and centered behind CTA card */
    .cta-boat-wrapper {
        display: block !important;
        width: 400px;
        height: 270px;
        top: 25%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        animation: boatFloatMobile 6s ease-in-out infinite !important;
        z-index: 0;
    }
    
    /* Show creatures on mobile with smaller size */
    .hero-floating-decorations .floating-creatures {
        display: block !important;
    }
    
    .hero-floating-decorations .creature-1 {
        width: 80px;
        bottom: 5%;
        left: 3%;
    }
    
    .hero-floating-decorations .creature-2 {
        width: 100px;
        top: 15%;
        right: 5%;
    }
    
    /* Show clouds on mobile with smaller size */
    .floating-clouds {
        display: block !important;
    }
    
    .cloud-1 {
        width: 150px;
        animation-duration: 90s !important;
    }
    
    .cloud-2 {
        width: 120px;
        animation-duration: 100s !important;
    }
    
    .cloud-3 {
        width: 130px;
        animation-duration: 95s !important;
    }
}

@media (max-width: 480px) {
    /* Boat centered behind CTA on small screens */
    .cta-boat-wrapper {
        display: block !important;
        width: 320px;
        height: 215px;
        top: 22%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        animation: boatFloatMobile 7s ease-in-out infinite !important;
        z-index: 0;
    }
    
    /* Smaller creatures on very small screens */
    .hero-floating-decorations .floating-creatures {
        display: block !important;
    }
    
    .hero-floating-decorations .creature-1 {
        width: 60px;
    }
    
    .hero-floating-decorations .creature-2 {
        width: 70px;
    }
    
    /* Smaller clouds on very small screens */
    .floating-clouds {
        display: block !important;
    }
    
    .cloud-1 {
        width: 100px;
    }
    
    .cloud-2 {
        width: 80px;
    }
    
    .cloud-3 {
        width: 90px;
    }
}

/* Support for new CTA section */
.cta-section-new {
    position: relative;
    min-height: 500px;
    overflow: visible;
}

.cta-section-new .floating-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

.cta-section-new .cta-card {
    position: relative;
    z-index: 10;
}

.cta-section-new .cta-content-new {
    position: relative;
    z-index: 100;
}
