/* Custom styles for Radiant Reflections */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f0f4f8;
}
::-webkit-scrollbar-thumb {
  background: #2d5f8a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1e4a6e;
}

/* Service card gradient overlay on hover */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 30, 48, 0.03) 0%, transparent 40%);
  pointer-events: none;
  border-radius: inherit;
}

/* Subtle entrance animation 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.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile menu transition */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
#mobile-menu.open {
  max-height: 400px;
}

/* Header shadow on scroll */
#header.scrolled {
  box-shadow: 0 4px 20px rgba(7, 30, 48, 0.08);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #25b856;
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background-color: #25b856;
  color: #071e30;
}
