/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* ---- En-tête ---- */
header {
  background: #005f43;
  color: white;
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header h1 {
  font-size: 2em;
  font-weight: 600;
}

nav {
  margin-top: 10px;
}

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

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

/* ---- Pied de page ---- */
footer {
  background: #50b698;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}

/* ---- Carrousel ---- */
.carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 500px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.slides {
  display: flex;
  width: 600%;
  animation: slide 30s infinite;
}

.slides img {
  width: 100%;
  object-fit: cover;
}

@keyframes slide {
  0% { transform: translateX(0%); }
  15% { transform: translateX(0%); }
  20% { transform: translateX(-100%); }
  35% { transform: translateX(-100%); }
  40% { transform: translateX(-200%); }
  55% { transform: translateX(-200%); }
  60% { transform: translateX(-300%); }
  75% { transform: translateX(-300%); }
  80% { transform: translateX(-400%); }
  95% { transform: translateX(-400%); }
  100% { transform: translateX(-500%); }
}

/* ---- Section texte ---- */
.intro {
  max-width: 1000px;
  margin: 40px auto;
  text-align: center;
  padding: 0 20px;
}

.intro h2 {
  color: #005f43;
  margin-bottom: 15px;
  font-size: 1.8em;
}

.intro p {
  font-size: 1.1em;
  line-height: 1.6em;
}

/* ---- Page contact ---- */
.contact-container {
  background-image: url('images/pexels-gustavo-fring-4254168.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  color: #fff;
}

.overlay {
  background: rgba(0, 0, 0, 0.8);
  padding: 50px;
  max-width: 500px;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.overlay h1 {
  text-align: center;
  color: #FFD700;
}

.overlay label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

.overlay input[type="text"],
.overlay input[type="email"],
.overlay input[type="tel"] {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: none;
  margin-bottom: 20px;
}

.overlay button {
  background-color: #FFD700;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.overlay button:hover {
  background-color: #e5c100;
}


