/* Animasyonlar - Optimized */
.section-animate {
  opacity: 0;
  transform: translateY(20px); /* 40px yerine 20px - daha az GPU kullanımı */
  transition: opacity 0.5s ease-out, transform 0.5s ease-out; /* cubic-bezier yerine ease-out - daha performanslı */
  will-change: opacity, transform; /* GPU optimizasyonu */
}
.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Kartlar - Optimized */
.card-modern, .post-entry, .product-item {
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); /* Daha hafif gölge */
  background: #fff;
  transition: box-shadow 0.2s ease-out; /* Sadece gölge animasyonu */
  overflow: hidden;
  will-change: box-shadow; /* GPU optimizasyonu */
}
.card-modern:hover, .post-entry:hover, .product-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1); /* Daha hafif hover gölgesi */
  /* transform kaldırıldı - performans için */
}

/* Görsel oranı sabitleme */
/*.card-img-ratio, .product-thumbnail, .post-thumbnail img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  border-radius: 12px 12px 0 0;
}*/

/* Hero başlık */
.hero-title-section {
  font-family: 'Poppins', Arial, sans-serif;
  padding: 2rem 0 1rem 0;
}
.hero-title-section h2, .hero-title-section h3 {
  font-weight: 800;
  letter-spacing: -1px;
}
.hero-title-section .category-underline {
  display: block;
  width: 60px;
  height: 4px;
  background: #198754;
  margin: 0.5rem auto 1rem auto;
  border-radius: 2px;
}

/* Boş durum mesajı */
.empty-state {
  background: #f8f9fa;
  border: 1.5px dashed #dee2e6;
  border-radius: 12px;
  padding: 2.5rem 1rem;
  color: #6c757d;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}
.empty-state i {
  font-size: 2.5rem;
  color: #adb5bd;
  margin-bottom: 1rem;
}

/* Butonlar - Optimized */
.btn-main {
  background: #198754;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  padding: 0.7rem 2.2rem;
  transition: background 0.2s ease-out; /* Sadece background animasyonu */
  box-shadow: 0 2px 4px rgba(25,135,84,0.1); /* Daha hafif gölge */
}
.btn-main:hover {
  background: #157347;
  color: #fff;
}

/* Breadcrumb hizalama */
.breadcrumb-row {
  margin-top: 0 !important;
  margin-bottom: 1.2rem !important;
}
.breadcrumb-row .breadcrumb {
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 0;
  background: transparent;
  font-size: 1.05rem;
}
.product-detail-section, .category-welcome {
  padding-top: 1.2rem !important;
  margin-top: 0 !important;
}

@media (max-width: 576px) {
  .breadcrumb-row {
    margin-top: 0 !important;
    margin-bottom: 1.8rem !important;
  }
  .breadcrumb-row .breadcrumb {
    font-size: 0.98rem;
  }
  .product-detail-section, .category-welcome {
    padding-top: 0.7rem !important;
  }
} 

/* Featured badge animasyonu - Optimized */
/*.category-featured .badge {
  animation: heartbeat 2s infinite ease-out;*/ /* Daha yavaş ve performanslı */
  /*transform-origin: center;
  will-change: transform;*/ /* GPU optimizasyonu */
/*}*/

.category-featured .badge {
    animation: heartbeat 1.5s infinite ease-in-out !important;
    transform-origin: center;
    will-change: transform;
}

@keyframes heartbeat {
  0% { 
    transform: scale(1); 
    opacity: 1;
  }
  14% { 
    transform: scale(1.1); 
    opacity: 0.9;
  }
  28% { 
    transform: scale(1); 
    opacity: 1;
  }
  42% { 
    transform: scale(1.15); 
    opacity: 0.9;
  }
  70% { 
    transform: scale(1); 
    opacity: 1;
  }
  100% { 
    transform: scale(1); 
    opacity: 1;
  }
}

/* Performans için ek optimizasyonlar */
@media (prefers-reduced-motion: reduce) {
  .section-animate,
  .card-modern,
  .btn-main,
  .category-featured .badge {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
} 