@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

* {
    font-family: 'Poppins', sans-serif;
}

.gradient-pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #be185d 100%);
}

.hero-pattern {
    background-color: #1f2937;
    background-image: radial-gradient(circle at 20% 50%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(219, 39, 119, 0.15) 0%, transparent 50%);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.3);
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

.animation-delay-800 {
    animation-delay: 0.8s;
}

.animation-delay-1000 {
    animation-delay: 1s;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-20px) translateX(10px);
    }
    66% {
        transform: translateY(10px) translateX(-10px);
    }
}

.smooth-scroll {
    scroll-behavior: smooth;
}

.flip-container {
    perspective: 1000px;
    height: 128px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.group:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 0.75rem;
    padding: 1rem;
}

.flip-card-front {
    background: transparent;
    color: #374151;
}

.flip-card-back {
    background: transparent;
    color: #1f2937;
    transform: rotateY(180deg);
}

/* Flip cards pour la page d'accueil */
.home-flip-container {
    perspective: 1000px;
    height: 128px;
}

.home-flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.group:hover .home-flip-card-inner {
    transform: rotateY(180deg);
}

/* Support pour mobile - flip au tap */
@media (max-width: 768px) {
    .home-flip-container {
        touch-action: manipulation;
    }
    
    .home-flip-card-inner.flipped {
        transform: rotateY(180deg);
    }
    
    /* Ajustements pour les cartes sur mobile */
    .home-flip-card-front,
    .home-flip-card-back {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    /* Espacement réduit sur mobile */
    .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .py-24 {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}

.home-flip-card-front,
.home-flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 0.75rem;
    padding: 1rem;
}

.home-flip-card-front {
    background: linear-gradient(to right, #ec4899, #a855f7);
    color: white;
}

.home-flip-card-back {
    background: linear-gradient(to right, #a855f7, #ec4899);
    color: white;
    transform: rotateY(180deg);
}

/* Styles spécifiques pour Pink'Marathon */
.marathon-flip-front {
    background: linear-gradient(to right, #f97316, #ef4444) !important;
}

.marathon-flip-back {
    background: linear-gradient(to right, #ef4444, #f97316) !important;
}

/* Styles spécifiques pour Pink'Volume */
.volume-flip-front {
    background: linear-gradient(135deg, #BF6FAA 0%, #3C4C59 100%) !important;
}

.volume-flip-back {
    background: linear-gradient(135deg, #3C4C59 0%, #BF6FAA 100%) !important;
}

/* Styles pour le carrousel */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 500px;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    display: none;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.carousel-slide.active {
    display: flex;
}

.carousel-slide img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 1rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    transition: background 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.carousel-btn.carousel-prev {
    left: 10px;
}

.carousel-btn.carousel-next {
    right: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-indicator.active {
    background: #ec4899;
}

