@import url('https://fonts.googleapis.com/css2?family=Yrsa:ital,wght@0,300..700;1,300..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&family=Yrsa:ital,wght@0,300..700;1,300..700&display=swap');



* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    scroll-behavior: smooth;

}
html, body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden; /* Empêche seulement le défilement horizontal */
}
body, h1,  h3, h4, h5, h5{
        font-family: "Work Sans";
        color: white;
}
body, h3, h4, h5, h5{
 
        color: white;
}
h1{
    color:black;
}


.top-left-text {
  position: absolute;
  top: 20vh;       /* pour descendre de 20% de la hauteur */
  left: 2rem;      /* à gauche */
  width: 30%;
  /* margin-left: -50%;  <-- supprimer cette ligne */.scroll-arrow {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  font-size: 5rem;
  color: #fff;
  opacity: 0;
  transition: all 0.5s ease;
  animation: bounce 2s infinite;
  cursor: pointer;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-40px);
  }
  60% {
    transform: translateX(-50%) translateY(-20px);
  }
}.scroll-arrow {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  font-size: 5rem;
  color: #fff;
  opacity: 0;
  transition: all 0.5s ease;
  animation: bounce 2s infinite;
  cursor: pointer;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-40px);
  }
  60% {
    transform: translateX(-50%) translateY(-20px);
  }
}
  margin-left: 10%;
}





.ml2 {
  font-weight: 900;
  font-size: 3.5em;
}

.ml2 .letter {
  display: inline-block;
  line-height: 1em;
}



.center-text {
  display: none;
  display: flex;
  justify-content: center;  /* centre horizontalement */
  align-items: center;      /* centre verticalement */
  height: 100vh;            /* plein écran vertical */
  width: 100vw;             /* plein écran horizontal */
  
}

.ml15 {
  font-size: 5rem;          /* taille du texte */
  white-space: nowrap;      /* pour ne pas casser les mots */
  color:black;
}

.word {
  display: inline-block;
  margin-right: 3em;        /* espace entre les mots */
    color:black;

}

.word:last-child {
  margin-right: 0;          /* pas d’espace après le dernier mot */
  color:black;
}













/* PORTAIL */
.portal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  overflow: hidden;
}

.door {
  flex: 1;
  transition: transform 1.5s ease-in-out;
  background: linear-gradient(135deg, #ff0066, #ffcc00);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.left-door {
  transform: translateX(0%);
}

.right-door {
  transform: translateX(0%);
}

.intro-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  font-size: 2rem;
  color: #fff;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* CONTENU DU SITE */
#site-content {
  display: none;
  min-height: 100vh;
  background: #111;
  position: relative;
  overflow: hidden;
}  

 @keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
} 


/* Faire disparaitre nav au scroll et reapparaitre */
 nav.hidden {
  transform: translateY(-100%);
} 



header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  font-family: "Work Sans";
}
/*  */
.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: black;
  user-select: none;
  margin-right: auto;
}

/* Le menu classique desktop */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  z-index: 9999;
  margin-left: auto;
}
.nav-links li a {
  color: black;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

/* Soulignement animé */
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: black;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  background: black;
  height: 3px;
  border-radius: 3px;
  position: absolute;
  width: 100%;
  transition: all 0.3s ease;
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger::before {
  top: -10px;
}

.hamburger::after {
  top: 10px;
}

/* Animation du hamburger quand ouvert */
.nav-toggle.open .hamburger {
  background: transparent;
}

.nav-toggle.open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.open .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Responsive - on cache le menu et on affiche hamburger */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #5212be;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 1000;
    overflow: hidden;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links li a {
    font-size: 2rem;
  }
}










.scroll-arrow {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  font-size: 3rem;
  color: #fff;
  opacity: 1;
  transition: all 0.5s ease;
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-30px);
  }
  60% {
    transform: translateX(-50%) translateY(-15px);
  }
}











#accueil h1 {
    top: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    margin: 2rem;
    animation: fadeUp 1s ease forwards;
    color: rgb(238, 255, 0);
    z-index: 2;
    position: relative;

}


/* Structure des sections principales */
/* Structure de page */
#site-content, #intro-text {
 
  height: 110vh;
  box-sizing: border-box;
 
}


#site-content {
  display: block; /* ou contrôlé en JS si besoin d'un portail */
  min-height: 100vh;
  background: #111;
  position: relative;
  overflow: visible; /* ← corrige le scroll */
  z-index:-5;
}


#intro-text {
  background-color: #5212be;
  padding: 2rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  position: relative;
  overflow: hidden;
}

/* Vague de transition */
.wave-transition {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    overflow: hidden;
    line-height: 0;
    transform: translateY(1px);
    z-index: 2;
}

.wave-transition svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Styles spécifiques pour la vague du hero */
#hero {
    position: relative;
    overflow: hidden;
}

#hero .wave-transition {
    z-index: 10;
}

/* Styles spécifiques pour la vague de l'intro-text */
#intro-text {
    position: relative;
    overflow: hidden;
}

#intro-text .wave-transition.bottom-wave {
    z-index: 20;
}

.blob-container {
  position: relative;
  width: 70vw;    /* 50% de la largeur de la fenêtre */
  height: 50vh;   /* même hauteur pour garder un carré */
  margin-bottom: 50%;
  z-index: 1;
}

.blob-svg {
    width: 100%;
    height: 100%;
    
}
.blob-text h3{
    font-size: 4.5rem;
    
}
.blob-text p{
    font-size: 1.6rem;
    margin-top: 50px;
}
.blob-text {
  position: absolute;
  top: 140%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 1rem;
  font-family: 'Poppins', sans-serif;
  width:800px;

}

    .btn-see-more-overflow {
        padding: 10px 20px;
        font-size: 0.9em;
    }









.note-moyenne {
    font-weight: bold;
    margin: 0.5rem 0;
    color: #ffb400;
}

.etoiles {
    display: flex;
    gap: 4px;
    margin-top: 0.3rem;
    margin: 5px;
}

.etoile {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #ffc107;
    cursor: pointer;
    transition: transform 0.2s;
}

.etoile:hover {
    transform: scale(1.2);
}









/* Reset et base */



#presentation{
    background-color: white;
    
    margin:0;
}
#vfond {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(70%);
}

.campaign-section {
    background: #5212be;
    
    margin:  0;
    padding: 0;
    text-align: center;
}

.campaign-content {
    max-width: 800px;
    margin: 0 auto;
}

.tagline {
    font-size: 1.3rem;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    margin: 20px 0;
}

.campaign-highlights {
    text-align: left;
    display: inline-block;
    margin: 25px auto;
    list-style-type: none;
}

.campaign-highlights li {
    margin: 15px 0;
    font-size: 1.1rem;
    color: #fff;
}

.campaign-quote {
    font-style: italic;
    color: #ffd700;
    border-left: 3px solid #ffd700;
    padding-left: 20px;
    margin: 30px auto;
    max-width: 600px;
}

.campaign-quote cite {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: white;
}
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: rgb(0, 0, 0);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Header */
header {
    background-color: rgba(247, 202, 20, 0);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 1200px;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-list {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.nav-list li {
    flex: 1;
    text-align: center;
    min-width: max-content;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    transition: color 0.3s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    display: inline-block;
    padding: 10px 5px;
    width: 100%;
}

.nav-list a:hover {
    color: #ffd700;
}

/* Sections */
section {
    width: 100%;
    margin-top: 50px;
    padding: 20px;
}

/* Hero section */
#hero {
    height: 100vh;
  
    align-items: center;
    justify-content: center;
    position: relative;
    
    margin:0;
    
}



.animated-title {
    color: #f7c914;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 20px;
    background:white;
}

.text-top span {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: bold;
    animation: fadeIn 1s ease-in-out;
    margin-bottom: 1rem;
}

.text-bottom div {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    animation: fadeIn 1.5s ease-in-out;
}






/* Features section */
.presentation-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}


.features {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.feature-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.5;
}

/* Hide scrollbar */
.features::-webkit-scrollbar {
    display: none;
}

/* Recommendation section */
#reco {
    margin:0;
    padding-bottom: 50px;
    background-color : white;
}

.reco-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1500px;
    margin: 0 auto;
}

.reco-content img {
    flex: 1 1 400px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.background-box {
  width: 600px;
  height:456px;
  background-image: url('gauche.svg');
  background-size: cover;        /* Redimensionne pour remplir la div */
  background-position: center;   /* Centre l'image */
  background-repeat: no-repeat;  /* Empêche la répétition */
  color: white;                  /* Pour que le texte soit lisible */
  display: flex;
  align-items: center;
  justify-content: center;
  margin:10px;
}

/* Button */
.btn-container {
    margin: 30px 0;
    text-align: center;
}

.btn {
    display: inline-block;
    background-color: #ffffff;
    color: #000;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    border: solid 2px #000;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #FFDB00;
    color: #000000;
    transform: translateY(-2px);
}

/* Footer */
footer {
    position: relative;
    width: 100%;
    background: #295FFF;
    color: #000;
    padding: 40px 0;
    text-align: center;
    margin-top: 8rem;
    z-index: 12;
}

.footer-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 11;
    object-fit: cover;
    display: block;
}

.footer-content {
    position: relative;
    z-index: 13;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #000000;
}

.footer-section ul {
    list-style-type: none;
}

.footer-section a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ffd700;
}

.copyright {
    position: relative;
    z-index: 13;
    margin-top: 20px;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.copyright p {
    display: inline-block;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.scroll-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  color: #fff;
  animation: bounce 2s infinite;
  z-index: 1001;
  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-30px) translateX(-50%);
  }
  60% {
    transform: translateY(-15px) translateX(-50%);
  }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section title */
.section-title {
    color: #000B4B;
    margin-left: 30px;
    margin-bottom: 30px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: white;
}

.event-title {
    margin-top: 0;
    color: white;
}

.event-date {
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
}

.event-lieu {
    color: white;
    margin-bottom: 15px;
}

.event-description {
    color: white;
    margin-bottom: 15px;
    line-height: 1.5;
}

.note-moyenne {
    margin-bottom: 15px;
    color: white;
}

.campaign-quote {
    color: white;
    font-style: italic;
    text-align: center;
    margin: 30px 0;
    font-size: 1.2rem;
}

.campaign-quote cite {
    display: block;
    margin-top: 10px;
    color: white;
    font-size: 0.9rem;
}

.tagline {
    color: white;
    font-size: 1.2rem;
    text-align: center;
    margin: 20px 0;
    font-weight: 500;
}

.campaign-highlights li {
    color: white;
    margin-bottom: 10px;
}

.recette-mois h2 {
    color: black;
    margin-top: 0;
}

.recette-mois h3 {
    color: black;
    margin-top: 20px;
}

.recette-mois .description {
    color: black;
    font-style: italic;
}

.recette-mois ol li {
    color: black;
    margin-bottom: 8px;
}

.no-reservations h2 {
    color: black;
}

.no-reservations p {
    color: black;
}


.boule-gauche, .boule-droite {
    position: relative;
    transition: transform 0.3s ease;
}
.boule-gauche{
    margin-bottom:8%;
    margin-right:5%;
}
.boule-droite{
    margin-top:8%;
    margin-left:25%;
}
.boule-gauche:hover, .boule-droite:hover {
    transform: scale(1.05) ;
}


.boule-texte {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000B4B;
    font-size: 2rem;
    text-align: center;
    z-index: 1;
}





/* Desktop version */
@media (min-width: 1024px) {
    .features {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: hidden;
    }
    
    .feature-card {
        flex: 0 0 calc(33.333% - 30px);
    }
    
    .nav-list {
        justify-content: space-around;
    }
}

/* Styles pour la page Mon Compte */
.profile-section {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.profile-section form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.account-links {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.account-links h2 {
    margin-bottom: 1rem;
    color: #333;
}

.account-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-links li {
    margin-bottom: 0.5rem;
}

.account-links a {
    color: #007bff;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.account-links a:hover {
    color: #0056b3;
}

/* Cartes d'événements */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px auto;
    max-width: 1400px;
    padding: 0 20px;
}

.event-card {
    background: rgb(255, 255, 255);
    border-radius: 25px;
    box-shadow: 10 0px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    
    border: 3px solid #000;
    backdrop-filter: blur(10px);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary-color);
}

.event-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
   
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

.event-content {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: black;
    position: relative;
    padding-bottom: 10px;
}

.event-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.event-card:hover .event-title::after {
    width: 100px;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: black;
    font-weight: 600;
    margin-bottom: 10px;
}



.event-lieu {
    display: flex;
    align-items: center;
    gap: 8px;
    color: black;
    margin-bottom: 15px;
}



.event-description {
    color:rgb(22, 22, 22);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.note-moyenne {
    display: flex;
    align-items: center;
    gap: 5px;
    color: black;
    font-weight: 600;
    margin-bottom: 15px;
}



.alcohol-warning {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alcohol-warning::before {
    content: "⚠️";
}

.btn-inscription {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: rgb(255, 255, 255);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #000;
    cursor: pointer;
    gap: 8px;
}

.btn-inscription:hover {
    background: #FFDB00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-inscription::after {
    content: "→";
    transition: transform 0.3s ease;
}

.btn-inscription:hover::after {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .event-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .event-image {
        height: 200px;
    }

    .event-content {
        padding: 15px;
    }
}

.newsletter-form {
    margin-top: 1rem;
}

.newsletter-form .form-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.5rem;
    border: 2px solid #000B4B;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    border-color: #5212be;
}

.btn-newsletter {
    padding: 0.5rem 1rem;
    background-color: #5212be;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-newsletter:hover {
    background-color: #000B4B;
    transform: translateY(-2px);
}

.newsletter-message {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.newsletter-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.newsletter-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}