/* ===================================================================
   ZuFix Home Services LLC - Custom Styles
   =================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* ---------- Base ---------- */
body {
  font-family: "Inter", sans-serif;
  color: #374151;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 80px;
}

/* ---------- Accessibility ---------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #0047b3;
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Hero background ---------- */
.hero-bg {
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0) 100%
    ),
    url(../images/hero.png);
  background-size: cover;
  background-position: center;
}

/* ---------- Card hover effect ---------- */
.hover-up {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-up:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* ---------- Industry cards ---------- */
.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 10;
}

/* ---------- Navbar / scrollspy ---------- */
.nav-link.active {
  color: #0047b3;
  border-bottom-color: #0047b3;
  font-weight: 600;
}

.mobile-nav-link.active {
  color: #0047b3;
  background-color: #f0f5ff;
}

/* ---------- FAQ accordion ---------- */
.faq-item summary::-webkit-details-marker {
  display: none;
}

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

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- How-we-work step connector ---------- */
.step-connector {
  position: absolute;
  top: 2rem;
  left: calc(50% + 2rem);
  width: calc(100% - 4rem);
  height: 2px;
  background: #0047b3;
  opacity: 0.3;
}

/* ---------- Photo gallery ---------- */
.gallery-item {
  overflow: hidden;
  border-radius: 0.5rem;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

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

/* ---------- Honeypot (spam protection) ---------- */
.ohnohoney {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .gallery-item:hover img {
    transform: none;
  }
}
