/* ==========================================================================
   OHIO HEALTHCARE CLINIC - PARALLAX & DEPTH MOTION ENGINE
   GPU-accelerated layered scroll depth and interactive float physics
   ========================================================================== */

/* Parallax Container Wrap */
.parallax-scene {
  position: relative;
  overflow: hidden;
}

/* Ambient Floating Layers */
.parallax-layer {
  position: absolute;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.1s cubic-bezier(0, 0, 0.2, 1);
}

/* Background floating decorative orbs */
.parallax-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

.orb-blue {
  background: radial-gradient(circle, rgba(0, 102, 204, 0.22) 0%, rgba(0, 168, 150, 0.05) 70%);
  width: 380px;
  height: 380px;
  top: -80px;
  right: -50px;
}

.orb-teal {
  background: radial-gradient(circle, rgba(0, 168, 150, 0.18) 0%, rgba(235, 244, 252, 0) 70%);
  width: 320px;
  height: 320px;
  bottom: 20px;
  left: -80px;
}

.orb-sage {
  background: radial-gradient(circle, rgba(78, 135, 115, 0.2) 0%, rgba(216, 243, 220, 0) 70%);
  width: 400px;
  height: 400px;
  top: -60px;
  right: -60px;
}

.orb-amber {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(250, 248, 245, 0) 70%);
  width: 280px;
  height: 280px;
  bottom: 10px;
  left: -40px;
}

/* Floating Interactive Badges with Scroll-Depth */
.parallax-badge-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: gentleFloat 6s ease-in-out infinite alternate;
}

.badge-top-right {
  top: 15px;
  right: -20px;
}

.badge-bottom-left {
  bottom: 25px;
  left: -25px;
  animation-delay: -3s;
}

.parallax-badge-float .badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-blue-light);
  color: var(--color-blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.parallax-badge-float .badge-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.parallax-badge-float .badge-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Keyframe Float Animations */
@keyframes gentleFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.5deg);
  }
  100% {
    transform: translateY(4px) rotate(-0.5deg);
  }
}

/* Parallax Banner with Depth Texture */
.parallax-banner {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

/* Scroll Depth Targets */
[data-parallax-speed] {
  will-change: transform;
  transition: transform 0.05s linear;
}

/* Accessible Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .parallax-layer,
  .parallax-badge-float,
  [data-parallax-speed] {
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
