/** Hero Section */

.room-details-div {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 600px;
  background: url("https://res.cloudinary.com/monkeytours/image/upload/v1752187679/Azura2025/Rooms/2JuniorSuiteGardenViewKingSize-DoubleQueenBeds/azura-2-4.jpg") center center/cover no-repeat;
}

.room-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;
}

.room-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;
}

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

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

.room-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;
}

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

.room-feature-list-ul {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.room-feature-list-ul {
  padding: 0;
  margin: 0;
}

.room-feature-list-ul li {
  text-decoration: none;
  list-style: none;
  font-size: var(--font-size-xs);
  display: flex;
}

.room-feature::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;
}

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

.room-feature:nth-child(1)::before {
  background-image: url("https://demo.azuraresorts.com/wp-content/uploads/azuzra-bed.svg");
}

.room-feature:nth-child(2)::before {
  background-image: url("https://demo.azuraresorts.com/wp-content/uploads/azura-view.svg");
}

.room-feature:nth-child(3)::before {
  background-image: url("https://demo.azuraresorts.com/wp-content/uploads/floorplan-1.svg");
}

.room-feature:nth-child(4)::before {
  background-image: url("https://demo.azuraresorts.com/wp-content/uploads/measurements.svg");
}

/** Content Section */

/* Room Details */

.room-details-content-div-top {
  position: relative;
  background-color: #f7efec;
  padding: 90px 60px 90px 60px;
}

.room-details-content-paragraph {
  width: 85%;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: var(--color-text);
  line-height: 2;
  margin-bottom: 30px;
}

.room-details-content-captions {
  padding-top: 20px;
  border-top: 1px solid #16151574;
  width: 85%;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: var(--color-text);
  line-height: 2;
}

p br {
  display: block;
  margin-bottom: 1em;
  content: "";
}

.room-details-decal {
  text-align: right;
}

.room-details-decal-title {
  position: absolute;
  top: 90px;
  right: 140px;
  transform: rotate(-90deg);
  transform-origin: top right;
  width: 750px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding-bottom: 20px;
  font-size: var(--font-size-xs);
  z-index: 5;
  border-bottom: 1px solid #dba694;
  color: #dba694;
}

.room-details-decal-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100px;
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-right: 10px;
  background-image: url("https://demo.azuraresorts.com/wp-content/uploads/Azura-A-adultsonly-brown.svg");
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(90deg);
}

/* Room Details Bottom */

.room-details-content-div-bottom {
  position: relative;
  background-color: #2f2f2f;
  padding: 70px 60px 90px 60px;
  height: 540px;
}

.room-details-content-div-bottom.desktop-hidden {
  display: none;
}

.room-details-inculded {
  width: 100%;
}

.room-details-inculded-title {
  margin: 0px;
  font-size: 22px;
  font-weight: 400;
  color: #b1897c;
  margin-bottom: 20px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 30px;
}

.room-included-columns {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 45px;
}

.room-inculded-list-ul {
  width: 33.33%;
  margin: 0;
  padding: 0;
}

.room-inculded {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  color: white;
  line-height: 2;
  margin-left: 10px;
}

.room-inculded::marker {
  color: #b1897c;
}

/* Room Details Images */

.room-inculded-images {
  display: flex;
  gap: 25px;
}

.room-inculded-images img {
  width: 33.33%;
  object-fit: cover;
  object-position: center;
}

.room-inculded-image.desktop {
  margin-top: 45px;
  width: 100%;
}

/** All Our Suites Section */

.all-our-suites {
  padding-top: 250px;
  padding-bottom: 80px;
  background: #f7efec;
  background: linear-gradient(360deg,
      rgba(247, 239, 236, 0) 0%,
      rgba(247, 239, 236, 1) 100%);
}

.all-our-suites-div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 60px;
}

.all-our-suites-title {
  margin: 0px;
  font-size: 22px;
  color: #b1897c;
  margin-bottom: 20px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.rm-d-button.no-border.include::before {
  background-image: url("https://demo.azuraresorts.com/wp-content/uploads/chevron-thin-darkbeige.svg");
}

.all-our-suites-left-div {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-left: 100px;
  border-left: 1px solid #b1897c;
}

.rm-d-button.no-border.include {
  color: #b1897c;
}

.rm-d-button.no-border.px14 {
  position: relative;
  font-size: 14px;
  color: #b1897c;
}

.all-our-suites-left-div {
  position: relative;
  /* panel will be placed inside */
}

.suite-panel {
  position: absolute;
  top: 50%;
  /* place in the middle */
  left: -650px;
  /* on the left side, outside the column */
  width: 650px;
  height: 190px;
  background: #b1897c;
  /* fallback color while image loads */
  background-size: cover;
  background-position: center;
  border-radius: 12px 0 0 12px;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); */
  overflow: hidden;
  /* mask overlay and content */
  transform: translateY(-50%) scale(0);
  /* start collapsed */
  transform-origin: center right;
  transition: transform 0.28s ease-out, opacity 0.28s ease-out;
  opacity: 0;
  z-index: 3;
}

.suite-panel.active {
  transform: translateY(-50%) scale(1);
  /* expand centered */
  opacity: 1;
}

.suite-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.suite-panel-content {
  position: absolute;
  left: 30px;
  right: 0;
  bottom: 50%;
  transform: translateY(50%);
  padding: 12px 14px;
  color: #fff;
  z-index: 4;
}

.suite-panel-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
}

.suite-panel-subtitle {
  margin: 6px 0 0 0;
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.95;
  text-transform: uppercase;
}

.rm-d-button.no-border.px14:hover::before {
  transform: scale(1);
}

/*! Media Queries 1650px to ? */

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

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

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

  /*
  .room-details-content-div-bottom {
  } */

  /* All our suites */

  .all-our-suites {
    padding: 60px 0px;
  }

  .all-our-suites-left-div {
    padding-left: 40px;
  }

  .suite-panel {
    width: 600px;
    left: -600px;
  }
}

/*? 900px */

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

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

  .room-details-center-div {
    flex-direction: column;
    gap: 20px;
    align-items: end;
  }

  /* Content Section */

  .room-details-decal-title {
    right: 100px;
    width: 650px;
  }

  /* Included Content */

  .room-included-columns {
    gap: 20px;
  }

  .room-inculded-images {
    flex-direction: column;
    align-items: center;
  }

  .room-inculded-images img {
    width: 100%;
    height: 300px;
  }

  /* All our suites */

  .all-our-suites-left-div {
    padding-left: 30px;
  }

  .suite-panel {
    width: 430px;
    left: -430px;
  }
}

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

  /* All our suites */
  .all-our-suites-div {
    flex-direction: column;
    align-items: end;
    margin: 0;
    padding: 0 30px;
  }

  .all-our-suites-left-div {
    width: 60%;
  }

  .all-our-suites-right-div {
    width: 55%;
    margin-bottom: 40px;
  }

  .suite-panel {
    top: 20%;
    width: 270px;
    height: 300px;
    left: -270px;
  }
}

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

  /* All our suites */
  .all-our-suites-div {
    align-items: center;
  }

  .all-our-suites-right-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 25px;
  }

  .all-our-suites-left-div {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    width: 100%;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #b1897c;
    padding-top: 30px;
  }

  .suite-panel {
    display: none;
  }
}

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

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

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

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

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

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

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

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

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

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

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

  /* Included Content */

  .room-details-content-div-bottom.desktop-hidden {
    padding: 60px 30px;
  }

  .room-included-columns {
    flex-direction: column;
    gap: 12px;
  }

  .room-inculded-list-ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* All our suites */

  .suite-panel {
    display: none;
  }
}

/* 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) {
  .room-details-decal-title {
    padding-bottom: 10px;
  }

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