.content-carousel {
  position: relative;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.content-carousel.card {
  --items-to-show: 3;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.content-carousel.slider .slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
}

.content-carousel .carousel-inner,
.content-carousel .slide,
.content-carousel .card-element {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.content-carousel .slide {
  max-height: 80vh;
  width: auto;
}

.content-carousel .slide img {
  max-width: 100%;
  max-height: auto;
  object-fit: cover;
}

/* Pagination & Controls */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  color: var(--orange);
  cursor: pointer;
  font-size: 2rem;
}

.prev {
  left: 1rem;
}
.next {
  right: 1rem;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  position: absolute;
  bottom: 0.5rem;
  width: 100%;
  z-index: 10;
}

.dot {
  height: 1rem;
  width: 1rem;
  background: var(--off-white);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: var(--orange);
}

/* Card Mode (Snap) */
.content-carousel.card {
  padding: 0rem 1rem;
}

.content-carousel.card .carousel-inner {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  scroll-behavior: smooth;
  cursor: grab;
  gap: 1rem;
}

.content-carousel.card .carousel-inner::-webkit-scrollbar {
  display: none;
}

.card-element {
  scroll-snap-align: start;
  flex: 0 0 calc(100% / var(--items-to-show));
  display: flex;
  flex-direction: column;
  border-radius: 0.25rem;
  width: auto;
  max-height: 50vh;
  border-radius: 0.25rem;
  overflow: hidden;
  border: 1px solid var(--off-white);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.2),
    0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.card-element .header {
  flex: 1 1 auto;
}

.card-element .header img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.card-element .body {
  flex: 1 0 75%;
  padding: 0rem 1rem;
}

.card-element .body .pricing {
  justify-content: flex-end;
  width: 100%;
  display: flex;
}

/* .card-element .body .pricing {
  position: absolute;
  bottom: 0;
  right: 0;
  width: fit-content;
  padding: 1rem;
  color: white;
} */

/* .card-element:nth-child(odd) .body .pricing span {
  background-color: orange;
}

.card-element:nth-child(even) .body .pricing span {
  background-color: blue;
} */

.card-element {
  background-color: var(--off-white);
}

.tour-title {
  color: var(--orange);
}

.nights {
  color: var(--orange);
}

.locations {
  color: var(--green);
}

.pricing {
  color: var(--green);
}

.hero-carousel {
  background:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
    url("../img/birds/woodpecker.jpeg");
  background-size: cover;
  background-position: center;
}
