/* ============================================================
   Aquarius Heating Solutions – Main Stylesheet
   Colours: Charcoal #3d3d3d | Blue #1a7fd4 | Gold #e8a020
   ============================================================ */

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

:root {
  --blue:    #1a7fd4;
  --gold:    #e8a020;
  --dark:    #2e2e2e;
  --charcoal:#4a4a4a;
  --light:   #f4f6f9;
  --white:   #ffffff;
  --border:  #dde2ea;
  --shadow:  0 4px 24px rgba(0,0,0,.10);
  --radius:  8px;
  --font:    'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); font-size: 16px; line-height: 1.6; }

/* ── Utility ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
.section--alt { background: var(--light); }
.text-center { text-align: center; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  border: none;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn--primary  { background: var(--gold);  color: var(--dark); }
.btn--outline  { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn--blue     { background: var(--blue);  color: var(--white); }

/* ── Section headings ── */
.section-label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
h2.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--charcoal);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.nav__logo img { height: 120px; width: auto; }
.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s;
}
.nav__links a:hover { color: var(--gold); }
.nav__cta { white-space: nowrap; }

/* Mobile nav */
.nav__toggle { display: none; background: none; border: none; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: .3s; }

/* Dropdown */
.nav__links li { position: relative; }
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  border-top: 2px solid var(--blue);
  border-radius: 0 0 var(--radius) var(--radius);
  min-width: 240px;
  padding: 6px 0 10px;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.nav__links li:hover .nav__dropdown,
.nav__dropdown.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav__dropdown a {
  display: block;
  padding: 8px 18px;
  font-size: .88rem;
  color: rgba(255,255,255,.8) !important;
  white-space: nowrap;
}
.nav__dropdown a:hover { color: var(--gold) !important; background: rgba(255,255,255,.05); }
.has-dropdown > a::after { content: ' ▾'; font-size: .7rem; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1a2a3a 50%, #1a3a5a 100%);
  color: var(--white);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::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.03'%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__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-block;
  background: rgba(232,160,32,.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--gold); }
.hero__desc {
  font-size: 1.1rem;
  opacity: .9;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__badges {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  opacity: .85;
}
.hero__badge-icon {
  width: 32px; height: 32px;
  background: rgba(26,127,212,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__logo-wrap {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(4px);
}
.hero__logo-wrap img { width: 100%; max-width: 340px; height: auto; }

/* ── Trust bar ── */
.trust-bar {
  background: var(--blue);
  color: var(--white);
  padding: 18px 0;
}
.trust-bar__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
}
.trust-item span:first-child { font-size: 1.1rem; }

/* ── Services grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}
.service-card__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}
.service-card p {
  font-size: .9rem;
  color: var(--charcoal);
  line-height: 1.5;
}
.service-card__arrow {
  margin-top: 16px;
  color: var(--blue);
  font-weight: 600;
  font-size: .9rem;
}

/* ── Why Choose Us ── */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.reason-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.reason-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue), #0d5fa0);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: var(--white);
}
.reason-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.reason-item p  { font-size: .9rem; color: var(--charcoal); }

/* ── Areas ── */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.area-pill {
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Discounts banner ── */
.discounts {
  background: linear-gradient(135deg, var(--dark), #1a2a3a);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}
.discounts h2 { color: var(--gold); margin-bottom: 16px; }
.discounts p  { opacity: .9; margin-bottom: 28px; font-size: 1.05rem; }
.discount-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.discount-badge {
  background: rgba(232,160,32,.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 10px 22px;
  border-radius: 40px;
  font-weight: 700;
  font-size: .95rem;
}

/* ── Contact section ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; color: var(--dark); }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail__icon {
  width: 44px; height: 44px;
  background: var(--light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail a { color: var(--blue); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.contact-detail a:hover { text-decoration: underline; }
.contact-detail p { color: var(--charcoal); font-size: .9rem; }

/* ── Contact form ── */
.contact-form { background: var(--light); border-radius: var(--radius); padding: 32px; }
.contact-form h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; color: var(--charcoal); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: var(--font);
  background: var(--white);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success { display:none; background:#d4edda; border:1px solid #c3e6cb; color:#155724; padding:14px 18px; border-radius:var(--radius); margin-top:12px; }

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 48px 0 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer__brand img { height: 60px; margin-bottom: 14px; }
.footer__brand p   { font-size: .9rem; line-height: 1.6; }
.footer h4 { color: var(--white); font-size: .9rem; font-weight: 700; margin-bottom: 14px; letter-spacing: .05em; text-transform: uppercase; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .9rem; transition: color .2s; }
.footer ul a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
}
.footer__bottom a { color: rgba(255,255,255,.5); text-decoration: none; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1a2a3a 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.page-hero h1  { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p   { font-size: 1.05rem; opacity: .8; max-width: 560px; margin: 0 auto; }
.breadcrumb    { font-size: .85rem; opacity: .6; margin-bottom: 12px; }
.breadcrumb a  { color: var(--gold); text-decoration: none; }

/* ── Services detail page ── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail__icon-wrap {
  background: linear-gradient(135deg, var(--blue) 0%, #0d5fa0 100%);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.service-detail h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; color: var(--dark); }
.service-detail p  { color: var(--charcoal); margin-bottom: 16px; line-height: 1.7; }
.service-detail ul { list-style: none; padding: 0; }
.service-detail ul li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--charcoal);
  font-size: .95rem;
  border-bottom: 1px solid var(--border);
}
.service-detail ul li:last-child { border-bottom: none; }
.service-detail ul li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.service-tag {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--charcoal);
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.faq-item p  { font-size: .9rem; color: var(--charcoal); line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero__inner   { grid-template-columns: 1fr; }
  .hero__image   { display: none; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer__grid  { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail__icon-wrap { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .nav__logo img { height: 90px; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 106px; left: 0; right: 0;
    background: var(--dark);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    z-index: 150;
  }
  .nav__links.open .nav__dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,.05);
    border-radius: var(--radius);
    padding: 4px 0;
    margin-top: 4px;
  }
  .nav__links.open .has-dropdown:hover .nav__dropdown,
  .nav__links.open .nav__dropdown { display: block; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
}
