/* Organisation du layout */
main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100vh;
  padding: 50px;
  background: url("../assets/img/bg-contact.jpg") no-repeat center center/cover;
}

/* Partie gauche - Contact */
.left-side {
  width: 50%;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6);
  /* Fond semi-transparent */
  color: white;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.left-side h2 {
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: center;
}

/* Icônes et texte */
.contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact i {
  font-size: 18px;
  font-weight: bold;
  margin-right: 10px;
  word-spacing: 5px;
}

.contact p,
.contact a {
  font-size: 16px;
  margin: 0;
  color: white;
}

.contact a {
  text-decoration: none;
  font-weight: bold;
}

.contact a:hover {
  text-decoration: underline;
}

/* Partie droite - Formulaire */
.right-side {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Conteneur du formulaire */
.form-wrapper {
  width: 80%;
  background: rgba(0, 0, 0, 0.6);
  /* Fond semi-transparent */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Style du formulaire */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Champs de saisie */
input,
textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid white;
  padding: 10px;
  color: white;
  font-size: 16px;
  outline: none;
}

/* Placeholder stylisé */
input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* Labels */
.form-label {
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
}

/* Bouton Envoyer */
button {
  width: 100%;
  background-color: #f0a500;
  color: white;
  padding: 15px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
  transition: 0.3s;
  border-radius: 24px;
}

button:hover {
  background-color: #d48f00;
}

/* Alignement des champs en ligne */
.input-flex {
  display: flex;
  gap: 20px;
}

.input-flex > div {
  flex: 1;
}

textarea {
  resize: none;
  /* Empêche le redimensionnement */
}

footer h3 {
  text-align: center;
}

@media screen and (max-width: 900px) {
  main {
    flex-direction: column-reverse;
    gap: 40px;
    min-height: 150vh;
  }

  .left-side {
    width: 100%;
  }
  .right-side {
    width: 100%;
  }

  .form-wrapper {
    width: 100%;
  }
}

@media screen and (max-width: 450px) {
  .contact i {
    font-size: 0.8rem;
  }
}
