/* Gledswood Hills Plumber — shared styles */

:root {
  --navy: #1A2E44;
  --orange: #E85D04;
  --white: #ffffff;
  --grey: #f4f5f7;
  --text: #22303f;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0 0 1rem; padding-left: 1.3rem; }
ul li { margin-bottom: 6px; }
.main-nav ul, .dropdown, .trust-bar ul, .reasons-grid,
.suburb-list, .footer-col ul {
  padding: 0; margin: 0; list-style: none;
}
.footer-col ul li, .suburb-list li, .trust-bar ul li { margin-bottom: 8px; }
h1, h2, h3 { font-weight: 700; color: var(--navy); line-height: 1.25; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

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

section { padding: 60px 0; }
.bg-grey { background: var(--grey); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2 { color: var(--white); }

.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1.2rem;
  min-height: 56px;
  padding: 14px 32px;
  line-height: 1.3;
  text-align: center;
}
.btn-orange { background: #c2410c; color: var(--white); }
.btn-orange:hover { background: #9a3412; text-decoration: none; }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); text-decoration: none; }
.btn-call { background: #c2410c; color: var(--white); padding: 8px 18px; min-height: 44px; font-size: 1rem; white-space: nowrap; }
.btn-call:hover { background: #9a3412; text-decoration: none; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin: 1.5rem 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
}
.logo { font-size: 1.3rem; font-weight: 800; color: var(--navy); white-space: nowrap; }
.logo span { color: var(--orange); }
.footer-logo { font-size: 1.4rem; }

.main-nav > ul { display: flex; align-items: center; gap: 26px; }
.main-nav > ul > li > a { color: var(--navy); font-weight: 600; }
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  min-width: 240px;
  padding: 8px 0;
  flex-direction: column;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown { display: flex; }
.dropdown li a { display: block; padding: 10px 18px; color: var(--text); font-weight: 500; }
.dropdown li a:hover { background: var(--grey); text-decoration: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--navy);
}

/* Hero */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 70px 0;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { color: var(--white); font-size: 2.6rem; }
.hero .subhead { font-size: 1.15rem; color: #cfd8e3; max-width: 520px; }
.hero img { border-radius: var(--radius); }

.emergency-banner {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 18px 20px;
  font-size: 1.4rem;
  font-weight: 800;
}
.emergency-banner a { color: var(--white); text-decoration: underline; }

/* Trust bar */
.trust-bar ul { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; font-weight: 700; color: var(--navy); }

/* Reasons */
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.reasons-grid li { background: var(--white); padding: 24px; border-radius: var(--radius); border-left: 4px solid var(--orange); }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.15s;
}
.service-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.service-card img { height: 170px; width: 100%; object-fit: cover; }
.service-card .card-body { padding: 18px; }
.service-card h3 a { color: var(--navy); text-decoration: none; }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); }

/* Quote form */
.quote-section { background: var(--navy); color: var(--white); }
.quote-form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: none;
  font-family: inherit;
  font-size: 1rem;
}
.quote-form textarea { resize: vertical; min-height: 100px; }
.quote-form .btn { justify-self: start; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial-card { background: var(--grey); padding: 22px; border-radius: var(--radius); }
.stars { color: var(--orange); letter-spacing: 2px; }

/* Areas / map */
.map-embed { border: 0; width: 100%; height: 360px; border-radius: var(--radius); }
.suburb-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.suburb-list li { background: var(--white); border: 1px solid #dde1e6; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; }

/* Suburb detail blocks (areas-served page) */
.suburb-block { border-bottom: 1px solid #e5e7eb; padding: 30px 0; }
.suburb-block:last-child { border-bottom: none; }

/* FAQ */
.faq details {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq summary { font-weight: 700; color: var(--navy); cursor: pointer; }
.faq details[open] summary { margin-bottom: 10px; }

/* Footer */
.site-footer { background: var(--navy); color: #cfd8e3; padding: 50px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 30px; }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.site-footer a { color: #cfd8e3; }
.site-footer ul li { margin-bottom: 8px; }
.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid #33455c;
  padding: 20px;
  text-align: center;
  font-size: 0.85rem;
}
.footer-bottom a { color: #cfd8e3; text-decoration: underline; }

/* Page header (non-home pages) */
.page-header { background: var(--navy); color: var(--white); padding: 46px 0; }
.page-header h1 { color: var(--white); margin-bottom: 0; }

/* Cost table */
.cost-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.cost-table th, .cost-table td { border: 1px solid #e5e7eb; padding: 10px 14px; text-align: left; }
.cost-table th { background: var(--grey); }

.sticky-quote { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; min-height: 52px; align-items: center; justify-content: center; background: #c2410c; color: var(--white); font-weight: 700; font-size: 1.2rem; box-shadow: 0 -2px 8px rgba(0,0,0,.25); }
.sticky-quote:hover { background: #9a3412; text-decoration: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .reasons-grid, .services-grid, .testimonial-grid, .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 20px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .main-nav > ul > li { width: 100%; }
  .dropdown, .has-dropdown:hover .dropdown { position: static; box-shadow: none; border: none; display: none; padding-left: 12px; }
  .has-dropdown.open .dropdown { display: flex; }
  .nav-toggle { display: block; order: 2; margin-left: auto; }
  .header-inner { flex-wrap: wrap; }
  .logo { order: 1; }
  .btn-call { order: 3; width: 100%; text-align: center; padding: 8px 12px; font-size: 1rem; min-height: 44px; }
  .hero .btn { width: 100%; }
  .sticky-quote { display: flex; }
  body { padding-bottom: 52px; }
  .hero h1 { font-size: 2rem; }
  .reasons-grid, .services-grid, .testimonial-grid, .footer-inner { grid-template-columns: 1fr; }
  .trust-bar ul { gap: 18px; font-size: 0.9rem; }
}
