/* ============================================================
   POWDER HOUSE BEND — Tuning & Repair
   Light professional theme. Figtree + slate/cyan.
   Clean cards, subtle depth, no dark glass.
   ============================================================ */

:root {
  --rp-font:       'Figtree', 'DM Sans', system-ui, -apple-system, sans-serif;
  --rp-mono:       'DM Mono', 'IBM Plex Mono', 'Courier New', monospace;

  /* Brand */
  --rp-accent:     #0891b2;        /* cyan-600 — grounded, professional */
  --rp-accent-lt:  #e0f7fa;        /* very pale cyan for backgrounds */
  --rp-accent-mid: #a5d8e8;        /* for borders */

  /* Surface system */
  --rp-bg:         #f8fafc;        /* page background */
  --rp-surface:    #ffffff;        /* card surface */
  --rp-surface-2:  #f1f5f9;        /* recessed areas */

  /* Borders */
  --rp-border:     #e2e8f0;
  --rp-border-accent: rgba(8, 145, 178, 0.2);

  /* Text */
  --rp-text:       #0f172a;
  --rp-text-mid:   #334155;
  --rp-muted:      #64748b;
  --rp-muted-lt:   #94a3b8;

  /* Effects */
  --rp-glow:       rgba(8, 145, 178, 0.08);
  --rp-shadow-sm:  0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --rp-shadow:     0 4px 16px rgba(15, 23, 42, 0.07), 0 1px 4px rgba(15, 23, 42, 0.05);
  --rp-shadow-md:  0 8px 28px rgba(15, 23, 42, 0.09), 0 2px 8px rgba(15, 23, 42, 0.05);

  --rp-ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --rp-radius:     14px;
  --rp-radius-sm:  10px;
}


/* ════════════════════════════════════════════════════════════
   REPAIR SUMMARY SECTION
════════════════════════════════════════════════════════════ */
.repair-summary {
  padding: 4rem 1.25rem;
  background: var(--rp-bg);
  color: var(--rp-text);
}

.glass-box {
  background: var(--rp-surface);
  border: 1px solid var(--rp-border);
  border-top: 3px solid var(--rp-accent);
  border-radius: var(--rp-radius);
  padding: 2.25rem;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: var(--rp-shadow-md);
}

.centered { text-align: center; }


/* ════════════════════════════════════════════════════════════
   SERVICE GRID
════════════════════════════════════════════════════════════ */
.repair-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}


/* ════════════════════════════════════════════════════════════
   MENU COLUMN — service category cards
════════════════════════════════════════════════════════════ */
.menu-column {
  position: relative;
  background: var(--rp-surface);
  border: 1px solid var(--rp-border);
  border-top: 3px solid transparent;
  border-radius: var(--rp-radius-sm);
  padding: 1.5rem;
  overflow: hidden;

  box-shadow: var(--rp-shadow-sm);
  transition:
    transform     0.24s var(--rp-ease),
    box-shadow    0.24s ease,
    border-color  0.2s ease;
}

.menu-column::before { display: none; }

.menu-column:hover {
  transform: translateY(-3px);
  border-top-color: var(--rp-accent);
  box-shadow: var(--rp-shadow-md);
}

.menu-column * { position: relative; z-index: 1; }

.menu-column h3 {
  font-family: var(--rp-font);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rp-accent);
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--rp-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-item { margin-bottom: 1rem; }

.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--rp-font);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rp-text-mid);
  padding-bottom: 0.2rem;
}

.menu-row span {
  color: var(--rp-accent);
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.86rem;
  background: var(--rp-accent-lt);
  padding: 1px 8px;
  border-radius: 999px;
  font-family: var(--rp-mono);
  font-size: 0.8rem;
}

.desc {
  font-family: var(--rp-font);
  font-size: 0.79rem;
  color: var(--rp-muted);
  line-height: 1.55;
  margin-left: 0.1rem;
  margin-top: 0.15rem;
}


/* ════════════════════════════════════════════════════════════
   TECH TEAM SECTION
════════════════════════════════════════════════════════════ */
.tech-highlight-section {
  padding: 4rem 1.25rem;
  background: var(--rp-surface-2);
  border-top: 1px solid var(--rp-border);
}

.team-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.team-intro h2 {
  font-family: var(--rp-font);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--rp-text);
  margin: 0 0 0.5rem;
}

.team-intro p {
  font-family: var(--rp-font);
  font-size: 0.94rem;
  color: var(--rp-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.tech-card {
  max-width: 220px;
  background: var(--rp-surface);
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-radius-sm);
  text-align: center;
  padding: 1.25rem 1rem;

  box-shadow: var(--rp-shadow-sm);
  animation: rp-fade-up 0.45s ease both;

  transition:
    transform     0.22s var(--rp-ease),
    box-shadow    0.22s ease,
    border-color  0.18s ease;
}

.tech-card:hover {
  transform: translateY(-4px);
  border-top: 2px solid var(--rp-accent);
  box-shadow: var(--rp-shadow-md);
}

.tech-card img {
  width: 100%;
  border-radius: 7px;
  margin-bottom: 0.8rem;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--rp-border);
}

.tech-card h3 {
  font-family: var(--rp-font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rp-text);
  margin: 0 0 0.3rem;
}

.tech-card p {
  font-family: var(--rp-font);
  font-size: 0.77rem;
  color: var(--rp-muted);
  line-height: 1.55;
}


/* ════════════════════════════════════════════════════════════
   MACHINE CALLOUTS
════════════════════════════════════════════════════════════ */
.machine-callouts {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem;

  background: var(--rp-surface);
  border: 1px solid var(--rp-border);
  border-left: 4px solid var(--rp-accent);
  border-radius: var(--rp-radius-sm);

  box-shadow: var(--rp-shadow);
  color: var(--rp-muted);
}

.machine-callouts h2 {
  font-family: var(--rp-font);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rp-accent);
  text-align: center;
  margin: 0 0 1.25rem;
}

.machine-callouts ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.machine-callouts li {
  position: relative;
  padding: 0.6rem 0.75rem 0.6rem 1rem;
  font-family: var(--rp-font);
  font-size: 0.88rem;
  color: var(--rp-text-mid);
  line-height: 1.5;
  background: var(--rp-surface-2);
  border-radius: 6px;
  border: 1px solid var(--rp-border);
}

.machine-callouts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: var(--rp-accent-mid);
}


/* ════════════════════════════════════════════════════════════
   MACHINE GRID + CARDS
════════════════════════════════════════════════════════════ */
.machine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
  text-align: center;
}

.machine-card {
  background: var(--rp-surface);
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-radius-sm);
  padding: 1.5rem 1.25rem;

  box-shadow: var(--rp-shadow-sm);
  transition:
    transform     0.22s var(--rp-ease),
    box-shadow    0.22s ease,
    border-color  0.18s ease;
}

.machine-card:hover {
  transform: translateY(-3px);
  border-top: 2px solid var(--rp-accent);
  box-shadow: var(--rp-shadow-md);
}

.machine-card img {
  width: 100%;
  max-height: 140px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 0.9rem;
  padding: 0.5rem;
  background: var(--rp-surface-2);
  border: 1px solid var(--rp-border);
}

.machine-card h3 {
  font-family: var(--rp-font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rp-text);
  margin: 0 0 0.3rem;
}

.machine-card p {
  font-family: var(--rp-font);
  font-size: 0.78rem;
  color: var(--rp-muted);
  line-height: 1.55;
}


/* ════════════════════════════════════════════════════════════
   KEYFRAMES
════════════════════════════════════════════════════════════ */
@keyframes rp-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ════════════════════════════════════════════════════════════
   RETRO MODE — opt-in dark/cyan override
   Preserved for toggle compatibility.
════════════════════════════════════════════════════════════ */
body.retro-mode {
  --rp-bg:      rgba(14, 20, 32, 0.92);
  --rp-surface: rgba(0, 5, 12, 0.96);
  --rp-surface-2: rgba(0, 229, 255, 0.022);
  --rp-border:  rgba(0, 229, 255, 0.20);
  --rp-border-accent: rgba(0, 229, 255, 0.35);
  --rp-text:    #e8f0f8;
  --rp-text-mid: rgba(0, 229, 255, 0.75);
  --rp-muted:   rgba(0, 229, 255, 0.48);
  --rp-muted-lt: rgba(0, 229, 255, 0.28);
  --rp-accent:  #00e5ff;
  --rp-accent-lt: rgba(0, 229, 255, 0.08);
  --rp-accent-mid: rgba(0, 229, 255, 0.35);
  --rp-shadow-sm: none;
  --rp-shadow:    none;
  --rp-shadow-md: 0 0 18px rgba(0, 229, 255, 0.09);
}

body.retro-mode .glass-box,
body.retro-mode .machine-callouts {
  backdrop-filter: none;
  border-top-width: 2px;
  border-radius: 2px;
}

body.retro-mode .menu-column,
body.retro-mode .tech-card,
body.retro-mode .machine-card {
  border-radius: 2px;
  box-shadow: none;
  animation: none;
}

body.retro-mode .menu-column:hover,
body.retro-mode .tech-card:hover,
body.retro-mode .machine-card:hover {
  border-top-color: #00e5ff;
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.09);
}

body.retro-mode .menu-column h3,
body.retro-mode .team-intro h2,
body.retro-mode .machine-callouts h2 {
  font-family: var(--rp-mono);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
  letter-spacing: 0.2em;
}

body.retro-mode .menu-row,
body.retro-mode .desc,
body.retro-mode .tech-card h3,
body.retro-mode .tech-card p,
body.retro-mode .machine-card h3,
body.retro-mode .machine-card p,
body.retro-mode .machine-callouts li,
body.retro-mode .team-intro p {
  font-family: var(--rp-mono);
}

body.retro-mode .menu-row span {
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

body.retro-mode .machine-callouts li {
  background: transparent;
  border-color: rgba(0, 229, 255, 0.12);
  border-radius: 0;
}

body.retro-mode .tech-card img,
body.retro-mode .machine-card img {
  border-color: rgba(0, 229, 255, 0.18);
  filter: brightness(0.85) saturate(0.65);
  background: transparent;
}

body.retro-mode .machine-callouts {
  border-left-color: rgba(0, 229, 255, 0.35);
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media screen and (max-width: 600px) {
  .repair-grid {
    grid-template-columns: 1fr;
  }

  .menu-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .menu-row span {
    align-self: flex-end;
  }
}


/* ════════════════════════════════════════════════════════════
   REDUCED MOTION
════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .menu-column,
  .tech-card,
  .machine-card,
  .machine-callouts {
    transition: none !important;
    animation: none !important;
  }
}