/* Queen Anne Seattle Plumbing - styles.css */
:root {
  --primary: #1565C0;
  --primary-dark: #0D47A1;
  --accent: #FF6F00;
  --accent-dark: #E65100;
  --text: #212121;
  --light-bg: #F5F5F5;
  --white: #FFFFFF;
  --gray: #757575;
  --border: #E0E0E0;
  --shadow: 0 2px 8px rgba(0,0,0,0.12);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.18);
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.4rem; }
p { margin-bottom: 1rem; }

/* STICKY HEADER */
header {
  background: var(--primary-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.logo a {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.logo span { color: var(--accent); }
.header-phone a {
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
}
.header-phone a:hover { color: #FFD54F; }

/* MOBILE NAV TOGGLE */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  font-size: 1.3rem;
  border-radius: 4px;
}

/* NAVIGATION */
nav { background: var(--primary); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
nav ul { display: flex; flex-wrap: wrap; }
nav ul li { position: relative; }
nav ul li a {
  display: block;
  color: var(--white);
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
nav ul li a:hover, nav ul li a.active {
  background: var(--accent);
  color: var(--white);
}

/* HERO PLACEHOLDER */
.hero-placeholder {
  min-height: 500px;
  background: linear-gradient(135deg, #1565C0, #0D47A1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.hero-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.hero-content p {
  font-size: 1.2rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-img-label {
  font-size: 0.78rem;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

/* BUTTONS / CTAs */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--primary-dark); }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.15rem; }

.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: 800;
  transition: background 0.2s, transform 0.15s;
}
.phone-cta:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); }

/* SECTIONS */
section { padding: 4rem 1.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { color: var(--primary-dark); margin-bottom: 0.75rem; }
.section-header p { color: var(--gray); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
.divider { width: 60px; height: 4px; background: var(--accent); margin: 1rem auto 0; border-radius: 2px; }

/* SERVICE CARDS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.service-card h3 { color: var(--primary-dark); margin-bottom: 0.6rem; font-size: 1.15rem; }
.service-card p { color: var(--gray); font-size: 0.95rem; flex: 1; margin-bottom: 1rem; }
.service-card a { color: var(--accent); font-weight: 700; font-size: 0.95rem; }
.service-card a:hover { color: var(--accent-dark); }

/* WHY CHOOSE US */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}
.feature-item { text-align: center; }
.feature-icon { font-size: 2.8rem; margin-bottom: 0.75rem; }
.feature-item h3 { color: var(--primary-dark); margin-bottom: 0.5rem; }
.feature-item p { color: var(--gray); font-size: 0.95rem; }

/* TESTIMONIALS */
.testimonials-section { background: var(--light-bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}
.stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 0.75rem; }
.testimonial-card p { color: var(--text); font-style: italic; margin-bottom: 1rem; }
.reviewer { font-weight: 700; color: var(--primary-dark); font-size: 0.95rem; }
.reviewer-loc { color: var(--gray); font-size: 0.85rem; font-weight: 400; }

/* FAQ */
.faq-section { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { color: var(--primary-dark); font-size: 1.05rem; margin-bottom: 0.5rem; }
.faq-item p { color: var(--gray); font-size: 0.97rem; margin: 0; }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  text-align: center;
  padding: 3.5rem 1.5rem;
}
.cta-banner h2 { font-size: 2rem; margin-bottom: 0.75rem; }
.cta-banner p { font-size: 1.1rem; opacity: 0.92; margin-bottom: 1.75rem; }

/* BREADCRUMBS */
.breadcrumb {
  background: var(--light-bg);
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--gray); }

/* CONTENT PAGES */
.content-wrap { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem; display: grid; grid-template-columns: 1fr 320px; gap: 3rem; }
.content-main h1 { color: var(--primary-dark); font-size: 2.1rem; margin-bottom: 1rem; }
.content-main h2 { color: var(--primary-dark); font-size: 1.5rem; margin: 2rem 0 0.75rem; }
.content-main h3 { color: var(--primary); font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.content-main ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.content-main ul li { color: var(--text); margin-bottom: 0.4rem; font-size: 0.97rem; }

/* SIDEBAR */
.sidebar-box {
  background: var(--primary-dark);
  color: var(--white);
  border-radius: 8px;
  padding: 1.75rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.sidebar-box h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.sidebar-box p { font-size: 0.92rem; opacity: 0.88; margin-bottom: 1rem; }
.sidebar-phone { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.sidebar-services { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; }
.sidebar-services h3 { color: var(--primary-dark); margin-bottom: 1rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.sidebar-services ul { list-style: none; padding: 0; }
.sidebar-services ul li { border-bottom: 1px solid var(--border); }
.sidebar-services ul li:last-child { border-bottom: none; }
.sidebar-services ul li a { display: block; padding: 0.55rem 0; color: var(--text); font-size: 0.92rem; transition: color 0.2s, padding-left 0.2s; }
.sidebar-services ul li a:hover { color: var(--accent); padding-left: 6px; }

/* TRUST BADGES */
.trust-strip {
  background: var(--primary-dark);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.trust-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}
.trust-item { font-size: 0.9rem; display: flex; align-items: center; gap: 0.4rem; }
.trust-item strong { color: var(--accent); }

/* LOCATIONS GRID */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.location-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem;
  text-align: center;
  transition: box-shadow 0.2s;
}
.location-card:hover { box-shadow: var(--shadow-lg); }
.location-card h3 { font-size: 1rem; color: var(--primary-dark); margin-bottom: 0.4rem; }
.location-card a { font-size: 0.9rem; color: var(--accent); font-weight: 600; }

/* FOOTER */
footer {
  background: #0A1929;
  color: #B0BEC5;
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: #90A4AE; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-col p { font-size: 0.92rem; line-height: 1.7; }
.footer-phone { font-size: 1.3rem; font-weight: 800; color: var(--accent); margin: 0.5rem 0; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #1E3A5F;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}
.footer-bottom a { color: #90A4AE; }
.footer-bottom a:hover { color: var(--accent); }

/* INTRO SECTION */
.intro-section { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.intro-text h2 { color: var(--primary-dark); margin-bottom: 1rem; }
.intro-list { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.intro-list li { padding: 0.4rem 0; padding-left: 1.5rem; position: relative; color: var(--text); }
.intro-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.intro-image-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 8px;
  padding: 2.5rem;
  color: var(--white);
  text-align: center;
}
.intro-image-box .big-stat { font-size: 3rem; font-weight: 800; color: var(--accent); }
.intro-image-box p { opacity: 0.88; font-size: 0.95rem; margin: 0.3rem 0; }

/* AREA SECTION */
.area-section { background: var(--light-bg); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .content-wrap { grid-template-columns: 1fr; }
  .content-wrap aside { order: -1; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .hero-content h1 { font-size: 2rem; }
  .hero-placeholder { min-height: 380px; }
  .nav-toggle { display: block; }
  nav ul { display: none; flex-direction: column; width: 100%; }
  nav ul.nav-open { display: flex; }
  nav ul li a { padding: 0.85rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-inner { flex-direction: column; align-items: flex-start; padding: 0.5rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .header-inner { padding: 0.75rem 1rem; }
}
@media (max-width: 500px) {
  section { padding: 2.5rem 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.7rem; }
  .services-grid { grid-template-columns: 1fr; }
  .btn-lg { font-size: 1rem; padding: 0.9rem 1.5rem; }
}


/* Cloudflare Pages polish */
.hero-placeholder {
  background-image: linear-gradient(90deg, rgba(4, 18, 34, 0.84), rgba(9, 46, 82, 0.68)), url("assets/plumber-hero.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  isolation: isolate;
}
.hero-placeholder::before {
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 34%) !important;
  pointer-events: none;
}
.hero-label,
.hero-img-label,
.hero-img-note,
.hero-image-label {
  display: none !important;
}
.hero-content,
.hero-inner {
  z-index: 1;
}