/*
 * Alpharetta Pressure Washing: homepage polish (October 2026).
 * Loaded only by public/index.html, after the theme's main.css.
 * The shared theme stylesheet (main.css) is intentionally left untouched.
 * Palette follows the theme: royal blue #1c2089, booking gold #E3A03B, bronze #a97b50.
 */

:root {
  --hp-blue: #1c2089;
  --hp-blue-dark: #12155c;
  --hp-gold: #E3A03B;
  --hp-gold-dark: #c9862a;
  --hp-bronze: #a97b50;
  --hp-ink: #222;
  --hp-muted: #555;
  --hp-soft: #f3f4fa;
}

/* ---------- Buttons ---------- */
.hp-btn {
  display: inline-block;
  padding: .7em 1.4em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-decoration: none !important;
  border: 2px solid transparent;
  border-radius: 2px;
  line-height: 1.2;
  text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.hp-btn-gold { background: var(--hp-gold); color: #000 !important; border-color: var(--hp-gold); }
.hp-btn-gold:hover, .hp-btn-gold:focus { background: var(--hp-gold-dark); border-color: var(--hp-gold-dark); color: #000 !important; }
.hp-btn-light { background: rgba(255, 255, 255, .92); color: var(--hp-blue) !important; border-color: var(--hp-blue); }
.hp-btn-light:hover, .hp-btn-light:focus { background: var(--hp-blue); color: #fff !important; }
.hp-btn-lg { font-size: 1.25rem; padding: .8em 2em; }
.hp-btn:focus { outline: 3px solid #ff631a; outline-offset: 2px; }

/* ---------- Hero ---------- */
/* The theme hides .slide-caption at <=1366px, so most laptops and every phone saw no hero text.
   Keep the captions visible at every width and scale the type instead. */
#home-slider .bxslider li .slide-caption,
.slide-caption {
  display: block !important;
}
#home-slider { position: relative; }
#home-slider .hero-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9%;
  z-index: 60;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 16px;
}
#home-slider .hero-actions .hp-btn { font-size: 1.15rem; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
/* The scroll-down chevron would sit on top of the new buttons. */
#home-slider:after { display: none; }

@media (max-width: 1366px) {
  #home-slider .bxslider li .slide-caption p { font-size: 2.1em; }
}
@media (max-width: 991px) {
  #home-slider .bxslider li .slide-caption { padding: 1em 1em; }
  #home-slider .bxslider li .slide-caption p { font-size: 1.6em; }
}
@media (max-width: 767px) {
  #home-slider .bxslider li .slide-caption { padding: .9em .75em; }
  #home-slider .bxslider li .slide-caption p { font-size: 1.35em; line-height: 1.25; }
  #home-slider .hero-actions { bottom: 22px; flex-direction: column; align-items: center; }
  #home-slider .hero-actions .hp-btn { width: 100%; max-width: 320px; font-size: 1.05rem; }
}

/* ---------- Mobile bottom bar: Book Now + Call (homepage) ---------- */
@media (max-width: 767px) {
  .mobile-cta { flex-wrap: nowrap !important; }
  .mobile-cta a,
  .mobile-cta a:first-of-type { width: 50% !important; padding: 11px 4px !important; font-size: 1rem; }
  .mobile-cta a.mobile-book-link { background: var(--hp-gold); color: #000; text-transform: uppercase; }
  /* Keep the fixed bar from covering the last lines of the footer. */
  body { padding-bottom: 52px; }
}

/* ---------- Shared section scaffolding ---------- */
.hp-section { padding: 3.5rem 0; }
.hp-eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: .85rem;
  color: var(--hp-gold);
  margin-bottom: .5rem;
}
.hp-intro { max-width: 760px; margin: 0 auto 2rem; color: var(--hp-muted); font-size: 1.1rem; }
.hp-note { margin: 1.25rem 0 0; font-size: .9rem; color: var(--hp-muted); text-align: center; }
.hp-section img, .hp-history img { max-width: 100%; height: auto; display: block; }

/* ---------- History / organic search ---------- */
.hp-history {
  background: var(--hp-blue);
  color: #fff;
  padding: 4rem 0;
  margin: 2.5rem 0 0;
  text-align: center;
  border-top: 6px solid var(--hp-gold);
}
.hp-history h2 {
  color: #fff;
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1.2;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}
.hp-history .hp-lead { max-width: 820px; margin: 0 auto 1rem; font-size: 1.2rem; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.hp-history .hp-lead-strong { font-weight: 700; color: #fff; font-size: 1.3rem; }
@media (max-width: 767px) {
  .hp-history { padding: 2.75rem 0; }
  .hp-history h2 { font-size: 1.7rem; }
  .hp-history .hp-lead { font-size: 1.05rem; }
  .hp-history .hp-lead-strong { font-size: 1.12rem; }
}

/* ---------- Real work grid ---------- */
.hp-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 991px) { .hp-photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .hp-photo-grid { grid-template-columns: 1fr; } }
.hp-photo { margin: 0; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .12); }
.hp-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hp-photo figcaption { padding: .75rem .9rem; font-size: .95rem; color: var(--hp-ink); border-top: 3px solid var(--hp-blue); }

/* ---------- Sell This House preview ---------- */
.hp-sth { background: var(--hp-soft); padding: 3.5rem 0; }
.hp-sth-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border-top: 6px solid var(--hp-bronze);
  padding: 2.5rem 2rem;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .08);
}
.hp-sth .hp-eyebrow { color: var(--hp-bronze); }
.hp-sth h2 { color: var(--hp-blue); font-weight: 900; margin-bottom: .5rem; }
.hp-sth-lead { font-size: 1.35rem; font-weight: 700; color: var(--hp-ink); margin-bottom: 1rem; }
.hp-sth p { font-size: 1.05rem; }
@media (max-width: 767px) { .hp-sth-inner { padding: 1.75rem 1.1rem; } }

/* ---------- Range cards ---------- */
.hp-range { padding-top: 1rem; }
.hp-range-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .hp-range-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }
.hp-range-card { background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .12); padding: 0 0 1.25rem; display: flex; flex-direction: column; }
.hp-range-card h3 { color: var(--hp-blue); font-weight: 800; margin: 1rem 1.1rem .4rem; }
.hp-range-card p { margin: 0 1.1rem 1rem; flex-grow: 1; }
.hp-range-card .button { margin: .25rem 1.1rem 0; align-self: flex-start; }
.hp-range-card .hp-single { margin: 0; }
.hp-range-card .hp-single img { width: 100%; aspect-ratio: 32 / 10; object-fit: cover; }
.hp-range-card .hp-ba-pair { gap: 0; }

/* ---------- Before / after ---------- */
.hp-ba { margin: 0; }
.hp-ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; }
.hp-ba-item { position: relative; }
.hp-ba-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hp-ba-compact .hp-ba-item img { aspect-ratio: 16 / 10; }
.hp-ba-tag {
  position: absolute; top: 8px; left: 8px;
  background: rgba(0, 0, 0, .7); color: #fff;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 8px;
}
.hp-ba-tag-after { background: var(--hp-blue); }
.hp-ba figcaption { padding: .7rem .2rem 0; font-weight: 700; color: var(--hp-ink); text-align: center; }
.hp-ba-list { display: grid; grid-template-columns: 1fr; gap: 36px; max-width: 960px; margin: 0 auto; }
.hp-ba-split img { width: 100%; aspect-ratio: 8 / 3; object-fit: cover; }
.hp-ba-split figcaption { font-weight: 700; }

/* ---------- Gallery labels (former <h4> headings, same look) ---------- */
.gallery-row .col-6 a .gallery-label,
.gallery-row .col-12 a .gallery-label {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 4px solid #1c2089;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
@media (max-width: 991px) {
  .gallery-row .col-6 a .gallery-label,
  .gallery-row .col-12 a .gallery-label { font-size: 1.2rem; }
}

/* ---------- Booking band ---------- */
.hp-book {
  background:
    linear-gradient(rgba(18, 21, 92, .86), rgba(18, 21, 92, .86)),
    url(/wp-content/uploads/2018/10/home-scroll-bg-2.jpg) center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 4rem 0;
  border-top: 6px solid var(--hp-gold);
}
.hp-book h2 { color: #fff; font-weight: 900; font-size: 2.4rem; margin-bottom: .75rem; }
.hp-book p { font-size: 1.25rem; margin-bottom: 1.5rem; color: #fff; }
.hp-book a[href^="tel:"] { color: #fff; font-weight: 700; text-decoration: underline; }
.hp-book .hp-book-actions { margin: 0; }
@media (max-width: 767px) {
  .hp-book { padding: 2.75rem 0; }
  .hp-book h2 { font-size: 1.8rem; }
  .hp-book p { font-size: 1.1rem; }
}
