/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'New Rocker', cursive;
    background-color: #2b0000; /* Couleur de fond inspirée de bg-red-900 */
    color: white;
  }
  
  /* Container */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  
  /* Navigation */
  .nav {
    background-color: #b01010; /* bg-red-800 */
    padding: 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }
  .nav-link {
    margin: 0 1rem;
    font-size: 1.25rem;
    color: white;
    text-decoration: none;
  }
  .nav-link:hover {
    color: #b3b3b3;
  }
  
  /* Hero Section */
  .hero {
    text-align: center;
    padding: 5rem 1rem;
    background-color: #8b0000; /* bg-red-700 */
    margin-top: 100px; /* espace pour la nav fixée */
  }
  .hero-logo {
    margin-bottom: 2rem;
    height: 350px;
    width: 600px;
  }
  .hero-title {
    font-size: 3rem; /* Approximativement text-5xl */
    font-weight: bold;
    margin-bottom: 1rem;
  }
  .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
  .hero-image {
    
    max-width: 100%;
    width: auto;
  }
  @media (max-width:540px){
    .hero-logo{
      height: 200px;
      width: 350px;
    }
  }
  
  /* Section Titles */
  .section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
  }
  .section-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
  
  /* Présentation Section */
  .presentation {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 1rem;
    text-align: center;
  }
  .presentation-image {
    max-width: 100%;
    height: auto;
  }
  
  /* Événements Section */
  .section-title{
    text-align: center;
  }
  /* Conteneur qui reçoit tous les événements */
#event {
    display: flex;                   /* Affichage en ligne */
    flex-wrap: wrap;               /* Pas de retour à la ligne */
    justify-content: center;         /* Centrer les éléments horizontalement */
    gap: 120px;                       /* Espace entre chaque événement */
    padding: 20px;
  }
  
  /* Style de chaque événement */
  .event {
    display: flex;
    flex-direction: column;          /* Contenu en colonne */
    align-items: center;             /* Centrer les enfants horizontalement */
    width: 150px;                    /* Largeur fixe (adaptable) */
  }
  
  /* L'image de l'événement en mode rond */
  .event-image {
    width: 250px;                    /* Largeur de l'image */
    height: 250px;                   /* Hauteur de l'image */
    border-radius: 50%;              /* Forme complètement ronde */
    object-fit: cover;               /* Pour que l'image remplisse le cercle sans se déformer */
    margin-bottom: 10px;             /* Espace entre l'image et le texte */
    background-color: aliceblue;
    
    
  }
  
  /* Le titre de l'événement */
  .event-title {
    font-size: 1.2rem;
    margin: 0;
    margin-bottom: 5px;
    text-align: center;
  }
  
  /* La date de l'événement */
  .event-date {
    font-size: 1rem;
    margin: 0;
    color: #ccc;
    text-align: center;
  }
  
  
  /* Réseaux Sociaux Section */
  .social {
    background-color: #b01010;
    padding: 5rem 1rem;
    text-align: center;
  }
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
  }
  .social-link {
    font-size: 2rem;
    color: white;
    text-decoration: none;
  }
  .social-link:hover {
    color: #b3b3b3;
  }
  
  /* Contact Section */
  .contact {
    max-width: 600px;
    margin: 0 auto;
    padding: 5rem 1rem;
    text-align: center;
  }
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .form-group {
    text-align: left;
  }
  .form-group label {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: block;
  }
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #474747;
    border-radius: 5px;
    font-size: 1rem;
  }
  .btn-submit {
    background-color: #8a0000;
    border: none;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
  }
  .btn-submit:hover {
    background-color: #a00;
  }
  
  /* Footer */
  .footer {
    background-color: #b01010;
    padding: 1rem;
    text-align: center;
    margin-top: 2rem;
  }
  .footer p {
    font-size: 1rem;
  }
  
  /* Bouton Back to Top */
  .back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #000;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
    display: none;
  }
  .back-to-top:hover {
    background-color: #333;
  }
  .back-to-top:hover::after {
    content: 'Haut';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
  }
 
  #galerie-image{
    width: 150px;
    height: 150px;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  #ephemere {
    display: flex;
    justify-content: center;
    padding: 2rem;
    background-color: #2a0606; /* couleur de fond (foncé) */
  }
  
  .ephemere-event {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    width: 100%;
    gap: 1.5rem;
  }
  
  .ephemere-image {
    width: 250px;
    height: auto;
    border-radius: 50%;
  
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-right: 150px;
  }
  
  .ephemere-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #fff;
    text-align: justify;
    padding: 0 1rem;
  }
  
  /* Responsive : image à gauche et texte à droite sur grand écran */
  @media (min-width: 768px) {
    .ephemere-event {
      flex-direction: row;
      align-items: center;
    }
  
    .ephemere-image {
      margin-right: 2rem;
    }
  
    .ephemere-description {
      flex: 1;
      padding: 0;
    }
  }
  