#carousel {
  text-align: center;
  padding: var(--section-padding);

  background: radial-gradient(
    circle 650px at center,
    #ffffff 0%,
    #ffffff 25%,
    rgba(241, 231, 220, 0.6) 45%,
    var(--bg-section) 70%,
    var(--bg-section) 100%
  );
}

#carousel {border-bottom: 1px solid rgba(0, 0, 0, 0.08);}

#carousel h2 {
    color: var(--primary);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;

    position: relative;
    z-index: 1;

    position: relative;
    display: inline-block;
    padding-bottom: 14px;

    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/*
#carousel h2::after {
    content: "";
    width: 120px;
    height: 4px;
    background: var(--accent);
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}*/

#carousel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(107,79,58,0.08), transparent 60%);
    pointer-events: none;
}

.carousel {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1400px;
    overflow: visible;
}


.carousel-item {
  position: absolute;
  width: 380px;
  height: 260px;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  cursor: pointer;

  opacity: 0;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-item.center {
    transform: translate(-50%, -50%) scale(1.5);
    z-index: 10;
    opacity: 1;
}

.carousel-item.left {
  transform: translate(-130%, -50%) scale(0.85);
  z-index: 5;
}

.carousel-item.right {
  transform: translate(30%, -50%) scale(0.85);
  z-index: 5;
}

.carousel-item.left,
.carousel-item.right {
    opacity: 0.45;
    filter: blur(1.5px) saturate(0.9);
}

.carousel-item.left:hover img {
    transform: scale(1.1);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

.carousel-item.right:hover img {
    transform: scale(1.1);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

/* AUTRES */
.carousel-item.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.5);
}

.carousel::after {
  content: "";
  position: absolute;
  bottom: 20px;
  width: 50%;
  height: 10px;
  background: radial-gradient(rgba(0,0,0,0.2), transparent);
  filter: blur(5px);
  pointer-events: none;
}