/* ====== Style Général ====== */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f9fafc;
}

header {
  text-align: center;
  padding: 20px;
  background-color: #f4f4f4;
  border-bottom: 1px solid #ddd;
}

h1 {
  text-align: center;
  margin: 0;
  font-size: 28px;
}

p {
  margin: 10px 0;
  text-align: center;
}

section {
  text-align: center;
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ====== Galerie (Mode Desktop) ====== */
#gallery {
  display: flex;
  justify-content: center; /* Centre les images horizontalement */
  gap: 0px; /* Ajoute un espace uniforme entre les images */
  margin: 20px auto; /* Ajoute un espacement autour de la galerie */
  flex-wrap: wrap; /* Permet le passage à la ligne si l'espace est insuffisant */
}

#gallery img {
  width: 33%; /* Chaque image prend 33% de la largeur */
  max-width: 600px; /* Empêche les images de devenir trop grandes */
  border-radius: 5px;
  border: 1px solid #ccc;
  object-fit: cover; /* Assure que les images conservent leurs proportions */
}

/* ====== Galerie (Mode Mobile) ====== */
@media (max-width: 768px) {
  #gallery {
    flex-direction: column; /* Affiche les images en colonne */
    align-items: center; /* Centre les images verticalement */
    gap: 10px; /* Réduit l'espacement entre les images */
  }

  #gallery img {
    width: 80%; /* Les images prennent 80% de la largeur en mobile */
    max-width: 300px; /* Définit une largeur maximale */
  }
}


 
 /* ====== Présentation ====== */
#presentation p {
  text-align: center;
  margin-bottom: 15px;
}

/* ====== Tarifs ====== */
#pricing ul {
  list-style: none;
  padding: 0;
}

#pricing li {
  margin-bottom: 5px;
}

/* ====== Formulaire ====== */
.keychain-form {
  margin-bottom: 25px;
  border: 1px solid #e0e0e0;
  padding: 15px;
  border-radius: 5px;
  background-color: #fafafa;
}

/* ====== Image du Formulaire (Mode Desktop) ====== */
.keychain-form img {
  display: block;
  margin: 0 auto 15px auto; /* Centre l'image et ajoute un espacement en bas */
  width: 600px; /* Largeur fixe sur Desktop */
  max-width: 100%; /* Empêche le dépassement sur petits écrans */
  border-radius: 5px; /* Coins légèrement arrondis */
  border: 1px solid #ddd;
  object-fit: cover;
}

/* ====== Image du Formulaire (Mode Mobile) ====== */
@media (max-width: 768px) {
  .keychain-form img {
    width: 80%; /* Réduit l'image à 80% de la largeur de l'écran */
    max-width: 400px; /* Limite la taille maximale sur mobile */
    margin-bottom: 10px; /* Réduit l'espacement en bas */
  }
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 8px;
  margin-bottom: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
/* Boutons de suppression */
.remove-keychain {
  margin-top: 10px;
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.remove-keychain:hover {
  background-color: #d93636;
}

button {
  margin-top: 15px;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}
@font-face {
  font-family: 'Courier 10 Pitch';
  src: url('fonts/courier10pitch.woff2') format('woff2'),
       url('fonts/courier10pitch.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Champs texte pour personnalisation */
.keychain-form input[type="text"] {
  font-family: 'Courier 10 Pitch', Courier, monospace; /* Police prioritaire */
  font-size: 26px; /* Taille lisible */
  font-weight: bold;
  text-align: center;
  color: #000000; /* Texte toujours noir */
  margin-top: 5px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9; /* Fond par défaut */
}
/* ====== Footer ====== */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  margin-top: 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
  gap: 20px;
}

.footer-container h3 {
  margin-bottom: 10px;
  font-size: 18px;
  text-decoration: underline;
}

.footer-container p,
.footer-container a {
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
}

.footer-container a:hover {
  color: #fff;
  text-decoration: underline;
}
/* ====== Informations Client ====== */
#customer-info {
  margin-top: 30px;
  text-align: left;
}

#customer-info h2 {
  font-size: 20px;
  margin-bottom: 15px;
  text-align: center;
}

#customer-info .form-group {
  margin-bottom: 15px;
}

#customer-info .form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

#customer-info .form-group input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
/* ====== Champ Questions / Remarques ====== */
#customer-remarks {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical; /* Permet de redimensionner verticalement */
  font-size: 14px;
  margin-top: 5px;
  min-height: 100px;
}

#customer-remarks::placeholder {
  color: #888;
  font-style: italic;
}

/* ====== Message de Confirmation ====== */
#thank-you {
  display: none;
  text-align: center;
  margin-top: 50px;
  padding: 20px;
  background-color: #e6ffed;
  border: 1px solid #b2f5c9;
  border-radius: 8px;
  color: #155724;
  font-size: 18px;
}


