/* Intro */
#intro {
  margin-block: 4rem 2rem;
  display: flex;
  justify-content: center;
}

#intro .container {
  max-width: 800px;
}

#intro .section-title h2 {
  font-size: 2.5rem;
}

.intro-desc {
  display: flex;
  flex-direction: column;
}

/* Intro Testimonial */
.intro-testimonial-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 4rem;
}

.intro-testimonial-item span:nth-child(1),
.intro-testimonial-item span:nth-child(3) {
  color: var(--secundario);
}

.intro-testimonial-item span:nth-child(1) {
  padding-bottom: 1rem;
  font-size: 1.25rem;
}

.intro-testimonial-item span:nth-child(3) {
  font-size: 0.925rem;
  font-weight: 500;
  font-style: italic;
}

/* Index Tour Carousel */
#index-tour {
  margin-block: 2rem;
}

#index-tour .section-title h2 {
  font-size: 2rem;
}

.index-tour-item-img {
  position: relative;
  overflow: hidden;
  z-index: 0;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  transition: 0.1s;
}

.index-tour-item-img:hover {
  border: 1px solid var(--primario);
}

.index-tour-item-img::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, rgb(0, 0, 0, 0.4), rgb(0, 0, 0, 0));
  border-radius: 0.5rem;
  z-index: 5;
  transition: 0.1s;
}

.index-tour-item-img:hover::before {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
}

.index-tour-item-img::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgb(0, 0, 0, 0.4), rgb(0, 0, 0, 0));
  border-radius: 0.5rem;
  z-index: 5;
  transition: 0.1s;
}

.index-tour-item-img:hover::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
}

.index-tour-item-img img {
  width: 100%;
  height: auto;
  object-position: center;
  object-fit: cover;
  aspect-ratio: 16 / 12;
  border-radius: 0.5rem;
  z-index: 0;
  transition: transform 0.1s;
}

.index-tour-item-img:hover img {
  transform: scale(1.025);
}

.index-tour-item-content {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  width: 100%;
  height: 100%;
  padding: 1rem;
  z-index: 10;
}

.index-tour-item-content-title h3 {
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 500;
}

.index-tour-item-content-desc {
  position: relative;
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-areas: "one one two";
  gap: 2rem;
  width: 100%;
  z-index: 10;
}

.index-tour-item-content-desc-features {
  grid-area: one;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.5rem;
}

.index-tour-item-content-desc-features-tag {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  column-gap: 0.25rem;
  padding-inline: 0.25rem 0.75rem;
  max-height: 1.5rem;
  background-color: #f5f5f551;
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  color: var(--white);
  border-radius: 0.25rem;
}

.index-tour-item-content-desc-features-tag span {
  font-size: 0.825rem;
}

.index-tour-item-content-desc-cta {
  grid-area: two;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.index-tour-item-content-desc-cta-price {
  display: flex;
  flex-direction: column;
  justify-content: end;
  text-align: end;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.index-tour-item-content-desc-cta-price span:nth-child(1) {
  font-size: 0.825rem;
}

.index-tour-item-content-desc-cta-price span:nth-child(2) {
  font-size: 1.125rem;
  font-weight: 500;
}

.index-tour-item-content-desc-cta-cta {
  text-align: center;
  padding: 0.2rem;
  width: 100%;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--white);
  text-decoration: none;
  border: 1px solid var(--white);
  border-radius: 0.25rem;
  z-index: 10;
  transition: 0.1s;
}

.index-tour-item-content-desc-cta-cta:hover {
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
}

/* Background Atacama */
.bg-atacama-index {
  position: relative;
  display: inline-block;
}

.bg-atacama-index img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

.bg-atacama-index::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 999;
}

/* .bg-atacama-index::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    var(--white) 100%
  );
  pointer-events: none;
  z-index:999;
} */

.bg-atacama-index-desc {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 50%;
  left: 75%;
  transform: translate(-50%, -50%);
  padding: 2rem;
  max-width: 800px;
  background-color: #f5f5f551;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: var(--white);
  border-radius: 0.5rem;
  z-index: 10;
}

.bg-atacama-index-desc h2 {
  font-size: 2rem;
}

@media (width < 992px) {
  .bg-atacama-index-desc {
    display: none;
  }
}

/* Index Package */
#index-packages {
  background-color: var(--dark);
  color: var(--white);
}

#index-packages .section-title h2 {
  color: var(--white);
  font-size: 2.5rem;
}

.index-packages-item {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  z-index: 0;
  transition: 0.1s;
}

.index-packages-item:hover {
  border: 1px solid var(--white);
}

.index-packages-item::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, rgb(0, 0, 0, 0.4), rgb(0, 0, 0, 0));
  border-radius: 0.5rem;
  z-index: 5;
  transition: 0.1s;
}

.index-packages-item::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgb(0, 0, 0, 0.4), rgb(0, 0, 0, 0));
  border-radius: 0.5rem;
  z-index: 5;
  transition: 0.1s;
}

.index-packages-item img {
  width: 100%;
  height: auto;
  object-position: center;
  object-fit: cover;
  aspect-ratio: 9 / 12;
  border-radius: 0.5rem;
  z-index: 0;
  transition: transform 0.1s;
}

.index-packages-item-content {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  width: 100%;
  height: 100%;
  padding: 2.5rem;
  z-index: 10;
}

.index-packages-item-content-cta {
  display: flex;
  justify-content: center;
  width: 100%;
}

.index-packages-item-content-cta {
  text-align: center;
  padding: 0.2rem;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--white);
  text-decoration: none;
  border: 1px solid var(--white);
  border-radius: 0.25rem;
  z-index: 10;
  transition: 0.1s;
}

.index-packages-item-content-cta:hover {
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
}

@media (width < 1400px) {
  .index-packages-item img {
    aspect-ratio: 9/16;
  }
}

/* Values */
#values img {
  border-radius: 0.5rem;
}

#values h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.values-container {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
  margin-inline: auto;
  max-width: 1320px;
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}

.values-1 {
  position: relative;
}

.values-1 img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center;
  z-index: 5;
}

.values-1-desc {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translate(-0%, -50%);
  padding: 2rem;
  max-width: 30rem;
  background-color: #f5f5f587;
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  color: var(--white);
  border-radius: 0.25rem;
  z-index: 10;
}

.values-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.values-2-desc,
.values-3-desc {
  padding-inline: 3rem 6rem;
}

.values-3 {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "one two";
}

.values-3-desc {
  grid-area: one;
}

.values-3-img {
  position: relative;
  grid-area: two;
  width: 100%;
}

@media (max-width: 992px) {
  #values .container-fluid {
    --bs-gutter-x: 0;
  }

  #values img {
    border-radius: 0;
  }

  .values-container {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
  }

  .values-1-desc {
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0%, 0%);
    display: block;
    margin-top: 3rem;
    max-width: none;
    background-color: #fff;
    backdrop-filter: 0;
    -webkit-backdrop-filter: 0;
    color: var(--dark);
    z-index: 10;
  }

  .values-2 {
    grid-template-columns: 1fr;
  }

  .values-2-desc,
  .values-3-desc {
    margin-top: 2rem;
    padding-inline: 3rem 3rem;
  }

  .values-3 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "two" "one";
  }

  .values-3-img {
    top: 0;
    left: 0;
  }
}

@media (width < 1200px) {
  .values-container {
    max-width: 1140px;
  }
}
