/* ============================================
   OPTIMAL İKLİMLENDİRME — Animations
   ============================================ */

/* --- Scroll Line (Hero) --- */
@keyframes scrollLine {
  0% { top: 0; opacity: 1; }
  80% { top: calc(100% - 10px); opacity: 0.3; }
  100% { top: 0; opacity: 1; }
}

/* --- Brand Carousel --- */
@keyframes brandScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- WhatsApp Pulse --- */
@keyframes whatsappPulse {
  0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.1); }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* --- Pulse (CTA) --- */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

/* --- Float Animation --- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --- Snowflake Fall --- */
@keyframes snowfall {
  0% {
    transform: translateY(-10vh) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 0.6; }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

/* --- Fade In Up --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Fade In Down --- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Fade In Left --- */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- Fade In Right --- */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- Scale In --- */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- Rotate In --- */
@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

/* --- Shimmer --- */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* --- Glow Pulse --- */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(30, 136, 229, 0.2); }
  50% { box-shadow: 0 0 40px rgba(30, 136, 229, 0.4); }
}

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

/* --- Particle Float --- */
@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.6;
  }
  25% {
    transform: translate(30px, -40px) rotate(90deg);
    opacity: 0.8;
  }
  50% {
    transform: translate(-20px, -80px) rotate(180deg);
    opacity: 0.4;
  }
  75% {
    transform: translate(40px, -60px) rotate(270deg);
    opacity: 0.7;
  }
}

/* --- Counter Flip --- */
@keyframes counterFlip {
  0% { transform: rotateX(90deg); opacity: 0; }
  100% { transform: rotateX(0); opacity: 1; }
}

/* --- Slide In Stagger --- */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* --- Hero Content Animation --- */
.hero-content {
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-tagline {
  animation: fadeInDown 0.8s ease-out 0.5s both;
}

.hero-scroll {
  animation: fadeInUp 0.8s ease-out 1.2s both;
}

/* --- Navbar Animation --- */
.navbar {
  animation: fadeInDown 0.6s ease-out;
}

/* --- Animated Background Shapes --- */
.hero-shape-1 {
  animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
  animation: float 6s ease-in-out infinite 1s;
}

.hero-shape-3 {
  animation: float 10s ease-in-out infinite 2s;
}

/* --- Loading Skeleton --- */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}
