/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

/* HEADER */
header {
  background: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #000;
  font-weight: normal;
  transition: color 0.3s;
}

nav a:hover {
  color: #3498db;
}

/* SLIDER */
.slider-container {
  width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

.slider {
  display: flex;
  transition: transform 1s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  height: 500px;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Empêche le zoom exagéré */
  display: block;
}

.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px 40px;
  border-radius: 8px;
  font-size: 1.8rem;
  max-width: 90%;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}


/* HERO */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: #f8f8f8;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #217dbb;
}

/* SERVICES */
.services {
  text-align: center;
  padding: 60px 20px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 25px;
  width: 280px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.card h3 {
  margin-bottom: 10px;
}

/* POURQUOI ME CHOISIR */
.why-choose {
  background: #f0f0f0;
  padding: 60px 20px;
  text-align: center;
}

.advantages {
  list-style: none;
  margin-top: 20px;
}

.advantages li {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #333;
  color: white;
  margin-top: 40px;
}


header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 15px 30px;
}

.container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
  font-weight: normal;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #3498db;
}


/* Correction du menu responsive pour mobile */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    z-index: 999;
    max-height: 100vh;
    overflow-y: auto;
  }

  nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }
}

.btn-icon {
  padding: 0.25rem 0.4rem;
  font-size: 0.85rem;
  line-height: 1;
}
