/* Dr. Smile Sweifieh Luxury Stylesheet - Gold, Charcoal Grey & Platinum White Aesthetic */

:root {
  --primary-gold: #d4af37;
  --primary-gold-light: #fde68a;
  --primary-gold-amber: #f59e0b;
  --dark-charcoal: #0b0d11;
  --dark-slate: #12151b;
  --card-bg: rgba(22, 26, 34, 0.88);
  --border-gold: rgba(212, 175, 55, 0.32);
  --border-gold-glow: rgba(245, 158, 11, 0.22);
}

body {
  font-family: 'Tajawal', sans-serif;
  background-color: var(--dark-charcoal);
  color: #f8fafc;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.font-en {
  font-family: 'Outfit', sans-serif;
}

/* Luxury Glassmorphism Cards */
.glass-panel {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 25px 50px -12px rgba(212, 175, 55, 0.18), inset 0 1px 0 rgba(253, 230, 138, 0.2);
}

.glass-panel-gold {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14) 0%, rgba(18, 21, 27, 0.95) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 15px 35px -10px rgba(212, 175, 55, 0.25);
}

/* Floating Hover Animation */
.hover-float {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.hover-float:hover {
  transform: translateY(-6px);
}

/* Luxury Gold Shimmer Border */
.shimmer-card {
  position: relative;
  overflow: hidden;
}

.shimmer-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(212, 175, 55, 0.18) 50%,
    transparent 55%
  );
  transform: rotate(30deg);
  animation: shimmerAnim 6s infinite linear;
  pointer-events: none;
}

@keyframes shimmerAnim {
  0% { transform: translateY(-100%) rotate(30deg); }
  100% { transform: translateY(100%) rotate(30deg); }
}

/* Marquee infinite scroll for accreditations */
.marquee-container {
  overflow: hidden;
  user-select: none;
  display: flex;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
  display: flex;
  gap: 2.5rem;
  flex-shrink: 0;
  animation: marqueeScroll 28s linear infinite;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Fade in up animation */
.animate-fade-up {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Glowing text & borders in Gold */
.text-glow-gold {
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.border-glow-gold-pulse {
  animation: borderGoldPulse 3s infinite alternate ease-in-out;
}

@keyframes borderGoldPulse {
  0% { border-color: rgba(212, 175, 55, 0.3); box-shadow: 0 0 15px rgba(212, 175, 55, 0.2); }
  100% { border-color: rgba(245, 158, 11, 0.8); box-shadow: 0 0 35px rgba(212, 175, 55, 0.45); }
}

/* Before / After Split Slider */
.ba-container {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  border-radius: 24px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  touch-action: pan-y;
  background: #000;
}

@media (max-width: 640px) {
  .ba-container {
    height: 300px;
  }
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.ba-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
  -webkit-clip-path: inset(0 50% 0 0);
  pointer-events: none;
  z-index: 5;
}

.ba-overlay .ba-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(to bottom, #fde68a, #d4af37, #f59e0b);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.9), 0 0 30px rgba(245, 158, 11, 0.6);
  transform: translateX(-50%);
  z-index: 15;
  pointer-events: none;
}

.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fde68a 0%, #d4af37 50%, #b48a1c 100%);
  color: #0b0d11;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.95), 0 4px 12px rgba(0, 0, 0, 0.5);
  cursor: ew-resize;
  z-index: 20;
  pointer-events: none;
}

/* Sound Visualizer Bars in Gold */
.music-bar {
  width: 3px;
  background-color: #d4af37;
  border-radius: 2px;
  animation: barBounce 1.2s infinite ease-in-out alternate;
}

.music-bar:nth-child(1) { height: 8px; animation-delay: 0.1s; }
.music-bar:nth-child(2) { height: 16px; animation-delay: 0.3s; }
.music-bar:nth-child(3) { height: 22px; animation-delay: 0.2s; }
.music-bar:nth-child(4) { height: 12px; animation-delay: 0.4s; }

@keyframes barBounce {
  0% { transform: scaleY(0.4); opacity: 0.5; }
  100% { transform: scaleY(1.4); opacity: 1; }
}

.music-paused .music-bar {
  animation: none !important;
  transform: scaleY(0.3) !important;
  opacity: 0.4 !important;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0b0d11;
}
::-webkit-scrollbar-thumb {
  background: #1e2530;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Gradient Text Clipping Fix for Arabic Typography */
.arabic-title-gradient {
  display: inline-block;
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 50%, #d4af37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.42;
  padding-bottom: 0.35em;
  padding-top: 0.1em;
  padding-left: 0.15em;
  padding-right: 0.15em;
  overflow: visible;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.25));
}

/* Instagram Reel Video Preview Card */
.reel-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #12151b;
  border: 1px solid rgba(212, 175, 55, 0.25);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.reel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 20px 35px -10px rgba(212, 175, 55, 0.2);
}

