/* Modal =============================================== */

.mist-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000000;
  transition: all 0.4s ease;
  padding: 1rem;

  &.hide {
    opacity: 0;
    visibility: hidden;
  }

  .modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 70%;
    height: 80%;
    background-color: white;
    display: block;
    /* overflow-y: scroll; */

    /* For Firefox */
    scrollbar-width: thin;
    scrollbar-color: black;

    /* For WebKit browsers (Chrome, Safari) */
    &::-webkit-scrollbar {
      width: 8px;
    }

    &::-webkit-scrollbar-thumb {
      background-color: black;
    }
  }

  /* .modal .row > div:has(.content) {
    overflow-y: auto;
  } */

  .modal .content {
    padding: 2rem;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
  }

  .modal .row {
    height: 100%;
  }

  .modal .row > div {
    height: 100%;
  }

  @media (max-width: 600px) {
    .modal .row > div {
      height: auto;
    }
  }

  .modal .img-container {
    width: 100%;
    height: 100%;
  }

  .modal .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 10;
  }

  .close button {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    border: none;
    font-size: 1.8rem;
    /* line-height: 1px; */
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding-top: 4px;
    transition: all 0.4s ease;
  }

  .close button:hover {
    background-color: white;
  }

  .section-title {
    font-size: 33px;
  }

  .form input[type="text"].input-lg,
  .form input[type="email"].input-lg,
  .form input[type="number"].input-lg,
  .form input[type="url"].input-lg,
  .form input[type="search"].input-lg,
  .form input[type="tel"].input-lg,
  .form input[type="password"].input-lg,
  .form input[type="date"].input-lg,
  .form input[type="color"].input-lg,
  .form select.input-lg {
    height: 42px;
  }

  .form label {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 400;
  }

  @media (max-width: 700px) {
    .modal {
      width: calc(100% - 2rem);
      height: calc(100% - 2rem);
    }
  }
}

.mist-modal2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000000;
  transition: all 0.4s ease;
  padding: 1rem;

  .slick-list,
  .slick-track {
    height: 100% !important;
  }

  .slick-dots {
    display: none !important;
  }
  .slick-next {
    right: 34px !important;
    z-index: 10000;
  }
  .slick-prev {
    left: 17px !important;
    z-index: 10000;
  }
  .slick-next:before,
  .slick-prev:before {
    font-family: slick;
    font-size: 41px;
    line-height: 1;
    opacity: 0.75;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  &.hide-modal {
    opacity: 0;
    visibility: hidden;
  }
  .text-content {
    padding-left: 2.7rem !important;
  }

  .modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 70%;
    height: 80%;
    background-color: white;
    display: block;
    /* overflow-y: scroll; */
    overflow: hidden;

    /* For Firefox */
    scrollbar-width: thin;
    scrollbar-color: black;

    /* For WebKit browsers (Chrome, Safari) */
    &::-webkit-scrollbar {
      width: 8px;
    }

    &::-webkit-scrollbar-thumb {
      background-color: black;
    }
  }

  /* .modal .row > div:has(.content) {
    overflow-y: auto;
  } */

  .modal .content {
    padding: 2rem;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
  }

  .modal .row {
    height: 100%;
  }

  .modal .row > div {
    height: 100%;
  }

  @media (max-width: 600px) {
    .modal .row > div {
      height: auto;
    }
  }

  .modal .img-container {
    width: 100%;
    height: 100%;
  }

  .modal .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 10;
  }

  .close button {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    border: none;
    font-size: 1.8rem;
    /* line-height: 1px; */
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding-top: 4px;
    transition: all 0.4s ease;
  }

  .close button:hover {
    background-color: white;
  }

  .section-title {
    font-size: 33px;
  }

  .form input[type="text"].input-lg,
  .form input[type="email"].input-lg,
  .form input[type="number"].input-lg,
  .form input[type="url"].input-lg,
  .form input[type="search"].input-lg,
  .form input[type="tel"].input-lg,
  .form input[type="password"].input-lg,
  .form input[type="date"].input-lg,
  .form input[type="color"].input-lg,
  .form select.input-lg {
    height: 42px;
  }

  .form label {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 400;
  }

  @media (max-width: 700px) {
    .modal {
      width: calc(100% - 2rem);
      height: calc(100% - 2rem);
    }
  }
}

/* Modal / ============================================= */

.fancybox-container {
  z-index: 999999 !important;
}

#gallery {
  .gallery-img {
    display: block;
    aspect-ratio: 1;
  }

  .gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.book-now-fixed {
  position: fixed;
  display: none;
  left: 1rem;
  bottom: 1rem;
  z-index: 9999999;
}

.book-now-fixed a {
  background-color: white;
  font-size: 0.8rem;
}

@media (max-width: 994px) {
  .book-now-fixed {
    display: none;
  }
}


.banner {
  position: fixed;
  display: block !important;
  transition: all 0.4s ease;
  opacity: 1;
  visibility: visible;
  /* border-top: solid 2px white; */
  /* mix-blend-mode: multiply; */
  text-decoration: none;

  width: 100%;
  max-width: 10cm;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 65000;
  padding-inline: 0;

  @media (width < 778px) {
    display: block;
  }

  * {
    text-decoration: none;
  }

  .content {
    background: hsl(from var(--brand-primary) h s l / 0.9);
    padding: 0.8rem 2rem;
    gap: 1.5rem;
    border: solid 1px var(--color-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 5px 5px 0 0 !important;
  }

  p {
    display: block;
    margin-bottom: 0;
    color: white;
    width: fit-content;
    transition: all 0.4s ease;

    &:hover {
      transform: scale(1.1);
    }
  }

  button {
    display: block;
    margin-bottom: 0;
    color: white;
    width: fit-content;
    transition: all 0.4s ease;
    background-color: transparent;
    border: solid 2px white;
    padding: 0.3rem 0.8rem;

    &:hover {
      transform: scale(1.1);
    }
  }

  a,
  a:is(:hover, :active, :link) {
    color: white;
  }

  .read-more {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    min-height: 40px;
    min-width: 40px;
    background-color: transparent;
    color: white;
    font-size: 30px;
    border-radius: 50%;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;

    &:hover {
      transform: scale(1.1);
    }
  }

  a {
    text-decoration: none !important;
  }
}

.desktop-banner {
  display: block;
  max-width: 1000px;
  border-radius: 10px;
  transition: all 0.4s ease;

  &.hide {
    opacity: 0;
    visibility: hidden;
  }

  img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
  }

  .close {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    transition: all 0.4s ease;
  }

  .close button {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    border: none;
    font-size: 1.8rem;
    /* line-height: 1px; */
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding-top: 4px;
    transition: all 0.4s ease;
  }
}

#toTop {
  right: 23px;
  bottom: 92px;
}
