@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&display=swap');

/* =========================================================
   Mike's Pro Detailing — Tampa, FL
   Visual system: graphite & burnt amber. Premium, grounded.
   ========================================================= */

:root {
  /* Brand / compat (older inline styles read --primary & --accent) */
  --primary: #14161a;
  --accent: #e07b39;
  --accent-dark: #c5662a;

  /* Ink scale (dark surfaces) */
  --ink: #101216;
  --ink-2: #16191f;
  --ink-3: #1c2028;
  --surface: #1d212a;
  --surface-2: #232833;

  /* Paper scale (light surfaces) */
  --paper: #f6f3ee;
  --paper-2: #efeae1;
  --white: #ffffff;

  /* Type colors */
  --text: #1a1c22;
  --text-soft: #595e6b;
  --text-faint: #8b909c;
  --on-ink: #f4f1ec;
  --on-ink-soft: rgba(244, 241, 236, 0.66);
  --on-ink-faint: rgba(244, 241, 236, 0.42);

  /* Accent set */
  --amber: #e07b39;
  --amber-deep: #c5662a;
  --amber-soft: #f0a868;
  --gold: #f0b545;
  --steel: #9fb3bf;

  /* Lines */
  --line-light: #e4ddd1;
  --line-dark: rgba(244, 241, 236, 0.12);

  /* Shape & shadow */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 18, 22, 0.06), 0 4px 14px -8px rgba(16, 18, 22, 0.18);
  --shadow: 0 2px 4px rgba(16, 18, 22, 0.05), 0 18px 40px -18px rgba(16, 18, 22, 0.28);
  --shadow-lg: 0 30px 70px -28px rgba(16, 18, 22, 0.45);

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--amber-deep); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--amber); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .logo, .display {
  font-family: 'Archivo', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--primary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}
.section-dark .eyebrow,
.hero .eyebrow { color: var(--amber-soft); }

/* ---------- Header ---------- */
header {
  background: rgba(16, 18, 22, 0.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  color: var(--on-ink);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-dark);
}

.top-bar {
  background: var(--amber);
  color: #1a0f06;
  padding: 9px 0;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.01em;
}
.top-bar a { color: #1a0f06; font-weight: 800; }
.top-bar a:hover { color: #1a0f06; opacity: 0.78; }

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--on-ink);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.logo span { color: var(--amber); }

.nav-links { display: flex; gap: 6px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--on-ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: var(--on-ink); background: rgba(244, 241, 236, 0.07); }
.nav-links li:last-child a {
  background: var(--amber);
  color: #1a0f06;
  font-weight: 700;
  margin-left: 6px;
}
.nav-links li:last-child a:hover { background: var(--amber-soft); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  color: var(--on-ink);
  font-size: 1.2rem;
  width: 42px; height: 42px;
  cursor: pointer;
}

/* ---------- Hero (shared dark band) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(224, 123, 57, 0.22), transparent 55%),
    radial-gradient(100% 80% at 0% 110%, rgba(159, 179, 191, 0.10), transparent 60%),
    linear-gradient(160deg, #15181e 0%, #0d0f13 100%);
  color: var(--on-ink);
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.5;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  font-weight: 800;
  color: var(--on-ink);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--amber); display: block; }
.hero p {
  font-size: 1.16rem;
  color: var(--on-ink-soft);
  max-width: 620px;
  margin-bottom: 34px;
}

/* Home split hero */
.hero--home { padding: 0; }
.hero--home .hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 0;
}
.hero--home .hero-copy {
  padding: 92px 56px 92px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero--home h1 { text-align: left; }
.hero--home p { text-align: left; }
.hero-media {
  position: relative;
  min-height: 540px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 28px 0;
  box-shadow: var(--shadow-lg);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(13,15,19,0.55) 0%, transparent 38%);
}
.hero-media .media-tag {
  position: absolute;
  left: 18px; bottom: 18px;
  z-index: 2;
  background: rgba(16, 18, 22, 0.7);
  backdrop-filter: blur(8px);
  color: var(--on-ink);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(244, 241, 236, 0.07);
  border: 1px solid var(--line-dark);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--on-ink);
  margin-bottom: 26px;
}
.stars { color: var(--gold); letter-spacing: 1px; }

.cta-group { display: flex; gap: 14px; flex-wrap: wrap; }
.hero:not(.hero--home) .cta-group,
.section-dark .container[style*="center"] .cta-group { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 10px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease), color 0.18s var(--ease);
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--amber);
  color: #1a0f06;
  box-shadow: 0 10px 24px -10px rgba(224, 123, 57, 0.7);
}
.btn-primary:hover {
  background: var(--amber-soft);
  color: #1a0f06;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(224, 123, 57, 0.8);
}
.btn-outline {
  border: 1.5px solid rgba(244, 241, 236, 0.3);
  color: var(--on-ink);
  background: transparent;
}
.btn-outline:hover {
  background: var(--on-ink);
  color: var(--primary);
  border-color: var(--on-ink);
  transform: translateY(-2px);
}

/* ---------- Sections ---------- */
section { padding: clamp(64px, 8vw, 104px) 0; }
.section-dark { background: var(--ink); color: var(--on-ink); }
.section-paper { background: var(--paper); }
.section-dark h2, .section-dark h3, .section-dark .logo { color: var(--on-ink); }

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.section-subtitle {
  color: var(--text-soft);
  font-size: 1.12rem;
  margin-bottom: 48px;
  max-width: 620px;
}
.section-dark .section-subtitle { color: var(--on-ink-soft); }

.section-head { margin-bottom: 52px; }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  overflow: hidden;
}
.section-dark .service-card {
  background: var(--surface);
  border-color: var(--line-dark);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(224, 123, 57, 0.45);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary);
}
.section-dark .service-card h3 { color: var(--on-ink); }
.service-card p { color: var(--text-soft); font-size: 0.96rem; }
.section-dark .service-card p { color: var(--on-ink-soft); }
.service-card ul { color: var(--text-soft); }
.service-card .price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  color: var(--amber-deep);
  font-size: 0.95rem;
  transition: gap 0.2s var(--ease);
}
.service-card .price:hover { gap: 11px; color: var(--amber); }

/* ---------- Why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.why-item {
  text-align: left;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line-light);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.section-dark .why-item {
  background: var(--surface);
  border-color: var(--line-dark);
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.why-icon {
  font-size: 1.5rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(224, 123, 57, 0.12);
  border-radius: 14px;
  margin-bottom: 20px;
}
.section-dark .why-icon { background: rgba(224, 123, 57, 0.18); }
.why-item h3 { font-size: 1.12rem; margin-bottom: 9px; color: var(--primary); }
.section-dark .why-item h3 { color: var(--on-ink); }
.why-item p { color: var(--text-soft); font-size: 0.94rem; }
.section-dark .why-item p { color: var(--on-ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
  margin-bottom: 12px;
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.section-dark .faq-item { background: var(--surface); border-color: var(--line-dark); }
.faq-item:hover { border-color: rgba(224, 123, 57, 0.4); box-shadow: var(--shadow-sm); }
.faq-item h3 {
  font-size: 1.12rem;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
}
.faq-item h3::before {
  content: "→";
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
}
.section-dark .faq-item h3 { color: var(--on-ink); }
.faq-item p { color: var(--text-soft); font-size: 0.97rem; padding-left: 24px; }
.section-dark .faq-item p { color: var(--on-ink-soft); }

/* ---------- About / split content ---------- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.about-content.reverse .about-text { order: 2; }
.about-text h2 { margin-bottom: 18px; }
.about-text h3 {
  font-size: 1.05rem;
  margin: 22px 0 6px;
  color: var(--primary);
}
.section-dark .about-text h3 { color: var(--on-ink); }
.about-text p { margin-bottom: 14px; color: var(--text-soft); }
.section-dark .about-text p { color: var(--on-ink-soft); }
.about-text ul { color: var(--text-soft); }
.section-dark .about-text ul { color: var(--on-ink-soft); }
.about-text ul li { margin-bottom: 5px; }

/* Media frame (replaces placeholders) */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--ink-2);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.media-frame:hover img { transform: scale(1.04); }
.media-frame figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 22px 18px;
  background: linear-gradient(to top, rgba(13, 15, 19, 0.85), transparent);
  color: var(--on-ink);
  font-size: 0.86rem;
  font-weight: 500;
}
.media-frame.wide { aspect-ratio: 3 / 2; }

/* ---------- Full-bleed showcase band ---------- */
.showcase {
  position: relative;
  height: clamp(340px, 44vw, 560px);
  overflow: hidden;
}
.showcase img { width: 100%; height: 100%; object-fit: cover; }
.showcase::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,15,19,0.82) 0%, rgba(13,15,19,0.35) 45%, transparent 75%);
}
.showcase .showcase-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.showcase .showcase-inner > div { max-width: 480px; }
.showcase .eyebrow { color: var(--amber-soft); }
.showcase h2 { color: var(--on-ink); font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.showcase p { color: var(--on-ink-soft); font-size: 1.05rem; }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.review-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.section-dark .review-card { background: var(--surface); }
body:not(.section-dark) .review-card { }
.review-card::before {
  content: "\201C";
  font-family: 'Archivo', serif;
  position: absolute;
  top: 8px; right: 22px;
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(224, 123, 57, 0.25);
}
.review-stars { color: var(--gold); margin-bottom: 14px; font-size: 1.05rem; letter-spacing: 1px; }
.review-card p { color: var(--on-ink-soft); margin-bottom: 16px; font-size: 0.98rem; line-height: 1.6; }
.review-author { font-family: 'Archivo', sans-serif; font-weight: 700; color: var(--on-ink); font-size: 0.88rem; }

/* Reviews on light sections */
section:not(.section-dark) .review-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-sm);
}
section:not(.section-dark) .review-card p { color: var(--text-soft); }
section:not(.section-dark) .review-author { color: var(--primary); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  grid-column: span 4;
  grid-row: span 1;
  background: var(--ink-2);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,15,19,0.8) 0%, transparent 45%);
  opacity: 0.85;
  transition: opacity 0.3s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 20px 20px 18px;
  color: var(--on-ink);
  display: flex;
  flex-direction: column;
}
.gallery-cap .tag {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-bottom: 5px;
}
.gallery-cap .label { display: block; font-size: 0.95rem; font-weight: 600; line-height: 1.3; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.big { grid-column: span 6; grid-row: span 2; }
.gallery-item.half { grid-column: span 6; }
.gallery-item.q { grid-column: span 3; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 56px);
  align-items: start;
}
.contact-info h3 { margin-bottom: 26px; font-size: 1.4rem; color: var(--primary); }
.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-light);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail .icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(224, 123, 57, 0.12);
  border-radius: 12px;
}
.contact-detail p { color: var(--text-soft); }
.contact-detail strong { color: var(--primary); font-family: 'Archivo', sans-serif; }
.contact-detail a { color: var(--amber-deep); font-weight: 600; }
.contact-detail a:hover { color: var(--amber); }
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-light);
}
.contact-map iframe { width: 100%; height: 520px; border: 0; display: block; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: var(--on-ink-soft);
  padding: 72px 0 28px;
  border-top: 3px solid var(--amber);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}
.footer-brand .logo { margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; max-width: 360px; }
.footer-links h4 {
  color: var(--on-ink);
  margin-bottom: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--on-ink-soft); font-size: 0.93rem; }
.footer-links a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--on-ink-faint);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero--home .hero-inner { grid-template-columns: 1fr; }
  .hero--home .hero-copy { padding: 72px 28px 36px; }
  .hero-media { margin: 0 28px 36px; min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-item.big { grid-column: span 12; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    padding: 16px 24px 22px;
    gap: 4px;
    border-top: 1px solid var(--line-dark);
    align-items: stretch;
  }
  .nav-links.active { display: flex; }
  .nav-links li:last-child a { margin-left: 0; text-align: center; margin-top: 8px; }
  .about-content { grid-template-columns: 1fr; }
  .about-content.reverse .about-text { order: 0; }
  .media-frame { aspect-ratio: 3 / 2; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery-item, .gallery-item.big, .gallery-item.half { grid-column: span 1; }
  .gallery-item.big, .gallery-item.tall { grid-row: span 2; }
  .cta-group { width: 100%; }
  .cta-group .btn { flex: 1; min-width: 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item.big, .gallery-item.tall { grid-row: span 1; }
}
