/* Cloud Animation Styles */

.cloud-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.cloud {
    position: absolute;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cloud img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Initial cloud positions */
.cloud-1 {
    width: 120px;
    height: 80px;
    top: 20%;
    left: 15%;
    z-index: 2;
}

.cloud-2 {
    width: 100px;
    height: 70px;
    top: 35%;
    right: 20%;
    z-index: 3;
}

.cloud-3 {
    width: 90px;
    height: 60px;
    top: 60%;
    left: 25%;
    z-index: 2;
}

.cloud-4 {
    width: 110px;
    height: 75px;
    top: 45%;
    right: 35%;
    z-index: 4;
}

.cloud-5 {
    width: 95px;
    height: 65px;
    top: 75%;
    right: 15%;
    z-index: 3;
}

.cloud-hero {
    width: 150px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    opacity: 1;
}

/* Cloud Opening Section */
.cloud-opening-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #87CEEB 0%, #E0F6FF 50%, #87CEEB 100%);
    z-index: 0;
}

.cloud-opening-content {
    text-align: center;
    z-index: 10;
    position: relative;
    color: #2c3e50;
}

.cloud-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(30px);
}

.cloud-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Hero section adjustments */
.hero-section {
    position: relative;
    z-index: 10;
    background: #fff;
    padding-top: 100px;
    min-height: 100vh;
}

/* Header adjustments for cloud animation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Hide dropdown menus by default to prevent interference */
.dropdown-menu {
    display: none !important;
}

.menu-item:hover .dropdown-menu {
    display: block !important;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cloud-1, .cloud-2, .cloud-3, .cloud-4, .cloud-5 {
        width: 80px;
        height: 50px;
    }
    
    .cloud-hero {
        width: 120px;
        height: 80px;
    }
    
    .cloud-title {
        font-size: 2.5rem;
    }
    
    .cloud-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .cloud-1, .cloud-2, .cloud-3, .cloud-4, .cloud-5 {
        width: 60px;
        height: 40px;
    }
    
    .cloud-hero {
        width: 100px;
        height: 65px;
    }
    
    .cloud-title {
        font-size: 2rem;
    }
    
    .cloud-subtitle {
        font-size: 1rem;
    }
}

/* Animation states */
.cloud.fade-out {
    opacity: 0;
    transform: scale(0.8);
}

.cloud-hero.rise-up {
    transform: translate(-50%, -80vh) scale(1.2);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Ensure content is above clouds */
.site-content {
    position: relative;
    z-index: 10;
}

/* Loading animation for clouds */
@keyframes cloudFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.cloud {
    animation: cloudFloat 6s ease-in-out infinite;
}

.cloud-1 {
    animation-delay: 0s;
}

.cloud-2 {
    animation-delay: 1s;
}

.cloud-3 {
    animation-delay: 2s;
}

.cloud-4 {
    animation-delay: 0.5s;
}

.cloud-5 {
    animation-delay: 1.5s;
}

.cloud-hero {
    animation-delay: 0.3s;
}

