/* Réinitialise les marges et paddings par défaut de tous les éléments et utilise le modèle de boîte border-box */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Style général du body */
body {
  font-family: 'Arial', sans-serif;
  background: #f2f2f2;
  overflow-x: hidden; /*Empêche le scroll horizontal */
}

/* HEADER Nav */
.header {
  display: flex; /* Alignement horizontal */
  justify-content: space-between; /* Espace entre logo et navigation */
  align-items: center;
  padding: 20px 40px;
  background-color: #000;
  color: white;
  position: fixed;  /* Fixé en haut même au scroll */
  top: 0;
  width: 100%;
  z-index: 10; /* Priorité d’affichage */
}

/* LOGO dans l'en-tête */
.logo img {
  height: 40px; /* ajuste selon la taille du logo */
  width: auto; /* Largeur auto pour conserver les proportions */
}

/* Menu de navigation */
.nav-links {
  list-style: none; /* Supprime les points des <li> */
  display: flex; /* Aligne horizontalement */
  gap: 30px; /* Espace entre les liens */
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* Chaque slide */
.slider {
  margin-top: 100px;
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  flex-direction: row;
  animation: fade 1s ease-in-out; /* Animation d’apparition */
}

.slide.active {
  display: flex;
}

/* Colonnes gauche (image) et droite (texte) */
.left, .right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}


.left img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
}

/* Contenu de droite : texte de la fiche */
.right {
  background: white;
  flex-direction: column;
  text-align: center;
  color: #111;
}

.right h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.right p {
  font-size: 24px;
}

/* Flèches de navigation */
.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: transparent;
  border: none;
  color: black;
  cursor: pointer;
  z-index: 5;
}

.nav-button.prev {
  left: 20px;
}

.nav-button.next {
  right: 20px;
}

.price span {
  font-weight: bold;
  color: #000000;
  font-size: 26px;
}


/* BOUTON CONTACT */
.contact-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #e91e63;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* POP-UP */
.popup-form {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

/* CONTENU FORMULAIRE */
.form-container {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

.form-container h2 {
  margin-bottom: 15px;
  font-size: 24px;
  text-align: center;
}

.form-container input,
.form-container textarea {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-container button[type="submit"] {
 background: linear-gradient(45deg, #e91e63, #ff9800);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  width: 100%;
  cursor: pointer;
}

.contact-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(45deg, #e91e63, #ff9800);
  background-size: 200% 200%;
  transition: background-position 0.5s ease;
}

.contact-btn:hover {
  background-position: right center;
}

/* Animation de rotation */
.rotate-on-click {
  transition: transform 0.6s ease;
}

.rotate {
  transform: rotate(360deg);
}



@keyframes fade {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


