/* Offer Announcement
--------------------------------------------- */

.offer-announcement {
  background-color: var(--primary-200);
  font-size: var(--font-xs);
  font-weight: 500;

  > .wrapper {
    max-width: var(--max-w-xl);
    margin: 0 auto;
    padding: 0.5rem 24px;
    text-align: center;
  }
}

/* Spotlight
--------------------------------------------- */

@keyframes spotlight {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.spotlight {
  position: relative;
  width: 100%;
  height: calc(65vh - var(--offer-announcement-height));

  img {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: -1;
  }

  .content {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.5) 0,
      rgba(0, 0, 0, 0) 100%
    );
    color: var(--primary-100);

    > .wrapper {
      height: 100%;
      max-width: var(--max-w-xl);
      margin: 0 auto;
      padding: 3rem 24px;
      display: flex;
      flex-direction: column;
      justify-content: end;
    }

    .title {
      font-size: var(--font-3xl);
      line-height: 1.2;
      font-weight: 500;
      animation: spotlight 0.4s;
      animation-delay: 0.4s;
      animation-fill-mode: backwards;
    }
  }
}

.spotlight-gallery {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--offer-announcement-height));

  .swiper-slide {
    background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.5) 0,
      rgba(0, 0, 0, 0) 100%
    );

    img {
      display: block;
      object-fit: cover;
      width: 100%;
      height: calc(100vh - var(--offer-announcement-height));
      mix-blend-mode: darken;
    }
  }

  .content {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    color: var(--primary-100);

    > .wrapper {
      height: 100%;
      max-width: var(--max-w-xl);
      margin: 0 auto;
      padding: 3rem 24px;
      display: flex;
      flex-direction: column;
      justify-content: end;
    }

    .title {
      font-size: var(--font-3xl);
      line-height: 1.2;
      font-weight: 500;
      animation: spotlight 0.4s;
      animation-delay: 0.4s;
      animation-fill-mode: backwards;
    }

    .swiper-scrollbar {
      margin-top: 3rem;
    }
  }
}

/* Amenities
--------------------------------------------- */

.amenities {
  .amenities-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;

    .amenities-list-item {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      padding: 0.5rem 1rem;
      background-color: var(--primary-200);
      border-radius: 0.5rem;
    }
  }
}

/* Reviews
--------------------------------------------- */

.reviews {
  background-color: var(--primary-200);

  > .wrapper {
    max-width: var(--max-w-xl);
    margin: 0 auto;
    padding: 4.5rem 24px;
  }

  .header {
    margin-bottom: 3rem;

    .title {
      font-size: var(--font-2xl);
      line-height: 1.2;
      font-weight: 500;
      margin-bottom: 1.5rem;
    }

    .subtitle {
      .link-wrapper {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
      }

      a {
        text-decoration: underline;
        text-underline-offset: 0.25rem;
      }
    }
  }

  .swiper {
    .navigation {
      .button-prev,
      .button-next {
        background-color: rgba(63, 69, 53, 0.5);
        border-radius: 50%;
      }
    }

    .reviewer {
      font-weight: bold;
    }

    .rating {
      color: var(--primary-500);
    }

    .body {
      margin-top: 0.75rem;
    }
  }
}

/* CTA
--------------------------------------------- */

.cta {
  margin-top: 3rem;
  display: flex;
  justify-content: end;

  a {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    .text {
      text-decoration: underline;
      text-underline-offset: 0.25rem;
    }
  }
}

/* CTA Block
--------------------------------------------- */

.cta-block {
  position: relative;
  width: 100%;
  /* height: 35vh; */

  img {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .content {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.5) 0,
      rgba(0, 0, 0, 0.0) 100%
    );
    color: var(--primary-100);

    > .wrapper {
      height: 100%;
      max-width: var(--max-w-xl);
      margin: 0 auto;
      padding: var(--padding-xxl) 24px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .title {
      margin-bottom: 1.5rem;
      font-size: var(--font-2xl);
      line-height: 1.2;
      font-weight: 500;
    }

    .subtitle {
      margin-bottom: 1.5rem;
    }

    .link-to a {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--primary-100);

      .label {
        text-decoration: underline;
        text-underline-offset: 0.25rem;
      }
    }
  }
}

/* Symbol Target Blank
--------------------------------------------- */

.symbol.taget-blank {
  font-size: var(--font-sm);
}

/* Location On
--------------------------------------------- */
.location-on {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 3rem;

  a {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
  }
}

/* Dialog
--------------------------------------------- */

.dialog {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.25);

  align-items: center;
  justify-content: center;

  .dialog-content {
    margin: 24px;
    background-color: var(--primary-100);

    > .wrapper {
      max-width: var(--max-w-md);
      margin: 0 auto;
      padding: 24px;
    }

    .title {
      font-size: var(--font-xl);
      font-weight: 500;
      line-height: 1.2;
      margin-bottom: 1.5rem;
    }

    .actions {
      margin-top: 1.5rem;
    }
  }
}

.dialog.active {
  display: flex;
}

body.dialog-active {
  overflow: hidden;
}
