/* Smooth Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Animation */
@keyframes floatY {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

/* Luxury Glow */
@keyframes luxuryGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(212, 175, 55, 0.2);
  }

  50% {
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.55);
  }
}

/* Hero Text Animation */
.hero-content .sub-title {
  animation: fadeSlideDown 1s ease forwards;
}

.hero-content h1 {
  animation: fadeSlideUp 1.2s ease forwards;
}

.hero-content p {
  animation: fadeSlideUp 1.4s ease forwards;
}

.hero-buttons {
  animation: fadeSlideUp 1.6s ease forwards;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(45px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button Pulse */
.primary-btn {
  animation: luxuryGlow 3s infinite ease-in-out;
}

/* Card Animation */
.highlight-card,
.room-card,
.dining-card,
.offer-card {
  animation: fadeCard 0.9s ease both;
}

@keyframes fadeCard {
  from {
    opacity: 0;
    transform: translateY(35px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Scroll Down */
.scroll-down {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-down span {
  width: 28px;
  height: 48px;
  border: 2px solid #fff;
  border-radius: 30px;
  display: block;
  position: relative;
}

.scroll-down span::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollDot 1.5s infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    top: 9px;
  }

  100% {
    opacity: 0;
    top: 28px;
  }
}

/* Image Hover Shine */
.room-card,
.dining-card,
.gallery-grid img {
  position: relative;
  overflow: hidden;
}

.room-card::before,
.dining-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  z-index: 2;
  transition: 0.7s ease;
}

.room-card:hover::before,
.dining-card:hover::before {
  left: 120%;
}

/* Floating Icons */
.highlight-card i {
  animation: floatY 3s infinite ease-in-out;
}

/* Footer Social Animation */
.social-icons a {
  animation: floatY 3s infinite ease-in-out;
}

.social-icons a:nth-child(2) {
  animation-delay: 0.3s;
}

.social-icons a:nth-child(3) {
  animation-delay: 0.6s;
}

.social-icons a:nth-child(4) {
  animation-delay: 0.9s;
}

/* WhatsApp Animation */
.whatsapp-btn {
  animation: whatsappPulse 2s infinite ease-in-out;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Page Loader Text */
.loader-text {
  animation: loaderText 1.3s infinite alternate ease-in-out;
}

@keyframes loaderText {
  from {
    opacity: 0.4;
    letter-spacing: 1px;
  }

  to {
    opacity: 1;
    letter-spacing: 5px;
  }
}

/* Navbar Link Hover */
.nav-menu a:hover {
  color: var(--secondary);
}

/* Back To Top Hover */
.back-top:hover {
  transform: translateY(-6px);
  background: var(--white);
}

/* Gallery Zoom Smooth */
.gallery-grid img {
  cursor: pointer;
}

.gallery-grid img:hover {
  filter: brightness(1.08) contrast(1.08);
}

/* Luxury Fade Background */
.luxury-banner,
.spa-section {
  animation: bgZoom 14s infinite alternate ease-in-out;
}

@keyframes bgZoom {
  from {
    background-size: 100%;
  }

  to {
    background-size: 112%;
  }
}