/* Animations personnalisées */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Classes d'animation */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-left {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: slideInFromRight 0.8s ease-out forwards;
}

.animate-pulse-slow {
    animation: pulse 2s ease-in-out infinite;
}

/* Styles personnalisés */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

/* Hover effects pour les cartes */
.event-card {
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Boutons avec effet de brillance */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-shine:hover::before {
    left: 100%;
}

/* Effet de parallaxe léger pour le hero */
.hero-parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-parallax {
        background-attachment: scroll;
    }
    
    .animate-fade-in {
        animation-duration: 0.6s;
    }
}

/* Loading animation pour les images */
.image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Effet de focus pour l'accessibilité */
button:focus,
a:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Animation pour les icônes */
.icon-bounce {
    transition: transform 0.3s ease;
}

.icon-bounce:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Effet de glassmorphism pour le header */
.glass-effect {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

/* Animation pour les statistiques */
.counter-animation {
    transition: all 0.3s ease;
}

.counter-animation:hover {
    transform: scale(1.05);
}

/* Effet de hover pour les liens du menu */
.menu-link {
    position: relative;
}

.menu-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.menu-link:hover::after {
    width: 100%;
}

/* Animation pour les cartes d'événements */
.event-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.event-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Styles spécifiques pour les cartes d'événements dynamiques */
.event-card-dynamic {
    background: white;
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    max-width: 420px;
    width: 100%;
    min-width: 280px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.event-card-dynamic:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.13);
}

.event-card-dynamic .event-image {
    height: 180px;
    min-height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.3s;
}

.event-card-dynamic .event-image .event-price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.event-card-dynamic .event-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.25rem 1.5rem 1.25rem;
}

.event-card-dynamic .event-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.event-card-dynamic .event-location {
    color: #64748b;
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-card-dynamic .event-info-secondary {
    color: #475569;
    font-size: 0.97rem;
    margin-bottom: 0.25rem;
}

.event-card-dynamic .event-info-secondary:last-child {
    margin-bottom: 1.1rem;
}

.event-card-dynamic .book-button {
    margin-top: auto;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 0.7rem;
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.10);
    transition: transform 0.2s, box-shadow 0.2s;
}

.event-card-dynamic .book-button:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.18);
}

.event-card-dynamic .book-button.available {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
}

.event-card-dynamic .book-button.available:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.event-card-dynamic .book-button.unavailable {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

.event-card-dynamic .book-button.unavailable:hover {
    transform: none;
    box-shadow: none;
}

/* États spéciaux pour les événements */
.event-card-dynamic.sold-out {
    opacity: 0.7;
}

.event-card-dynamic.sold-out::after {
    content: 'COMPLET';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    background: #ef4444;
    color: white;
    padding: 0.5rem 2rem;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    z-index: 10;
}

/* Animation de chargement */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Responsive pour les cartes d'événements */
@media (max-width: 768px) {
    .event-card-dynamic {
        max-width: 100%;
        min-width: 0;
        min-height: 420px;
    }
    .event-card-dynamic .event-image {
        height: 140px;
        min-height: 140px;
    }
    .event-card-dynamic .event-content {
        padding: 1rem 0.8rem 1.2rem 0.8rem;
    }
}

/* Effet de hover pour les boutons CTA */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Effet spécial pour le bouton événements */
.hero-cta-button {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
}

.hero-cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Animation de pulsation pour attirer l'attention */
@keyframes pulse-attention {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }
}

.hero-cta-button.pulse {
    animation: pulse-attention 2s infinite;
}

/* Notification WhatsApp */
.whatsapp-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border: 2px solid #25D366;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.whatsapp-notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #1a1a1a;
}

/* Animation pour le bouton WhatsApp */
.whatsapp-button {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.whatsapp-button:active {
    transform: translateY(0) scale(1.02);
}

/* Effet de brillance pour le bouton WhatsApp */
.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.whatsapp-button:hover::before {
    left: 100%;
}

/* Amélioration du centrage du carrousel */
.carousel-slide .absolute.inset-0.flex {
    padding: 0 1rem;
}

.carousel-slide .absolute.inset-0.flex > div {
    width: 100%;
    max-width: 500px;
}

/* Animation plus fluide pour le carrousel */
.carousel-slide {
    transition: opacity 0.8s ease-in-out;
}

/* Amélioration de la lisibilité du texte */
.carousel-slide h3 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-slide p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

/* Responsive pour le centrage parfait */
@media (max-width: 768px) {
    .carousel-slide .absolute.inset-0.flex {
        padding: 0 0.5rem;
    }
    
    .carousel-slide .absolute.inset-0.flex > div {
        max-width: 100%;
    }
}

/* Styles pour les indicateurs actifs du carrousel */
.carousel-indicator.active {
    background-color: white !important;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Effet de survol pour les boutons de navigation */
#carousel-prev:hover,
#carousel-next:hover {
    background: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-50%) scale(1.1);
}

/* Animation pour les indicateurs au survol */
.carousel-indicator:hover {
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

/* Responsive pour le carrousel */
@media (max-width: 768px) {
    #carousel-prev,
    #carousel-next {
        padding: 0.5rem !important;
    }
    
    #carousel-prev i,
    #carousel-next i {
        font-size: 1rem !important;
    }
    
    .carousel-slide .absolute.bottom-6.left-6 {
        bottom: 1rem !important;
        left: 1rem !important;
        right: 1rem !important;
    }
    
    .carousel-slide h3 {
        font-size: 1.25rem !important;
    }
    
    .carousel-slide p {
        font-size: 0.875rem !important;
    }
}

/* Styles pour les boutons de nationalités */
.nationality-button {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.nationality-button:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.nationality-button:active {
    transform: translateY(0) scale(1.02);
}

/* Effet de brillance pour les boutons de nationalités */
.nationality-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.nationality-button:hover::before {
    left: 100%;
}

/* Animation pour le bouton cliqué */
.nationality-button.button-clicked {
    animation: buttonPulse 0.5s ease;
}

@keyframes buttonPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive pour les boutons de nationalités */
@media (max-width: 768px) {
    .nationality-button {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.875rem !important;
        margin: 0.25rem !important;
    }
    
    #nationality-buttons {
        gap: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .nationality-button {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
        margin: 0.125rem !important;
    }
    
    #nationality-buttons {
        gap: 0.25rem !important;
    }
}

/* Nationality minimal design */
.nationality-minimal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.nationality-minimal .nationality-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  margin: 0 1rem 1rem 1rem;
  transition: color 0.2s;
}
.nationality-minimal .nationality-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nationality-minimal .nationality-flag {
  font-size: 2rem;
  transition: color 0.2s;
}
.nationality-minimal .nationality-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: #1e293b;
  transition: color 0.2s;
}
.nationality-minimal .nationality-line {
  width: 48px;
  height: 2px;
  background: #e5e7eb;
  margin-top: 0.5rem;
  border-radius: 1px;
  transition: background 0.2s;
}
.nationality-minimal .nationality-item:hover .nationality-flag,
.nationality-minimal .nationality-item:hover .nationality-label {
  color: #3b82f6;
}
.nationality-minimal .nationality-item:hover .nationality-line {
  background: #3b82f6;
}
@media (max-width: 600px) {
  .nationality-minimal {
    gap: 1rem;
  }
  .nationality-minimal .nationality-item {
    margin: 0 0.5rem 1rem 0.5rem;
  }
  .nationality-minimal .nationality-label {
    font-size: 1rem;
  }
  .nationality-minimal .nationality-flag {
    font-size: 1.5rem;
  }
  .nationality-minimal .nationality-line {
    width: 32px;
  }
}

/* Animation pour le logo */
.logo-animation {
    transition: transform 0.3s ease;
}

.logo-animation:hover {
    transform: rotate(360deg);
}

/* Styles pour les sections avec espacement optimal */
.section-spacing {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .section-spacing {
        padding: 2rem 0;
    }
}

/* Effet de gradient animé pour les titres */
.gradient-animated {
    background: linear-gradient(-45deg, #3b82f6, #8b5cf6, #06b6d4, #3b82f6);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
} 

.car-filter-field {
  height: 48px;
  min-height: 48px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  box-sizing: border-box;
}

/* Styles pour les boutons de langue - désactive la rotation */
.lang-btn {
  transition: transform 0.2s ease !important;
}

.lang-btn:hover {
  transform: scale(1.1) !important;
}

/* Force la suppression de toute rotation */
.lang-btn,
.lang-btn:hover,
.lang-btn:focus,
.lang-btn:active {
  transform: scale(1.1) !important;
  transform-origin: center !important;
}

/* Désactive la rotation de .icon-bounce pour les boutons de langue */
.lang-btn.icon-bounce,
.lang-btn.icon-bounce:hover {
  transform: scale(1.1) !important;
}

/* Force la suppression de toute rotation pour les drapeaux */
button[id^="lang-"] {
  transform: scale(1.1) !important;
}

button[id^="lang-"]:hover {
  transform: scale(1.1) !important;
}

/* Supprime toute rotation des emojis drapeaux */
button[id^="lang-"]::before,
button[id^="lang-"]::after {
  transform: none !important;
}

/* Force la suppression de toute rotation pour les emojis drapeaux */
button[id^="lang-"] * {
  transform: none !important;
}

/* Règle ultime pour supprimer toute rotation */
button[id^="lang-"] {
  transform: scale(1.1) !important;
  transform-style: flat !important;
}

button[id^="lang-"]:hover {
  transform: scale(1.1) !important;
  transform-style: flat !important;
}

/* Supprime toute animation sur les boutons de langue */
button[id^="lang-"] {
  animation: none !important;
  transition: transform 0.2s ease !important;
} 