/* ======== Style global ======== */
body {
  background-color: #1e1e2e;
  font-family: 'Arial', sans-serif;
  color: #ffffff;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ======== Navigation ======== */
nav {
  background-color: #252537;
  padding: 15px 0;
  text-align: center;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 1000;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 10px 20px;
  margin: 5px;
  font-weight: bold;
  transition: color 0.3s ease-in-out;
}

nav a:hover, nav a.active {
  color: #ff9f43;
}

/* Menu burger pour mobile */
.menu-toggle {
  display: none;
  cursor: pointer;
  position: fixed;
  top: 15px;
  left: 15px;
  font-size: 2em;
  color: #ffffff;
  background: #252537;
  padding: 10px;
  border-radius: 5px;
  z-index: 2000;
}

@media (max-width: 768px) {
  .menu-toggle {
      display: block;
  }
  
  nav {
      flex-direction: column;
      align-items: flex-start;
      display: none;
      background-color: #252537;
      width: 100%;
      top: 50px;
      left: 0;
      padding-top: 60px;
  }

  nav.active {
      display: flex;
  }

  nav a {
      width: 100%;
      text-align: left;
      padding: 15px;
      display: block;
  }
}

/* ======== Contenu principal ======== */
main {
  margin-top: 80px;
  padding: 40px;
  text-align: center;
  flex-grow: 1;
  background: linear-gradient(to bottom, #1e1e2e, #252537);
}

h1 {
  font-size: 2.5em;
  color: #ff9f43;
  margin-bottom: 20px;
}

p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #dcdcdc;
}

/* ======== Formulaire de contact ======== */
#Contact {
  display: flex;
  flex-direction: column; /* Garde les éléments en colonne */
  align-items: center; /* Centre horizontalement */
  justify-content: center; /* Centre verticalement si la hauteur est définie */
  text-align: center;
  height: 100vh; /* Facultatif : ajuste la hauteur si nécessaire */
}

#Contact form {
  width: 90%; /* Ajuste selon la taille souhaitée */
  max-width: 600px; /* Évite qu'il devienne trop grand */
  margin: 0 auto; /* Centre horizontalement */
  padding: 20px;
  background: #33334d;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.form-group {
  width: 95%;
  text-align: left; /* Facultatif, si tu veux aligner les labels à gauche */
  margin-bottom: 15px;
  max-width: 575px;
}


label {
  font-weight: bold;
  color: #ff9f43;
  display: block;
  margin-bottom: 5px;
}

input, textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #444;
  border-radius: 5px;
  background: #252537;
  color: #ffffff;
  font-size: 1em;
  transition: border 0.3s ease-in-out;
}

input:focus, textarea:focus {
  border-color: #ff9f43;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  background: #ff9f43;
  color: white;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 1.2em;
  transition: background 0.3s ease-in-out;
  border-radius: 5px;
  width: 100%;
  max-width: 250px;
  margin-top: 15px;
}

button:hover {
  background: #e67e22;
}

/* ======== Pied de page ======== */
footer {
  background-color: #252537;
  padding: 15px 0;
  text-align: center;
  margin-top: auto;
}

footer a {
  color: #ff9f43;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

/* ======== Zone de texte fixée à gauche ======== */
.gradient-container-left {
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: flex-start; /* Fixe à gauche */
max-width: 1200px;
margin:  auto;
}

/* Zone de texte à gauche */
.text-zone {
flex: 1;
max-width: 600px;
text-align: left;
}

/* Exclusion du titre de la mise en page */
.title-container {
width: 90%;
text-align: center;
margin: 100px auto;
}

/* ======== Responsive Design ======== */
@media (max-width: 768px) {
.gradient-container-left {
flex-direction: column;
align-items: center;
}

.text-zone {
    max-width: 100%;
    text-align: center;
}

.image-zone {
    max-width: 100%;
    text-align: center;
}

}