/* shared.css - Bay Labor Co. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
:root {
  --blue: #1B6CA8; --blue-dark: #155a8a; --blue-light: #E8F2FA;
  --gold: #C9862A; --text: #1a1a1a; --muted: #6b7280;
  --border: #e5e7eb; --white: #ffffff; --bg: #f9fbfd;
}
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  transition: box-shadow 0.3s ease, height 0.3s ease;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); height: 60px; }
.nav-logo { font-family: 'Instrument Serif', serif; font-size: 22px; color: var(--blue); letter-spacing: -0.01em; transition: font-size 0.3s ease; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 7px 14px; font-size: 14px; font-weight: 500; border-radius: 8px;
  color: var(--muted); transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: var(--bg); }
.nav-links a.active { color: var(--blue); font-weight: 700; }
.nav-cta {
  background: var(--blue); color: white !important;
  padding: 9px 20px !important; border-radius: 8px;
  font-weight: 700 !important; font-size: 14px !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; transform: translateY(-1px); }

/* SECTIONS */
section { padding: 80px 5%; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.section-title { font-family: 'Instrument Serif', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.2; margin-bottom: 1rem; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 540px; line-height: 1.7; }

/* CARDS */
.card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem; transition: box-shadow 0.3s ease, transform 0.3s ease; }
.card:hover { box-shadow: 0 12px 36px rgba(27,108,168,0.12); transform: translateY(-4px); }

/* BUTTONS */
.btn { display: inline-block; padding: 13px 26px; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.25s cubic-bezier(0.16,1,0.3,1); }
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(27,108,168,0.25); }
.btn-outline { background: white; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue-light); transform: translateY(-2px); }

/* PAYMENT BADGES */
.payment-methods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.pay-badge { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 5px 12px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* FOOTER */
footer {
  background: #111; color: white;
  padding: 48px 5% 32px;
}
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-logo { font-family: 'Instrument Serif', serif; font-size: 22px; color: white; margin-bottom: 8px; }
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 14px; color: #9ca3af; line-height: 1.6; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #9ca3af; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 14px; color: #d1d5db; margin-bottom: 8px; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid #333; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 13px; color: #6b7280; }

/* FORM */
.form-wrap { background: white; border-radius: 16px; padding: 2rem; max-width: 580px; margin: 0 auto; box-shadow: 0 4px 24px rgba(0,0,0,0.07); }
.form-wrap h3 { font-size: 20px; font-weight: 700; margin-bottom: 1.5rem; text-align: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.form-field label { font-size: 12px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: 0.04em; }
.form-field input, .form-field select, .form-field textarea {
  padding: 10px 12px; font-size: 14px; border: 1px solid #ddd;
  border-radius: 8px; font-family: inherit; color: var(--text); outline: none;
  transition: border-color 0.15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue); }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-submit {
  width: 100%; padding: 14px; background: var(--blue); color: white;
  border: none; border-radius: 10px; font-size: 16px; font-weight: 700;
  cursor: pointer; font-family: inherit; margin-top: 4px;
}
.form-submit:hover { background: var(--blue-dark); }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }

/* HAMBURGER MENU (mobile nav) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: flex;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    padding: 8px 5% 16px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 12px 8px; font-size: 16px; border-radius: 8px; }
  .nav-links a.nav-cta { margin-top: 6px; text-align: center; }

  .footer-inner { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* MOTION POLISH — service cards, why cards, reviews, area tags, payment chips */
.service-card { transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(27,108,168,0.14); }
.service-card img { transition: transform 0.4s ease; }
.service-card:hover img { transform: scale(1.03); }

.why-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(27,108,168,0.1); }

.review-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.06); }

.area-tag { transition: all 0.2s ease; cursor: default; }
.area-tag:hover { background: var(--blue); color: white; transform: translateY(-2px); }

.pay-chip { transition: all 0.2s ease; }
.pay-chip:hover { border-color: var(--blue); transform: translateY(-2px); }

.svc, .process-step, .process-row { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.svc:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(27,108,168,0.12); }

.process-row { transition: padding-left 0.25s ease; }
.process-row:hover { padding-left: 8px; }
.process-step-num { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.process-row:hover .process-step-num { transform: scale(1.1); }

.form-submit, .form-field input, .form-field select, .form-field textarea {
  transition: all 0.2s ease;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(27,108,168,0.25); }

.faq-item { transition: box-shadow 0.25s ease; }
.faq-item:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
