/* ==========================================================================
   RITMO CANDELA - Custom CSS Stylesheet
   Nightlife Salsa Concept | Fire & Brass Aesthetics
   ========================================================================== */

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

:root {
  --bg-base: #0F0F12;
  --bg-card: #1A1A22;
  --bg-card-hover: #23232F;
  --candela-red: #FF3B00;
  --candela-gold: #FF9F00;
  --text-primary: #FFFFFF;
  --text-secondary: #D1D5DB;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Base Reset & Smooth Scrolling */
html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-secondary);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-base);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FF3B00 0%, #FF9F00 100%);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #FF5520 0%, #FFB426 100%);
}

/* Custom Text Gradients */
.text-gradient-candela {
  background: linear-gradient(135deg, #FF9F00 0%, #FF3B00 50%, #FF1A00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FFF3C4 0%, #FF9F00 60%, #E67E00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Candela Glows & Shadows */
.glow-candela {
  box-shadow: 0 0 25px rgba(255, 59, 0, 0.45);
}

.glow-candela-lg {
  box-shadow: 0 0 45px rgba(255, 59, 0, 0.6), 0 0 90px rgba(255, 159, 0, 0.25);
}

.glow-gold {
  box-shadow: 0 0 25px rgba(255, 159, 0, 0.4);
}

.glow-border {
  border-color: rgba(255, 59, 0, 0.4);
  box-shadow: 0 0 15px rgba(255, 59, 0, 0.25) inset;
}

.glow-text {
  text-shadow: 0 0 20px rgba(255, 59, 0, 0.6);
}

/* Glassmorphism effects */
.glass-nav {
  background: rgba(15, 15, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(26, 26, 34, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: rgba(35, 35, 47, 0.85);
  border-color: rgba(255, 59, 0, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 59, 0, 0.2);
}

/* Hero Background and Overlay */
.hero-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-bg-img {
  transform: scale(1.05);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-overlay {
  background: radial-gradient(circle at 50% 30%, rgba(255, 59, 0, 0.18) 0%, rgba(15, 15, 18, 0.75) 50%, #0F0F12 95%),
              linear-gradient(180deg, rgba(15, 15, 18, 0.4) 0%, rgba(15, 15, 18, 0.9) 80%, #0F0F12 100%);
}

/* Fire Pulse Keyframes */
@keyframes flamePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
    filter: drop-shadow(0 0 18px rgba(255, 59, 0, 0.85));
  }
}

.animate-flame {
  animation: flamePulse 2.8s infinite ease-in-out;
}

/* Sound Wave Animation for live audio widget */
@keyframes soundWave {
  0%, 100% { height: 6px; }
  50% { height: 26px; }
}

.bar-1 { animation: soundWave 1.2s ease-in-out infinite; }
.bar-2 { animation: soundWave 0.9s ease-in-out 0.2s infinite; }
.bar-3 { animation: soundWave 1.4s ease-in-out 0.4s infinite; }
.bar-4 { animation: soundWave 0.8s ease-in-out 0.1s infinite; }
.bar-5 { animation: soundWave 1.1s ease-in-out 0.3s infinite; }

/* Floating WhatsApp Pulse Button */
@keyframes pulseRing {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.04);
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-pulse {
  animation: pulseRing 2.2s infinite;
}

/* Input Fields styling */
.custom-input {
  background-color: rgba(26, 26, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  transition: all 0.25s ease;
}

.custom-input:focus {
  outline: none;
  border-color: #FF3B00;
  box-shadow: 0 0 0 3px rgba(255, 59, 0, 0.25);
  background-color: #23232F;
}

/* Badge styles */
.badge-live {
  background: rgba(255, 59, 0, 0.15);
  border: 1px solid rgba(255, 59, 0, 0.4);
  color: #FF9F00;
}

/* Custom Accordion for FAQ in Events */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, opacity 0.3s ease;
  opacity: 0;
}

.accordion-item.active .accordion-content {
  max-height: 400px;
  opacity: 1;
}

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