/*
Theme Name: SumpPumps GTA
Theme URI: https://sumppumps.ca
Author: SumpPumps
Description: Professional lead-generation theme for sump pump referral services in the Greater Toronto Area. Optimized for trust, conversions, and local SEO.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: sumppumps
*/

/* Professional plumbing / water theme */
:root {
  --primary: #0a4d68;
  --primary-dark: #06354a;
  --accent: #e63946;
  --accent-hover: #c1121f;
  --light: #f8f9fa;
  --gray: #6c757d;
  --dark: #1a2838;
  --success: #2a9d8f;
  --radius: 8px;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 6px; }
.logo-icon { font-size: 1.4rem; }

/* Slim bottom cookie bar override (for CookieAdmin or similar) */
#cookieadmin-notice, .cookie-notice, .cookie-consent, [class*="cookie"] {
  position: fixed !important;
  bottom: 0 !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-height: 80px !important;
  overflow: auto !important;
  z-index: 9999 !important;
  padding: 8px 16px !important;
  font-size: 0.85rem !important;
  background: #1a2838 !important;
  color: #fff !important;
}
#cookieadmin-notice button, .cookie-notice button {
  padding: 6px 12px !important;
  margin-left: 8px !important;
}
.phone-btn {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none !important;
}
.phone-btn:hover { background: var(--accent-hover); }

/* Hero */
.hero {
  background: linear-gradient(rgba(10,77,104,0.75), rgba(10,77,104,0.75)), url(assets/images/hero-sump.jpg) center/cover no-repeat;
  color: #fff;
  padding: 80px 20px 60px;
  text-align: center;
}
.hero h1 { font-size: 2.4rem; margin: 0 0 16px; font-weight: 700; }
.hero p.lead { font-size: 1.2rem; max-width: 700px; margin: 0 auto 24px; opacity: 0.95; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none !important;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: #fff; color: var(--primary); }
.btn-secondary:hover { background: #f0f0f0; }

/* Subsidy banner */
.subsidy {
  background: #e8f5e9;
  border-left: 5px solid var(--success);
  padding: 24px 20px;
  margin: 0;
}
.subsidy-inner { max-width: 1100px; margin: 0 auto; }
.subsidy h2 { margin: 0 0 8px; color: #1b5e20; font-size: 1.4rem; }
.subsidy p { margin: 0; }

/* Sections */
.section { padding: 60px 20px; }
.section-alt { background: var(--light); }
.container { max-width: 1100px; margin: 0 auto; }
h2 { font-size: 1.9rem; margin-bottom: 12px; color: var(--primary); }
h3 { font-size: 1.3rem; margin: 0 0 8px; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid #eee;
}
.card h3 { color: var(--primary); }

/* Trust */
.trust { background: #fff; }
.trust-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 20px; }
.trust-point { text-align: center; padding: 16px; }
.trust-point strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }

/* Form */
.quote-form {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 480px;
}
.quote-form label { display: block; margin-bottom: 6px; font-weight: 600; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
.quote-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px;
  width: 100%;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}
.quote-form button:hover { background: var(--accent-hover); }

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  margin-bottom: 10px;
  padding: 12px 16px;
}
.faq summary { font-weight: 600; cursor: pointer; }
.faq details[open] summary { color: var(--primary); }

/* Footer */
.site-footer {
  background: var(--dark);
  color: #ccc;
  padding: 40px 20px 20px;
  font-size: 0.9rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.site-footer a { color: #fff; }
.disclaimer { font-size: 0.85rem; opacity: 0.8; margin-top: 16px; }

/* Sticky mobile call */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 14px;
  font-weight: 700;
  z-index: 99;
  text-decoration: none !important;
}
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .sticky-call { display: block; }
  .site-header { padding: 10px 0; }
  body { padding-bottom: 60px; }
}

/* Utility */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }
.area-list { columns: 3; margin: 16px 0; }
@media (max-width: 600px) { .area-list { columns: 2; } }
