  /* Custom styles for Mountain Stone Inn */

  html {
    scroll-behavior: smooth;
  }

  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Scroll reveal — progressive enhancement, only active with JS */
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

  /* Navbar glass effect */
  #navbar.scrolled {
    background: rgba(44, 20, 32, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #faf4f7;
  }
  ::-webkit-scrollbar-thumb {
    background: #d4adbe;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #bc7e97;
  }

  /* Selection color */
  ::selection {
    background: #e7d0db;
    color: #4f2638;
  }

  /* Input autofill styling */
  input:-webkit-autofill,
  textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px rgba(250, 244, 247, 0.9) inset !important;
    color: inherit !important;
  }
</style>
