/* Vanlı Boyacı - Kaliteli Animasyonlar */

/* Fade In Up - Hero ve başlıklar için */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In - Genel giriş */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scale In - Kartlar ve öğeler için */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Slide In Left - Yan giriş */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Float - Hafif yukarı aşağı hareket */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Shine - Buton hover efekti */
@keyframes shine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Pulse - Dikkat çekici öğeler */
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* Animasyon sınıfları */
.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Gecikme sınıfları */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }

/* Başlangıçta gizli - JS ile tetiklenir */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero özel animasyonlar */
.hero-title {
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-subtitle {
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.hero-buttons {
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

/* Feature kartları - stagger */
.feature-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.25s; }
.feature-card:nth-child(3) { animation-delay: 0.4s; }

/* Hover efektleri */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}

/* Buton animasyonu */
.btn-animate {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.btn-animate:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px -5px rgba(243, 146, 55, 0.4);
}

.btn-animate:active {
  transform: scale(0.98);
}

/* Header scroll efekti */
header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Galeri görsel animasyonu */
.gallery-image {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.08);
}

/* Mobil menü animasyonu */
#mobileMenu {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobileMenu:not(.hidden) {
  animation: fadeIn 0.3s ease forwards;
}

/* WhatsApp butonu */
.whatsapp-float {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}
