
p {
  margin: 25px;
  font-size: 16px;
  text-align: center;
}

h1,
h2 {
  font-family: 'Mainstay', sans-serif;
  font-size: 24px;
  margin-bottom: 1rem;
}

h1 {
  text-align: center;
}

h2 {
  text-align: left;
  padding-left: 30px;
}

h3 {
  font-family: 'Mainstay', sans-serif;
  font-size: 36px;
  text-align: center;
  color: #f4631e;
}

/* ====================================
   COLORS
==================================== */

/* Color-themed section IDs */
#trailer,
#regles {
  color: #309898;
}

#avis,
#trailer1,
#contacter {
  color: #cb0404;
}

#newsletter {
  color: #f4631e;
}

/* Separator line */
.ligne {
  border: none;
  height: 3.5px;
  margin: 10px 0;
}

/* Background color utility classes */
.bleu {
  background-color: #309898;
}

.jaune {
  background-color: #ff9f00;
}

.orange {
  background-color: #f4631e;
}

.rouge {
  background-color: #cb0404;
}

.marron {
  background-color: #521c0d;
}


/* ====================================
   HEADER
==================================== */
.main-header {
  background-color: #521c0d;
  position: relative;
  z-index: 1;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo_mobile img {
  height: 75px;
}

.logo_desktop {
  display: none;
}

.menu-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 15px;
  display: flex;
  align-items: center;
}


/* --- Account Links --- */
.account-links {
  position: absolute;
  top: 15px;
  right: 20px;
  display: flex;
  gap: 1rem;
}

.account-links a {
  font-family: 'libel_suit', Arial, sans-serif;
  color: white;
  text-decoration: none;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.account-links a:hover {
  color: #f4631e;
}

.account-links a img.icon {
  width: 24px;
  height: 24px;
}

/* --- Header Divider SVG --- */
.header-divider {
  position: relative;
  z-index: 0;
  line-height: 0;
  margin-top: -255px;
}

.header-divider svg {
  width: 100%;
  height: 500px;
}

/* ====================================
   NAVIGATION
==================================== */
.main-nav {
  display: none;
  margin-top: 100px;
  text-align: center;
}

.main-nav.active {
  display: block;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: -125px;
}

.main-nav ul li {
  margin: 20px 0;
}

.main-nav ul li a {
  font-family: 'libel_suit', Arial, sans-serif;
  color: white;
  text-decoration: none;
  font-size: 24px;
}

.image-container-overlay {
  position: relative;
  max-width: 375px;
  margin: 30px auto;
  border-radius: 10px;
  overflow: hidden;
}

.image-container-overlay img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 20px;
  width: 90%;
  border-radius: 10px;
  box-sizing: border-box;
}

.overlay-content img.overlay-logo {
  max-width: 150px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.overlay-content p {
  font-family: 'libel_suit', Arial, sans-serif;
  font-size: 24px;
  margin: 10px 0 20px;
  font-weight: bold;
}

.overlay-content button {
  padding: 10px 25px;
  margin: 0 10px;
  font-family: 'libel_suit', Arial, sans-serif;
  font-size: 16px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: #309898;
  color: white;
}

.btn-primary:hover {
  background-color: #277e7e;
}

.btn-secondary {
  background-color: #f4631e;
  color: white;
}

.btn-secondary:hover {
  background-color: #d94f11;
}

.below-texts {
  margin: 20px auto;
  text-align: center;
  font-family: 'libel_suit', Arial, sans-serif;
  color: #000000;
}

.below-texts p {
  margin: 10px 0;
  font-size: 16px;
}

.contact-section {
  max-width: 600px;
  margin: 40px auto;
  text-align: center;
  font-family: 'libel_suit', Arial, sans-serif;
  color: #333;
  padding: 20px;
}

.contact-image {
  width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 10px;
}

.contact-texts p {
  margin: 10px 0;
  font-size: 18px;
}

input::placeholder {
  color: #ff9f00; /* Choisis ici ta couleur, par ex. gris clair */
  opacity: 1;  /* Assure que la couleur ne soit pas atténuée */
  font-style: italic; /* Optionnel : ajoute du style */
}

/* ====================================
   INTRO
==================================== */
.intro {
  text-align: center;
  margin-top: -200px;
}

.intro-svg {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.intro-svg img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
}

.horaires {
  margin-top: 50px;
}
/* Conteneur principal */
.form-container {
  max-width: 400px;
  width: 100%;
  margin: 50px auto;
  padding: 30px 25px;
  background-color: rgba(82, 28, 13, 0.8); 
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  font-family: 'libel_suit', Arial, sans-serif;
}

/* Titre */
.brand-logo h2 {
  text-align: center;
  color: #ffffff;
  margin-bottom: 25px;
}

/* Contrôles du formulaire */
.form-container label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #ffffff;
}

.form-container input {
  width: 85%;
  padding: 10px 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-container input:focus {
  border-color: #309898;
  outline: none;
}

/* Bouton */
.form-control_submit-connect button {
  width: 100%;
  padding: 12px;
  background-color: #309898;
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-control_submit button {
  width: 100%;
  padding: 12px;
  background-color: #cb0404;
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Lien vers la connexion */
.link_to_connexion {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.link_to_connexion a.go_to_link {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.link_to_connexion a.go_to_link:hover {
  text-decoration: underline;
}

/* Messages d'erreur */
.form-errors {
  background-color: #ffe6e6;
  color: #cc0000;
  border: 1px solid #cc0000;
  padding: 12px;
  border-radius: 6px;
  margin-top: 20px;
  font-size: 14px;
}

.brand-logo h2 {
  padding: 0px;
}


/* ====================================
   FOOTER
==================================== */
.main-footer {
  background-color: #521c0d;
  color: white;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  height: 245px;
  margin-top: -250px;
  padding: 1rem;
}

.footer-section {
  text-align: center;
  z-index: 1;
}

.footer-section h5 {
  font-size: 24px;
  margin-bottom: 25px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  font-size: 16px;
  color: white;
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

.footer-section ul li a:hover {
  text-decoration: underline;
}


/* --- Footer Divider --- */
.footer-divider {
  position: relative;
  line-height: 0;
  margin-bottom: -150px;
  z-index: 0;
}

.footer-divider svg {
  width: 100%;
  height: 500px;
  margin-top: -150px;
}


/* ====================================
   NEWSLETTER BUTTON
==================================== */
.newsletter-button {
  margin-top: 1.5rem;
}

.btn-newsletter {
  display: inline-block;
  background-color: #f4e7e1;
  color: #f4631e;
  padding: 10px 20px;
  font-family: 'libel_suit', Arial, sans-serif;
  font-size: 16px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* ====================================
   SOCIAL / MAP
==================================== */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.social-links a {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links img {
  width: 30px;
  height: 30px;
}

.social-links a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.localisation iframe {
  width: 85%;
  height: 400px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto;
}


/* ====================================
   AUTRES
==================================== */

.avis-header {
  display: flex;
  justify-content: space-between; /* titre à gauche, bouton à droite */
  align-items: center;
  padding: 0 30px;
  max-width: 600px;
  margin: 0 auto 20px;
}

.avis-header h2 {
  padding-left: 0px;
}

.btn-voir-plus {
  background-color: #cb0404;
  color: white;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 15px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

address {
  margin: 25px;
  text-align: center;
}

.aprevoir {
  padding: 2rem;
  margin: 2rem auto;
}

.aprevoir ul {
  list-style: none;
  padding: 0;
}

.aprevoir li {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.end-svg {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.end-svg img {
  width: 200px;
  max-width: 100%;
  object-fit: contain;
}

.avis-box {
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 10px;
  background-color: #521c0d;
  max-width: 375px;
  margin: 10px auto; /* auto à gauche et à droite pour centrer */
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  color: white; /* optionnel pour un bon contraste avec le fond sombre */
  text-align: center; /* optionnel : centre le texte aussi */
}


.avis-box p {
  margin: 5px 0;
  font-family: 'libel_suit', Arial, sans-serif;
  color: #fff;
  font-size: 16px;
}


.avis-button-container {
  margin-top: 30px; /* espace entre avis et bouton */
  text-align: center;
}

.avis-button {
  background-color: #ff9f00;
  color: #ffffff;
  border: none;
  padding: 10px 50px;
  font-size: 16px;
  font-family: 'libel_suit', Arial, sans-serif;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.avis-button:hover {
  background-color: rgb(214, 142, 34);
}

.newsletter-section {
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  margin-top: 40px;
}

.newsletter-button-container {
  margin-top: 15px;
}

.newsletter-button-contenu {
  padding: 12px 25px;
  background-color: #309898;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.contenu ul{
  text-align: center;
  list-style: none;
  padding: 10px;
}

/* ====================================
   DISPLAY UTILITIES
==================================== */
.desktop-only { display: none; }
.mobile-only  { display: block; }


/* ====================================
   RESPONSIVE (>= 768px)
==================================== */
@media (min-width: 768px) {

  .image-container-overlay {
    max-width: 90%;
    
  }

  .aprevoir h1 {
    text-align: left;
  }

  .avis-header {
    max-width: none;
  }

  .localisation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    gap: 40px;
  }
  
  .localisation-texte {
    max-width: 45%;
  }
   
  .localisation-texte address {
    font-style: normal;
    font-size: 24px;
    line-height: 1.5;
    text-align: center;
  }
  
  .map-container {
    flex: 1;
    max-width: 45%;
    overflow: hidden;
  }
  

  /* Typography */
  p {
    font-size: 24px;
  }

  .contenu ul {
    font-size: 24px;
    list-style-type: none;  /* enlève les points */
    padding-left: 0;        /* enlève le retrait à gauche */
    text-align: center;     /* centre le texte */
  }
  

  h1, h2 {
    font-family: 'Mainstay', sans-serif;
    font-size: 36px;
    margin-bottom: 1rem;
  }
  
  h1 {
    text-align: center;
  }
  
  h2 {
    text-align: left;
    padding-left: 30px;
  }
  
  h3 {
    font-family: 'Mainstay', sans-serif;
    text-align: center;
    font-size: 48px;
    color: #f4631e;
  }

  /* Custom Section Color */
  #concept {
    color: #f4631e;
  }

  /* Header / Divider */
  .header-divider {
    margin-top: -425px;
  }

  .header-divider svg {
    height: 800px;
  }

  .footer-divider svg {
    height: 650px;
  }

  /* Logos & Nav */
  .logo_mobile { display: none; }
  .logo_desktop {
    display: inline-block;
    height: 70px;
    padding: 15px;
  }

  .menu-button { display: none; }

  .main-nav {
    display: block !important;
    margin-top: 0;
  }

  .main-nav ul {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 0;
  }

  .main-nav ul li {
    margin: 0;
  }

  /* Utility Classes */
  .desktop-only { display: flex; }
  .mobile-only  { display: none; }

  /* Account Links */
  .account-links {
    top: 20px;
    right: 30px;
  }

  /* Intro */
  .intro-svg {
    display: none;
  }

  /* Footer */
  .main-footer {
    padding: 30px 60px;
    justify-content: space-around;
    align-items: flex-start;
    gap: 30px;
    height: auto;
  }

  .footer-divider svg {
    width: 100%;
    height: 500px;
    margin-top: 200px;
  }

  .footer-section h5 {
    font-size: 36px;
    margin-bottom: 50px;
  }

  .footer-section ul li {
    margin-bottom: 10px;
  }

  .footer-section ul li a {
    font-size: 24px;
  }

  .btn-newsletter {
    font-size: 18px;
    padding: 10px 24px;
  }

  .avis-liste {
    display: flex;
    gap: 20px; /* espace entre les avis */
    flex-wrap: nowrap; /* empêche le retour à la ligne */
    overflow-x: auto; /* si ça déborde, scroll horizontal */
  }
  
  .avis-box {
    background-color: #521c0d;
    padding: 15px;
    border-radius: 8px;
    min-width: 250px; /* largeur minimum pour chaque bloc */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
}


.messagerie-title {
  text-align: center;
  font-size: 36px;
  color: #f15a1f;
  font-family: 'Brush Script MT', cursive;
  margin: 30px 0;
}

.message-box {
  max-width: 700px;
  margin: 0 auto;
  background-color: #ffe4d9;
  border-radius: 20px;
  border: 2px solid #98c9c2;
  padding: 20px;
}

.new-message-btn {
  background-color: #309797;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 20px;
  width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ccc;
}

.action-btn {
  background-color: #309797;
  color: white;
  border: none;
  padding: 6px 12px;
  margin-right: 5px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
}

.action-btn.delete {
  background-color: #50c0c0;
}

/* Conteneur principal */
.messagerie-box {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #fafafa;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Colonne de gauche (si tu prévois d'ajouter une colonne droite) */
.left-content {
  width: 100%;
}

/* Liste de messages */
.messages_list {
  margin-top: 10px;
}

/* Style quand il n'y a aucun message */
.messages_list.empty {
  text-align: center;
  font-style: italic;
  color: #888;
}

/* Tableau des messages */
.messages_list table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.messages_list th, .messages_list td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

/* En-têtes du tableau */
.messages_list th {
  background-color: #f5f5f5;
  font-weight: bold;
  color: #333;
}

/* Lignes non lues */
.messages_list tr.unread {
  background-color: #eef6ff;
  font-weight: bold;
}

/* Lignes lues */
.messages_list tr.read {
  background-color: #fff;
}

/* Boutons d'action */
.action-buttons {
  display: flex;
  gap: 10px;
}

.action-button_view,
.action-button_delete {
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

/* Voir */
.action-button_view {
  background-color: #309898;
  color: white;
}




/* Conteneur principal de la vue message */
.view_message_container {
  max-width: 800px;
  margin: 40px auto;
  padding: 24px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #fdfdfd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Détails du message sur une seule ligne */
.message_details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between; /* ✅ Centre les éléments horizontalement */
  gap: 24px;
  margin-bottom: 16px;
}

.message_details p {
  font-size: 16px;
  color: #333;
  white-space: nowrap;
}

/* Bloc de contenu du message */
.message_content {
  flex-basis: 100%;
  /* white-space: pre-wrap; */
  color: #444;
  max-width: 700px;      /* limite la largeur pour garder une bonne lisibilité */
  margin: 0 auto;        /* ✅ centre horizontalement */
  padding: 16px;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  line-height: 1.6;
  font-size: 15px;
}


/* Boutons d'action */
.action-buttons {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center; /* ✅ Centre les boutons horizontalement */
}

.action-button_back,
.action-button_delete {
  display: inline-block;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
  color: white;
  transition: background-color 0.3s ease;
}


/* Bouton retour */
.action-button_back {
  background-color: #309898;
}

/* Bouton supprimer */
.action-button_delete {
  background-color: #cb0404;
}
