html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Poppins', sans-serif;
}

/* Anchor targets sit under the fixed header */
section[id] {
  scroll-margin-top: 84px;
}

/* Hero background: construction-themed gradient placeholder */
.hero-bg {
  background-image:
    linear-gradient(135deg, rgba(30, 58, 95, 0.55), rgba(30, 58, 95, 0.75)),
    repeating-linear-gradient(45deg, #2b4a73 0px, #2b4a73 2px, #24436a 2px, #24436a 40px);
  background-size: cover;
  background-position: center;
}

/* Generic placeholder image styling, used for portrait / project photos */
.placeholder-img {
  background-color: #1E3A5F;
  background-image: linear-gradient(160deg, #A67C52 0%, #1E3A5F 55%, #16293f 100%);
}

.placeholder-img-1 { background-image: linear-gradient(160deg, #A67C52 0%, #1E3A5F 60%); }
.placeholder-img-2 { background-image: linear-gradient(200deg, #E67E22 0%, #1E3A5F 60%); }
.placeholder-img-3 { background-image: linear-gradient(140deg, #1E3A5F 0%, #A67C52 70%); }
.placeholder-img-4 { background-image: linear-gradient(200deg, #1E3A5F 0%, #4a6a8f 70%); }
.placeholder-img-5 { background-image: linear-gradient(160deg, #E67E22 0%, #A67C52 50%, #1E3A5F 100%); }
.placeholder-img-6 { background-image: linear-gradient(140deg, #4a6a8f 0%, #1E3A5F 70%); }

/* Scroll-reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Active nav link while scrolling */
.nav-link.is-active {
  color: #E67E22;
}

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