/* RESET DE BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #807e7e;
  color: #222;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAVIGATION */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}
.navbar img {
  height: 50px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #00b894;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}

/* SECTION HERO */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  animation: fadeInUp 1.5s ease;
}
.hero-content h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 20px;
}
.hero-content p {
  color: #ddd;
  margin-bottom: 30px;
}
.cta-button {
  padding: 12px 30px;
  background-color: #00b894;
  color: white;
  border: none;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s ease;
}
.cta-button:hover {
  background-color: #019874;
}

/* SECTIONS GÉNÉRALES */
section {
  padding: 80px 20px;
  max-width: 1600px;
  margin: auto;
}
h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  text-align: center;
}

/* GRILLE DES SECTEURS */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}
.sector-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sector-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.sector-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.sector-card h3 {
  margin: 15px;
  font-size: 1.4rem;
}
.sector-card p {
  margin: 0 15px 10px;
  color: #666;
  font-size: 1rem;
}
.details-link {
  margin: 15px;
  display: inline-block;
  color: #00b894;
  text-decoration: none;
  font-weight: bold;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PIED DE PAGE */
footer {
  text-align: center;
  padding: 20px;
  background: #000;
  color: white;
  font-size: 0.9rem;
}

/* SECTEURS EN PLEINE LARGEUR */
.fullwidth-sector {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  margin-bottom: 30px;
  position: relative;
  transition: transform 0.3s ease;
}
.fullwidth-sector:hover {
  transform: scale(1.01);
}
.sector-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 15, 15, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 20px;
}
.fullwidth-sector h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.fullwidth-sector p {
  font-size: 1.1rem;
  margin-bottom: 15px;
}
.fullwidth-sector .details-link {
  background: #00b894;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.fullwidth-sector .details-link:hover {
  background: #019874;
}

/* GALERIE MÉDIA */
.media-gallery {
  padding: 80px 20px;
  background: #f4f4f4;
  text-align: center;
}
.media-gallery h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}
.photo-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.photo-album-grid iframe {
  width: 100%;
  height: 220px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.photo-album-grid iframe:hover {
  transform: scale(1.03);
}

/* ✅ RESPONSIVE MOBILE */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  section {
    padding: 40px 15px;
  }

  h2 {
    font-size: 1.8rem;
  }

  .sector-card img {
    height: 160px;
  }

  .fullwidth-sector {
    height: 220px;
  }

  .fullwidth-sector h3 {
    font-size: 1.5rem;
  }

  .fullwidth-sector p {
    font-size: 1rem;
  }

  .photo-album-grid iframe {
    height: 180px;
  }
}



.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  z-index: 1;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
}



.sector-contact {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.6); /* Fond semi-transparent */
  color: white;
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin-top: 80px; /* 👈 Ceci fait descendre la section */
}


.slide iframe {
  height: auto;
  aspect-ratio: 16/9;
}



.hero-section {
  position: relative;
  height: 100vh; /* occupe toute la hauteur de l’écran */
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ajuste la vidéo sans déformation */
  z-index: -1; /* derrière le contenu */
}

.hero-content {
  position: relative;
  z-index: 1; /* au-dessus de la vidéo */
  text-align: center;
  color: white;
  top: 40%;
  transform: translateY(-40%);
}

