/* 
 * Elite Voice (elitevoice.pt) - Custom High-End Styling
 * Featuring Hugeicons & Spacious Wide Glassmorphism Design
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Grotesk:wght@500;600;700;800&display=swap');
@import url('https://cdn.hugeicons.com/font/hgi-stroke-rounded.css');

:root {
  --bg-primary: #05070c;
  --bg-secondary: #0a0f1a;
  --accent-cyan: #00d2ff;
  --accent-blue: #2563eb;
  --accent-glow: rgba(0, 210, 255, 0.15);
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-primary);
  color: #f1f5f9;
}

h1, h2, h3, .font-heading {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.025em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #05070c;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(10, 15, 26, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-panel-hover:hover {
  border-color: rgba(0, 210, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -12px rgba(0, 210, 255, 0.16);
}

/* Glow Background Orbs */
.glow-orb-cyan {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.13) 0%, rgba(0, 210, 255, 0) 70%);
  filter: blur(70px);
  pointer-events: none;
}

.glow-orb-blue {
  position: absolute;
  width: 750px;
  height: 750px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
}

/* Sound Wave Equalizer Bars Animation */
.sound-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}
.sound-wave-bar {
  width: 3px;
  background: #00d2ff;
  border-radius: 3px;
  animation: equalize 1.2s infinite ease-in-out alternate;
}
.sound-wave-bar:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.sound-wave-bar:nth-child(2) { height: 16px; animation-delay: 0.3s; }
.sound-wave-bar:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.sound-wave-bar:nth-child(4) { height: 18px; animation-delay: 0.5s; }
.sound-wave-bar:nth-child(5) { height: 8px; animation-delay: 0.4s; }

@keyframes equalize {
  0% { transform: scaleY(0.3); opacity: 0.5; }
  100% { transform: scaleY(1.2); opacity: 1; }
}

/* Real-time Spectrum Wave in Hero */
.audio-spectrum-live {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
  padding: 10px 0;
}
.spectrum-bar {
  flex: 1;
  background: linear-gradient(to top, #2563eb, #00d2ff);
  border-radius: 4px;
  animation: spectrumAnim 1.4s ease-in-out infinite alternate;
}
.spectrum-bar:nth-child(odd) { animation-duration: 1.1s; }
.spectrum-bar:nth-child(3n) { animation-duration: 0.8s; }
.spectrum-bar:nth-child(4n) { animation-duration: 1.6s; }

@keyframes spectrumAnim {
  0% { height: 15%; opacity: 0.4; }
  50% { height: 85%; opacity: 1; }
  100% { height: 35%; opacity: 0.6; }
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #a5f3fc 45%, #00d2ff 80%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-accent {
  background: linear-gradient(135deg, #00d2ff 0%, #2563eb 100%);
}

.gradient-accent-hover:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #1d4ed8 100%);
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.35);
}

/* Tag Badge */
.badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  color: #38bdf8;
}

/* Redesigned Luxury Best Value Tag */
.best-value-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.18) 0%, rgba(37, 99, 235, 0.35) 100%);
  border: 1px solid rgba(0, 210, 255, 0.6);
  color: #38bdf8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.25);
  white-space: nowrap;
}

/* Language Pill (No bar) */
.lang-pill-container {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 3px;
  gap: 2px;
}
.lang-pill-btn {
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s ease;
  color: #94a3b8;
}
.lang-pill-btn.active {
  background: #00d2ff;
  color: #05070c;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.4);
}

/* Infinite Testimonial Marquee Slider */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollMarquee 42s linear infinite;
  will-change: transform;
}

.marquee-track.is-paused,
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}

/* Modal */
#booking-modal {
  transition: opacity 0.25s ease;
}

/* Custom Dropdown Scrollbar strictly contained inside bounds */
.dropdown-list {
  scrollbar-width: thin;
  scrollbar-color: #3f3f46 transparent;
}
.dropdown-list::-webkit-scrollbar {
  width: 5px;
}
.dropdown-list::-webkit-scrollbar-track {
  background: transparent;
  margin: 6px 0;
}
.dropdown-list::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 9999px;
}
.dropdown-list::-webkit-scrollbar-thumb:hover {
  background: #0284c7;
}

/* Custom Styled Select Dropdown (Native fallback) */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

select::-ms-expand {
  display: none;
}

select option {
  background-color: #090e18;
  color: #f1f5f9;
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 500;
}

select option:hover,
select option:focus,
select option:checked {
  background-color: #0284c7 !important;
  color: #ffffff !important;
}
