/* Roland's Dirt Work — black & orange, mobile-first */

:root {
  --black: #0a0a0a;
  --near-black: #141414;
  --charcoal: #1f1f1f;
  --orange: #f05a00;
  --orange-bright: #ff6a14;
  --orange-deep: #c44800;
  --off-white: #f7f7f5;
  --white: #ffffff;
  --text: #161616;
  --text-muted: #4a4a4a;
  --border: #e4e4e0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  --radius: 8px;
  --max-width: 1100px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--off-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--orange);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* —— Header / Nav —— */
.site-header {
  background: var(--black);
  color: var(--off-white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--off-white);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo:hover {
  color: var(--orange-bright);
}

.logo span {
  color: var(--orange);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 2px solid #444;
  border-radius: 4px;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--off-white);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--charcoal);
  padding: 1rem 1.25rem 1.25rem;
  box-shadow: var(--shadow);
}

.nav-menu.is-open {
  display: flex;
}

.nav-menu a {
  color: var(--off-white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  display: block;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  background: rgba(240, 90, 0, 0.18);
  color: var(--orange-bright);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--black) !important;
  text-align: center;
  margin-top: 0.35rem;
}

.nav-cta:hover {
  background: var(--orange-bright) !important;
  color: var(--black) !important;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .nav-cta {
    margin-top: 0;
    margin-left: 0.5rem;
    padding: 0.55rem 1.1rem !important;
  }
}

/* —— Layout helpers —— */
main {
  flex: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--white);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--black);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.section-lead {
  color: var(--text-muted);
  max-width: 36em;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* —— Hero —— */
.hero {
  background:
    linear-gradient(
      135deg,
      rgba(10, 10, 10, 0.82) 0%,
      rgba(10, 10, 10, 0.68) 45%,
      rgba(20, 20, 20, 0.55) 100%
    ),
    url("images/hero.jpg") center / cover no-repeat;
  color: var(--off-white);
  padding: 4.5rem 0 5rem;
  text-align: left;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 3.75rem);
  line-height: 1.15;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.hero .motto {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.hero .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  max-width: 34em;
  margin-bottom: 1rem;
  opacity: 0.95;
  line-height: 1.55;
}

.hero .service-area {
  font-size: 1.02rem;
  max-width: 36em;
  margin-bottom: 2rem;
  opacity: 0.88;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--orange);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--orange-bright);
  color: var(--black);
}

.btn-secondary {
  background: transparent;
  color: var(--off-white);
  border-color: rgba(247, 247, 245, 0.55);
}

.btn-secondary:hover {
  background: rgba(247, 247, 245, 0.12);
  color: var(--white);
}

/* —— Services —— */
.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(240, 90, 0, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  font-size: 1.25rem;
  color: var(--orange);
  font-weight: 700;
}

/* —— Gallery —— */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--charcoal);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  padding: 0.75rem 1rem;
  background: var(--black);
  color: var(--off-white);
  font-size: 0.95rem;
}

/* —— CTA band —— */
.cta-band {
  background: var(--black);
  color: var(--off-white);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
}

.phone-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.phone-link:hover {
  color: var(--orange-bright);
}

.email-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--off-white);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.25rem;
  opacity: 0.92;
}

.email-link:hover {
  color: var(--orange);
}

/* —— About page —— */
.page-hero {
  background: var(--near-black);
  color: var(--off-white);
  padding: 3rem 0 2.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.page-hero .motto {
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.9;
  max-width: 32em;
}

.about-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .about-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.about-story p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.about-story p:last-child {
  margin-bottom: 0;
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-photo figcaption {
  padding: 0.75rem 1rem;
  background: var(--black);
  color: var(--off-white);
  font-size: 0.9rem;
}

.values {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 600px) {
  .values {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-item {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.value-item strong {
  display: block;
  color: var(--black);
  margin-bottom: 0.35rem;
}

.value-item span {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* —— Footer —— */
.site-footer {
  background: var(--black);
  color: #b0b0b0;
  padding: 2rem 0;
  margin-top: auto;
  font-size: 0.95rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-weight: 700;
  color: var(--off-white);
}

.footer-brand span {
  color: var(--orange);
  font-weight: 600;
  display: block;
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.footer-contact a {
  color: var(--orange);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
  color: var(--orange-bright);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
