/* slider-desktop.css : Styles pour le slider version desktop */

/* PASSION AUTO 85 - Slider BMW Desktop */

.slider-zone {
  margin-top: 80px;
  margin: -60px 0 0 0;
  padding-top: 60px;
  padding: 0;
  width: 100vw;
  max-width: 100vw;
  height: 350px;
  min-height: 350px;
  max-height: 350px;
  border-radius: 0;
  box-shadow: 0 4px 12px -6px #00d4ff33, 0 1px 4px -1px #1e90ff22;
  padding: 0;
  border: none;
  background: #181c22;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 0;
  border-bottom: 2px solid var(--bmw-blue);
  box-shadow: 0 2px 12px 0px #1e90ff66;
  border-image: linear-gradient(90deg, #00d4ff 0%, #1e90ff 50%, #00d4ff 100%) 1;
  filter: drop-shadow(0 2px 6px #00d4ff33);
  opacity: 0.98;
  transition: box-shadow 0.3s, border-image 0.3s;
  animation: neon-glow-move 3s ease-in-out infinite;
}

.slider-container {
  margin-top: 0;
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  color: #1e90ff;
  text-shadow: 0 8px 24px #000c, 0 2px 8px #1e90ff99;
  background: none;
  -webkit-background-clip: none;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  padding-top: 0;
}

.bmw-slider {
  position: relative;
  top: 0;
  left: 0;
  width: 100vw;
  height: 350px;
  min-height: 350px;
  max-height: 350px;
  overflow: hidden;
  z-index: 4000;
  background: linear-gradient(
      135deg,
      var(--carbon-black) 0%,
      var(--carbon-dark) 50%,
      var(--carbon-medium) 100%
    ),
    url("../../images/bg-bmw.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(30, 144, 255, 0.4);
  box-shadow: 0 0 20px rgba(30, 144, 255, 0.3),
    0 0 40px rgba(30, 144, 255, 0.15), 0 0 60px rgba(30, 144, 255, 0.1);
  animation: sliderNeonGlow 4s ease-in-out infinite;
}

.slider-wrapper {
  width: 400%;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: row;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.slider-slide {
  width: 25%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  position: relative;
  flex: 0 0 25%;
  margin: 0;
  z-index: 11;
}

.slider-slide img {
  display: block;
  width: 100%;
  height: 350px;
  min-height: 350px;
  max-height: 350px;
  object-fit: cover;
  object-position: top;
  border-radius: 0;
  box-shadow: none;
}

.slider-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 9999;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1e90ff;
  border: 2px solid #fff;
  opacity: 1;
  box-shadow: 0 2px 12px rgba(30, 144, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-title-overlay {
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.slider-main-title {
  font-family: "Orbitron", sans-serif;
  margin-top: 0;
  font-size: 3.2rem;
  font-weight: 900;
  color: #00aeef;
  text-shadow: 0 2px 12px rgba(0, 174, 239, 0.5), 0 0 4px #000;
  letter-spacing: 2px;
  margin-bottom: 8rem;
  text-align: center;
  pointer-events: none;
}

.slider-title-overlay .slider-main-subtitle {
  position: absolute;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 900px;
  text-align: center;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff;
  z-index: 19;
  pointer-events: none;
  text-shadow: 0 2px 8px #000a, 0 0 2px #1e90ff22;
  line-height: 1.5;
  letter-spacing: 0.5px;
  margin-top: 1.5rem;
  white-space: pre-line;
}

.slider-ray {
  position: absolute;
  left: -5vw;
  top: 39%;
  width: 110vw;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #00d4ff 8%,
    #1e90ff 50%,
    #00d4ff 92%,
    transparent 100%
  );
  box-shadow: 0 0 4px 1px #1e90ff66, 0 0 8px 2px #00d4ff33;
  border-radius: 8px;
  z-index: 10;
  opacity: 0.92;
  pointer-events: none;
  animation: slider-ray-move 2.5s linear infinite;
  filter: blur(0.2px);
}

@keyframes slider-ray-move {
  0% {
    transform: translateX(-100vw);
    opacity: 0.7;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(100vw);
    opacity: 0.7;
  }
}

@keyframes neon-glow-move {
  0% {
    box-shadow: 0 4px 12px -6px #00d4ff33, 0 1px 4px -1px #1e90ff22;
    filter: drop-shadow(0 2px 6px #00d4ff33);
  }
  50% {
    box-shadow: 0 8px 24px -8px #1e90ff44, 0 2px 8px -2px #00d4ff44;
    filter: drop-shadow(0 4px 12px #1e90ff44);
  }
  100% {
    box-shadow: 0 4px 12px -6px #00d4ff33, 0 1px 4px -1px #1e90ff22;
    filter: drop-shadow(0 2px 6px #00d4ff33);
  }
}

/* Masque le slider mobile sur desktop */
.slider-mobile {
  display: none;
}
