/* ============================================
   ANIMATED CLOUDS BACKGROUND
   Pure CSS - No external dependencies
   ============================================ */

/* Sky gradient background */
.sky-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    #87CEEB 0%,
    #B0E0E6 30%,
    #E0F6FF 60%,
    #F0F9FF 100%
  );
  z-index: -2;
  overflow: hidden;
}

/* Sun glow effect */
.sky-background::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 223, 150, 0.4) 0%,
    rgba(255, 200, 100, 0.2) 40%,
    transparent 70%
  );
  animation: sunPulse 8s ease-in-out infinite;
}

@keyframes sunPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* Cloud base styles */
.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 100px;
  opacity: 0.9;
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 100px;
}

/* Cloud 1 - Large fluffy cloud */
.cloud1 {
  width: 120px;
  height: 40px;
  top: 15%;
  left: -150px;
  animation: floatCloud1 35s linear infinite;
}

.cloud1::before {
  width: 50px;
  height: 50px;
  top: -25px;
  left: 15px;
}

.cloud1::after {
  width: 60px;
  height: 40px;
  top: -15px;
  right: 15px;
}

/* Cloud 2 - Medium cloud */
.cloud2 {
  width: 80px;
  height: 30px;
  top: 35%;
  left: -100px;
  animation: floatCloud2 45s linear infinite;
  animation-delay: -10s;
}

.cloud2::before {
  width: 40px;
  height: 40px;
  top: -20px;
  left: 10px;
}

.cloud2::after {
  width: 45px;
  height: 30px;
  top: -10px;
  right: 10px;
}

/* Cloud 3 - Small wispy cloud */
.cloud3 {
  width: 60px;
  height: 25px;
  top: 25%;
  left: -80px;
  animation: floatCloud3 30s linear infinite;
  animation-delay: -20s;
  opacity: 0.7;
}

.cloud3::before {
  width: 30px;
  height: 30px;
  top: -15px;
  left: 8px;
}

.cloud3::after {
  width: 35px;
  height: 25px;
  top: -8px;
  right: 8px;
}

/* Cloud 4 - Large slow cloud */
.cloud4 {
  width: 150px;
  height: 50px;
  top: 60%;
  left: -180px;
  animation: floatCloud4 50s linear infinite;
  animation-delay: -5s;
}

.cloud4::before {
  width: 60px;
  height: 60px;
  top: -30px;
  left: 20px;
}

.cloud4::after {
  width: 70px;
  height: 50px;
  top: -20px;
  right: 20px;
}

/* Cloud 5 - Medium high cloud */
.cloud5 {
  width: 100px;
  height: 35px;
  top: 45%;
  left: -120px;
  animation: floatCloud5 40s linear infinite;
  animation-delay: -15s;
  opacity: 0.8;
}

.cloud5::before {
  width: 45px;
  height: 45px;
  top: -22px;
  left: 12px;
}

.cloud5::after {
  width: 50px;
  height: 35px;
  top: -12px;
  right: 12px;
}

/* Cloud 6 - Small fast cloud */
.cloud6 {
  width: 50px;
  height: 20px;
  top: 70%;
  left: -70px;
  animation: floatCloud6 25s linear infinite;
  animation-delay: -25s;
  opacity: 0.6;
}

.cloud6::before {
  width: 25px;
  height: 25px;
  top: -12px;
  left: 6px;
}

.cloud6::after {
  width: 28px;
  height: 20px;
  top: -6px;
  right: 6px;
}

/* Floating animations */
@keyframes floatCloud1 {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 150px)); }
}

@keyframes floatCloud2 {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 100px)); }
}

@keyframes floatCloud3 {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 80px)); }
}

@keyframes floatCloud4 {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 180px)); }
}

@keyframes floatCloud5 {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 120px)); }
}

@keyframes floatCloud6 {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 70px)); }
}

/* Birds animation */
.bird {
  position: absolute;
  width: 20px;
  height: 10px;
  opacity: 0.4;
}

.bird::before,
.bird::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  background: #666;
  top: 50%;
}

.bird::before {
  left: 0;
  transform-origin: right center;
  transform: rotate(-20deg);
  border-radius: 2px 0 0 2px;
}

.bird::after {
  right: 0;
  transform-origin: left center;
  transform: rotate(20deg);
  border-radius: 0 2px 2px 0;
}

.bird1 {
  top: 20%;
  left: -30px;
  animation: flyBird 30s linear infinite;
}

.bird2 {
  top: 30%;
  left: -30px;
  animation: flyBird 35s linear infinite;
  animation-delay: -10s;
  transform: scale(0.7);
}

.bird3 {
  top: 15%;
  left: -30px;
  animation: flyBird 40s linear infinite;
  animation-delay: -20s;
  transform: scale(0.5);
}

@keyframes flyBird {
  0% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(25vw) translateY(-10px); }
  50% { transform: translateX(50vw) translateY(5px); }
  75% { transform: translateX(75vw) translateY(-5px); }
  100% { transform: translateX(calc(100vw + 30px)) translateY(0); }
}
