/* ═══════════════════════════════════════════════════════════════
   ABC REPAIR — home.css
   ═══════════════════════════════════════════════════════════════ */

/* ── Boot Loader ─────────────────────────────────────────────── */
#bootLoader {
  position: fixed;
  inset: 0;
  background: #050d14;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  transition: opacity 0.6s;
}

#bootBar {
  width: 0;
  height: 2px;
  background: #0D8A68;
  box-shadow: 0 0 8px #0D8A68;
  transition: width 0.12s linear;
  border-radius: 2px;
}

#bootBarWrap {
  margin-top: 20px;
  width: 260px;
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 56px;
  padding-top: 64px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0D8A68;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.0;
  margin-bottom: 24px;
  color: #fff;
}

.hero-title .green {
  color: #73BE9E;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Magnetic button wrapper */
.magnetic {
  display: inline-block;
  transition: transform 0.15s ease;
}

/* Hero terminal card */
.hero-term {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 60px rgba(13,138,104,0.08);
}

/* ── Trust / Count Strip ─────────────────────────────────────── */
.trust-section {
  padding: 0 56px 64px;
  position: relative;
  z-index: 2;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Services Overview ───────────────────────────────────────── */
.services-overview {
  padding: 96px 56px;
  position: relative;
  z-index: 2;
}

.services-overview-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.service-card {
  padding: 32px;
  cursor: default;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: #0D8A68;
}

.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #73BE9E;
  text-decoration: none;
  transition: gap 0.2s;
}

/* ── Why ABC Repair ──────────────────────────────────────────── */
.why-section {
  padding: 96px 56px;
  position: relative;
  z-index: 2;
}

.why-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  padding: 36px 28px;
  text-align: center;
}

.why-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  color: #73BE9E;
}

.why-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
}

/* ── Featured Projects (3D tilt) ─────────────────────────────── */
.featured-projects {
  padding: 96px 56px;
  position: relative;
  z-index: 2;
}

.featured-projects-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.projects-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.project-tilt-card {
  padding: 28px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease, box-shadow 0.3s;
  cursor: default;
}

.project-tilt-card:hover {
  box-shadow: 0 32px 72px rgba(0,0,0,0.5), 0 0 40px rgba(13,138,104,0.1);
}

.project-tilt-card .project-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: rgba(255,255,255,0.03);
  position: absolute;
  top: 12px;
  right: 16px;
  line-height: 1;
  pointer-events: none;
}

.project-tilt-card .project-cat {
  margin-bottom: 12px;
}

.project-tilt-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.project-tilt-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 16px;
}

.project-tilt-card .outcome {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #73BE9E;
  background: rgba(115,190,158,0.06);
  border: 1px solid rgba(115,190,158,0.15);
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  padding: 96px 56px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-banner-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 36px;
}

/* Spotlight on service/tilt cards */
.spotlight {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    300px circle at var(--mx, 50%) var(--my, 50%),
    rgba(115,190,158,0.04),
    transparent 70%
  );
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover .spotlight { opacity: 1; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner        { grid-template-columns: 1fr; }
  .hero-term         { display: none; }
  .services-grid     { grid-template-columns: repeat(2, 1fr); }
  .why-grid          { grid-template-columns: repeat(2, 1fr); }
  .projects-grid-home{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero              { padding: 80px 24px 48px; }
  .trust-section     { padding: 0 24px 48px; }
  .services-overview,
  .why-section,
  .featured-projects,
  .cta-banner        { padding: 64px 24px; }
  .services-grid,
  .why-grid,
  .projects-grid-home{ grid-template-columns: 1fr; }
}
