/*--------------------------------------------------------------
# Page Stay
--------------------------------------------------------------*/

.page-stay {
  /* Section Spotlight
--------------------------------------------- */

  .section-spotlight {
    position: relative;
    width: 100%;
    height: 50vh;

    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: #fff;

      > .wrapper {
        height: 100%;
        max-width: var(--max-w-xl);
        margin: 0 auto;
        padding: 3rem 24px;
        display: flex;
        flex-direction: column;
        justify-content: end;
      }

      .title {
        max-width: var(--max-w-md);
        font-size: var(--font-4xl);
        line-height: 1.2;
        font-weight: bold;
        animation: spotlight 0.4s;
        animation-delay: 0.4s;
        animation-fill-mode: backwards;
      }
    }
  }

  /* Section Intro
--------------------------------------------- */

  .intro {
    > .wrapper {
      max-width: var(--max-w-xl);
      margin: 0 auto;
      padding: var(--padding-xxl) 24px 4.5rem;

      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      gap: 3rem;

      @media (min-width: 960px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4.5rem;
      }
    }

    .title {
      margin-bottom: 1.5rem;
      font-size: var(--font-2xl);
      line-height: 1.2;
      font-weight: 500;
    }
  }

  /* Galleries
--------------------------------------------- */

  .property-galleries {
    > .wrapper {
      max-width: var(--max-w-xl);
      margin: 0 auto;
      padding: 4.5rem 24px var(--padding-xxl);
      border-top: 1px solid var(--base-300);

      display: flex;
      flex-direction: column;
      gap: 4.5rem;
    }

    .gallery {
      width: 100%;

      .header {
        margin-bottom: 2.5rem;

        .title {
          font-size: var(--font-2xl);
          line-height: 1.2;
          font-weight: 500;
          margin-bottom: 0.75rem;
        }
      }

      .swiper {
        img {
          object-fit: cover;
          aspect-ratio: 5 / 7;
        }

        .navigation {
          margin-bottom: 24px;
        }
      }
    }

    .cta {
      margin-top: 0;
    }
  }
}
