/* Eclipse Tinting Hawaii — Blog styles (shared by /blog/ pages) */

:root {
  --gold: #C49A5A;
  --gold-dark: #A07A3A;
  --obsidian: #0A0A0A;
  --near-black: #1A1A1A;
  --off-white: #F8F5F0;
  --warm-gray: #EDE8E1;
  --border: #D8D2C6;
  --mid-gray: #8C8680;
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--off-white);
  color: var(--near-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.display {
  font-family: 'Antonio', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- NAV (matches homepage) ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 154, 90, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 100px;
  max-width: 1240px;
  margin: 0 auto;
  transition: height 0.25s ease, padding 0.25s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.96);
  border-bottom-color: rgba(196, 154, 90, 0.28);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.nav.scrolled .nav-inner { height: 68px; }

.nav-logo img {
  height: 64px;
  width: 150px;
  display: block;
  object-fit: contain;
  transition: height 0.25s ease;
}

.nav.scrolled .nav-logo img { height: 44px; }

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

.nav-links a {
  color: var(--off-white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--obsidian) !important;
  padding: 10px 22px;
  font-weight: 600 !important;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.nav-cta:hover {
  background: #d4a968;
  color: var(--obsidian) !important;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all 0.25s ease;
  transform-origin: center;
}
.nav-mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- BUTTONS (matches homepage) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: var(--gold);
  color: var(--obsidian);
}

.btn-primary:hover {
  background: #d4a968;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--off-white);
  border: 1px solid rgba(248, 245, 240, 0.25);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* ---------- POST HERO ---------- */
.post-hero {
  position: relative;
  background: var(--obsidian);
  color: var(--off-white);
  padding: 170px 0 72px;
  overflow: hidden;
}

.post-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(196, 154, 90, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 90%, rgba(160, 122, 58, 0.10) 0%, transparent 50%);
}

.post-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 154, 90, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 154, 90, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.post-hero .container { position: relative; z-index: 2; }

.breadcrumbs {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 245, 240, 0.55);
  margin-bottom: 28px;
}

.breadcrumbs a {
  color: var(--gold);
  text-decoration: none;
}

.breadcrumbs a:hover { text-decoration: underline; }

.post-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  max-width: 920px;
  margin-bottom: 24px;
}

.post-hero h1 .gold { color: var(--gold); }

.post-hero .lead {
  font-size: 18px;
  color: rgba(248, 245, 240, 0.75);
  max-width: 680px;
  margin-bottom: 28px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 245, 240, 0.6);
}

.post-meta strong { color: var(--gold); font-weight: 600; }

/* ---------- POST BODY ---------- */
.post-layout {
  max-width: 800px;
  margin: 0 auto;
  padding: 72px 32px 0;
}

.post-body p {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 22px;
}

.post-body h2 {
  font-family: 'Antonio', 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 30px;
  line-height: 1.15;
  color: var(--obsidian);
  margin: 52px 0 18px;
}

.post-body h3 {
  font-family: 'Antonio', 'Inter', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 21px;
  color: var(--obsidian);
  margin: 36px 0 12px;
}

.post-body ul,
.post-body ol {
  margin: 0 0 22px 22px;
}

.post-body li {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.post-body li::marker { color: var(--gold-dark); }

.post-body a {
  color: var(--gold-dark);
  font-weight: 500;
}

.post-body a:hover { color: var(--gold); }

.callout {
  background: white;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin: 36px 0;
}

.callout h4 {
  font-family: 'Antonio', 'Inter', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 15px;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.callout ul { margin-bottom: 0; }
.callout li:last-child { margin-bottom: 0; }
.callout p:last-child { margin-bottom: 0; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-item:last-of-type { border-bottom: none; }

.faq-item h3 {
  font-family: 'Inter', sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
}

.faq-item p { margin-bottom: 0; font-size: 16px; }

.disclaimer {
  font-size: 13px;
  color: var(--mid-gray);
  line-height: 1.6;
}

/* ---------- RELATED POSTS / CARDS ---------- */
.post-related {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 32px 0;
}

.post-related h2 {
  font-family: 'Antonio', 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 26px;
  color: var(--obsidian);
  margin-bottom: 28px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-grid.two { grid-template-columns: repeat(2, 1fr); }

.post-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

.post-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(10, 10, 10, 0.15);
}

.post-kicker {
  font-family: 'Antonio', 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.post-card h2,
.post-card h3 {
  font-family: 'Antonio', 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--obsidian);
}

.post-card p {
  color: var(--mid-gray);
  font-size: 15px;
  flex-grow: 1;
  margin-bottom: 0;
}

.post-card .arrow-link {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 24px;
}

/* ---------- CTA BAND ---------- */
.post-cta {
  max-width: 1240px;
  margin: 72px auto 96px;
  padding: 0 32px;
}

.post-cta-inner {
  position: relative;
  background: var(--obsidian);
  color: var(--off-white);
  border-radius: var(--radius);
  padding: 64px 56px;
  text-align: center;
  overflow: hidden;
}

.post-cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(196, 154, 90, 0.18), transparent 60%);
  pointer-events: none;
}

.post-cta-inner > * { position: relative; }

.post-cta-inner h2 {
  font-family: 'Antonio', 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.post-cta-inner h2 .gold { color: var(--gold); }

.post-cta-inner p {
  color: rgba(248, 245, 240, 0.7);
  max-width: 560px;
  margin: 0 auto 32px;
}

.post-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- BLOG INDEX ---------- */
.blog-list {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 32px 0;
}

/* ---------- FOOTER (matches homepage) ---------- */
footer {
  background: var(--obsidian);
  color: rgba(248, 245, 240, 0.6);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(196, 154, 90, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-logo img {
  height: 72px;
  margin-bottom: 20px;
}

.footer-tag {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h5 {
  font-family: 'Antonio', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  color: rgba(248, 245, 240, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(196, 154, 90, 0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav-inner { padding: 0 20px; height: 72px; }
  .nav.scrolled .nav-inner { height: 56px; }
  .nav-logo img { height: 48px; width: 120px; }
  .nav-mobile-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 20px;
    border-bottom: 1px solid rgba(196, 154, 90, 0.2);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.nav-cta) {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
  }
  .nav-cta {
    margin: 12px 24px 0;
    padding: 12px 20px;
    font-size: 13px;
    text-align: center;
    justify-content: center;
  }
  .post-hero { padding: 130px 0 56px; }
  .post-layout { padding: 56px 24px 0; }
  .post-grid, .post-grid.two { grid-template-columns: 1fr; }
  .post-related { padding: 56px 24px 0; }
  .post-cta { padding: 0 24px; margin: 56px auto 72px; }
  .post-cta-inner { padding: 48px 28px; }
  .blog-list { padding: 56px 24px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .container { padding: 0 24px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .footer-col-services, .footer-col-company { display: none; }
  .footer-tag { max-width: 100%; }
  .post-cta-actions { flex-direction: column; align-items: stretch; }
  .post-cta-actions .btn { justify-content: center; }
}
