/* Hero Section */

.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: url("https://res.cloudinary.com/monkeytours/image/upload/v1758579692/Azura2025/Rooms/azura-accommodations-hero.jpg");
  background-position: center top;
  /* Center horizontally, align to top initially */
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  /* Hint to the browser for animation optimization */
  transform: translateZ(0);
  /* Promote to its own layer for smoother rendering */
}

.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.78vh;
  /* 16:9 aspect ratio */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  height: 100%;
  text-align: center;
  color: white;
  padding-bottom: 8rem;
}

/* .hero-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
} */

.logo-container-landing {
  background: url("https://demo.azuraresorts.com/wp-content/uploads/azura-logo-white-380.svg") center/contain no-repeat;
  width: 381px;
  height: 149px;
}

.hero-content h1 {
  font-size: var(--font-size-lg);
  /* margin-bottom: 1rem; */
  font-weight: 400;
  margin: 0;
}

.hero-content h2 {
  font-size: var(--font-size-lg);
  margin-bottom: 2rem;
  font-family: var(--font-secondary);
  margin: 0;
}

.hero-title {
  padding-top: 20px;
}

.hero-title.accommodations {
  font-size: 52px;
  font-weight: 200;
  margin-bottom: 20px;
}

.hero-subtitle.accommodations {
  font-family: 'Montserrat';
  text-transform: uppercase;
  font-size: 16px;
}

/** Intro Section **/

.introduction-section {
  position: relative;
  width: 100%;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 60px 160px 60px;
  background-color: #f7efec;
  background-image: url("https://www.azuraresorts.com/wp-content/uploads/azuradetail-1a.svg");
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 20vw;
}

.intro-copy-div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-copy-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.a-icon {
  margin-right: 20px;
  width: 100px;
  height: 100px;
  background-image: url("https://demo.azuraresorts.com/wp-content/uploads/a-azura-b3-1.svg");
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.intro-title {
  font-size: 14px;
  font-weight: 300;
  text-align: center;
  color: #744C3E;
  line-height: 1.1;
  margin: 20px auto 50px;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.intro-copy-bottom {
  display: inherit;
}

.intro-paragraph {
  font-size: 30px;
  text-align: center;
  color: rgb(100, 65, 54);
  line-height: 1.2;
  max-width: 800px;
  letter-spacing: 2px;
  font-weight: 200;
}

/** RF Section **/

.rf-section {
  position: relative;
  width: 100%;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 60px 100px 60px;
  background-color: #f7efec;
  /* Fallback color */
  overflow: hidden;
  /* Hide parts of the background that might move outside */
}

.rf-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0000007c;
  mix-blend-mode: multiply;
}

.rf-parallax-background {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200%;
  /* Slightly taller to account for movement */
  z-index: -1;
  /* Ensure background is below content */
  background-image: url("https://res.cloudinary.com/monkeytours/images/w_2560,h_2560,c_scale/f_auto,q_auto/v1751911382/Azura2025/green-tropical-leaves-closeup/green-tropical-leaves-closeup.jpg?_i=AA");
  background-position: center top;
  /* Center horizontally, align to top initially */
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  /* Hint to the browser for animation optimization */
  transform: translateZ(0);
  /* Promote to its own layer for smoother rendering */
}

.rf-copy-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.rf-copy-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
  padding-bottom: 25px;
  border-bottom: 1px solid white;
}

.rf-title {
  font-size: 16px;
  font-weight: 300;
  text-align: center;
  color: white;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.rf-subtitle {
  font-size: 32px;
  font-weight: 500;
  text-align: center;
  color: white;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 4px;
}

/* .rf-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 36px;
  justify-content: center;
}

.rf-list>li {
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  color: white;
  line-height: 2;
} */

.rf-copy-bottom {
  display: flex;
  justify-content: space-between;
  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;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: var(--font-size-md);
  }

  .hero-content p {
    font-size: var(--font-size-sm);
  }
}

/** ROOM MODULE CAROUSEL */

.main-soft-color {
  background-color: #f7efec;
}

.room-module {
  margin-top: 150px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.swap-columns {
  flex-direction: row-reverse;
}

.rm-left-column {
  width: 700px;
  margin-right: -60px;
}

.rm-left-column.swap-columns {
  margin-right: 0;
}

.rm-buttons-div {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  justify-items: center;
  gap: 10px;
}

/* Buttons */

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

.rm-button:hover {
  background-color: #8c6b5f;
  color: #fff;
}

.rm-button-hollow {
  background-color: transparent;
  color: #b3897b;
  border: 1px solid #b3897b;
  border-radius: 50px;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
}

.rm-button-hollow:hover {
  background-color: #b3897b;
  color: #fff;
}

/* Carousel */
.room-carousel-preview {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.room-carousel-images img {
  width: 100%;
  display: none;
  /* Hide all images by default */
}

.room-carousel-images img:first-child {
  display: block;
  /* Show only the first image */
}

/* 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;
}

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

.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 */
}

.rm-right-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  border-style: solid;
  border-color: #b3897b;
  border-width: 1px 1px 0 1px;
  width: 500px;
  margin-top: -125px;
  padding: 80px 60px 0 80px;
  border-top-left-radius: 240px;
  border-top-right-radius: 240px;
}

.rm-right-column.swap-columns {
  padding: 80px 80px 0 60px;
  margin-right: -60px;
}

.rm-title {
  font-size: var(--font-size-md);
  border-bottom: 1px solid #b3897b;
  padding-bottom: 20px;
  font-weight: 300;
  text-align: center;
  line-height: 1.1 !important;
}

.rm-subtitle {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-top: 0.1em;
  line-height: 1.1;
  color: #b3897b;
}

.room-feature-list {
  border-bottom: 1px solid #b3897b;
  margin-bottom: 20px;
}

.rm-feature-list-ul {
  display: flex;
  flex-direction: row;
  gap: 10px 20px;
  flex-wrap: wrap;
}

.room-feature-list ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.rm-feature {
  display: flex;
  align-items: center;
  font-size: var(--font-size-xs);
  font-weight: 300;
}

.floor-plan-trigger {
  cursor: pointer;
}

.rm-feature::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  background-color: transparent;
  /* Use the color from the SVG */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.rm-feature:nth-child(1)::before {
  width: 27px;
  height: 27px;
  background-image: url(https://demo.azuraresorts.com/wp-content/uploads/azuzra-bed.svg);
}

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

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

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

.rm-description {
  font-size: var(--font-size-xs);
  line-height: 1.5;
  margin: 0px 0px 20px 0px;
  font-weight: 300;
}

.bottom-margin-50px {
  margin-bottom: 50px;
}

.bottom-margin-80px {
  margin-bottom: 80px;
}

/*? Media Queries 1024px - ? */

@media (max-width: 1024px) {
  .room-module {
    flex-direction: column;
  }

  .rm-left-column {
    margin-right: 0;
  }

  .rm-right-column {
    margin-top: 0;
    padding: 0;
    border: none;
    width: 80%;
    height: auto;
  }

  .rm-right-column-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .rm-title {
    width: 100%;
    text-align: center;
  }

  .rm-feature-list-ul {
    align-items: center;
    justify-content: center;
  }

  .rm-right-column.swap-columns {
    padding: 0;
    margin-right: 0;
  }

  #floorPlanModal .gallery-modal-content {
    max-width: 70%;
  }
}

@media (max-width: 768px) {
  .rm-left-column {
    width: 90%;
  }

  .rf-parallax-background {
    height: 150%;
  }

  .rf-copy-bottom {
    flex-direction: column;
    gap: 0;
  }

  .room-inculded-list-ul {
    width: 100%;
  }

  .room-inculded {
    line-height: 2.4;
  }

  .rf-copy-div {
    align-items: start;
  }
}

@media (max-width: 420px) {
  .hero-content {
    padding: 90px 20px;
  }

  .rf-section {
    padding: 70px 30px
  }

  .hero-title.accommodations {
    padding: 0;
    font-size: 32px;
  }

  .hero-subtitle.accommodations {
    font-size: 14px;
  }

  .intro-paragraph {
    font-size: 24px;
  }

  .introduction-section {
    background-size: 180px;
  }
}