/* ! Spa Module CSS Styling */

body {
  background-color: #F7EFEC;
  /* opacity: 0.2; */
  background-image: radial-gradient(#f9b8a299 0.8px, #F7EFEC 0.8px);
  background-size: 16px 16px;
}


/** Hero Section */

.spa-details-div {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 600px;
  background: url("https://res.cloudinary.com/monkeytours/image/upload/v1756417702/Azura2025/spa/morpho-spa-3.jpg") center center/cover no-repeat;
}

.spa-details-center-div {
  position: absolute;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(5px);
  bottom: 0;
  padding: 30px 60px 30px 60px;
  z-index: 2;
}

.spa-details-center-div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 45, 45, 0.2);
  z-index: -1;
  mix-blend-mode: overlay;
}

.spa-details-title-block {
  display: flex;
  align-items: center;
}

.spa-detail-cta-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.spa-details-title {
  margin: 0;
  font-size: 36px;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  color: white;
}

.push-20 {
  padding-left: 30px;
  border-left: 3px solid white;
  font-weight: 600;
}

.rm-d-button {
  cursor: pointer;
  text-decoration: none;
  vertical-align: middle;
  line-height: 1;
  padding: var(--button-padding-default-xs-fix);
  font-size: var(--font-size-xxs);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-xs);
  background-color: #ffffff;
  color: #2f2f2f;
  border-radius: 50px;
  text-align: center;
  transition: background-color 0.3s;
  border: none;
}

.rm-d-button:hover {
  background-color: #744c3e;
  color: #fff;
}

.rm-d-button.no-border {
  color: white;
  border: none;
  background-color: transparent;
  margin-right: 30px;
  display: flex;
  align-items: center;
  padding: 0;
}

.rm-d-button.no-border.overview::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  background-image: url("https://demo.azuraresorts.com/wp-content/uploads/chevron-thin-white.svg");
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.rm-d-button.no-border:hover {
  opacity: 0.7;
}

.rm-d-button.ghost {
  background-color: transparent;
  color: white;
  border: 1px solid white;
  padding: 10px 20px;
}

.rm-d-button.ghost:hover {
  background-color: #744c3e;
  color: white;
  border: 1px solid #744c3e;
}

.spa-details-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 30px 60px;
}

/*? Intro Section */

.intro-section {
  position: relative;
  background: #FFF;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(247, 239, 236, 1) 100%);
}

.intro-content-container-top {
  display: flex;
  justify-content: space-around;
  height: 100%;
  padding: 150px 60px 80px 60px;
}

.intro-content-container-copy-block {
  width: 75%;
  display: flex;
  flex-direction: column;
}

.pretitle {
  font-weight: 100;
  margin: 0;
  font-size: 30px;
  color: #744c3e;
  font-family: "Yellowtail", cursive;
  line-height: 1;
}

.title {
  margin: 0;
  font-size: 40px;
  border-bottom: 1px solid black;
  line-height: 1;
  font-weight: 400;
  padding-bottom: 20px;
  padding-top: 10px;
  text-transform: uppercase;
  color: #744C3E;
}

.subtitle {
  margin: 0px;
  font-size: 22px;
  font-weight: 400;
  color: #744c3e;
  padding-top: 20px;
  margin-bottom: 20px;
  line-height: 1;
  /* text-align: center; */
}

.paragraph {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: #744C3E;
  line-height: 2;
}

.paragraph-small-block {
  width: 30%;
  padding-left: 30px;
  border-left: 1px solid black;
}

.intro-content-decals {
  display: flex;
  gap: 70px;
  padding-left: 60px;
  justify-content: end;
}

.intro-content-container-bottom {
  display: flex;
  width: 80%;
}

.azura-icon {
  width: 61px;
  height: 40px;
  background-image: url("https://demo.azuraresorts.com/wp-content/uploads/Azura-A-adultsonly-1.svg");
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
}

.caption {
  text-align: left;
  height: 600px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 3px;
  color: #744C3E;
  padding-left: 10px;
  border-left: 1px solid #cdb2a9;
  margin-left: 10px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* Unordered List with Icons */

.intro-content-info {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.intro-content-info {
  padding: 0;
}

.intro-content-info li {
  text-decoration: none;
  list-style: none;
  font-size: var(--font-size-xs);
  display: flex;
  color: #744C3E;
}

.info::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.info:nth-child(3) {
  cursor: pointer;
}

.info:nth-child(1)::before {
  background-image: url("https://dev.azuraresorts.com/wp-content/uploads/clock-beige.svg");
}

.info:nth-child(2)::before {
  background-image: url("https://dev.azuraresorts.com/wp-content/uploads/question-mark.svg");
}


/* ! Menu Sections */

/* ? Massages Section  */
/* ? Special Massages Section  */
/* ? Body Treatment Section  */
/* ? Spa Packages Section  */

.menu-section {
  position: relative;
  padding: 40px 60px 80px 60px;
}

.menu-section.first-section {
  margin-top: -250px;
  padding-bottom: 200px;
}

.menu-section.third-section {
  padding-bottom: 340px;
}

.menu-titles-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.deco-title {
  font-weight: 100;
  margin: 0;
  font-size: 96px;
  color: #DBA694;
  opacity: .12;
  font-family: "Yellowtail", cursive;
  line-height: 1;
}

.menu-titles h2:nth-child(2) {
  margin: 0;
  margin-top: -30px;
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #744C3E;
}

.menu-title {
  margin: 0;
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #744C3E;
}

.menu-title.with-deco {
  margin-top: -30px;
}

/* Items Columns */

.spa-menu-items-container {
  position: relative;
  margin-top: 30px;
  display: flex;
  gap: 20px;
  z-index: 10;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.item-card {
  background-color: rgba(255, 255, 255, 0.108);
  border: 1px solid #F8E0D8;
  padding: 32px 25px;
  border-radius: 14px;
  backdrop-filter: blur(30px);
}

.card-top-container {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.item-title {
  font-size: 20px;
  font-weight: 600;
  color: #744C3E;
}

.item-duration {
  margin-left: auto;
  font-size: 24px;
  color: #744C3E;
}

.item-description {
  font-size: 15px;
  color: #2f2f2f;
}

/* Deco Containers */

.deco-container-stones {
  position: absolute;
  background-image: url('https://res.cloudinary.com/monkeytours/image/upload/v1756417703/Azura2025/spa/morpho-spa-6.jpg');
  background-position: center bottom -150px;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 270px;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.deco-container-woman {
  position: absolute;
  background-image: url('https://res.cloudinary.com/monkeytours/image/upload/v1756417702/Azura2025/spa/morpho-spa-2.jpg');
  background-position: center bottom -300px;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 420px;
  bottom: 0;
  left: 0;
  z-index: 0;
}

/*? CTA Section */

.cta-section {
  padding: 30px 60px 80px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F7EFEC;
}

.cta-div {
  width: 80%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.cta-title {
  font-size: 40px;
  color: #744c3e;
  font-weight: 400;
  text-transform: uppercase;
  padding-bottom: 20px;
  margin-top: 0px;
  margin-bottom: 20px;
  border-bottom: 1px solid #744c3e;
  text-align: center;
}

.cta-paragraph {
  text-align: center;
  position: relative;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: #2F2F2F;
  line-height: 2;
}

.rm-d-button.cta-button {
  background-color: #744C3E;
  color: white;
  margin-top: 40px;
}

.rm-d-button.cta-button:hover {
  background-color: #DBA694;
}

/*! Media Queries 1100px to ? */

/*? 1100px */
@media (max-width: 1100px) {
  /* Included Content */

  .spa-details-content-div-bottom.mobile-hide {
    display: none;
  }

  .spa-details-content-div-bottom.desktop-hidden {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  /*? 900px */

  @media (max-width: 900px) {
    /* Hero spa Details */

    .spa-details-div {
      height: 700px;
    }

    .spa-details-center-div {
      gap: 20px;
      align-items: start;
    }

    .intro-content-container-top {
      flex-direction: column;
    }

    .azura-icon {
      display: none;
      margin-bottom: 24px;
    }

    .intro-content-container-copy-block {
      width: 100%;
      margin-bottom: 24px;
    }

    .caption {
      writing-mode: horizontal-tb;
      height: auto;
      padding: 0;
      margin: 0;
      border: none;
      padding-bottom: 10px;
      border-bottom: 1px solid #cdb2a9;
    }

    .menu-section.first-section {
      margin-top: 0;
    }

    .spa-menu-items-container {
      flex-direction: column;
    }

    .deco-container-stones {
      background-position: center bottom;
    }

    .deco-container-woman {
      background-position: center bottom;
    }
  }

  /* ? 768px */
  @media (max-width: 768px) {
    .spa-details-center-div {
      flex-direction: column;
    }
  }

  /*? 650px */
  @media (max-width: 650px) {

    .menu-section,
    .intro-content-container-top,
    .cta-section {
      padding: 60px 30px 60px 30px;
    }

    .deco-title {
      font-size: 80px;
    }

    .cta-div {
      width: 100%;
    }
  }

  /*? 600px */
  @media (max-width: 600px) {
    /* Hero spa Details */

    .spa-details-div {
      height: 100vh;
    }

    .spa-details-title-block {
      flex-direction: column;
      gap: 20px;
      align-items: start;
    }

    .spa-details-center-div {
      align-items: start;
      padding: 30px;
    }

    .rm-d-button.no-border {
      margin-right: 0;
      /* order: 2; */
    }

    .spa-details-title {
      font-size: 34px;
    }

    .spa-details-icons {
      padding: 30px;
    }

    /* Content Section */
    .spa-details-content-div-top {
      padding: 30px;
    }

    .spa-details-content-paragraph {
      font-size: 14px;
    }

    .spa-details-content-captions {
      font-size: 14px;
    }

    .spa-details-decal-title {
      top: 30px;
      right: 80px;
      width: 600px;
    }
  }

  @media (max-width: 500px) {

    .title {
      font-size: 36px;
    }

    .subtitle {
      font-size: 20px;
      line-height: 1.2;
    }

    .paragraph {
      font-size: 14px;
    }

    .deco-title {
      font-size: 50px;
    }

    .item-card {
      padding: 20px;
    }

    .item-description {
      font-size: 14px;
    }
  }

  /* Fullscreen Gallery Modal */

  .gallery-modal {
    display: flex;
    /* Use flexbox for centering */
    visibility: hidden;
    /* Hidden by default */
    opacity: 0;
    position: fixed;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 100001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
  }

  .gallery-modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 80%;
    max-width: 1200px;
  }

  /* Loading Spinner */
  .loading-spinner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    z-index: 2;
  }

  .loading-spinner.visible {
    visibility: visible;
    opacity: 1;
  }

  .spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

  .gallery-modal.visible {
    visibility: visible;
    opacity: 1;
  }

  .gallery-modal-content .gallery-image {
    width: 100%;
    height: auto;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
  }

  .gallery-modal-content .gallery-image.fade-out {
    opacity: 0;
  }

  /* Custom size for the floor plan modal */
  #floorPlanModal .gallery-modal-content {
    max-width: 40%;
    min-width: 375px;
  }

  .close-gallery {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 3;
    /* Ensure it's above other content */
  }

  .close-gallery:hover,
  .close-gallery:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }

  /* Gallery Navigation */
  .gallery-nav {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    /* Controls background size */
    height: 50px;
    /* Controls background size */
    background-color: rgb(47, 47, 47);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
    z-index: 3;
    /* Ensure it's above other content */
  }

  .gallery-nav:hover {
    background-color: rgb(27, 27, 27);
  }

  .gallery-nav.prev {
    left: 30px;
  }

  .gallery-nav.next {
    right: 30px;
  }

  .gallery-nav img {
    width: 15px;
    /* Controls icon size */
    height: 15px;
    /* Controls icon size */
  }

  /*? 450px */
  @media (max-width: 450px) {
    .spa-details-decal-title {
      padding-bottom: 10px;
    }

    .spa-details-decal-title::before {
      left: -65px;
    }
  }
}