/* Helping Hands Plumbing Services LLC - Site Stylesheet
   Warm, friendly, photo-forward look inspired by leading Valley home-service sites.
   Mobile-friendly. Assets are local (images/ folder). */

:root {
  --blue-dark: #0d4066;
  --blue: #1464a8;
  --blue-light: #e8f1f8;
  --blue-accent: #2a9df4;
  --accent: #f08a24;
  --accent-dark: #d97316;
  --cream: #fff7ec;
  --cream-border: #f3e3cd;
  --text: #1f2933;
  --text-light: #52606d;
  --border: #d9e2ec;
  --white: #ffffff;
  --gray-bg: #f7f4ef;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(13, 64, 102, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--blue-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: block;
  flex: 0 0 auto;
}

.logo span {
  color: var(--accent);
  font-size: 0.82em;
  font-weight: 600;
}

.header-phone {
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.header-phone:hover {
  background: var(--accent-dark);
  text-decoration: none;
}

.main-nav {
  background: var(--blue);
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-nav a {
  display: block;
  color: var(--white);
  padding: 12px 16px;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--white);
  color: var(--blue-dark);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 1.05rem;
}

.btn:hover {
  background: var(--blue-light);
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 10px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Hero (home) */
.hero {
  background: linear-gradient(150deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 56px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(240, 138, 36, 0.18);
  color: #ffd9ad;
  border: 1px solid rgba(240, 138, 36, 0.55);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.18;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.13rem;
  margin-bottom: 28px;
  color: #d6e7f5;
  max-width: 520px;
}

.hero-photo img,
.hero-photo video {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 72%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: block;
  background: var(--blue-dark);
}

/* Trust strip */
.trust-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-border);
  padding: 20px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--blue-dark);
}

.trust-item::before {
  content: "\2713";
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

/* Sections */
section {
  padding: 56px 0;
}

section.alt {
  background: var(--gray-bg);
}

section.cream {
  background: var(--cream);
}

.section-title {
  font-size: 1.9rem;
  color: var(--blue-dark);
  margin-bottom: 12px;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto 36px;
}

h2 {
  font-size: 1.6rem;
  color: var(--blue-dark);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.15rem;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 14px rgba(13, 64, 102, 0.06);
}

.card p {
  color: var(--text-light);
}

.card .card-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
}

.card.has-photo {
  padding: 0;
  overflow: hidden;
}

.card.has-photo img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.card.has-photo .card-body {
  padding: 20px 24px 24px;
}

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.two-col p {
  color: var(--text-light);
  margin-bottom: 14px;
}

.col-photo {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  margin-bottom: 18px;
}

.check-list {
  list-style: none;
  margin: 12px 0;
}

.check-list li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: var(--text);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

/* Spotlight */
.spotlight {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
}

.spotlight img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.spotlight p {
  color: var(--text-light);
  margin-bottom: 14px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.step {
  background: var(--white);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius);
  padding: 22px;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.step p {
  color: var(--text-light);
}

/* Service area */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  list-style: none;
}

.area-list li {
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
}

/* CTA band */
.cta-band {
  background: var(--blue-dark);
  color: var(--white);
  text-align: center;
  padding: 48px 0;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: #d6e7f5;
  margin-bottom: 24px;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-border);
  padding: 42px 0;
}

.page-hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.page-hero h1 {
  font-size: 2.1rem;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--text-light);
  max-width: 560px;
  font-size: 1.08rem;
}

.page-hero img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

/* Page header (simple, contact) */
.page-header {
  background: var(--blue-light);
  padding: 44px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.page-header p {
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
}

/* Content */
.content p {
  color: var(--text-light);
  margin-bottom: 16px;
  max-width: 820px;
}

.content ul {
  margin: 0 0 16px 22px;
  color: var(--text-light);
}

.content-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  margin: 8px 0 28px;
}

/* Contact form */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 14px rgba(13, 64, 102, 0.06);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--blue-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  color: var(--text);
  background: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 12px;
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--blue-dark);
  color: #cbdcee;
  padding: 40px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  padding: 3px 0;
}

.site-footer a {
  color: #cbdcee;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 18px;
  font-size: 0.9rem;
  text-align: center;
}

.photo-credit {
  font-size: 0.78rem;
  color: #8fb0cc;
  margin-top: 6px;
}

/* Mobile call bar */
.mobile-callbar {
  display: none;
}

@media (max-width: 720px) {
  body {
    padding-bottom: 58px;
  }

  .mobile-callbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    box-shadow: 0 -4px 16px rgba(13, 64, 102, 0.2);
  }

  .mobile-callbar a {
    flex: 1;
    text-align: center;
    padding: 16px 8px;
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
  }

  .mobile-callbar a:hover {
    text-decoration: none;
  }

  .mobile-callbar .call {
    background: var(--accent);
  }

  .mobile-callbar .request {
    background: var(--blue);
  }

  .hero {
    padding: 40px 0 44px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-photo img,
  .hero-photo video {
    height: 230px;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 10px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .spotlight {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .page-hero .container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-hero img {
    height: 180px;
  }

  .header-inner {
    justify-content: center;
    text-align: center;
  }

  .main-nav ul {
    justify-content: center;
    padding: 0 8px;
  }

  .main-nav a {
    padding: 10px 10px;
    font-size: 0.95rem;
  }

  section {
    padding: 40px 0;
  }
}
