/* Live-site motion: Ken Burns banners, AOS reveals, Owl amenities, cinematic scroll. */

.cinematic-section {
  position: relative;
  opacity: 1;
}

.cinematic-section.is-inview {
  opacity: 1;
}

.page-hero + .cinematic-section {
  opacity: 1;
}

.site-cinematic [data-aos] {
  will-change: auto;
}

.site-cinematic .feature-card,
.site-cinematic .testimonial-card,
.site-cinematic .property-card,
.site-cinematic .contact-info-card {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease;
}

.site-cinematic .cinematic-section.is-inview .feature-card:hover,
.site-cinematic .cinematic-section.is-inview .testimonial-card:hover,
.site-cinematic .cinematic-section.is-inview .property-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.page-hero-bg,
.hero-slide {
  will-change: auto;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1.1);
  }
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-section,
.hero-slider,
.page-hero {
  overflow: hidden;
}

.hero-slider {
  z-index: 0;
}

.hero-slide {
  display: block;
  padding-top: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.is-active {
  animation: heroKenBurns 12s ease-in-out infinite alternate;
}

.hero-slide.is-entering {
  animation: heroSlideIn 0.65s cubic-bezier(0.4, 0, 0.2, 1) forwards, heroKenBurns 12s ease-in-out 0.65s infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 0;
  padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
  box-sizing: border-box;
  pointer-events: auto;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.hero-copy.is-fading {
  opacity: 0;
}

.hero-copy .hero-title,
.hero-copy .hero-subtitle,
.hero-copy .btn-book-hero {
  animation: fadeUp 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-copy .hero-subtitle {
  animation-delay: 0.12s;
}

.hero-copy .btn-book-hero {
  animation-delay: 0.24s;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.08);
  transform-origin: center center;
  animation: heroKenBurns 12s ease-in-out infinite alternate;
}

.page-hero-content,
.hero-section > .navbar,
.page-hero > .navbar {
  position: relative;
  z-index: 2;
}

.page-hero-content .page-hero-eyebrow {
  animation: fadeUp 0.7s ease forwards 0.1s;
  opacity: 0;
}

.page-hero-content .page-hero-title {
  animation: fadeUp 0.85s ease forwards 0.28s;
  opacity: 0;
}

.page-hero-content .page-hero-breadcrumb {
  animation: fadeUp 0.7s ease forwards 0.46s;
  opacity: 0;
}

.properties-teaser-section {
  background-color: var(--site-surface-tint, #f7f4f8);
  padding: 6rem 0;
  margin: 0;
  border-bottom: none;
  box-shadow: none;
}

.properties-teaser-section + .features-section--modern {
  margin-top: 0;
}

.property-grid .property-card,
.property-card-featured {
  box-shadow: 0 18px 50px rgba(45, 10, 78, 0.08);
}

.property-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(45, 10, 78, 0.16);
}

.property-card-featured .property-card-img-wrap {
  aspect-ratio: 16 / 10;
}

.property-card-img-wrap {
  position: relative;
  overflow: hidden;
}

.property-card-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(45, 10, 78, 0.78);
  color: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45, 10, 78, 0.05) 20%, rgba(45, 10, 78, 0.72) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.5rem;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.35s ease;
}

.property-card:hover .property-card-overlay,
.property-card:focus-within .property-card-overlay {
  opacity: 1;
}

.property-card-overlay .btn-discover {
  background: rgba(255, 255, 255, 0.92);
}

.property-card-highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 0 0 1.25rem;
}

.property-card-highlights li {
  background: #f6f0ff;
  color: #4c1d95;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.btn-get-price {
  background: linear-gradient(90deg, var(--purple-1), var(--purple-2));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.65rem 1.4rem;
  font-size: 0.75rem;
  letter-spacing: 1.4px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-get-price:hover {
  color: #fff;
  opacity: 0.92;
  transform: translateY(-1px);
}

.property-booking-quote,
.property-booking-title {
  font-size: 1.65rem;
  font-weight: 500;
  margin: 0 0 0.85rem;
}

.vis-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.amenities-carousel-wrap {
  position: relative;
  padding: 0.35rem 0 1.75rem;
}

.amenities-owl .owl-stage-outer,
.amenities-owl .owl-stage,
.amenities-owl .owl-item {
  background: transparent;
}

.amenities-owl .owl-stage {
  display: flex;
  align-items: stretch;
}

.amenities-owl .owl-item {
  display: flex;
}

.amenities-owl .item {
  width: 100%;
  display: flex;
}

.amenity-card,
.amenities-owl .feature-card {
  width: 100%;
  margin: 0;
  height: auto;
  min-height: 240px;
  padding: 2rem 1.75rem 1.75rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.amenity-card .feature-title {
  font-size: 1.45rem;
}

.amenity-card .feature-text {
  margin-bottom: 0;
}

.feature-card:hover,
.amenity-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.18),
    0 0 20px rgba(179, 85, 232, 0.14);
}

.features-section--modern .amenity-card:hover {
  box-shadow:
    0 14px 32px rgba(26, 6, 48, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.amenities-owl .owl-nav {
  margin-top: 1.5rem;
}

.amenities-owl .owl-nav button {
  width: auto;
  height: auto;
  background: transparent !important;
}

.amenities-nav {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #fff;
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.amenities-owl .owl-nav button.owl-next .amenities-nav {
  background: linear-gradient(90deg, var(--purple-1), var(--purple-2));
  border-color: transparent;
  color: #fff;
}

.amenities-owl .owl-dots {
  margin-top: 0.75rem;
}

.amenities-owl .owl-dot span {
  background: rgba(255, 255, 255, 0.28);
  width: 9px;
  height: 9px;
  margin: 4px;
}

.amenities-owl .owl-dot.active span,
.amenities-owl .owl-dot:hover span {
  background: #b355e8;
}

.features-section .amenities-owl .owl-dot span {
  background: rgba(255, 255, 255, 0.45);
}

.testimonial-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.experience-img,
.residence-img {
  transition: transform 0.7s ease, opacity 0.25s ease;
}

.residence-gallery-cell .residence-img-wrap {
  height: 100%;
  overflow: hidden;
}

.experience-img-wrap:hover .experience-img,
.residence-img-wrap:hover .residence-img:not(.is-fading) {
  transform: scale(1.04);
}

.property-gallery-item img,
.property-gallery-item video {
  transition: transform 0.55s ease;
}

.property-gallery-item:hover img,
.property-gallery-item:hover video {
  transform: scale(1.05);
}

.property-gallery-empty {
  background: #fff;
  border: 1px dashed rgba(123, 47, 247, 0.28);
  border-radius: 18px;
  padding: 2.5rem 1.75rem;
  text-align: center;
  color: #555;
}

.property-gallery-empty .section-eyebrow {
  margin-bottom: 0.5rem;
}

@media (max-width: 767.98px) {
  .hero-copy {
    padding-bottom: 1.75rem;
  }

  .property-card-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 40%, rgba(45, 10, 78, 0.7) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide.is-active,
  .hero-slide.is-entering,
  .page-hero-bg,
  .hero-copy .hero-title,
  .hero-copy .hero-subtitle,
  .hero-copy .btn-book-hero,
  .page-hero-content .page-hero-eyebrow,
  .page-hero-content .page-hero-title,
  .page-hero-content .page-hero-breadcrumb {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-copy,
  .property-card,
  .feature-card,
  .amenity-card,
  .testimonial-card,
  .experience-img,
  .residence-img,
  .residence-gallery-cell,
  .property-gallery-item img,
  .property-gallery-item video,
  .btn-get-price,
  .property-card-overlay,
  .cinematic-section {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
