/* ==========================================================================
   Design System & Premium Tokens - THE VIP CARACAS
   ========================================================================== */

:root {
  /* Color Palette - Luxury Hotel Aesthetic (Light modern) */
  --bg-primary: #ffffff;           /* Pure White */
  --bg-secondary: #f8fafc;         /* Slate off-white */
  --color-blue: #0A3BB0;           /* Royal Blue */
  --color-blue-hover: #002c91;
  --color-gold: #c5a880;           /* Warm Champagne Gold */
  --color-gold-hover: #b4976f;
  --text-primary: #0f172a;         /* Deep Slate / Navy */
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  /* Fonts - Clean Modern Sans-Serif */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Animations */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Bloqueo de selección/copia (disuasión) */
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

/* ==========================================================================
   App Layout - Immersive Fullscreen Experience
   ========================================================================== */

.app-container {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* Modern dynamic viewport height for mobile browsers */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-primary);
}

/* Luxury Radial Vignette Overlay */
.vignette-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0) 40%, rgba(10, 59, 176, 0.03) 100%);
}

/* Ambient Background Blur Layer */
.background-ambient-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background-color: var(--bg-primary);
}

.bg-blur-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  filter: blur(50px) brightness(1.05) opacity(0.15) saturate(0.85);
  transform: scale(1.15); /* Enlarge slightly to hide blurred screen borders */
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

/* Responsive Image Container */
.coming-soon-picture {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding: 1.5rem; /* Soft padding to prevent touching browser edges */
}

.coming-soon-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0;
  transform: scale(1.015);
  filter: blur(4px);
  animation: elegantFadeIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform, filter;
}

.cta-booking-btn {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translate(-50%, 15px);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--color-blue);
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.12em;
  padding: 1.1rem 2.8rem;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(10, 59, 176, 0.25), 0 0 0 1px rgba(10, 59, 176, 0.1);
  opacity: 0;
  animation: ctaReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.8s;
  transition: background-color 0.3s ease, 
              box-shadow 0.3s ease, 
              color 0.3s ease,
              transform 0.2s ease;
  will-change: opacity, transform;
  cursor: pointer;
}

.cta-booking-btn:hover {
  background-color: var(--color-blue-hover);
  box-shadow: 0 15px 35px rgba(10, 59, 176, 0.38), 0 0 0 1px rgba(10, 59, 176, 0.15);
  transform: translate(-50%, -2px);
}

.cta-booking-btn:active {
  transform: translate(-50%, 1px);
  box-shadow: 0 5px 15px rgba(10, 59, 176, 0.2);
}

.cta-icon {
  font-size: 1rem;
  display: inline-block;
  animation: starPulse 2.5s ease-in-out infinite;
}

@keyframes ctaReveal {
  0% {
    opacity: 0;
    transform: translate(-50%, 15px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes starPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.25) rotate(45deg); opacity: 1; }
}

/* Adaptive styles for mobile screens */
@media (max-width: 480px) {
  .cta-booking-btn {
    bottom: 2rem;
    padding: 1rem 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    width: 85%;
    max-width: 320px;
    justify-content: center;
  }
}

/* ==========================================================================
   Widget Flotante de WhatsApp
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  z-index: 20;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: whatsappPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.4s both;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: whatsappPulse 2.4s ease-out infinite;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes whatsappPop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* En móvil el CTA queda centrado abajo (bottom: 2rem, alto ~3.1rem): subimos
   el botón de WhatsApp por encima para que no se solape con el CTA. */
@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 6rem;
    right: 1rem;
  }
}

/* ==========================================================================
   Premium Cinematic Micro-Animations
   ========================================================================== */

@keyframes elegantFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.04);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

/* High-end loading indicator (Visible only during image load if needed) */
.preloader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(10, 59, 176, 0.1);
  border-top: 2px solid var(--color-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.preloader-text {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-blue);
  opacity: 0.8;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Media query to fine-tune scaling on extremely large screens */
@media (min-width: 2000px) {
  .coming-soon-img {
    object-fit: contain; /* Prevent excessive pixelation on ultra-wide monitors */
    background-color: var(--bg-primary);
  }
}
