/* Walkthrough Shield — property walkthrough documentation site. */
/* Most styling is Tailwind (via CDN) in index.html. This file holds only */
/* what Tailwind utilities don't cover cleanly. */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
}

/* Offset anchor jumps so the fixed nav doesn't cover section headings. */
section[id],
header[id] {
  scroll-margin-top: 5rem;
}

/* Hero background: a professional property image with a sturdy gradient
   fallback so the hero always reads well even if the image fails. */
.hero-bg {
  background-color: #0f172a;
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.75)),
    url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
}

/* Reveal-on-scroll animation (progressive enhancement). */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
