/* Golden Dentist - Custom Production Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary-gold: #c59b27;
  --primary-gold-dark: #9a781b;
  --primary-gold-light: #fef9ed;
  --slate-dark: #090f1d;
  --slate-navy: #0f172a;
  --accent-teal: #0d9488;
  --accent-green: #10b981;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  color: #1e293b;
  background-color: #f8fafc;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Golden Gradient Accents */
.gold-gradient-text {
  background: linear-gradient(135deg, #d4af37 0%, #aa820a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-bg {
  background: linear-gradient(135deg, #d4af37 0%, #b38914 100%);
}

.gold-gradient-subtle {
  background: linear-gradient(180deg, #fef9ed 0%, #ffffff 100%);
}

/* Pulse animation for emergency badge */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
}

.pulse-emergency {
  animation: pulseGlow 2s infinite;
}

/* Before / After Interactive Slider Styles */
.ba-slider-container {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 1.25rem;
  user-select: none;
  touch-action: pan-y;
  background-color: #0f172a;
}

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

.ba-slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
  pointer-events: none;
  border-right: 3px solid #ffffff;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.4);
}

.ba-slider-overlay .ba-slider-image {
  width: 100%;
  max-width: none;
}

.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: 3px solid #c59b27;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  z-index: 20;
  transition: transform 0.1s ease;
}

.ba-slider-handle:hover, .ba-slider-handle:active {
  transform: translate(-50%, -50%) scale(1.1);
}

.ba-badge {
  position: absolute;
  padding: 0.35rem 0.85rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 9999px;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ba-badge-before {
  top: 1rem;
  left: 1rem;
}

.ba-badge-after {
  top: 1rem;
  right: 1rem;
}

/* Safe area padding for mobile bottom sticky bar */
.safe-bottom-pad {
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
}

/* Smooth Accordion */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Trust Card Glassmorphism */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
