/* Custom styles for Memphis Surgical Specialists */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdf2f4;
}
::-webkit-scrollbar-thumb {
  background: #a1193c;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #831836;
}

/* Selection color */
::selection {
  background: #fce7eb;
  color: #3d0715;
}

/* Subtle line decorations */
.section-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, #a1193c, #fad0d9);
}

/* Card hover effects */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
}

/* Fade-in animations for below-fold content */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #a1193c;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Navbar scroll state */
.nav-scrolled {
  box-shadow: 0 1px 20px rgba(161, 25, 60, 0.08);
}

/* Button ripple effect */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}
