/* ==========================================================================
   Home Page Styles - Section 1 Hero - Guestopolis
   ========================================================================== */

/* Global Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333333;
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Hero Section Layout
   ========================================================================== */

.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  background-color: #0b0f14;
  box-sizing: border-box;
}

/* Background Carousel Slideshow */
.hero-carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), transform 6s ease-out;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Dark Semi-Transparent Overlay (Matching Reference) */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(0, 0, 0, 0.50);
  pointer-events: none;
}

/* Centered Container for Hero Content (Identical to 1260px navbar alignment) */
.hero-section .container,
.hero-section .hero-content-container {
  position: relative;
  z-index: 5;
  width: 98%;
  max-width: 1760px;
  margin: 0 auto;
  padding-top: 195px;
  padding-bottom: 120px;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Heading (Exact Elementor / Astra Theme specifications) */
.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: 70px;
  font-size: 4.375rem;
  font-weight: 400;
  line-height: 1.4em;
  color: #FFFFFF;
  text-transform: none;
  margin: 0 auto 24px auto;
  max-width: 800px;
  text-align: center;
}

/* Hero Description */
.hero-description {
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.48;
  color: #ffffff;
  margin: 0 auto 34px auto;
  max-width: 720px;
  text-align: center;
  opacity: 0.95;
}

.hero-description strong,
.hero-description b {
  font-weight: 700;
  color: #ffffff;
}

/* Hero CTA Button Wrapper */
.hero-cta-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Hero CTA Button: 226px x 47px */
.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 226px;
  height: 47px;
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #1a1a1a;
  background-color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 0;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-hero-cta:hover,
.btn-hero-cta:focus {
  background-color: #e6e6e6;
  border-color: #e6e6e6;
  color: #1a1a1a;
}

/* ==========================================================================
   Bottom Layered Animated Waves Shape
   ========================================================================== */

.hero-bottom-shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 4;
  line-height: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-waves-svg {
  position: relative;
  width: 100%;
  height: 120px;
  margin-bottom: -1px;
  min-height: 80px;
  max-height: 150px;
  display: block;
}

/* Multi-layered Wave Parallax Animation */
.wave-parallax > use {
  animation: moveWave 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
  will-change: transform;
}

.wave-parallax > use.wave-1 {
  animation-delay: -2s;
  animation-duration: 7s;
}

.wave-parallax > use.wave-2 {
  animation-delay: -3s;
  animation-duration: 10s;
}

.wave-parallax > use.wave-3 {
  animation-delay: -4s;
  animation-duration: 13s;
}

.wave-parallax > use.wave-4 {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes moveWave {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

@media (max-width: 991.98px) {
  .hero-bottom-shape,
  .hero-waves-svg {
    height: 90px;
    min-height: 60px;
  }
}

@media (max-width: 767.98px) {
  .hero-bottom-shape,
  .hero-waves-svg {
    height: 65px;
    min-height: 45px;
  }
}

/* ==========================================================================
   SECTION 2: Hotel Introduction Section (Experience the Life of City Of Joy)
   ========================================================================== */

/* Scroll Slide-in Animations for Section 2 Images */
.gp-slide-left {
  opacity: 0;
  transform: translateX(-70px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform, opacity;
}

.gp-slide-right {
  opacity: 0;
  transform: translateX(70px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform, opacity;
}

.gp-slide-left.is-visible,
.gp-slide-right.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Slide in Animations for Amenities & Facilities Images */
.gp-slide-bottom {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.gp-slide-top {
  opacity: 0;
  transform: translateY(-60px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.gp-slide-bottom.is-visible,
.gp-slide-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gp-room-card.is-visible:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: 0 20px 42px -8px rgba(0, 0, 0, 0.16), 0 8px 20px -4px rgba(0, 0, 0, 0.08);
}

.intro-section {
  position: relative;
  background-color: #ffffff;
  padding: 6.5rem 0 7rem;
  width: 100%;
  overflow: hidden;
}

.intro-container {
  width: 98%;
  max-width: 1760px;
  padding-left: 10px;
  padding-right: 10px;
}

.intro-row {
  --bs-gutter-x: 2rem;
}

/* Left & Right Column Layout */
.intro-col-left,
.intro-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Image Wrappers */
.intro-img-wrapper {
  width: 100%;
  overflow: hidden;
  background-color: #f0f0f0;
}

.intro-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

/* Right Column Heading */
.intro-right-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.24;
  color: #1a1a1a;
  margin-top: 0;
  margin-bottom: 1.5rem;
  letter-spacing: -0.2px;
}

/* Right Column Bold Intro Paragraph */
.intro-right-desc {
  font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.68;
  color: #333333;
  margin-top: 0;
  margin-bottom: 2.25rem;
  max-width: 100%;
}

/* Left Column Normal Paragraph */
.intro-left-desc {
  font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.75;
  color: #555555;
  margin-top: 2rem;
  margin-bottom: 0;
  max-width: 100%;
}

/* Left Column Know More Button */
.intro-btn-wrapper {
  margin-top: 2rem;
}

.btn-know-more {
  display: inline-block;
  font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: #ffffff;
  background-color: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 0;
  padding: 0.75rem 2rem;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  box-shadow: none;
}

.btn-know-more:hover,
.btn-know-more:focus {
  background-color: #333333;
  border-color: #333333;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-know-more:active {
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1199.98px) {
  .hero-section .container,
  .hero-section .hero-content-container {
    padding-top: 170px;
  }

  .hero-title {
    font-size: 52px;
  }

  .hero-description {
    font-size: 15px;
  }

  .intro-right-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 991.98px) {
  .hero-section .container,
  .hero-section .hero-content-container {
    padding-top: 130px;
    padding-bottom: 80px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-title {
    font-size: 40px;
    line-height: 1.25;
  }

  .hero-description {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .btn-hero-cta {
    width: auto;
    height: 44px;
    padding: 0 24px;
    font-size: 11px;
  }

  .hero-bottom-shape svg {
    height: 70px;
  }

  /* Section 2 Tablet Adjustments */
  .intro-section {
    padding: 4.5rem 0 5rem;
  }

  .intro-row {
    --bs-gutter-x: 2rem;
  }

  .intro-col-right {
    margin-top: 3.5rem;
  }

  .intro-right-title {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }

  .intro-right-desc {
    margin-bottom: 1.75rem;
    font-size: 0.92rem;
  }

  .intro-left-desc {
    font-size: 0.92rem;
    margin-top: 1.5rem;
  }

  .intro-btn-wrapper {
    margin-top: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
  }

  .hero-section .container,
  .hero-section .hero-content-container {
    padding-top: 100px;
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .hero-description {
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .btn-hero-cta {
    width: auto;
    height: 42px;
    padding: 0 22px;
    font-size: 10.5px;
    letter-spacing: 1.6px;
  }

  .hero-bottom-shape svg {
    height: 50px;
  }

  /* Section 2 Mobile Adjustments */
  .intro-section {
    padding: 3.5rem 0 4rem;
  }

  .intro-col-right {
    margin-top: 3rem;
  }

  .intro-right-title {
    font-size: 1.75rem;
  }

  .intro-right-desc,
  .intro-left-desc {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .btn-know-more {
    padding: 0.7rem 1.6rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .hero-description {
    font-size: 0.82rem;
    line-height: 1.6;
  }

  .intro-right-title {
    font-size: 1.55rem;
  }
}

/* Washroom Gallery Image Sizing */
.gallery-image-washroom {
  height: 520px;
  object-fit: cover;
}

@media (max-width: 1199px) {
  .gallery-image-washroom {
    height: 480px;
  }
}

@media (max-width: 991px) {
  .gallery-image-washroom {
    height: 440px;
  }
}

@media (max-width: 767px) {
  .gallery-image-washroom {
    height: 440px;
    aspect-ratio: 3 / 4;
  }
}
