/**
 * ============================================================================
 * GREENLUX RESORTS — LUXURY FLOATING HEADER & SCROLL ANIMATION SYSTEM
 * ============================================================================
 * Brand Identity: Coastal Luxury, Biophilic Architecture, Alibaug
 * Palette: Forest Green (#064C40), Pale Mint (#DCEFE8), Base White (#FFFFFF), Deep Pine (#042E27)
 * Motion Identity: Calm, Cinematic, Graceful Deceleration (Refined Timings)
 * ============================================================================
 */

:root {
  /* Unified Luxury Deceleration Curves */
  --lux-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lux-ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);

  /* Refined Luxury Durations (Slower, Cinematic, Elegant) */
  --lux-dur-fast: 350ms;      /* Hover states & micro-interactions: 250–400ms */
  --lux-dur-header: 500ms;    /* Header background, shadow & padding: 400–600ms */
  --lux-dur-normal: 1050ms;   /* Standard fade-up, villa/event cards, gallery: 900–1200ms */
  --lux-dur-slide: 1150ms;    /* Editorial left/right slide reveals: 1000–1300ms */
  --lux-dur-zoom: 1100ms;     /* Subtle fade & scale image reveals: 1000–1400ms */
  --lux-dur-mask: 1350ms;     /* Architectural image mask reveals: 1100–1500ms */

  /* Elegant Sequential Stagger Intervals (120–180ms between adjacent elements) */
  --lux-stagger-step: 140ms;
}

/* ==========================================================================
 * 1. FLOATING LUXURY HEADER STYLES
 * ========================================================================== */

/* Floating header outer wrapper */
.floating-header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
  transition: transform var(--lux-dur-header) var(--lux-ease), padding var(--lux-dur-header) var(--lux-ease);
}

/* Floating header container (rounded pill-bar) */
.glass-floating-bar {
  pointer-events: auto;
  background: rgba(4, 46, 39, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(220, 239, 232, 0.16);
  border-radius: 20px;
  box-shadow: 
    0 14px 34px -8px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(220, 239, 232, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: 
    background var(--lux-dur-header) ease, 
    border-color var(--lux-dur-header) ease, 
    box-shadow var(--lux-dur-header) ease, 
    padding var(--lux-dur-header) var(--lux-ease), 
    transform var(--lux-dur-header) var(--lux-ease);
}

/* Scrolled state for floating header */
.glass-floating-bar.is-scrolled {
  background: rgba(4, 46, 39, 0.96);
  border-color: rgba(220, 239, 232, 0.24);
  box-shadow: 
    0 18px 42px -10px rgba(0, 0, 0, 0.60),
    0 0 0 1px rgba(220, 239, 232, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* Navigation Links with Luxury Underline Hover (250–400ms range) */
.lux-nav-link {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 600;
  color: #DCEFE8;
  padding: 0.4rem 0.2rem;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.lux-nav-link::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #DCEFE8;
  border-radius: 2px;
  transition: width 0.35s var(--lux-ease), left 0.35s var(--lux-ease);
  box-shadow: 0 0 8px rgba(220, 239, 232, 0.5);
}

.lux-nav-link:hover {
  color: #FFFFFF;
}

.lux-nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* Weather & Info Pill Hover */
.weather-pill {
  background: rgba(10, 59, 51, 0.65);
  border: 1px solid rgba(220, 239, 232, 0.20);
  transition: all 0.35s ease;
}
.weather-pill:hover {
  background: rgba(10, 59, 51, 0.85);
  border-color: rgba(220, 239, 232, 0.35);
}

/* ==========================================================================
 * 2. SCROLL ANIMATION ENGINE (PROGRESSIVE ENHANCEMENT)
 * Elements start hidden ONLY if JavaScript is enabled via .js-animate class
 * ========================================================================== */

html.js-animate .reveal-init {
  opacity: 0;
  will-change: transform, opacity;
}

/* Entrance Varieties */

/* 1. Fade Up (Refined: 1050ms, 900–1200ms range) */
html.js-animate .reveal-fade-up {
  transform: translateY(28px);
  transition: 
    opacity var(--lux-dur-normal) var(--lux-ease), 
    transform var(--lux-dur-normal) var(--lux-ease);
}

/* 2. Slide In From Left (Refined: 1150ms, 1000–1300ms range, moderate 36px displacement) */
html.js-animate .reveal-slide-left {
  transform: translateX(-36px);
  transition: 
    opacity var(--lux-dur-slide) var(--lux-ease), 
    transform var(--lux-dur-slide) var(--lux-ease);
}

/* 3. Slide In From Right (Refined: 1150ms, 1000–1300ms range, moderate 36px displacement) */
html.js-animate .reveal-slide-right {
  transform: translateX(36px);
  transition: 
    opacity var(--lux-dur-slide) var(--lux-ease), 
    transform var(--lux-dur-slide) var(--lux-ease);
}

/* Responsive Editorial Stack: On tablets & mobiles, slide-left and slide-right gracefully become restrained fade-up */
@media (max-width: 1023px) {
  html.js-animate .reveal-slide-left,
  html.js-animate .reveal-slide-right {
    transform: translateY(22px);
    transition: 
      opacity var(--lux-dur-normal) var(--lux-ease), 
      transform var(--lux-dur-normal) var(--lux-ease);
  }
}

/* 4. Zoom / Scale Reveal (Refined: 1100ms, subtle 0.96 scale for refined elegance) */
html.js-animate .reveal-zoom {
  transform: scale(0.96);
  transition: 
    opacity var(--lux-dur-zoom) var(--lux-ease), 
    transform var(--lux-dur-zoom) var(--lux-ease);
}

/* 5. Mask Reveal (Refined: 1350ms, 1100–1500ms range) */
html.js-animate .reveal-mask-right {
  clip-path: inset(0 100% 0 0);
  transition: 
    opacity var(--lux-dur-mask) var(--lux-ease), 
    clip-path var(--lux-dur-mask) var(--lux-ease);
}

/* Revealed State: Smooth arrival at 100% opacity and neutral transform */
html.js-animate .reveal-init.is-revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  clip-path: inset(0 0 0 0);
}

/* Stagger Delays for Sequential Elements (Refined: 140ms steps, 120–180ms range) */
html.js-animate .delay-1 { transition-delay: 140ms; }
html.js-animate .delay-2 { transition-delay: 280ms; }
html.js-animate .delay-3 { transition-delay: 420ms; }
html.js-animate .delay-4 { transition-delay: 560ms; }
html.js-animate .delay-5 { transition-delay: 700ms; }
html.js-animate .delay-6 { transition-delay: 840ms; }

/* Micro-interaction Lift for Interactive Cards (450ms smooth deceleration) */
.lux-card-lift {
  transition: transform 0.45s var(--lux-ease), box-shadow 0.45s var(--lux-ease), border-color 0.45s ease;
}
.lux-card-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -10px rgba(6, 76, 64, 0.14), 0 0 0 1px rgba(6, 76, 64, 0.12);
}

/* Image Zoom on Card Hover (Slow, cinematic 1.2s transition with subtle 1.045 scale) */
.lux-img-zoom {
  transition: transform 1.2s var(--lux-ease);
}
.group:hover .lux-img-zoom {
  transform: scale(1.045);
}

/* Hero Entrance Sequence (Refined: 1050–1200ms duration, 150ms step delays) */
@keyframes heroEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-animate-1 {
  animation: heroEntrance 1.05s var(--lux-ease) 0.15s both;
}
.hero-animate-2 {
  animation: heroEntrance 1.20s var(--lux-ease) 0.30s both;
}
.hero-animate-3 {
  animation: heroEntrance 1.20s var(--lux-ease) 0.45s both;
  color: #F5F5F0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.70), 0 1px 3px rgba(0, 0, 0, 0.90);
}
.hero-animate-4 {
  animation: heroEntrance 1.15s var(--lux-ease) 0.60s both;
}
.hero-animate-5 {
  animation: heroEntrance 1.15s var(--lux-ease) 0.75s both;
}
.hero-animate-6 {
  animation: heroEntrance 1.15s var(--lux-ease) 0.90s both;
}

/* Smooth In-Page Anchor Scroll Offset */
html {
  scroll-padding-top: 6.5rem;
}
@media (min-width: 1024px) {
  html {
    scroll-padding-top: 7rem;
  }
}

/* Mobile Responsive Drawer Enhancements */
#mobile-drawer .drawer-card {
  transform: translateX(100%);
  transition: transform 0.4s var(--lux-ease);
}
#mobile-drawer.is-open .drawer-card {
  transform: translateX(0);
}

/* ==========================================================================
 * 3. PREFERS-REDUCED-MOTION OVERRIDES (ACCESSIBILITY MANDATE)
 * ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html.js-animate .reveal-init {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
  .hero-animate-1,
  .hero-animate-2,
  .hero-animate-3,
  .hero-animate-4,
  .hero-animate-5,
  .hero-animate-6 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .lux-card-lift:hover {
    transform: none !important;
  }
  .group:hover .lux-img-zoom {
    transform: none !important;
  }
  .glass-floating-bar {
    transition: none !important;
  }
  .hero-btn:hover,
  .hero-btn:active,
  .hero-btn-whatsapp:hover .hero-wa-icon {
    transform: none !important;
  }
}

/* ==========================================================================
 * 4. HERO CALL-TO-ACTION BUTTONS (GREENLUX LUXURY SPECIFICATION)
 * ========================================================================== */
.hero-btn-group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  max-width: 380px;
  margin-top: 0.35rem;
}

.hero-btn-group .hero-btn {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 0 0.5rem;
}

@media (min-width: 640px) {
  .hero-btn-group {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    width: auto;
    max-width: none;
  }

  .hero-btn-group .hero-btn {
    flex: initial;
    min-width: 175px;
    width: auto;
    padding: 0 1.35rem;
  }
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 0 1.35rem;
  box-sizing: border-box;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
  white-space: nowrap;
}

.hero-btn:hover {
  transform: translateY(-1px) scale(1.02);
}

.hero-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Button 1: Explore Resort (Secondary: Transparent background, white border and white text) */
.hero-btn-explore {
  background: rgba(10, 24, 20, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.30);
  font-weight: 600;
}

.hero-btn-explore:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #FFFFFF;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

/* Button 2: Book Your Stay (Primary: Solid muted-gold / bronze background with high-contrast text) */
.hero-btn-book {
  background: linear-gradient(135deg, #D4AF37 0%, #C49A45 100%);
  color: #0E1814;
  border: 1px solid #ECC568;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.40), 0 0 16px rgba(212, 175, 55, 0.35);
}

.hero-btn-book:hover {
  background: linear-gradient(135deg, #E5C365 0%, #D4AF37 100%);
  border-color: #FFF2C0;
  color: #07100D;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.50), 0 0 24px rgba(229, 195, 101, 0.50);
}

/* Button 3: WhatsApp Us (Compact dark translucent rounded button with WhatsApp icon) */
.hero-btn-whatsapp {
  background: rgba(4, 46, 39, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #FFFFFF;
  border: 1px solid rgba(220, 239, 232, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero-btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.20);
  border-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.30);
}

/* Icon Dimensions and Alignment */
.hero-btn .material-symbols-outlined {
  font-size: 1.125rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-wa-icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
  color: #25D366;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.hero-btn-whatsapp:hover .hero-wa-icon {
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .hero-wa-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
  }
}

/* ==========================================================================
 * 5. HERO BOTTOM-LEFT EDITORIAL LAYOUT ENGINE
 * ========================================================================== */
.hero-bottom-section {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  min-height: 85vh !important;
  height: 90vh !important;
  max-height: 900px !important;
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
}

@media (max-width: 768px) {
  .hero-bottom-section {
    min-height: 88vh !important;
    min-height: 88dvh !important;
    height: 90dvh !important;
    max-height: none !important;
    justify-content: flex-end !important;
  }
}

.hero-bottom-content {
  margin-top: auto !important;
  width: 100% !important;
  padding-bottom: 1rem !important;
  padding-top: 0.5rem !important;
}

@media (min-width: 640px) {
  .hero-bottom-content {
    padding-bottom: 2rem !important;
    padding-top: 1rem !important;
  }
}

@media (min-width: 1024px) {
  .hero-bottom-content {
    padding-bottom: 2.25rem !important;
  }
}

/* Compact Music ON/OFF Control (Bottom-Right of Hero Section) */
.hero-music-wrap {
  position: absolute !important;
  bottom: 0.85rem !important;
  right: 1rem !important;
  z-index: 30 !important;
  pointer-events: auto !important;
}

@media (min-width: 640px) {
  .hero-music-wrap {
    bottom: 1.75rem !important;
    right: 2rem !important;
  }
}

@media (min-width: 1024px) {
  .hero-music-wrap {
    bottom: 2.25rem !important;
    right: 3rem !important;
  }
}

.hero-music-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.375rem !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  padding: 0 0.75rem !important;
  background: rgba(10, 24, 20, 0.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 9999px !important;
  color: #FFFFFF !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.625rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease !important;
  user-select: none !important;
  pointer-events: auto !important;
}

.hero-music-toggle:hover {
  background: rgba(10, 24, 20, 0.88) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
  transform: translateY(-1px) scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45) !important;
}

.hero-music-toggle:focus-visible {
  outline: 2px solid #D4AF37 !important;
  outline-offset: 2px !important;
}

/* Sound bars indicator animation */
.sound-bars-wrap {
  display: inline-flex !important;
  align-items: flex-end !important;
  gap: 1.5px !important;
  height: 12px !important;
  width: 10px !important;
  flex-shrink: 0 !important;
}

.sound-bar {
  width: 2px !important;
  border-radius: 1px !important;
  transition: height 0.2s ease, background-color 0.2s ease !important;
}

.hero-music-toggle.is-playing .sound-bar {
  background-color: #25D366 !important;
}

.hero-music-toggle.is-playing .sound-bar:nth-child(1) {
  animation: soundBarPulse 0.9s ease-in-out infinite alternate !important;
}
.hero-music-toggle.is-playing .sound-bar:nth-child(2) {
  animation: soundBarPulse 0.7s ease-in-out 0.2s infinite alternate !important;
}
.hero-music-toggle.is-playing .sound-bar:nth-child(3) {
  animation: soundBarPulse 1.1s ease-in-out 0.4s infinite alternate !important;
}

@keyframes soundBarPulse {
  0% { height: 2px; }
  100% { height: 12px; }
}

.hero-music-toggle.is-muted .sound-bar {
  height: 2px !important;
  background-color: rgba(255, 255, 255, 0.40) !important;
}

/* Mobile Hero Compactness & Bottom Alignment Spec */
@media (max-width: 640px) {
  .hero-bottom-section {
    min-height: 90vh !important;
    min-height: 90dvh !important;
    height: 92dvh !important;
    max-height: none !important;
    justify-content: flex-end !important;
  }

  .hero-bottom-content {
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 1rem)) !important;
    padding-top: 0.5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  #hero-badge {
    margin-bottom: 0.35rem !important;
    padding: 0.2rem 0.65rem !important;
    gap: 0.35rem !important;
  }

  #hero-eyebrow {
    font-size: 0.5625rem !important;
    letter-spacing: 0.08em !important;
  }

  #hero-headline {
    font-size: 1.35rem !important;
    line-height: 1.15 !important;
    margin-bottom: 0.35rem !important;
    letter-spacing: -0.01em !important;
  }

  #hero-description {
    font-size: 0.6875rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.65rem !important;
    max-width: 270px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .hero-btn-group {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.65rem !important;
    margin-top: 0.35rem !important;
    width: auto !important;
  }

  .hero-btn {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 1.15rem !important;
    font-size: 0.6875rem !important;
    letter-spacing: 0.06em !important;
    gap: 0.35rem !important;
    flex-shrink: 0 !important;
  }

  .hero-btn .material-symbols-outlined {
    font-size: 0.95rem !important;
  }

  .hero-music-wrap {
    bottom: max(1rem, env(safe-area-inset-bottom, 1rem)) !important;
    right: 0.85rem !important;
  }

  .hero-music-toggle {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
    border-radius: 9999px !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  #hero-music-label {
    display: none !important;
  }

  #hero-music-icon {
    font-size: 16px !important;
    margin: 0 auto !important;
  }

  .sound-bars-wrap {
    display: none !important;
  }
}

/* ==========================================================================
 * 6. FLOATING WHATSAPP BUTTON (BOTTOM-RIGHT FAST CONTACT CTA)
 * ========================================================================== */
.floating-actions-aside {
  position: fixed !important;
  bottom: 1.5rem !important;
  right: 1.5rem !important;
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 0.75rem !important;
  pointer-events: none !important;
}

@media (max-width: 640px) {
  .floating-actions-aside {
    bottom: 1.25rem !important;
    right: 1.25rem !important;
    gap: 0.625rem !important;
  }
}

.floating-wa-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.625rem !important;
  background-color: #25D366 !important;
  color: #FFFFFF !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  padding: 0 1.35rem !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.10em !important;
  line-height: 1 !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  pointer-events: auto !important;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.floating-wa-btn:hover {
  background-color: #20ba5a !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.60), 0 6px 16px rgba(0, 0, 0, 0.30) !important;
}

.floating-wa-btn:active {
  transform: translateY(0) scale(0.97) !important;
}

.floating-wa-btn .floating-wa-svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
  fill: #FFFFFF !important;
  color: #FFFFFF !important;
}

.floating-wa-pulse-dot {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  min-height: 8px !important;
  border-radius: 9999px !important;
  background-color: #FFFFFF !important;
  display: inline-block !important;
  animation: waPulseRing 1.8s infinite !important;
}

@keyframes waPulseRing {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.85);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@media (max-width: 640px) {
  .floating-wa-btn {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    padding: 0 1.15rem !important;
    font-size: 0.70rem !important;
  }
  .floating-wa-btn .floating-wa-svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
  }
}

/* ==========================================================================
 * 7. HEADER BOOK NOW CTA & VILLA CARD ENHANCEMENTS
 * ========================================================================== */
.header-book-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  background: linear-gradient(135deg, #D4AF37 0%, #C49A45 100%) !important;
  color: #0E1814 !important;
  border: 1px solid #ECC568 !important;
  border-radius: 9999px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 12px rgba(212, 175, 55, 0.25) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

.header-book-btn:hover {
  background: linear-gradient(135deg, #E5C365 0%, #D4AF37 100%) !important;
  border-color: #FFF2C0 !important;
  color: #07100D !important;
  transform: translateY(-1px) scale(1.03) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 16px rgba(229, 195, 101, 0.45) !important;
}

.card-wa-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  background-color: #25D366 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  border-radius: 0.5rem !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.30) !important;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

/* Room Carousel 100% Slide Alignment */
.room-carousel-slide {
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
}

/* Room Primary Booking CTA Button */
.room-book-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  background: linear-gradient(135deg, #D4AF37 0%, #C49A45 100%) !important;
  color: #0E1814 !important;
  border: 1px solid #ECC568 !important;
  border-radius: 0.75rem !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.10em !important;
  text-decoration: none !important;
  padding: 0.85rem 1.4rem !important;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35), 0 2px 6px rgba(0, 0, 0, 0.10) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.room-book-btn:hover {
  background: linear-gradient(135deg, #E5C365 0%, #D4AF37 100%) !important;
  border-color: #FFF0BA !important;
  color: #07100D !important;
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45), 0 3px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Room Secondary WhatsApp Action Button */
.room-wa-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  background-color: #25D366 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 0.75rem !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  text-decoration: none !important;
  padding: 0.85rem 1.25rem !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.room-wa-btn:hover {
  background-color: #20BD5A !important;
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38) !important;
  color: #FFFFFF !important;
}

.card-wa-btn:hover {
  background-color: #20ba5a !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) scale(1.03) !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45) !important;
}

.amenity-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  padding: 0.25rem 0.55rem !important;
  background: #F4F3ED !important;
  color: #12211C !important;
  border: 1px solid rgba(18, 33, 28, 0.12) !important;
  border-radius: 0.375rem !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.6875rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
}
