/* Custom styles for Salyer Station & the Lower Trinity Engines */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f3e6f7;
}
::-webkit-scrollbar-thumb {
  background: #d8a7e4;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c278d1;
}

/* Navbar scroll state */
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(123, 38, 122, 0.08);
}

/* Nav links */
.nav-link {
  position: relative;
}

/* Mobile menu */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-link {
  display: block;
}

/* Service cards */
.service-card {
  cursor: default;
}

/* Scroll-to-top button */
#scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .service-card,
  .group {
    transition: none;
  }
  .group img {
    transition: none;
  }
  #scroll-top {
    transition: none;
  }
}

/* Focus visible for keyboard nav */
*:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Input autofill style */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #f9f3fb inset !important;
  -webkit-text-fill-color: #4f154e !important;
}

/* Print styles */
@media print {
  #site-header,
  #scroll-top,
  .service-card,
  #gallery img {
    display: none;
  }
  body {
    background: white;
    color: #1a1a1a;
  }
}
