
/* --- Double Pull Power Washing — Theme Boost --- */

/* Typography */
:root {
  --ink:#0b1220;
  --muted:#5b6473;
  --bg:#ffffff;
  --alt:#f6f8fb;
  --brand:#111111;
  --radius:16px;
  --shadow:0 8px 24px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.06);
}

html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0.1px;
}

/* Links */
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { opacity: .85; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow);
  background: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform .08s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Navigation */
.nav { border-bottom: 1px solid #eef2f7; }
.nav .wrap { min-height: 72px; }
.nav a { font-weight: 600; }
.nav a.btn { margin-left: .5rem; }

/* Sections & headings */
.section { padding: 3.5rem 0; }
.section h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin: 0 0 .75rem; }
.section p { color: var(--muted); font-size: 1.05rem; }

/* Cards */
.cards { gap: 1.25rem !important; }
.card {
  border: 1px solid #eef2f7 !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15,23,42,.12); }
.card h3 { margin-top: 0; font-size: 1.1rem; }

/* CTA block */
.cta {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #0b0b0b, #1a1a1a);
}
.cta a { border: 1px solid rgba(255,255,255,.28) !important; }
.cta a:hover { background: rgba(255,255,255,.06); }

/* Forms */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}
.form label { display: grid; gap: .45rem; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea {
  width: 100%;
  font: inherit;
  padding: .75rem .9rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fbfdff;
  transition: border-color .15s ease, box-shadow .2s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: #94a3b8;
  box-shadow: 0 0 0 4px rgba(148,163,184,.22);
  background: #fff;
}
.form button.btn {
  grid-column: 1 / -1;
  justify-self: start;
  background: #111;
  color: #fff;
  border-color: #111;
}
.form small { color: var(--muted); grid-column: 1 / -1; }

/* Form responsive */
@media (max-width: 820px) {
  .form { grid-template-columns: 1fr; }
}

/* Footer */
.footer { background: #fafbfe; }
.foot-nav a { color: #64748b; }
.foot-nav a:hover { color: #111; }

/* Hero */
.hero-cover {
  border-bottom: 1px solid #eef2f7;
  box-shadow: inset 0 -40px 60px rgba(0,0,0,.02);
}

/* Snapwidget */
.insta-embed .snapwidget-widget { border-radius: var(--radius); box-shadow: var(--shadow); }


/* === Uniform layout & centering tweaks === */

/* Ensure any 'hidden' honeypot or similar is invisible */
.hidden { display: none !important; visibility: hidden !important; height: 0 !important; overflow: hidden !important; }

/* Global heading alignment for a clean, uniform look */
.section h2, .section .meta, .section > p:first-of-type { text-align: center; }

/* Services cards: center text for consistency */
.cards .card { text-align: center; }

/* About & Contact sections specifically centered */
#about .wrap, #contact .wrap { text-align: center; }

/* Form: centered, consistent width, spacing */
.form {
  max-width: 720px;
  margin: 0 auto;
  text-align: left; /* keep labels/inputs aligned while the section is centered */
}
.form button.btn { justify-self: center; }
.form small { text-align: center; }

/* Blog pages: center titles and meta for consistency */
.wrap > h1, .wrap > .meta { text-align: center; }

/* Instagram & Facebook embeds centered */
#instagram .wrap, #facebook .wrap { text-align: center; }
#instagram .insta-embed, #facebook .fb-post { margin: 0 auto; }

/* Nav consistent spacing */
.nav nav a { padding: .25rem .35rem; }

/* Hero image behavior consistent */
.hero-cover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Buttons: ensure uniform capitalization/weight */
.btn { text-transform: none; font-weight: 700; }

/* Lists in blog posts: nicer spacing */
.wrap ul { line-height: 1.75; margin: .25rem 0 1rem; }


/* --- Mobile dropdown (hamburger) menu --- */
.menu-toggle {
  display: none;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 10px;
  padding: .5rem .7rem;
  box-shadow: var(--shadow);
  font-weight: 700;
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items:center; justify-content:center; }
  .nav .wrap { gap: .75rem; }
  .menu {
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    display: none;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    padding: .6rem;
  }
  .menu.open { display: grid; gap: .25rem; }
  .menu a {
    display: block;
    padding: .65rem .75rem;
    border-radius: 10px;
  }
  .menu a:hover {
    background: #f6f8fb;
  }
  /* Make CTA button full width on mobile menu */
  .menu a.btn { text-align: center; margin-top: .25rem; }
  /* Hide inline desktop nav spacing rules */
  .nav nav a { margin-left: 0; }
}


/* --- Sticky Call/Text bar (mobile only) --- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: none;
  gap: .6rem;
  padding: .6rem;
  background: #0f172a;
  border-top: 1px solid #0b1220;
  z-index: 70;
}
.sticky-cta .btn { flex: 1; text-align: center; color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.sticky-cta .btn:hover { background: rgba(255,255,255,.12); }
@media (max-width: 860px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 64px; } /* give space so bar doesn't cover content */
}

/* --- Hamburger animation --- */
.menu-toggle {
  position: relative;
  width: 44px; height: 40px;
  justify-content: center;
}
.menu-toggle .bar {
  position: absolute;
  width: 22px; height: 2px;
  background: #0b1220;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.menu-toggle .bar:nth-child(1) { top: 13px; }
.menu-toggle .bar:nth-child(2) { top: 19px; }
.menu-toggle .bar:nth-child(3) { top: 25px; }
.menu-toggle.active .bar:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* --- Service icons styling --- */
.services-cards .icon {
  width: 56px; height: 56px;
  margin: 0 auto .5rem;
  display: grid; place-items: center;
  border-radius: 16px;
  border: 1px solid #eef2f7;
  box-shadow: var(--shadow);
}
.services-cards svg { display: block; }


/* --- Desktop floating "Get a Quote" button --- */
@media (min-width: 861px) {
  .float-quote {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1rem;
    border-radius: 999px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    box-shadow: var(--shadow);
    text-decoration: none;
    font-weight: 700;
    transition: transform .08s ease, opacity .15s ease;
  }
  .float-quote:hover { transform: translateY(-1px); }
}


/* --- Quick call button cleanup --- */
.quick-call-btn {
  display: inline-block;
  padding: .6rem 1rem;
  background: #111;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: background .15s ease, transform .08s ease;
}
.quick-call-btn:hover {
  background: #333;
  transform: translateY(-1px);
}


/* --- Instagram section mobile optimization --- */
.snapwidget-widget {
  max-width: 100%;
  height: auto !important;
}
@media (max-width: 600px) {
  .snapwidget-widget {
    max-width: 100%;
  }
}


/* --- Mobile menu robust fixes --- */
@media (max-width: 860px) {
  .nav { position: sticky; top: 0; z-index: 100; }
  .nav .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
  .menu-toggle { display: inline-flex; }
  /* Hide menu by default */
  .menu {
    position: absolute;
    top: 72px; /* sits just below header */
    right: 16px;
    left: 16px;
    display: none;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    padding: .6rem;
    z-index: 120;
  }
  .menu.open { display: grid; gap: .25rem; }
  .menu a { display: block; padding: .75rem .8rem; border-radius: 10px; margin: 0; }
  .menu a:hover { background: #f6f8fb; }
  /* Prevent underlying content scroll when menu is open */
  body.menu-open { overflow: hidden; }
}


/* --- Always‑on Hamburger Dropdown (Desktop & Mobile) --- */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 10px;
  padding: .5rem .7rem;
  box-shadow: var(--shadow);
  font-weight: 700;
  width: 44px; height: 40px;
  position: relative;
}
/* 3-bar icon if present */
.menu-toggle .bar {
  position: absolute;
  width: 22px; height: 2px;
  background: #0b1220;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.menu-toggle .bar:nth-child(1) { top: 13px; }
.menu-toggle .bar:nth-child(2) { top: 19px; }
.menu-toggle .bar:nth-child(3) { top: 25px; }
.menu-toggle.active .bar:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* Menu container: hidden by default, opens below header */
.nav { position: sticky; top: 0; z-index: 100; }
.nav .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }

.menu {
  position: absolute;
  top: 72px;
  right: 16px;
  display: none;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: .6rem;
  z-index: 120;
  width: min(320px, 90vw);
}
.menu.open { display: grid; gap: .25rem; }
.menu a {
  display: block;
  padding: .75rem .8rem;
  border-radius: 10px;
  margin: 0;
}
.menu a:hover { background: #f6f8fb; }
.menu a.btn { text-align: center; }

/* Prevent page scroll when menu is open (all sizes) */
body.menu-open { overflow: hidden; }

/* On very wide screens push menu a bit from right for aesthetics */
@media (min-width: 1200px) {
  .menu { right: 22px; }
}


/* Ensure menu appears and layers correctly (all sizes) */
.nav { position: sticky; top: 0; z-index: 200; }
.nav .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.menu-toggle { display: inline-flex; align-items:center; justify-content:center; width:44px; height:40px; border:1px solid #e5e7eb; background:#fff; border-radius:10px; box-shadow: var(--shadow); }
.menu-toggle .bar { position:absolute; width:22px; height:2px; background:#0b1220; border-radius:2px; transition: transform .2s ease, opacity .2s ease, top .2s ease; }
.menu-toggle .bar:nth-child(1){ top:13px; } .menu-toggle .bar:nth-child(2){ top:19px; } .menu-toggle .bar:nth-child(3){ top:25px; }
.menu-toggle.active .bar:nth-child(1){ top:19px; transform:rotate(45deg); } .menu-toggle.active .bar:nth-child(2){ opacity:0; } .menu-toggle.active .bar:nth-child(3){ top:19px; transform:rotate(-45deg); }

.menu { position:absolute; top:72px; right:16px; border:1px solid #e5e7eb; border-radius:var(--radius); background:#fff; box-shadow: var(--shadow); padding:.6rem; width:min(320px,90vw); display:none; z-index:220; }
.menu.open { display:grid; gap:.25rem; }
.menu a { display:block; padding:.75rem .8rem; border-radius:10px; margin:0; }
.menu a:hover { background:#f6f8fb; }
.menu a.btn { text-align:center; }

/* Prevent page scroll while menu open */
body.menu-open { overflow:hidden; }


/* Quick call visibility + mobile layout */
.cta .quick-call-link{color:#fff;font-weight:700;text-decoration:none}
.cta .quick-call-link:hover{text-decoration:underline}
@media (max-width: 860px){
  .cta{flex-direction:column;text-align:center;gap:.6rem}
  .cta > div{width:100%}
}

.sticky-cta .btn{pointer-events:auto}

/* Sticky dial tweaks: show number as text + separate icon link */
.sticky-cta { align-items: center; }
.sticky-cta .num { color: #fff; font-weight: 700; padding: .6rem .75rem; }
.sticky-cta .icon-only { width: 44px; justify-content: center; padding: .6rem 0; }
.sticky-cta .icon-only svg { display: block; }
