/* ═══════════════════════════════════════════════════════════
   PREMIER DETAILING — SHARED INNER PAGE STYLES
   All service pages and blog pages include this file
═══════════════════════════════════════════════════════════ */

/* ── PAGE HERO (shorter than homepage) ── */
.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9rem 5% 4rem;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3,6,12,0.6), rgba(3,6,12,0.97));
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}
.page-badge {
  display: inline-block;
  background: rgba(203,168,113,0.1);
  border: 1px solid rgba(203,168,113,0.3);
  color: var(--gold);
  padding: 7px 20px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 1.2rem;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: 1.2rem;
}
.breadcrumb a { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: var(--gold); }

/* ── ARTICLE LAYOUT ── */
.article-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 5%;
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  align-items: flex-start;
}
.article-body {
  flex: 2;
  min-width: 280px;
}
.article-sidebar {
  flex: 1;
  min-width: 260px;
  position: sticky;
  top: 100px;
}

/* ── PROSE ── */
.prose h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 0.9rem;
  margin-top: 3.5rem;
  line-height: 1.15;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.25rem;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 0.7rem;
  margin-top: 2.2rem;
}
.prose h4 {
  font-size: 1rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}
.prose p {
  font-size: 1rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.88;
  margin-bottom: 1.2rem;
}
.prose ul, .prose ol {
  color: rgba(255,255,255,0.62);
  font-size: 1rem;
  line-height: 2.1;
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}
.prose li { margin-bottom: 0.2rem; }
.prose strong { color: rgba(255,255,255,0.9); }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ── SIDEBAR BOX ── */
.sbox {
  background: rgba(20,25,40,0.55);
  border: 1px solid rgba(203,168,113,0.2);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.6rem;
  text-align: center;
}
.sbox h4 {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}
.sbox p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  margin: 0 0 1rem;
}
.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 2.3;
  text-align: left;
}
.price-row span:last-child { color: var(--gold); font-weight: 600; }

/* ── CALLOUT BLOCK ── */
.callout {
  background: rgba(203,168,113,0.06);
  border: 1px solid rgba(203,168,113,0.22);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
}
.callout p { margin: 0; color: rgba(255,255,255,0.7); font-size: 0.97rem; }

/* ── BEFORE/AFTER BLOCK ── */
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2.5rem 0;
  border-radius: 20px;
  overflow: hidden;
}
.ba-pair figure {
  position: relative;
  margin: 0;
}
.ba-pair figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.ba-pair figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(3,6,12,0.8);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 12px;
  text-align: center;
}
.ba-single {
  margin: 2.5rem 0;
  border-radius: 20px;
  overflow: hidden;
}
.ba-single img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}
.ba-single figcaption {
  background: rgba(20,25,40,0.9);
  border: 1px solid rgba(203,168,113,0.15);
  border-top: none;
  padding: 1rem 1.4rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}
.ba-single figcaption strong { color: var(--gold); }

/* ── PHOTO GRID ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.photo-grid figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.photo-grid figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.photo-grid figure:hover img { transform: scale(1.03); }
.photo-grid figcaption {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: linear-gradient(transparent, rgba(3,6,12,0.85));
  padding: 2rem 1rem 0.8rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}

/* ── GALLERY FILTER TABS ── */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-tab {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s;
}
.filter-tab:hover, .filter-tab.active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

/* ── RELATED LINKS ── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
.related-card {
  background: rgba(20,25,40,0.45);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s;
}
.related-card:hover { border-color: rgba(203,168,113,0.3); transform: translateY(-3px); }
.related-card h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.related-card p { font-size: 0.84rem; color: rgba(255,255,255,0.4); margin: 0 0 0.8rem; }
.related-card a { font-size: 0.82rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; text-decoration: none; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, rgba(203,168,113,0.08) 0%, rgba(3,6,12,1) 60%);
  border-top: 1px solid rgba(203,168,113,0.15);
  border-bottom: 1px solid rgba(203,168,113,0.15);
  padding: 6rem 5%;
  text-align: center;
}
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta-band p { font-size: 1.1rem; max-width: 580px; margin: 0 auto 2.5rem; }

/* ── BLOG POST META ── */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.post-meta .meta-item {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.post-meta .meta-item strong { color: var(--gold); }

/* ── TABLE OF CONTENTS ── */
.toc {
  background: rgba(20,25,40,0.5);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 1.8rem;
  margin-bottom: 3rem;
}
.toc h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 1rem;
}
.toc ol {
  padding-left: 1.2rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 2.2;
}
.toc a { color: rgba(255,255,255,0.5); text-decoration: none; }
.toc a:hover { color: var(--gold); }

/* ── LOCATION STRIP ── */
.location-strip {
  background: rgba(203,168,113,0.08);
  border-bottom: 1px solid rgba(203,168,113,0.15);
  padding: 9px 5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.location-strip a { color: var(--gold); opacity: 0.8; transition: opacity 0.2s; }
.location-strip a:hover { opacity: 1; }

.nav-phone {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  margin-right: 20px;
  display: flex;
  align-items: center;
  letter-spacing: 1px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .location-strip { display: none; }
  .nav-phone { display: none; }
  .article-wrap { flex-direction: column; gap: 3rem; }
  .article-sidebar { position: static; }
  .ba-pair { grid-template-columns: 1fr; }
  .ba-pair figure img { height: 240px; }
}
