/* =========================================
   FORREST MASTER CSS
   Bruce Bunch Plumbing & Piping
   Columbus, Georgia
========================================= */


/* =========================================
   ZONE 0 — ROOT VARIABLES
========================================= */

:root {

  /* BRAND COLORS */
  --primary-crimson:      #c62828;
  --primary-crimson-dark: #9e1b32;

  --accent:            var(--primary-crimson);
  --accent-deep:       var(--primary-crimson-dark);

  --steel-gray:        #828A8F;
  --steel-gray-dark:   #5f666b;

  --black:             #1a1a1a;
  --white:             #ffffff;

  /* TEXT */
  --dark-text:         #222222;
  --medium-text:       #555555;
  --light-text:        #777777;
  --text:              var(--dark-text);

  /* BACKGROUNDS */
  --bg:                var(--white);
  --light-gray:        #f2f2f2;
  --section-gray:      #f8f8f8;
  --border-gray:       #e5e5e5;

  /* BUTTONS */
  --button-bg:         var(--primary-crimson-dark);
  --button-hover:      var(--primary-crimson);
  --button-text:       #ffffff;

  /* LAYOUT */
  --max:               1100px;

  /* SHADOWS */
  --soft-shadow:       0 4px 12px rgba(0,0,0,0.08);
  --medium-shadow:     0 6px 18px rgba(0,0,0,0.12);

  /* RADIUS */
  --radius-small:      6px;
  --radius-medium:     8px;
  --radius-large:      12px;

  /* TRANSITIONS */
  --transition-fast:   0.2s ease-in-out;
  --transition-smooth: 0.3s ease;

}


/* =========================================
   ZONE 0 — GLOBAL RESET & BASE
========================================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

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

h1, h2, h3 {
  margin: 0;
}

p {
  margin-bottom: 16px;
}


/* =========================================
   ZONE 0 — LAYOUT UTILITIES
========================================= */

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

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

main section {
  padding: 60px 0;
}


/* =========================================
   ZONE 0 — BUTTON SYSTEM
========================================= */

/* Button layout container */
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-buttons a {
  text-decoration: none;
}

/* Base button */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--button-bg);
  color: var(--button-text);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn:hover {
  background: var(--button-hover);
}

/* White variant */
.btn-white {
  background: #ffffff;
  color: #000000;
}

.btn-white:hover {
  background: #f0f0f0;
}

/* Primary button */
.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--button-bg);
  color: var(--button-text);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid var(--button-bg);
  box-shadow: var(--soft-shadow);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background: var(--button-hover);
  border-color: var(--button-hover);
}

/* Outline button */
.btn-outline {
  display: inline-block;
  padding: 12px 26px;
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid var(--accent);
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background: var(--accent);
  color: #ffffff;
}


/* =========================================
   ZONE 1 — UTILITY BAR
========================================= */

.utility {
  background: #1a1a1a;
  color: #ffffff;
  font-size: 14px;
}

.utility-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pill {
  background: rgba(255,255,255,0.10);
  color: #ffffff;
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  transition: var(--transition-fast);
}

.pill:hover {
  background: var(--primary-crimson);
}


/* =========================================
   ZONE 2 — HEADER
========================================= */

header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-gray);
  text-align: center;
}

.wrap.logo-wrap {
  padding-top: 0;
  padding-bottom: 0;
}

.logo-wrap img {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}


/* =========================================
   ZONE 3 — CTA BAR
========================================= */

.cta-bar {
  background: #0F172A;
  color: #ffffff;
  padding: 28px 20px 32px;
}

.cta-bar .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-bar h2 {
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.cta-bar .license {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 16px;
}

.cta-bar .btn {
  background: var(--button-bg);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition-fast);
}

.cta-bar .btn:hover {
  background: var(--button-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}


/* =========================================
   ZONE 4 — NAVIGATION
========================================= */

.nav-bar {
  background: #0F172A;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pill-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 16px 12px 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 420px;
}

.pill-nav a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.pill-nav a:hover,
.pill-nav a.active {
  background: var(--button-bg);
}

@media (min-width: 768px) {
  .pill-nav ul {
    flex-wrap: nowrap;
    max-width: none;
    gap: 18px;
  }
}


/* =========================================
   ZONE 5 — HERO
========================================= */

.hero {
  position: relative;
  background: url("images/hero.jpg") center center / cover no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 12px;
  color: #ffffff;
}

.hero h2 {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: #f1f1f1;
  font-weight: 400;
}


/* =========================================
   ZONE 6 — PRIMARY CONTENT
========================================= */

.zone-6 {
  padding: 60px 20px;
  background: #ffffff;
}

.zone-6 h2 {
  margin-bottom: 20px;
  color: #111111;
}

.zone-6 h3 {
  margin-bottom: 10px;
  color: #333333;
}

.zone-6 p {
  color: #333333;
}

.zone-6 ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.zone-6 ul li {
  margin-bottom: 8px;
  color: #333333;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  margin-bottom: 12px;
  padding-left: 22px;
  position: relative;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary-crimson);
}


/* =========================================
   ZONE 6A — CERTIFICATIONS
========================================= */

.certifications {
  padding: 60px 20px;
  background: var(--section-gray);
}

.certifications h2 {
  text-align: center;
  margin-bottom: 10px;
}

.cert-intro {
  text-align: center;
  max-width: 955px;
  margin: 0 auto 30px;
}

.cert-card {
  max-width: 955px;
  margin: 0 auto;
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-medium);
  box-shadow: var(--medium-shadow);
  text-align: center;
  border-top: 4px solid var(--accent);
}

.cert-card h3 {
  margin-bottom: 5px;
}

.cert-sub {
  font-style: italic;
  margin-bottom: 15px;
}

.cert-name {
  margin-bottom: 15px;
}

.cert-date {
  margin-top: 15px;
  font-weight: bold;
}

.cert-issued {
  margin-top: 5px;
  font-size: 0.9em;
  color: var(--medium-text);
}

.cert-image {
  display: block;
  width: 100%;
  max-width: 955px;
  margin: 25px auto 0;
  border-radius: var(--radius-medium);
}

.cert-cta-bar {
  margin-top: 24px;
}

.cert-cta-bar p {
  margin-bottom: 16px;
}


/* =========================================
   ZONE 6B — GOOGLE REVIEWS
========================================= */

.reviews-section {
  padding: 60px 20px;
  text-align: center;
}

.reviews-badge img {
  margin: 25px auto;
}

.reviews-link-text {
  margin-bottom: 30px;
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
  text-align: left;
}

.review-card {
  background: var(--section-gray);
  border-radius: var(--radius-medium);
  padding: 24px;
  box-shadow: var(--soft-shadow);
  border-top: 3px solid var(--accent);
}

.review-name {
  font-weight: 600;
  margin-top: 12px;
  color: var(--medium-text);
  font-size: 0.95rem;
}

.stars {
  display: block;
  color: #f5a623;
  font-size: 1.3rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}


/* =========================================
   ZONE 7 — FAQ
========================================= */

.faq-section {
  padding: 60px 20px;
  background: var(--white);
}

.faq-section h2 {
  margin-bottom: 30px;
}

.faq-item {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-gray);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin-bottom: 8px;
  color: var(--dark-text);
}

.faq-item p {
  color: var(--medium-text);
  margin-bottom: 0;
}


/* =========================================
   ZONE 8 — SERVICE AREA MAP
========================================= */

.service-map {
  padding: 60px 20px;
}

.service-map img {
  margin: 30px auto 0;
}


/* =========================================
   ZONE 9 — SERVICE AREA CITIES
========================================= */

.service-areas {
  padding: 70px 20px;
  text-align: center;
  background: var(--section-gray);
}

.service-intro {
  max-width: 700px;
  margin: 0 auto 30px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}

.service-pill {
  display: inline-block;
  padding: 14px 24px;
  background: var(--white);
  color: var(--dark-text);
  text-decoration: none;
  border-radius: var(--radius-medium);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid var(--border-gray);
  transition: var(--transition-smooth);
}

.service-pill:hover {
  background: var(--button-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.service-pill.active {
  background: var(--button-bg);
  color: var(--button-text);
  font-weight: 700;
  box-shadow: var(--soft-shadow);
  transform: translateY(-1px);
}


/* =========================================
   ZONE 9B — EMBEDDED GOOGLE MAP
========================================= */

.map-section {
  padding: 60px 20px;
}

.location-map iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
  margin-top: 20px;
}


/* =========================================
   ZONE 9C — QR CODE
========================================= */

.qr-section {
  padding: 60px 20px;
  text-align: center;
}

.qr-section img {
  max-width: 500px;
  width: 100%;
  height: auto;
  margin: 25px auto;
  display: block;
}


/* =========================================
   ZONE 9D — FACEBOOK
========================================= */

.facebook-section {
  padding: 60px 20px;
  text-align: center;
}

.facebook-link {
  display: flex;
  justify-content: center;
}

.facebook-link img {
  max-width: 600px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}


/* =========================================
   ZONE 9E — FINAL CTA
========================================= */

.final-cta {
  padding: 60px 20px;
  background: #0F172A;
  color: #ffffff;
  text-align: center;
}

.final-cta h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.final-cta p {
  color: rgba(255,255,255,0.80);
  max-width: 600px;
  margin: 0 auto 24px;
}


/* =========================================
   ZONE 10 — FOOTER
========================================= */

.site-footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 70px 20px 30px;
  text-align: center;
}

.footer-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.footer-business {
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.footer-service-area {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.85;
}

.footer-contact {
  margin-top: 30px;
}

.footer-contact h4 {
  margin-bottom: 10px;
  font-size: 16px;
  letter-spacing: 1px;
}

.footer-credentials {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 8px;
}

.footer-cta {
  margin-top: 16px;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.site-footer a:hover {
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
  padding-top: 15px;
  font-size: 13px;
  opacity: 0.7;
}


/* =========================================
   FLOATING CALL BUTTON (mobile only)
========================================= */

.floating-call {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  background: var(--button-bg);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: var(--medium-shadow);
  z-index: 999;
  transition: var(--transition-fast);
}

.floating-call:hover {
  background: var(--button-hover);
}

@media (min-width: 769px) {
  .floating-call {
    display: none;
  }
}


/* =========================================
   ABOUT PAGE
========================================= */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: start;
}

.about-grid > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 26px;
}

.about-text {
  text-align: left;
}

.about-grid img {
  border-radius: var(--radius-large);
  box-shadow: var(--soft-shadow);
}

.about-card {
  background: var(--section-gray);
  border-radius: var(--radius-large);
  padding: 22px;
  box-shadow: var(--soft-shadow);
}

.about-card h3 {
  margin-top: 0;
}

.about-list {
  margin: 12px 0 0;
  padding-left: 18px;
}

.about-list li {
  margin-bottom: 8px;
}

.about-vehicle {
  width: 100%;
  margin-top: 60px;
}

.about-vehicle img {
  width: 100%;
  display: block;
}

.inspector-name {
  text-align: center;
  margin-top: 14px;
}

.inspector-name h3 {
  margin: 0;
  font-size: 1.2rem;
}

.inspector-name p {
  margin: 4px 0 0;
  font-size: 0.95rem;
  color: var(--medium-text);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text {
    text-align: left;
  }
}


/* =========================================
   GALLERY GRID
========================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
  margin-bottom: 70px;
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-medium);
  box-shadow: var(--soft-shadow);
  transition: var(--transition-fast);
}

.gallery-grid img:hover {
  transform: translateY(-4px);
}


/* =========================================
   VIDEO SECTION
========================================= */

.section-video {
  background: var(--white);
  padding: 60px 0;
  text-align: center;
}

.section-video-single {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.section-video-item {
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-large);
  box-shadow: var(--medium-shadow);
}

.section-video-item iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}


/* =========================================
   MEDIA QUERIES
========================================= */

@media (max-width: 768px) {

  .location-map iframe {
    height: 300px;
  }

  .section-video {
    padding: 40px 15px;
  }

  .section-video-item {
    max-width: 100%;
    border-radius: var(--radius-medium);
  }

  .reviews-list {
    grid-template-columns: 1fr;
  }

}
