/* Custom styles for Alta Vista Lath & Plaster */

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

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

/* Mobile menu link hover */
.mobile-link {
  display: block;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F7F5F0;
}
::-webkit-scrollbar-thumb {
  background: #C8960C;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B8860B;
}

/* Selection color */
::selection {
  background: #C8960C;
  color: #0A1F44;
}

/* Scroll reveal base — progressive enhancement */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #F7F5F0 inset !important;
}

/* Navbar scroll state */
.navbar-scrolled {
  box-shadow: 0 1px 3px rgba(10, 31, 68, 0.08);
}
