/* ==========================================================================
   LA LLOVIZNA HOTEL & CASINO — LUXURY & BESPOKE STYLING
   Paleta: Deep Caroní Emerald (#091411), Champagne Gold (#C5A869),
   Sunlit Bronze (#9A7840), Silk Cream (#FAF9F6)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Cinzel:wght@500;700;900&display=swap');

:root {
  --color-bg-dark: #070e0c;
  --color-surface-dark: #0e1c18;
  --color-surface-card: #132420;
  --color-surface-elevated: #1a302a;
  
  --color-emerald-deep: #0b1a16;
  --color-emerald-accent: #1e3d34;
  --color-emerald-light: #2c594c;
  
  --color-gold-light: #f3e5c8;
  --color-gold: #c5a869;
  --color-gold-hover: #dbbe7d;
  --color-gold-dark: #977839;
  --color-bronze: #846029;
  
  --color-text-primary: #ffffff;
  --color-text-secondary: #c2cfc9;
  --color-text-muted: #839790;
  --color-text-gold: #d8be82;
  
  --color-light-bg: #f9f8f5;
  --color-light-surface: #ffffff;
  --color-light-card: #f2efe9;
  --color-light-text: #1a2522;
  --color-light-muted: #5d7069;
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Cinzel', 'Cormorant Garamond', serif;
  
  --glass-bg: rgba(14, 28, 24, 0.75);
  --glass-border: rgba(197, 168, 105, 0.22);
  --glass-border-hover: rgba(197, 168, 105, 0.55);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  
  --gold-gradient: linear-gradient(135deg, #c5a869 0%, #fae8c6 50%, #b3914a 100%);
  --gold-gradient-dark: linear-gradient(135deg, #a4823e 0%, #c5a869 50%, #7d6027 100%);
  --gold-gradient-text: linear-gradient(135deg, #f7e8c6 0%, #c5a869 60%, #e0c88f 100%);
  --emerald-gradient: linear-gradient(180deg, #091411 0%, #0e1c18 50%, #070e0c 100%);
  --card-gradient: linear-gradient(145deg, rgba(26, 48, 42, 0.6) 0%, rgba(14, 28, 24, 0.9) 100%);
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: var(--color-bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--color-gold);
  color: var(--color-bg-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-emerald-accent);
  border-radius: 4px;
  border: 1px solid var(--glass-border);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-dark);
}

/* Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
}
.font-sans {
  font-family: var(--font-sans);
}
.font-display {
  font-family: var(--font-display);
}

.text-gold-gradient {
  background: var(--gold-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gold {
  color: var(--color-gold);
}

.bg-gold-gradient {
  background: var(--gold-gradient);
}

.bg-gold-gradient-dark {
  background: var(--gold-gradient-dark);
}

.bg-emerald-gradient {
  background: var(--emerald-gradient);
}

.border-gold-subtle {
  border-color: var(--glass-border);
}

/* Luxury Glassmorphism */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 168, 105, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.glass-header {
  background: rgba(7, 14, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(197, 168, 105, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-header.scrolled {
  background: rgba(7, 14, 12, 0.96);
  border-bottom: 1px solid rgba(197, 168, 105, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Golden luxury buttons */
.btn-luxury {
  position: relative;
  background: var(--gold-gradient);
  color: #0c1814;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  padding: 0.875rem 1.875rem;
  border-radius: 9999px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(197, 168, 105, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-luxury:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(197, 168, 105, 0.55);
  color: #060d0b;
}

.btn-luxury::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-25deg);
  transition: 0.6s ease;
}

.btn-luxury:hover::after {
  left: 140%;
}

.btn-luxury-outline {
  position: relative;
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  padding: 0.875rem 1.875rem;
  border-radius: 9999px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}

.btn-luxury-outline:hover {
  background: rgba(197, 168, 105, 0.12);
  border-color: var(--color-gold-light);
  color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(197, 168, 105, 0.2);
}

/* Luxury Interactive Cards */
.luxury-card {
  position: relative;
  background: var(--card-gradient);
  border: 1px solid var(--glass-border);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 25px rgba(197, 168, 105, 0.15);
}

.luxury-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(197, 168, 105, 0.4), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.luxury-card:hover::before {
  opacity: 1;
}

/* Gold Shimmer Text and Borders */
.gold-badge {
  background: rgba(197, 168, 105, 0.12);
  border: 1px solid rgba(197, 168, 105, 0.35);
  color: var(--color-gold-light);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  width: 100%;
}

.gold-divider-left {
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  width: 100%;
}

/* Floating WhatsApp Concierge Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-whatsapp:hover {
  transform: scale(1.08) translateY(-3px);
}

.pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: pulseAnimation 2.2s infinite;
}

@keyframes pulseAnimation {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

/* Hero Background Slide Animation */
.hero-image-zoom {
  animation: heroZoom 24s infinite alternate ease-in-out;
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 8, 0.95);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

/* Custom Filter Tabs */
.tab-btn {
  position: relative;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  border-radius: 9999px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
  background: var(--gold-gradient);
  color: #070e0c;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(197, 168, 105, 0.3);
}

.tab-btn:hover:not(.active) {
  color: var(--color-gold-light);
  border-color: rgba(197, 168, 105, 0.3);
  background: rgba(197, 168, 105, 0.08);
}

/* Room Tag Badges */
.amenity-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

/* Interactive Accordion for FAQs */
.accordion-header {
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background: rgba(197, 168, 105, 0.04);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--color-gold);
}

/* Casino Neon / Gold Glow */
.casino-glow {
  box-shadow: 0 0 40px rgba(197, 168, 105, 0.18), inset 0 0 20px rgba(197, 168, 105, 0.08);
}

.casino-vip-card {
  background: radial-gradient(circle at top right, rgba(197, 168, 105, 0.15), rgba(7, 14, 12, 0.95) 70%);
  border: 1px solid rgba(197, 168, 105, 0.3);
}

/* Luxury Quote Widget */
.booking-bar-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transition: all 0.3s ease;
}

.booking-bar-input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(197, 168, 105, 0.2);
}

.booking-bar-input option {
  background: #0e1c18;
  color: #ffffff;
}

/* Floating notification toast */
#toastNotification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 10001;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

#toastNotification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .btn-luxury, .btn-luxury-outline {
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
  }
  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}
