/* ============================================================
   Mike's Cabinet Painting & Reface LLC — stylesheet (dark theme)
   ============================================================ */
:root {
  --navy: #2a5b8c;
  --navy-2: #1e4066;
  --navy-deep: #0c1622;
  --gold: #d4a92c;
  --gold-dark: #b8911f;
  --gold-light: #e6c96a;
  --bg: #0e141c;
  --surface: #161e2a;
  --surface-2: #121a25;
  --ink: #e8ecf2;
  --muted: #9aa4b2;
  --heading: #f2f5f9;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.09);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.50);
  --radius: 14px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; font-weight: 600; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 20, 28, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.40); }

.header-inner { display: flex; align-items: center; gap: 24px; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; flex: 0 0 42px;
  display: grid; place-items: center;
  background: var(--navy); color: var(--gold-light);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  border-radius: 10px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-display); font-weight: 700; color: var(--heading); font-size: 1.02rem; }
.brand-sub { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.main-nav a { font-weight: 500; font-size: 0.95rem; color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.main-nav a:hover { color: var(--heading); border-bottom-color: var(--gold); }
.main-nav .nav-cta { color: var(--gold-light); font-weight: 600; border-bottom: none; }

.header-phone {
  font-weight: 700; color: var(--heading); white-space: nowrap;
  background: var(--surface); padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line);
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--heading); border-radius: 2px; transition: transform .2s, opacity .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); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; text-align: center;
  transition: transform .15s, box-shadow .15s, background .15s;
  cursor: pointer; border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 8px 20px rgba(212, 169, 44, 0.30); }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 12px 26px rgba(212, 169, 44, 0.36); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.10); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(15, 36, 56, 0.93), rgba(30, 64, 102, 0.82)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M0 30h60M30 0v60'/%3E%3Crect x='6' y='6' width='48' height='48'/%3E%3C/g%3E%3C/svg%3E\"");
  background-size: cover, 60px 60px;
  background-position: center;
  color: var(--white);
  padding: 110px 0 90px;
}
.hero-inner { max-width: 820px; }
.hero-eyebrow { font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; font-weight: 600; }
.hero-title { font-size: clamp(2.1rem, 5vw, 3.6rem); margin-bottom: 20px; }
.hero-sub { font-size: 1.13rem; color: rgba(255, 255, 255, 0.85); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.hero-trust li { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); display: flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: "✓"; color: var(--gold-light); font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--surface-2); }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; margin-bottom: 12px; }
.eyebrow-light { color: var(--gold-light); }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); color: var(--heading); margin-bottom: 14px; }
.section-lede { color: var(--muted); font-size: 1.05rem; max-width: 640px; margin-bottom: 44px; }
.section-note { color: var(--muted); font-size: 0.92rem; max-width: 760px; margin: 30px auto 0; text-align: center; line-height: 1.65; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon { font-size: 1.9rem; margin-bottom: 16px; }
.card h3 { font-size: 1.25rem; color: var(--heading); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Process ---------- */
.process-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--surface); border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); position: relative; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  background: var(--navy); color: var(--gold-light); font-family: var(--font-display);
  font-weight: 700; font-size: 1.1rem; border-radius: 50%; margin-bottom: 14px;
}
.step h3 { font-size: 1.08rem; color: var(--heading); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { background: var(--surface-2); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-item figcaption { padding: 12px 16px; font-size: 0.88rem; color: var(--muted); font-weight: 500; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.about-copy p { color: var(--muted); margin-bottom: 14px; }
.trust-list { list-style: none; display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.trust-list li { font-weight: 500; color: var(--heading); font-size: 1rem; }

/* ---------- Reviews ---------- */
.reviews .card { display: flex; flex-direction: column; gap: 12px; }
.stars { color: var(--gold); letter-spacing: 2px; }
.review p { color: var(--ink); font-style: italic; flex: 1; }
.review footer { color: var(--muted); font-size: 0.85rem; font-style: normal; }

/* ---------- Contact ---------- */
.section-dark { background: linear-gradient(135deg, var(--navy-deep), var(--navy-2)); color: var(--white); }
.section-dark .section-title { color: var(--white); }
.section-dark p { color: rgba(255, 255, 255, 0.8); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; flex-direction: column; }
.contact-label { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: 4px; }
.contact-list a { font-size: 1.15rem; font-weight: 600; color: var(--white); }
.contact-list a:hover { color: var(--gold-light); }
.contact-list span:not(.contact-label) { color: rgba(255, 255, 255, 0.85); }

.quote-form { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.quote-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--heading); }
.quote-form .full { grid-column: 1 / -1; }
.quote-form input, .quote-form select, .quote-form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 8px; color: var(--ink); background: #0b1119; width: 100%;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.quote-form .full.btn { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; font-size: 0.9rem; font-weight: 500; color: var(--heading); min-height: 1.2em; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 20, 32, 0.88);
  display: grid; place-items: center; padding: 30px;
  opacity: 0; transition: opacity .2s ease; cursor: zoom-out;
}
.lightbox.show { opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.8); padding: 48px 0 34px; }
.footer-inner { display: flex; flex-direction: column; gap: 22px; }
.footer-brand { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1.15rem; }
.footer-meta { font-size: 0.85rem; color: var(--gold-light); }
.footer-contact { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 0.95rem; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-copy { font-size: 0.8rem; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 20px; color: rgba(255, 255, 255, 0.55); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .header-phone { display: none; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed; inset: 74px 0 auto 0; background: var(--surface);
    flex-direction: column; align-items: flex-start; padding: 20px 24px;
    gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .25s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; margin-left: auto; }
  .card-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 60px; }
  .section { padding: 60px 0; }
}
