/* Auburn Plumbing Pros - Main Stylesheet */
/* ============================================================ */

/* CSS Variables */
:root {
  --primary: #1565C0;
  --primary-dark: #0D47A1;
  --accent: #FF6F00;
  --accent-hover: #E65100;
  --text: #212121;
  --text-light: #616161;
  --light-bg: #F5F5F5;
  --white: #FFFFFF;
  --border: #E0E0E0;
  --success: #2E7D32;
  --shadow: 0 2px 8px rgba(0,0,0,0.12);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
  --radius: 6px;
  --transition: 0.3s ease;
}

/* 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 var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--primary-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
}

.logo-area {
  display: flex;
  flex-direction: column;
}

.logo-area .brand-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.logo-area .brand-tagline {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header-phone .phone-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.header-phone .phone-number {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.header-phone .phone-number:hover {
  color: #FFB300;
  text-decoration: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.nav-inner ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-inner ul li {
  position: relative;
}

.nav-inner ul li a {
  display: block;
  padding: 0.75rem 1rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}

.nav-inner ul li a:hover {
  background: var(--primary-dark);
  color: var(--white);
  text-decoration: none;
}

.nav-inner ul li a.active {
  background: var(--primary-dark);
  color: var(--accent);
}

/* Dropdown */
.nav-inner ul li.has-dropdown > a::after {
  content: ' \25BE';
  font-size: 0.75rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary-dark);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  border-top: 3px solid var(--accent);
}

.dropdown-menu li a {
  padding: 0.6rem 1.1rem !important;
  font-size: 0.85rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner ul li.has-dropdown:hover .dropdown-menu {
  display: block;
}

/* Hamburger (mobile concept) */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  border-radius: var(--radius);
  font-size: 1.1rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-placeholder {
  min-height: 500px;
  background: linear-gradient(135deg, #1565C0, #0D47A1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,71,161,0.85) 50%, rgba(21,101,192,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image-label {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  z-index: 3;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
}

.hero-badge .badge-icon {
  font-size: 1.1rem;
}

/* ============================================================
   BUTTONS / CTA
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
}

.phone-cta {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  margin: 1rem 0;
  text-align: center;
}

.phone-cta:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section {
  padding: 4rem 0;
}

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

.section-dark {
  background: var(--primary-dark);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  color: var(--primary-dark);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto;
}

.section-title .title-underline {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* ============================================================
   SERVICE CARDS GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card .service-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.service-card a.card-link {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
}

.service-card a.card-link:hover {
  color: var(--accent-hover);
}

/* ============================================================
   LOCATION LIST
   ============================================================ */
.location-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.location-list li {
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}

.location-list li a {
  color: var(--primary-dark);
  font-weight: 600;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: 0.25rem;
  left: 1rem;
  line-height: 1;
}

.testimonial-card .stars {
  color: #FFA726;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.testimonial-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.testimonial-card .reviewer {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}

.testimonial-card .reviewer-location {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  text-align: left;
  padding: 1.1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--light-bg);
}

.faq-question .faq-icon {
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 1rem 1.25rem 1.25rem;
  background: var(--light-bg);
  font-size: 0.95rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--primary);
  padding: 1.25rem 0;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.trust-item .trust-icon {
  font-size: 1.4rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  text-align: center;
  padding: 3.5rem 0;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
}

.breadcrumb-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb-inner a {
  color: var(--primary);
}

.breadcrumb-inner span {
  margin: 0 0.4rem;
  color: var(--text-light);
}

/* ============================================================
   CONTENT AREA
   ============================================================ */
.content-section {
  padding: 3rem 0;
}

.content-section h2 {
  color: var(--primary-dark);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.content-section h3 {
  color: var(--primary);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.content-section ul li,
.content-section ol li {
  margin-bottom: 0.4rem;
  color: var(--text-light);
}

.highlight-box {
  background: #E3F2FD;
  border-left: 5px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.highlight-box p {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 500;
}

.warning-box {
  background: #FFF3E0;
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.sidebar-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}

.sidebar-card h3 {
  color: var(--primary-dark);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
}

.sidebar-card ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.sidebar-card ul li:last-child {
  border-bottom: none;
}

.sidebar-card ul li a {
  color: var(--primary);
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-col p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-phone {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent) !important;
}

.footer-bottom {
  background: rgba(0,0,0,0.25);
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  max-width: 100%;
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 1.25rem;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.fw-bold { font-weight: 700; }
.d-flex { display: flex; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

/* ============================================================
   MEDIA QUERIES
   ============================================================ */

/* Tablet */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .sidebar-card {
    position: static;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .hero-content h1 { font-size: 2rem; }
}

/* Mobile */
@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }

  .header-phone {
    align-items: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .location-list {
    grid-template-columns: 1fr;
  }

  .hero-placeholder {
    min-height: 380px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .trust-bar-inner {
    gap: 1.5rem;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-inner ul {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .nav-inner.nav-open ul {
    display: flex;
  }

  .nav-inner ul li {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border-top: none;
    background: rgba(0,0,0,0.2);
  }

  .has-dropdown > a::after {
    display: none;
  }

  .nav-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.25rem;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.35rem; }

  .hero-badges {
    gap: 0.75rem;
  }

  .phone-cta {
    font-size: 1.4rem;
  }

  .btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
  }

  section {
    padding: 2.5rem 0;
  }
}


/* 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;
}