/* =====================================================
   STYLE_MARQUAGE_SOL.CSS — Styles spécifiques à la page marquage
===================================================== */

/* Section marque */
.section_marque {
  background-image: url("photos/marquage_sol/bandeau_marquage_sol.jpg");
  color: #fff;
}

.section_marque::before { background-color: rgb(0, 0, 0, 0.75); }
.section_marque .contenu { color: #fff; padding-left: 20%; max-width: 80%}
.section_marque .trait { background: #fff; }

/* Galerie double image */
.double_image {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.double_image .image_double_image {
  width: 30%;
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.double_image .image_double_image:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

/* Titre de section marquage */
.marquage_sol_respect {
  text-align: center;
  color: var(--orange);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 30px;
}

/* =====================================================
   CARROUSEL
===================================================== */
.carousel {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.carousel_track {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.carousel_slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.45s ease, opacity 0.45s ease;
  will-change: transform;
}

.carousel_slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.carousel_btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.38);
  color: #fff;
  border: none;
  padding: 8px 15px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
  transition: background 0.2s;
}

.carousel_btn:hover { background: rgba(244,121,33,0.85); }
.carousel_btn.prev { left: 8px; }
.carousel_btn.next { right: 8px; }

.carousel_dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}

.dot.active { background: var(--orange); }

@media (max-width: 600px) {
  .double_image .image_double_image { width: 100%; }
  .carousel { max-width: 100%; }
}


