/* ── Base & Utilities ── */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ── Navbar ── */
#nav {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
#nav.scrolled {
  background: rgba(253, 248, 240, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.nav-logo-text { transition: color 0.3s ease; }

/* ── Nav Links ── */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d94422;
  border-radius: 1px;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ── */
.mobile-link {
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-link:hover { color: #d94422; padding-left: 8px; }

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

/* ── Scroll Reveal (below fold only, progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ── Focus Styles ── */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #d94422;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Selection ── */
::selection { background: rgba(217, 68, 34, 0.15); }
</style>
