:root {
  --color-primaire: #d72426;       /* Rouge vif */
  --color-secondaire: #f9f4f2;     /* Beige clair */
  --color-texte: #333333;
  --color-hover-bg: #f8f9fa;
}

/* Style général */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hover nav desktop */
.nav-link:hover {
  color: var(--color-primaire);
  text-decoration: cadetblue;
}


/* Drawer style */
.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
  transition: right 0.3s ease;
  z-index: 9999;
}
.drawer a {
  text-decoration: none;
  color: inherit; /* pour garder la couleur héritée */
}

.drawer a:hover {
  text-decoration: none;
  color: var(--color-primaire); /* ou la couleur que tu souhaites au hover */
}

.drawer.open {
  right: 0;
}

.drawer .nav-link {
  font-size: 1.2rem;
  color: var(--color-texte);
  padding: 10px;
}

.drawer .nav-link:hover {
  background-color: var(--color-hover-bg);
  color: var(--color-primaire);
}

/* Section hero */
.hero-section {
  background: linear-gradient(120deg, var(--color-secondaire) 0%, #ffffff 100%);
}

/* Image avec effet lumière */
.hero-image {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(215, 36, 38, 0.3); /* lumière rouge */
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.03);
}

.image-marquee-section {
  overflow: hidden;
  background: white;
  border-top: 3px solid var(--color-primaire);
  border-bottom: 3px solid var(--color-primaire);
  padding: 60px 0; /* plus d’espace vertical */
}

.marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 150px; /* hauteur fixe plus grande pour laisser respirer */
}

.marquee-content {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee-scroll 25s linear infinite;
  align-items: center; /* centre verticalement les images */
  height: 100%;
}

.marquee-img {
  width: 130px; /* plus grand */
  height: 130px; /* plus grand */
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-primaire);
  margin-right: 40px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.intro-video-section {
  padding: 3rem 1rem;
  background-color: var(--color-secondaire);
}

.intro-video-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.video-text {
  max-width: 600px;
  text-align: center;
}

.video-text h2 {
  color: var(--color-primaire);
  font-weight: 700;
  margin-bottom: 1rem;
}

.video-text p {
  color: #555555;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Conteneur vidéo responsive */
.responsive-video {
  position: relative;
  width: 100%;
  max-width: 700px;
  padding-top: 56.25%; /* 16:9 ratio */
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  overflow: hidden;
}

.responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  outline: none;
}

/* Pour écrans larges */
@media (min-width: 992px) {
  .intro-video-section .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .video-text {
    text-align: left;
  }
}

/* Correction responsive vidéo sur petits écrans */
@media (max-width: 991px) {
  .video-container {
    width: 100%;
    flex: none; /* Désactive flex-grow pour éviter que le conteneur devienne trop petit */
  }

  .responsive-video {
    max-width: 100%;
    width: 100%;
    min-height: 200px; /* Assure une hauteur minimale */
    padding-top: 56.25%;
    background-color: #eee; /* Fond visible pour debug, retirer si besoin */
  }
}

/* Hover sur les cards */
.activites-extra .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.activites-extra .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Texte */
.hero-section h1 span {
  color: var(--color-primaire);
}

@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }

  .hero-image {
    margin-top: 20px;
  }
}

.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
}

.footer-section {
  background-color: #f8f9fa; /* couleur claire */
  color: #6c757d; /* gris moyen */
  font-size: 0.9rem;
}

.footer-section a {
  color: var(--color-primaire);
}

.footer-section a:hover {
  text-decoration: underline;
}

