.swiper {
    width: 100%;
    height: 100vh;
  }
  
  .swiper-slide {
    position: relative;
    overflow: hidden;
  }
  
  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    color: white;
    z-index: 10;
  }
  
  .swiper-pagination-bullet {
    background: white !important;
    opacity: 0.7 !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 8px !important;
  }
  
  .swiper-pagination-bullet-active {
    background: #53d9068e !important;
    opacity: 1 !important;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    color: white !important;
    --swiper-navigation-size: 30px;
    --swiper-navigation-top-offset: 50%;
    --swiper-navigation-sides-offset: 30px;
  }

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Animation pour les cartes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.group {
    animation: fadeInUp 0.6s ease-out;
}

/* Animation de bounce pour le scroll indicator */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0) translateX(-50%);
        animation-timing-function: cubic-bezier(0.8,0,1,1);
    }
    50% {
        transform: translateY(-25%) translateX(-50%);
        animation-timing-function: cubic-bezier(0,0,0.2,1);
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* Améliorations pour les hover effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover\:scale-110 {
    transform: scale(1.10);
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:translate-x-1 {
    transform: translateX(0.25rem);
}

.group:hover .group-hover\:-translate-y-2 {
    transform: translateY(-0.5rem);
}

.group:hover .group-hover\:-translate-y-3 {
    transform: translateY(-0.75rem);
}

/* Transitions fluides */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive improvements */
@media (max-width: 640px) {
    .text-5xl.md\:text-7xl {
        font-size: 2.5rem;
    }
    
    .text-3xl.md\:text-4xl {
        font-size: 1.5rem;
    }
    
    .py-24 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Animation du bouton quand ajouté */
button.added {
  background-color: #22c55e !important; /* vert */
  color: white !important;
  transform: scale(1.05);
  transition: all 0.3s ease;
}