/* Tankless Trooper — static rebuild of tanklesstrooper.com
   Light GoDaddy-style theme: white bg, Oswald headings, Open Sans body,
   brand blue from the logo (#2a7ca9 accent family) */

:root {
  --blue: #2a7ca9;
  --blue-dark: #1b5a80;
  --navy: #10384f;
  --fg: #222222;
  --muted: #5a5a5a;
  --light: #f2f7fa;
  --line: #d9e4ea;
  --maxw: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: var(--fg);
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: "Oswald", "Arial Narrow", "Helvetica Neue", sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.25;
  color: var(--navy);
  margin: 1.2em 0 0.5em;
}

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; height: auto; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 11px 26px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 15px;
}
.btn:hover { background: var(--blue-dark); color: #fff; }

/* ---------- header ---------- */
.announce {
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.05em;
  padding: 8px 12px;
  font-size: 15px;
}

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 14px;
}

.logo { width: 130px; height: 130px; object-fit: cover; border-radius: 6px; }

.site-title-text {
  font-family: "Oswald", sans-serif;
  font-size: clamp(20px, 3.4vw, 32px);
  color: var(--navy);
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}

.tagline { margin: 0 0 8px; color: var(--muted); font-size: 15px; }

.header-contact { margin: 0; display: flex; gap: 20px; align-items: center; }
.header-contact .phone {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  text-decoration: none;
  color: var(--blue-dark);
}
.header-contact .fb { font-weight: 600; text-decoration: none; }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  padding-top: 10px;
  padding-bottom: 12px;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.12em;
  font-size: 14px;
  border-top: 1px solid var(--line);
}
.main-nav a { color: var(--navy); text-decoration: none; text-transform: uppercase; }
.main-nav a:hover { color: var(--blue); }

/* ---------- page ---------- */
.page-title {
  font-size: clamp(30px, 5vw, 46px);
  text-transform: uppercase;
  text-align: center;
  margin: 34px 0 18px;
}

.content { padding: 28px 0 34px; border-top: 1px solid var(--line); }
.content h2 { font-size: 27px; }
.content h2 { border-left: 4px solid var(--blue); padding-left: 10px; margin-top: 1.5em; }
.content h2:first-child { margin-top: 0; }
.content p, .content ul, .content ol { max-width: 860px; }
#services .service-card p { max-width: none; }
#apply-online {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding-left: 22px;
  padding-right: 22px;
  margin-bottom: 10px;
}
section[id] { scroll-margin-top: 14px; }
.content h3 { font-size: 21px; }
.content ul, .content ol { padding-left: 24px; }
.content li { margin-bottom: 7px; }
.steps li { margin-bottom: 12px; }

.rebate-center {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 20px;
  margin: 22px 0 6px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(16,56,79,0.08);
}
.rebate-center p { margin: 6px 0; }
.rebate-page-link { font-family: "Oswald", sans-serif; letter-spacing: 0.08em; }

/* ---------- gallery ---------- */
.gallery { margin: 10px 0 4px; position: relative; }
.gallery-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  justify-content: center;
  flex-wrap: wrap;
}
.gallery-track img {
  height: 320px;
  width: auto;
  border-radius: 6px;
  object-fit: cover;
}
.gallery-btns { text-align: center; margin-top: 4px; }
.gallery-btns button {
  background: var(--blue);
  color: #fff;
  border: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  margin: 0 4px;
}
.gallery-btns button:hover { background: var(--blue-dark); }

/* ---------- services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin: 14px 0 8px;
}
.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(16,56,79,0.08);
}
.service-card img { border-radius: 6px; height: 170px; width: 100%; object-fit: cover; }
.service-card h3 { margin: 12px 0 6px; font-size: 19px; }
.service-card p { margin: 0 0 10px; font-size: 14.5px; }
.service-card .service-meta { font-size: 16px; color: var(--navy); }
.service-card .btn { margin-top: auto; text-align: center; }

.service-detail { text-align: center; padding-top: 10px; }
.service-photo { max-height: 420px; border-radius: 8px; margin: 10px auto; display: block; }
.service-desc { max-width: 720px; margin: 0 auto 10px; font-size: 17px; }
.service-meta { font-size: 17px; }

/* ---------- download box ---------- */
.download-box {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--light);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 520px;
}
.dl-name { margin: 0; font-weight: 600; }
.dl-type { color: var(--muted); font-weight: 400; }

/* ---------- contact form ---------- */
.contact-form { max-width: 560px; }
.contact-form label { display: block; margin-bottom: 14px; font-weight: 600; font-size: 14px; }
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 10px 12px;
  border: 1px solid #b9c8d1;
  border-radius: 4px;
  font: inherit;
  font-weight: 400;
}
.form-note { min-height: 1.4em; font-weight: 600; }
.recaptcha-note { color: var(--muted); font-size: 13px; max-width: 560px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: #dbe7ee;
  margin-top: 44px;
  padding: 30px 0 36px;
  text-align: center;
}
.site-footer a { color: #fff; }
.foot-phone { font-family: "Oswald", sans-serif; font-size: 22px; margin: 0 0 6px; }
.foot-phone a { text-decoration: none; }
.copyright { margin: 14px 0 2px; }
.foot-nav { display: flex; gap: 26px; justify-content: center; margin-top: 12px;
  font-family: "Oswald", sans-serif; letter-spacing: 0.1em; font-size: 13px; }
.foot-nav a { text-decoration: none; text-transform: uppercase; }

/* ---------- cookie bar ---------- */
.cookie-bar {
  position: fixed;
  left: 16px; bottom: 16px;
  max-width: 340px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  border-radius: 8px;
  padding: 14px 16px;
  z-index: 50;
  font-size: 14px;
}
.cookie-bar p { margin: 0 0 10px; }
.cookie-btns { display: flex; gap: 10px; }
.cookie-btns button {
  padding: 7px 18px;
  border-radius: 3px;
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue-dark);
  cursor: pointer;
  font: inherit;
}
.cookie-btns #cookie-accept { background: var(--blue); color: #fff; }
.cookie-bar.hidden { display: none; }

@media (max-width: 720px) {
  .header-inner { flex-direction: column; text-align: center; }
  .header-contact { justify-content: center; }
  .gallery-track img { height: 230px; }
  .download-box { flex-direction: column; align-items: flex-start; }
}

/* ---------- photo additions ---------- */
.gallery-title { font-size: 27px; border-left: 4px solid var(--blue); padding-left: 10px; margin: 26px 0 4px; }
.ba-grid { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.ba-grid figure { flex: 1 1 300px; margin: 0; }
.ba-grid img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; display: block; }
.ba-grid figcaption { text-align: center; font-weight: 600; margin-top: 6px; color: var(--navy); }
@media (max-width: 720px) { .ba-grid img { height: 220px; } }
