/* ============================================================
   Detroit Cabinet Painting — style.css
   Dark Elegant Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lora:wght@400;500&display=swap');

/* --- CSS Variables --- */
:root {
  --bg:          #0a0a0a;
  --bg-nav:      #000000;
  --bg-section:  #111111;
  --card-bg:     #181818;
  --dark:        #0a0a0a;
  --fg:          #e0d8cc;
  --fg-muted:    #7a7060;
  --white:       #ffffff;
  --border:      #252525;
  --accent:      #c8b87a;
  --accent-dark: #a89858;

  --radius:      10px;
  --radius-lg:   18px;
  --shadow-sm:   0 1px 6px rgba(0,0,0,.4);
  --shadow-md:   0 6px 32px rgba(0,0,0,.55);
  --transition:  .22s ease;
  --max-w:       1160px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
}

img { max-width: 100%; display: block; }
a  { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: #111111;
  color: rgba(255,255,255,.6);
  text-align: center;
  font-family: 'Lora', serif;
  font-size: .82rem;
  letter-spacing: .08em;
  padding: 9px 16px;
  border-bottom: 1px solid var(--border);
}

.announcement-bar a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--bg-nav);
  border-bottom: 1px solid #1a1a1a;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
  line-height: 1.2;
}

.nav-logo-text span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: 'Lora', serif;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  text-decoration: none;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--accent) !important;
  font-family: 'Lora', serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 9px 20px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn-nav-cta:hover {
  background: var(--accent);
  color: #0a0a0a !important;
  text-decoration: none;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background var(--transition);
}

.nav-hamburger:hover { background: #1a1a1a; }

.nav-hamburger span {
  display: block;
  height: 1px;
  background: rgba(255,255,255,.7);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Lora', serif;
  font-weight: 600;
  letter-spacing: .06em;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
  font-size: .95rem;
  padding: 15px 32px;
}

.btn-primary:hover {
  background: #dccf94;
  color: #0a0a0a;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  font-size: .95rem;
  padding: 14px 30px;
  border: 1px solid rgba(255,255,255,.35);
}

.btn-outline:hover {
  background: rgba(255,255,255,.07);
  color: var(--white);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}

.btn-submit {
  background: var(--accent);
  color: #0a0a0a;
  font-family: 'Lora', serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 16px 36px;
  width: 100%;
  border-radius: 4px;
}

.btn-submit:hover {
  background: #dccf94;
  color: #0a0a0a;
  transform: translateY(-2px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: #000000;
  color: var(--white);
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #1a1a1a;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 80% 50%, rgba(200,184,122,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(200,184,122,.35);
  color: var(--accent);
  font-family: 'Lora', serif;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 2px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin-bottom: 24px;
  color: var(--white);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.75;
}

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

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: #111111;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.15;
  margin-bottom: 6px;
}

.stat-label {
  font-family: 'Lora', serif;
  font-size: .82rem;
  color: var(--fg-muted);
  letter-spacing: .04em;
  line-height: 1.4;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-section);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  display: inline-block;
  font-family: 'Lora', serif;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-sub {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================================
   SERVICES — What's Included (6 cards, 3-col)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(200,184,122,.3);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: #222;
  border: 1px solid #2e2e2e;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-card p {
  font-family: 'Lora', serif;
  font-size: .88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ============================================================
   WHY PAINT — 2-col checklist
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color var(--transition);
}

.why-item:hover {
  border-color: rgba(200,184,122,.3);
}

.why-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: rgba(200,184,122,.12);
  border: 1px solid rgba(200,184,122,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: .8rem;
  margin-top: 2px;
}

.why-text h4 {
  font-family: 'Playfair Display', serif;
  font-size: .98rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

.why-text p {
  font-family: 'Lora', serif;
  font-size: .86rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ============================================================
   PROCESS — 5 numbered steps
   ============================================================ */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 40px;
}

.process-step:last-child { padding-bottom: 0; }

.process-step:not(:last-child) .step-num::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.step-body {
  padding-top: 5px;
}

.step-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

.step-body p {
  font-family: 'Lora', serif;
  font-size: .9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: #0d0d0d;
  color: var(--white);
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.contact-info > p {
  font-family: 'Lora', serif;
  font-size: .95rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 40px;
  line-height: 1.75;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: rgba(200,184,122,.08);
  border: 1px solid rgba(200,184,122,.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
}

.contact-detail-body h4 {
  font-family: 'Lora', serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 3px;
}

.contact-detail-body p,
.contact-detail-body a {
  font-family: 'Lora', serif;
  font-size: .97rem;
  color: var(--fg);
  font-weight: 500;
}

.contact-detail-body a:hover {
  color: var(--accent);
  text-decoration: none;
}

.contact-hours h4 {
  font-family: 'Lora', serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 10px;
}

.contact-hours p {
  font-family: 'Lora', serif;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 4px;
}

/* Right — form side */
.contact-form-wrap {
  background: #161616;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.contact-form-wrap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

.contact-form-wrap > p {
  font-family: 'Lora', serif;
  font-size: .86rem;
  color: var(--fg-muted);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-family: 'Lora', serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

.form-group input,
.form-group textarea {
  font-family: 'Lora', serif;
  font-size: .93rem;
  color: var(--fg);
  background: #111;
  border: 1px solid #2e2e2e;
  border-radius: 4px;
  padding: 11px 14px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,.2);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,184,122,.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Status messages */
.status-msg {
  display: none;
  border-radius: 4px;
  padding: 14px 18px;
  font-family: 'Lora', serif;
  font-size: .9rem;
  margin-bottom: 20px;
}

.status-msg.success {
  background: rgba(200,184,122,.1);
  color: var(--accent);
  border: 1px solid rgba(200,184,122,.3);
}

.status-msg.error {
  background: rgba(200,80,80,.1);
  color: #e08080;
  border: 1px solid rgba(200,80,80,.3);
}

.status-msg.is-visible { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #000000;
  color: rgba(255,255,255,.4);
  padding: 40px 0;
  border-top: 1px solid #1a1a1a;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  margin-bottom: 8px;
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
  margin-bottom: 4px;
}

.footer-logo-text span { color: var(--accent); }

.footer-addr {
  font-family: 'Lora', serif;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

.footer-right { text-align: right; }

.footer-phone {
  font-family: 'Lora', serif;
  font-size: .92rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

.footer-phone a { color: var(--fg); }
.footer-phone a:hover { color: var(--accent); text-decoration: none; }

.footer-copy {
  font-family: 'Lora', serif;
  font-size: .75rem;
  color: rgba(255,255,255,.25);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet — ≤ 900px */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contact-form-wrap { padding: 32px 28px; }
}

/* Mobile — ≤ 700px */
@media (max-width: 700px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid #1a1a1a;
    box-shadow: var(--shadow-md);
    padding: 12px 0 20px;
    z-index: 899;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .nav-links.is-open { display: flex; }

  .nav-links a {
    padding: 13px 24px;
    font-size: .95rem;
    border-bottom: 1px solid #1a1a1a;
    color: rgba(255,255,255,.6);
  }

  .nav-links a:last-child:not(.btn-nav-cta) { border-bottom: none; }

  .btn-nav-cta {
    margin: 12px 24px 0;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid var(--accent);
  }

  .nav-hamburger { display: flex; }

  .hero { padding: 72px 0 64px; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 22px 16px;
  }
  .stat-item:last-child { border-bottom: none; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }

  .section { padding: 64px 0; }
  .contact-section { padding: 64px 0; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-right { text-align: center; }
}

/* Small — ≤ 420px */
@media (max-width: 420px) {
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.7rem; }
}
