/* ============================================
   Olivet College Health and Wellness Center
   Custom Styles
   ============================================ */

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

/* Base font settings */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #FAF7F0;
}
::-webkit-scrollbar-thumb {
  background: #C0603A;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A34D2E;
}

/* Selection color */
::selection {
  background: #C0603A;
  color: #fff;
}

/* Service card hover */
.service-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-card:hover {
  transform: translateY(-4px);
}

/* Navbar transition */
.nav-scrolled {
  background: rgba(250, 247, 240, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Mobile menu transitions */
.mobile-menu-open {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .service-card,
  .service-card img {
    transition: none;
  }
  .service-card:hover {
    transform: none;
  }
}

/* Fade-in animation (progressive enhancement) */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.hidden-reveal {
  opacity: 0;
  transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
  }
  .reveal.hidden-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Form select styling */
select option {
  background: #fff;
  color: #2A2420;
  padding: 8px;
}

/* Contact form focus states */
input:focus,
textarea:focus,
select:focus {
  border-bottom-color: #C0603A !important;
}

/* Print styles */
@media print {
  nav, #contact, footer {
    display: none;
  }
  body {
    color: #000;
    background: #fff;
  }
}
