/* ============================================
   True Blue Plumbing and Heating
   Palette: deep marine navy + steel blue + heating amber
   Fonts: Oswald (headings, trade/industrial feel) + Inter (body)
   ============================================ */

:root {
  --navy-deep: #0b1f3a;
  --navy: #123a63;
  --blue: #1e5f9e;
  --blue-light: #4d8fc9;
  --steel: #eef3f8;
  --amber: #e2792a;
  --amber-dark: #c05f15;
  --ink: #142334;
  --ink-soft: #4b5b6d;
  --white: #ffffff;

  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  padding-top: 76px;
}

h1, h2, h3, h4, h5, .brand-text, .navbar-nav .nav-link, .btn {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

p, li, label, input, select, textarea {
  font-family: var(--font-body);
}

a {
  color: var(--blue);
  text-decoration: none;
}

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--amber-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.eyebrow-light {
  color: #ffc98f;
}

.section-title {
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy-deep);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.lead-text {
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.py-lg-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* ============ NAVBAR ============ */
#mainNav {
  background: var(--navy-deep);
  padding: 0.6rem 0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.logo-chip {
  background: #fdfdfb;
  border-radius: 10px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  flex-shrink: 0;
}

.logo-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.brand-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
}

.brand-text-light {
  color: #a9c4de;
  font-weight: 500;
}

.navbar-nav .nav-link {
  color: #dce8f4;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--amber);
}

.dropdown-menu {
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.1);
}

.dropdown-item {
  color: #dce8f4;
  font-family: var(--font-body);
  text-transform: none;
  font-size: 0.92rem;
}

.dropdown-item:hover, .dropdown-item:focus {
  background: var(--blue);
  color: var(--white);
}

.btn-cta {
  background: var(--amber);
  color: var(--white) !important;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-cta:hover {
  background: var(--amber-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-cta-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white) !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-cta-outline:hover {
  background: var(--white);
  color: var(--navy-deep) !important;
}

.btn-cta-outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white) !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-cta-outline-light:hover {
  background: var(--white);
  color: var(--navy-deep) !important;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  background: url('img/hero.webp') center 30%/cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(6,20,38,0.45) 0%, rgba(6,20,38,0.08) 100%),
    linear-gradient(to bottom, rgba(6,20,38,0.55) 0%, rgba(6,20,38,0.20) 40%, rgba(6,20,38,0.55) 100%);
}

.hero-content {
  max-width: 780px;
  background: rgba(6,20,38,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 20px;
}

.hero-eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffd7ab;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0.5rem 0 1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-family: var(--font-body);
  text-transform: none;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  max-width: 620px;
  margin: 0 auto;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-tagline {
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}

/* ============ STATS / ABOUT ============ */
.stat-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.stat-block i {
  font-size: 1.9rem;
  color: var(--amber);
}

.stat-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-deep);
  text-transform: uppercase;
}

.stat-sub {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ============ SERVICES OVERVIEW ============ */
.services-section {
  background: var(--steel);
}

.service-card {
  display: block;
  height: 100%;
  background: var(--white);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(11,31,58,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: var(--ink);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(11,31,58,0.14);
  color: var(--ink);
}

.service-card i {
  font-size: 2.6rem;
  color: var(--blue);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: normal;
}

/* ============ DETAIL SECTIONS ============ */
.detail-section-alt {
  background: var(--steel);
}

.specialty-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 1;
}

.specialty-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.6rem;
  font-size: 0.98rem;
  border-bottom: 1px dashed #d7e0e8;
}

.specialty-list li::before {
  content: "\f26e";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--amber);
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.equip-card {
  background: var(--white);
  border: 1px solid #e5ebf1;
  border-radius: 16px;
  padding: 1.25rem;
  height: 100%;
  text-align: center;
}

.equip-card img {
  max-width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 0.85rem;
}

.equip-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-deep);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.equip-card p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: normal;
}

.equip-card a {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ============ REBATES ============ */
.rebates-section {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
}

.promo-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 18px;
  padding: 2.25rem;
  height: 100%;
}

.promo-card i {
  font-size: 2.4rem;
  color: var(--amber);
  margin-bottom: 1rem;
}

.promo-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  text-transform: none;
  letter-spacing: normal;
}

.promo-card p {
  color: #c9d6e3;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 1.25rem;
}

/* ============ GALLERY ============ */
.gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(11,31,58,0.1);
  transition: transform 0.3s ease;
}

.gallery-img-contain {
  object-fit: contain;
  background: var(--steel);
  padding: 1.5rem;
}

.gallery-img:hover {
  transform: scale(1.02);
}

/* ============ SERVICE AREA ============ */
.service-area-section {
  background: var(--steel);
}

.town-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.town-pill {
  background: var(--white);
  border: 1px solid #d7e0e8;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 500;
  white-space: nowrap;
}

/* ============ REVIEWS STRIP ============ */
.reviews-strip {
  background: var(--white);
  border-top: 1px solid #e5ebf1;
  border-bottom: 1px solid #e5ebf1;
}

.review-link img {
  height: 40px;
  width: auto;
  filter: grayscale(15%);
  transition: filter 0.2s ease;
}

.review-link:hover img {
  filter: grayscale(0%);
}

.review-link-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.review-link-text i {
  color: #e8a628;
}

/* ============ CONTACT ============ */
.contact-section {
  background: var(--steel);
}

.contact-info-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 8px 24px rgba(11,31,58,0.07);
}

.contact-info-card h3 {
  font-size: 1.2rem;
  color: var(--navy-deep);
  margin-bottom: 1rem;
}

.contact-info-card p {
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.95rem;
}

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(11,31,58,0.07);
}

.contact-form .form-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: none;
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: 8px;
  border: 1px solid #d7e0e8;
  padding: 0.6rem 0.85rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 0.2rem rgba(30,95,158,0.15);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-deep);
  color: #c9d6e3;
}

.footer h5 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: normal;
  color: #aebdcd;
}

.footer-logo-chip {
  background: #fdfdfb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 8px;
  width: 72px;
  height: 72px;
}

.footer-logo-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #c9d6e3;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer p a {
  color: #c9d6e3;
}

.footer p a:hover {
  color: var(--amber);
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.footer-socials a:hover {
  background: var(--amber);
}

.footer-divider {
  border-color: rgba(255,255,255,0.12);
}

.powered-by {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: #ffd7ab;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.powered-by:hover {
  color: var(--amber);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1199.98px) {
  body { padding-top: 68px; }
  .navbar-nav .nav-link { color: #dce8f4 !important; padding: 0.5rem 0 !important; }
  .navbar-collapse { background: var(--navy-deep); padding: 1rem 0.5rem; border-radius: 0 0 12px 12px; }
  .hero { min-height: 100vh; }
}

@media (max-width: 575.98px) {
  .hero-content { padding: 2rem 1.25rem !important; }
  .brand-text { font-size: 0.95rem; }
  .town-pill { font-size: 0.78rem; padding: 0.45rem 0.85rem; }
}
