/* CavaDeOro Premium Blog Animations */
/* Refined and elegant motion design */

/* Premium hover effects */
.blog-card {
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(198, 165, 124, 0.2);
  border-color: rgba(198, 165, 124, 0.4);
}

/* Image hover animation - Full Preview Fill */
.blog-card-image-container {
  overflow: hidden;
}

.blog-card-image {
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.blog-card:hover .blog-card-image {
  transform: scale(1.08); /* Consistent with other styles */
}

/* Button hover effects */
.category-pill,
.blog-cta-button {
  transition: all 0.3s ease;
}

.category-pill:hover,
.blog-cta-button:hover {
  transform: translateY(-2px);
}

/* Loading animation */
.blog-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Fade in animation */
.blog-card {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
