/* ==========================================================================
   LP Events and Entertainments - Premium Luxury Theme
   Royal Purple (#18042B, #2A0845) & Radiant Gold (#D4AF37, #F5E08F)
   ========================================================================== */

:root {
  --color-bg-dark: #0d0218;
  --color-bg-surface: #18042b;
  --color-bg-card: rgba(35, 7, 58, 0.75);
  --color-bg-card-hover: rgba(56, 12, 94, 0.9);
  --color-purple-primary: #2a0845;
  --color-purple-light: #521588;
  --color-purple-glow: rgba(147, 51, 234, 0.35);
  
  --color-gold-primary: #d4af37;
  --color-gold-light: #fbe69e;
  --color-gold-dark: #9e7d18;
  --color-gold-glow: rgba(212, 175, 55, 0.35);

  --color-text-main: #fdfaf6;
  --color-text-muted: #d8cde6;
  --color-text-dim: #9e8fb8;

  --border-gold-subtle: rgba(212, 175, 55, 0.22);
  --border-gold-bright: rgba(212, 175, 55, 0.6);
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

main {
  overflow-x: hidden;
  max-width: 100%;
}

::selection {
  background: var(--color-gold-primary);
  color: #18042b;
}

/* Typography Enhancements */
.font-serif-luxury {
  font-family: var(--font-serif);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #fff3c4 0%, #d4af37 50%, #aa820a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-purple-gradient {
  background: linear-gradient(135deg, #e9d5ff 0%, #c084fc 50%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gold Gradient Borders & Backgrounds */
.gold-border-glow {
  border: 1px solid var(--border-gold-subtle);
  box-shadow: 0 0 20px -5px var(--color-gold-glow);
  transition: all 0.3s ease-in-out;
}

.gold-border-glow:hover {
  border-color: var(--border-gold-bright);
  box-shadow: 0 0 30px 0 var(--color-gold-glow);
}

.btn-gold {
  background: linear-gradient(135deg, #fbe69e 0%, #d4af37 50%, #b8911b 100%);
  color: #1a042d;
  font-weight: 700;
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
  color: #000;
}

.btn-purple-outline {
  background: rgba(42, 8, 69, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #fdfaf6;
  font-weight: 600;
  border-radius: 9999px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-purple-outline:hover {
  background: rgba(82, 21, 136, 0.6);
  border-color: #d4af37;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 1.25rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5), 0 0 25px -5px var(--color-purple-glow);
}

/* Hero Background Sparkles & Ambient Glows */
.ambient-glow-purple {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.22) 0%, rgba(42, 8, 69, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-gold {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

/* Floating animation */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.5deg);
  }
}

.animate-float {
  animation: floatSlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  }
  50% {
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.6);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 3s infinite ease-in-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0d0218;
}

::-webkit-scrollbar-thumb {
  background: #3b1260;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Range Slider Styling for Calculator */
input[type="range"] {
  accent-color: #d4af37;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

/* Custom Checkbox for Calculator */
.service-check-input:checked + label {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.14);
}

.service-check-input:checked + label .check-icon {
  background: #d4af37;
  color: #18042b;
  border-color: #d4af37;
}

/* Lightbox Modal */
.lightbox-modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

/* Tab Active State */
.filter-btn.active,
.gallery-filter-btn.active {
  background: linear-gradient(135deg, #fbe69e 0%, #d4af37 100%) !important;
  color: #18042b !important;
  font-weight: 700 !important;
  border-color: #d4af37 !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.45);
}

/* Instagram Feed Grid Styles */
.insta-story-ring {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  padding: 3px;
  border-radius: 9999px;
  display: inline-flex;
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  font-weight: 700;
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(220, 39, 67, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(220, 39, 67, 0.55);
  color: #ffffff;
}

.insta-post-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 1rem;
  overflow: hidden;
  background: #1a042e;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.insta-post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(220, 39, 67, 0.3);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 4, 32, 0.85);
  backdrop-filter: blur(4px);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
  transition: opacity 0.3s ease;
}

.insta-post-card:hover .insta-overlay {
  opacity: 1;
}

.insta-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(18, 4, 32, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 9999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Gold Divider Ornament */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto;
}

.gold-divider::before,
.gold-divider::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

/* Badge Glow */
.gold-pill {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #fbe69e;
  border-radius: 9999px;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Floating Action Buttons (Mobile & Tablet only, hidden on Desktop) */
.floating-action-container {
  position: fixed !important;
  bottom: 22px !important;
  right: 18px !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: auto !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (min-width: 1024px) {
  .floating-action-container {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .floating-action-container {
    bottom: 18px !important;
    right: 16px !important;
    gap: 10px !important;
  }
}

.floating-call-btn {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #2a0845, #18042b);
  border: 2px solid #d4af37;
  color: #fbe69e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-call-btn:hover {
  transform: scale(1.1);
  border-color: #fbe69e;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.55);
}

.floating-wa-btn {
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulseWa 2.5s infinite ease-in-out;
}

.floating-wa-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7);
}

@keyframes pulseWa {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.75);
  }
}
