* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Arial', sans-serif; color: #333; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
header { background: #c62828; padding: 15px 0; position: sticky; top: 0; z-index: 100; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { color: #fff; font-size: 1.8rem; font-weight: bold; }
/* Menu burger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Animation burger vers croix */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  border-bottom: 2px solid #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #c62828;
    padding: 80px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    gap: 25px;
  }
  
  .nav-menu a {
    font-size: 1.2rem;
    display: block;
    padding: 10px 0;
  }
  
  body.menu-open {
    overflow: hidden;
  }
}
nav ul { list-style: none; display: flex; gap: 30px; }
nav a { color: #fff; text-decoration: none; font-weight: 500; }
nav a.active { border-bottom: 2px solid #fff; }
.hero { background: #c62828; color: #fff; text-align: center; padding: 100px 20px; }
/* Hero */
.hero-header {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  
   /* L'animation qui change les images */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  animation: slideShow 15s infinite;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
  
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  padding: 20px;
  max-width: 900px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 22px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: 0.3s;
  display: inline-block;
}

.btn-white {
  background: #fff;
  color: #000;
}

.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.btn-red {
  background: #c62828;
  color: #fff;
}

.btn-red:hover {
  background: #a02121;
  transform: translateY(-2px);
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* assombrit pour que le texte ressorte */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.hero-overlay h1 {
  font-size: 48px;
  margin: 0 0 10px;
  font-weight: 700;
}

.hero-overlay p {
  font-size: 20px;
  margin: 0;
}

/* Animation du slider */
@keyframes slideShow {
 0%   { background-image: url('/images/déménagement-agadir-camion.jpg'); }
 33%  { background-image: url('./images/déménagement-agadir-charge.jpg'); }
 66%  { background-image: url('../images/déménagement-agadir-montage.jpg'); }
 100% { background-image: url('../images/déménagement-agadir-remontage.jpg'); }
}

/* Responsive mobile */
@media (max-width: 768px) {
  .hero-header {
    height: 450px;
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content p {
    font-size: 18px;
  }
}
/* Hero avec camion */


.hero h1 { font-size: 3rem; margin-bottom: 20px; }
.btn-red { background: #c62828; color: #fff; padding: 15px 40px; border: none; border-radius: 5px; font-size: 1.1rem; cursor: pointer; text-decoration: none; display: inline-block; }
.features { padding: 60px 20px; background: #f8f9fa; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; text-align: center; }
.feature-box h3 { color: #c62828; font-size: 2rem; }
.page-header { background: #c62828; color: #fff; text-align: center; padding: 60px 20px; }
.page-header h1 { font-size: 2.5rem; }
.agadir-section { padding: 70px 20px; }
.agadir-content { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.agadir-text h3 { color: #c62828; margin: 25px 0 15px 0; }
.agadir-text ul { margin: 20px 0; padding-left: 20px; }
.agadir-image img { width: 100%; border-radius: 10px; }
.services-detail { padding: 70px 20px; }
.service-detail-card { background: #fff; padding: 30px; margin-bottom: 30px; border-radius: 10px; box-shadow: 0 3px 15px rgba(0,0,0,0.1); border-left: 5px solid #c62828; }
.service-detail-card h3 { color: #c62828; margin-bottom: 15px; }
.gallery { padding: 70px 20px; background: #f8f9fa; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; }
.reviews { padding: 70px 20px; background: #f8f9fa; }
.review-card { background: #fff; padding: 30px; margin-bottom: 20px; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.08); }
.stars { color: #ffc107; font-size: 1.5rem; }
.devis { padding: 70px 20px; }
.devis-form { max-width: 600px; margin: 0 auto; background: #f8f9fa; padding: 40px; border-radius: 10px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 2px solid #ddd; border-radius: 5px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; padding: 50px 0; }
.contact-card { background: #fff; padding: 30px; text-align: center; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.08); }
.contact-card h3 { color: #c62828; margin-bottom: 15px; }
footer { background: #222; color: #fff; text-align: center; padding: 30px 20px; }
@media (max-width: 900px) {.agadir-content { grid-template-columns: 1fr; }}
@media (max-width: 768px) {nav ul { flex-direction: column; gap: 15px; }.hero h1 { font-size: 2rem; }}