/* Wichita Paint & Drywall — 2026 visual polish
   Clean sticky header, finished-job hero, tighter type and cards.
   Keeps the existing green palette. */

:root {
  --wpd-green: #6c8c30;
  --wpd-green-dark: #415124;
  --wpd-green-mid: #8eb050;
  --wpd-gold: #e8b82c;
  --wpd-ink: #1c1c1c;
}

/* ---- Header ---- */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 20px;
  min-height: 76px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--wpd-ink);
  min-width: 0;
}

.site-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.site-logo-name {
  font-family: 'Arvo', serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--wpd-ink);
  white-space: nowrap;
}

.site-logo-sub {
  font-family: 'Muli', sans-serif;
  font-size: 12px;
  color: #555;
  white-space: nowrap;
}

.header-call-mobile {
  display: none;
  margin-left: auto;
  background: var(--wpd-green);
  color: #fff !important;
  font-family: 'Arvo', serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 10px 14px;
  border-radius: 4px;
  text-decoration: none !important;
  white-space: nowrap;
}

.header-call-mobile:hover {
  background: var(--wpd-green-dark);
  color: #fff !important;
}

button.site-nav-toggle.navbar-toggler {
  display: none;
  border: none;
  background: var(--wpd-green) !important;
  padding: 8px 10px;
  border-radius: 4px;
  margin-left: 8px;
  cursor: pointer;
}

button.site-nav-toggle .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 22px;
  height: 22px;
}

nav.site-nav {
  display: flex !important;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

nav.site-nav .navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  position: static;
  width: auto;
  height: auto;
  left: auto;
  top: auto;
  background-image: none !important;
  background: none !important;
}

nav.site-nav .navbar-nav .nav-item {
  padding: 0;
  margin: 0;
  height: auto;
  min-width: 0;
  text-align: center;
}

nav.site-nav .navbar-nav .nav-link {
  display: block;
  padding: 8px 9px !important;
  font-family: 'Arvo', serif;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--wpd-ink) !important;
  white-space: nowrap;
  line-height: 1.2;
}

nav.site-nav .navbar-nav .nav-link:hover,
nav.site-nav .navbar-nav .nav-link:focus {
  color: var(--wpd-green) !important;
  text-decoration: none;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: 8px;
}

.header-btn {
  display: inline-block;
  font-family: 'Arvo', serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  padding: 10px 14px;
  border-radius: 4px;
  text-decoration: none !important;
  white-space: nowrap;
  text-align: center;
}

.header-btn-call {
  background: #fff;
  color: var(--wpd-green-dark) !important;
  border: 2px solid var(--wpd-green);
}

.header-btn-call:hover {
  background: #f2f6ea;
  color: var(--wpd-green-dark) !important;
}

.header-btn-quote {
  background: var(--wpd-gold);
  color: #1c1c1c !important;
  border: 2px solid var(--wpd-gold);
}

.header-btn-quote:hover {
  background: #d4a61f;
  border-color: #d4a61f;
  color: #1c1c1c !important;
}

/* Hide the old paint-roller nav if any leftover markup remains */
.paint-nav,
.navbar-nav.hp-1-nav,
.navbar-nav.hp-4-nav {
  background-image: none !important;
}

/* ---- Hero ---- */
.hero-area.hero-finished {
  background-image: url(../images/hero-finished-bedroom.jpg);
  background-position: center 40%;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  text-align: center;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-finished .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 24, 12, 0.62) 0%,
    rgba(18, 24, 12, 0.58) 50%,
    rgba(18, 24, 12, 0.72) 100%
  );
}

.hero-finished .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-finished .hero-content {
  margin: 0 auto;
  padding: 110px 16px 200px;
  max-width: 900px;
}

.hero-finished .hero-content h1 {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  background: none !important;
  color: #fff;
  font-size: 46px;
  line-height: 1.15;
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-finished .hero-content p {
  width: 100%;
  max-width: 720px;
  margin: 18px auto 0;
  padding: 0;
  background: none !important;
  color: #f4f4f4;
  font-size: 18px;
  line-height: 1.55;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-finished .cta-pair {
  margin-top: 28px;
}

.hero-finished .cta-pair a.cta-secondary {
  background-color: transparent !important;
  color: #fff !important;
  border-color: #fff;
}

.hero-finished .cta-pair a.cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}

/* ---- Service cards ---- */
.paints-service {
  margin-top: -160px;
}

.paints-service .col-md-4 {
  display: flex;
}

.paints-service .single-service,
.paints-service .ss-2 {
  width: 100%;
  min-height: 280px;
  height: auto;
  margin: 12px 0;
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  box-sizing: border-box;
}

.paints-service .ss-content h3,
.paints-service .sscontent-h4 h3 {
  font-size: 22px;
  letter-spacing: 0.02em;
  margin: 12px 0 12px;
  line-height: 1.25;
}

.paints-service .ss-content p,
.paints-service .sscontent-h4 p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* ---- Inner page titles ---- */
.service-area h1,
.green-service h1,
.ser-2.service-area h1,
.bl-1.service-area h1 {
  padding: 116px 16px 52px !important;
  font-size: 40px;
  line-height: 1.2;
}

/* ---- Footer ---- */
footer {
  background: var(--wpd-green-dark);
  color: #fff;
  text-align: center;
  padding: 18px 16px;
}

footer p {
  margin: 0;
  font-size: 14px;
  color: #fff;
}

/* ---- Header offset for pages that start with content, not a banner ---- */
/* Contact form / portfolio still use .service-area, so they are covered. */

@media (max-width: 1199.98px) {
  .site-logo-text {
    display: none;
  }

  nav.site-nav {
    display: none !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    padding: 8px 16px 20px;
    gap: 0;
  }

  nav.site-nav.show,
  nav.site-nav.collapsing,
  nav.site-nav.collapse.show {
    display: flex !important;
  }

  /* Bootstrap collapse adds .show when open; keep it visible */
  nav.site-nav.collapse:not(.show) {
    display: none !important;
  }

  nav.site-nav .navbar-nav {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  nav.site-nav .navbar-nav .nav-item {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #eee;
  }

  nav.site-nav .navbar-nav .nav-link {
    padding: 14px 8px !important;
    font-size: 16px;
    text-align: left;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    margin: 16px 0 0;
    gap: 10px;
  }

  .header-btn {
    width: 100%;
    font-size: 16px;
    padding: 12px 16px;
  }

  .header-call-mobile {
    display: inline-block;
  }

  button.site-nav-toggle.navbar-toggler {
    display: block;
  }

  .site-header-inner {
    min-height: 64px;
    padding: 6px 14px;
    gap: 10px;
  }

  .site-logo img {
    height: 46px;
  }

  .hero-finished {
    min-height: 560px;
  }

  .hero-finished .hero-content {
    padding: 100px 16px 180px;
  }

  .hero-finished .hero-content h1 {
    font-size: 36px;
  }

  .hero-finished .hero-content p {
    font-size: 16px;
  }

  .service-area h1,
  .green-service h1,
  .ser-2.service-area h1,
  .bl-1.service-area h1 {
    padding: 100px 16px 40px !important;
    font-size: 30px;
  }
}

@media (max-width: 575.98px) {
  .site-header-inner {
    min-height: 56px;
    padding: 5px 12px;
  }

  .site-logo img {
    height: 40px;
  }

  .header-call-mobile {
    font-size: 13px;
    padding: 8px 12px;
  }

  .hero-area.hero-finished {
    min-height: 0;
    background-position: 30% 40%;
  }

  .hero-finished .hero-content {
    padding: 88px 14px 150px;
  }

  .hero-finished .hero-content h1 {
    font-size: 28px;
  }

  .hero-finished .hero-content p {
    font-size: 15px;
  }

  .paints-service {
    margin-top: -110px;
  }

  .paints-service .single-service,
  .paints-service .ss-2 {
    min-height: 0;
    padding: 28px 22px 24px;
    margin: 8px 0;
  }

  .paints-service .ss-content h3,
  .paints-service .sscontent-h4 h3 {
    font-size: 20px;
  }

  .service-area h1,
  .green-service h1,
  .ser-2.service-area h1,
  .bl-1.service-area h1 {
    padding: 88px 14px 32px !important;
    font-size: 26px;
  }
}
