/* ============================================
   Dr. Rita Marie Lamasney, MD — Custom Styles
   ============================================ */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf5ea;
}
::-webkit-scrollbar-thumb {
  background: #e04f26;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c93a1a;
}

/* Selection */
::selection {
  background: #f9c4b2;
  color: #712217;
}

/* Navbar scroll state */
#navbar.scrolled {
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(233, 212, 168, 0.3);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Hero blobs animation */
@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}
@keyframes float-medium {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 30px) scale(1.03); }
}
@keyframes float-fast {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15px, 20px) scale(1.04); }
}
.hero-blob {
  animation-duration: 8s;
}
.blob-1 { animation: float-slow 10s ease-in-out infinite; }
.blob-2 { animation: float-medium 12s ease-in-out infinite; }
.blob-3 { animation: float-fast 8s ease-in-out infinite; }

/* Scroll indicator line */
.scroll-line {
  animation: scroll-down 1.5s ease-in-out infinite;
}
@keyframes scroll-down {
  0% { top: -12px; opacity: 0; }
  50% { opacity: 1; }
  100% { top: 20px; opacity: 0; }
}

/* Service cards */
.service-card {
  transform: translateY(0);
}
.service-card:hover {
  transform: translateY(-4px);
}

/* Testimonial cards */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Scroll reveal animations (below fold only) */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-blob { animation: none; }
  .scroll-line { animation: none; }
  .reveal { transition: none; }
  .service-card:hover { transform: none; }
  .testimonial-card:hover { transform: none; }
}

/* Mobile menu */
.mobile-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.mobile-link:last-child {
  border-bottom: none;
}

/* Form select arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  appearance: none;
}

/* Navbar height */
#navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
