/* Custom styles for MVHS Medical Group – Oneida */

html {
  scroll-behavior: smooth;
}

/* Navbar glass effect */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* Subtle pattern for warm sections */
.bg-warm-50 {
  background-image: radial-gradient(circle at 20% 20%, rgba(232, 99, 90, 0.04) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(232, 99, 90, 0.03) 0%, transparent 50%);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FDFCFB;
}
::-webkit-scrollbar-thumb {
  background: #E8635A;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C4453A;
}

/* Focus visible styles */
*:focus-visible {
  outline: 2px solid #E8635A;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection color */
::selection {
  background: rgba(232, 99, 90, 0.2);
  color: #111827;
}

/* Smooth image rendering */
img {
  -webkit-font-smoothing: antialiased;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
