/* Reset margins and padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Make the page fill the whole height */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Top Red Bar */
.top-bar {
  height: 40px;
  background-color: #b30000;
  margin-top: 2px; /* NEW */
}


/* Nav bar */
.nav-bar {
  height: 90px;	
  background-color: #ffffff; /*White */
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* key to allow wrapping */
  border-bottom: 3px solid red; /* optional separator */
}

.nav-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.nav-bar a {
  color: #001a80;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
  border: 2px solid transparent;
  transition: background-color 0.3s, border 0.3s;
}

.nav-bar a:hover {
  background-color: #ffd54f; /* warm sun hover */
  border: 2px solid red;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .nav-bar nav {
    flex-direction: row;
    justify-content: center;
  }

  .nav-bar a {
    flex: 1 1 auto;
    text-align: center;
    min-width: 120px;
  }
}


/* Warm Sun Body */
/* This grows to fill space between top/nav and bottom bar */
.main-body {
  background-color: #f2b632;
  height: calc(100vh - 40px - 80px - 40px); /* full height minus top/nav/bottom */
  position: relative;
  padding: 60px;
  overflow: hidden;
}

.split-headline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: -35px 40px;
  font-size: 36px;
  line-height: 1.4;
}

.headline-left {
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  font-size: 55px;
  text-align: left;
  max-width: 40%;
  line-height: 1.1;
}

.modern-text {
  color: #1F3E7C; /* Logo blue */
}

.handyman-text {
  color: #b30000; /* Logo dark red */
}

.city-name-tag {
  display: block;
  margin-top: 8px;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff !important;   /* Force white text */
  text-shadow:
    -2px -2px 0 #0033cc,
     2px -2px 0 #0033cc,
    -2px  2px 0 #0033cc,
     2px  2px 0 #0033cc;
}


.google-rating-badge-top {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: white;
  border: 2px solid #0056b3; /* Blue outline */
  color: #0056b3;
  padding: 10px 18px;         /* Scaled up from 6px 12px */
  border-radius: 8px;
  font-size: 21px;            /* Was 14px — now ~1.5x */
  font-weight: bold;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.25); /* Slightly deeper shadow */
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}
.google-g-icon {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
}


.google-rating-badge-top .google-star {
  color: #FFD700;
  font-size: 24px;           /* Was 16px — now 1.5x */
  margin-right: 6px;
}



.headline-right {
  color: #ffffff;
  font-weight: 700;
  text-align: right;
  max-width: 55%;
  text-shadow:
    -2px -2px 0 #0033cc,
     2px -2px 0 #0033cc,
    -2px  2px 0 #0033cc,
     2px  2px 0 #0033cc;
}

.tech-img {
  position: absolute;
  bottom: 0;
  right: 120px;
  max-width: 500px;
  height: auto;
  display: block;
  z-index: 0;
}

.logo-img {
  position: absolute;
  top: 40px;                /* below red + cream nav */
  left: 35px;
  max-width: 120px;
  height: auto;
  z-index: 10;              /* ?? ensures it shows above other layers */
  display: block;           /* ?? in case it was set to hidden or inline */
  opacity: 1;               /* ?? in case it was invisible */
}

/* Bottom Red Bar */
.bottom-bar {
  height: 40px;
  background-color: #b30000; /* Dark red */
}

/* Full Height Layout */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* WELCOME MESSAGE */
.welcome-message {
  max-width: 900px;
  margin: 2em auto;
  font-size: 1.2em;
  text-align: center;
  color: #333;
}

/* COMMON SERVICES SECTION */
.common-services {
  background-color: #fff;
  padding: 3em 1em;
}

.section-title {
  text-align: center;
  font-size: 2.5em;
  color: #B71C1C;
  margin-bottom: 2em;
  text-transform: uppercase;
}

/* SERVICE GRID */
.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
}

/* Remove bullet points from service lists */
.service-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
}


/* === CLEAN TEXT-ONLY SERVICE CARDS (No Images) === */

.service-item {
  flex: 1 1 260px;
  background: #ffffff;
  border: 2px solid #B71C1C;      /* deep red border */
  border-radius: 10px;
  padding: 1.5em;
  text-align: center;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.08);  /* soft shadow */
  min-height: 140px;              /* compact height */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-item a {
  font-size: 1.35em;
  font-weight: bold;
  color: #B71C1C;
  text-decoration: none;
}

.service-item a:hover {
  text-decoration: underline;
}

.service-item h3 {
  margin-top: 0.5em;
  font-size: 0.95em;
  color: #444;
  font-weight: normal;
}

/* Mobile tighten */
@media (max-width: 768px) {
  .service-item {
    min-height: 110px;
    padding: 1.2em;
  }

  .service-item a {
    font-size: 1.2em;
  }

  .service-item h3 {
    font-size: 0.9em;
  }
}


.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1em;
}

.service-item h2 {
  margin-bottom: 0.5em;
  font-size: 1.4em;
}

.service-item h2 a {
  color: #B71C1C;
  text-decoration: none;
}

.service-item h2 a:hover {
  text-decoration: underline;
}

.service-item h3 {
  font-size: 1em;
  font-weight: normal;
  color: #444;
}

/* ALL SERVICES LINK */
.all-services-link {
  text-align: center;
  margin-top: 3em;
  font-size: 1.2em;
}

.all-services-link a {
  color: #B71C1C;
  font-weight: bold;
  text-decoration: none;
}

.all-services-link a:hover {
  text-decoration: underline;
}
.locations {
  background-color: #fff;
  padding: 3em 1em;
}

.locations .section-title {
  text-align: center;
  font-size: 2.5em;
  color: #B71C1C;
  margin-bottom: 1em;
  text-transform: uppercase;
}

.locations .section-intro {
  max-width: 800px;
  margin: 0 auto 2em auto;
  font-size: 1.1em;
  color: #444;
  text-align: center;
}

.location-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  list-style-type: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.location-list li {
  flex: 1 1 200px;
  font-size: 1.1em;
  text-align: center;
  padding: 0.5em 1em;
  border: 1px solid #B71C1C;
  border-radius: 8px;
  background-color: #fdfdfd;
}
.why-us {
  background-color: #FFEB85; /* Mustard yellow */
  padding: 3em 1em;
}

.why-us .section-title {
  text-align: center;
  font-size: 2.5em;
  color: #B71C1C;
  margin-bottom: 1em;
  text-transform: uppercase;
}

.why-us .section-intro {
  max-width: 800px;
  margin: 0 auto 2em auto;
  font-size: 1.1em;
  color: #444;
  text-align: center;
}

.why-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  padding: 0;
  max-width: 900px;
  margin: 2em auto 0 auto;
}

.why-list li {
  background: #fff;
  border: 2px solid #B71C1C;
  border-radius: 8px;
  padding: 1em 1.5em;
  font-size: 1.1em;
  text-align: center;
  flex: 1 1 250px;
}
.review-badge {
  background-color: #fff;
  border: 2px solid #d32f2f; /* bold red */
  padding: 16px 24px;
  border-radius: 12px;
  max-width: 300px;
  text-align: center;
  margin: 4rem auto 1rem auto; /* Top margin added here */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.handyman-tips {
  background-color: #fff;
  padding: 3em 1em;
}

.handyman-tips .section-title {
  text-align: center;
  font-size: 2.3em;
  color: #B71C1C;
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

.handyman-tips .section-intro {
  max-width: 800px;
  margin: 0 auto 2em auto;
  font-size: 1.1em;
  color: #444;
  text-align: center;
}

.tips-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  max-width: 1000px;
  margin: 0 auto;
}

.tip-item {
  flex: 1 1 260px;
  background: #FFEB85;
  border: 2px solid #B71C1C;
  border-radius: 10px;
  padding: 1.5em;
  font-size: 1em;
  color: #333;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
  text-align: left;
}

.tip-item h3 {
  font-size: 1.3em;
  color: #B30000;
  margin-bottom: 0.6em;
}

.tip-item p {
  margin-bottom: 1em;
  line-height: 1.4;
}

.tip-link {
  color: #B30000;
  font-weight: bold;
  text-decoration: none;
}

.tip-link:hover {
  text-decoration: underline;
}


.rating-stars {
  font-size: 1.5rem;
  color: #fbc02d; /* gold/yellow stars */
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 1.1rem;
  color: #333;
  font-weight: 600;
}

.rating-text span {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: #666;
}

.reviews {
  background-color: #fff;
  padding: 3em 1em;
}

.reviews .section-title {
  text-align: center;
  font-size: 2.5em;
  color: #B71C1C;
  margin-bottom: 1em;
  text-transform: uppercase;
}

.reviews .section-intro {
  max-width: 800px;
  margin: 0 auto 2em auto;
  font-size: 1.1em;
  color: #444;
  text-align: center;
}

.review-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  max-width: 1000px;
  margin: 0 auto;
}

.review-item {
  flex: 1 1 300px;
  background: #FFEB85;
  border: 2px solid #B71C1C;
  border-radius: 10px;
  padding: 1.5em;
  font-size: 1em;
  color: #333;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

.review-author {
  display: block;
  margin-top: 1em;
  font-weight: bold;
  color: #B71C1C;
  font-size: 0.95em;
}

.all-reviews-link {
  text-align: center;
  margin-top: 3em;
  font-size: 1.1em;
}

.all-reviews-link a {
  color: #B71C1C;
  font-weight: bold;
  text-decoration: none;
}

/* ==== EXPERIENCE BADGES + CALL BUTTON SECTION ==== */

.badge-block {
  text-align: center;
  margin-top: 40px; /* increased for clean spacing */
  margin-bottom: 20px;
  width: 100%; /* force full-width line break */
  position: relative; /* prevents overlap from absolute elements */
  z-index: 5;
}


.info-badge {
  display: inline-block;
  background: white;
  padding: 10px 16px;
  border-radius: 8px;
  margin: 6px 0;
  border: 2px solid #cc0000; /* deep red border */
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.info-badge span {
  font-size: 1.15rem;
  font-weight: 700;
  color: #a30000; /* deep red text */
  letter-spacing: 0.4px;
}

/* CALL BUTTON */

.action-buttons {
  margin-top: 12px;
}

.action-btn {
  padding: 10px 16px;
  background-color: #cc0000;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.action-btn:hover {
  background-color: #a30000;
}

.all-reviews-link a:hover {
  text-decoration: underline;
}
/* ===== FOOTER ===== */

.site-footer {
  background-color: #b30000; /* deep red */
  color: white;
  padding: 2.5em 1em 1.5em 1em;
  margin-top: 3em;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3em;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 260px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 0.6em;
  font-size: 1.3em;
  font-weight: 700;
  color: #fff;
}

.footer-col p,
.footer-col a {
  font-size: 0.95em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.4em;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2em;
  text-align: center;
  font-size: 0.9em;
  opacity: 0.9;
  padding-top: 1em;
  border-top: 1px solid rgba(255,255,255,0.35);
}

.review-summary {
  text-align: center;
  background: #fff8d6;
  border: 2px solid #b30000;
  padding: 1.2em;
  margin: 2em auto;
  max-width: 600px;
  border-radius: 10px;
  font-size: 1.1em;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.08);
}
.review-summary strong {
  color: #b30000;
  font-size: 1.25em;
}
/* =============================== */
/* 📱 MOBILE OPTIMIZATION FIXES   */
/* =============================== */
@media (max-width: 768px) {

  /* Reduce headline sizes */
  .headline-left {
    font-size: 38px;
    max-width: 100%;
    text-align: center;
  }

  .headline-right {
    font-size: 22px;
    max-width: 100%;
    text-align: center;
    margin-top: 10px;
    padding-bottom: 20px;
    line-height: 1.3;
  }

  /* Main yellow section */
  .main-body {
    height: auto;
    padding: 30px 20px 120px 20px;
  }

  /* Logo */
  .logo-img {
    max-width: 90px;
    left: 50%;
    transform: translateX(-50%);
    top: 55px;
  }

  /* Tech image */
  .tech-img {
    position: static;
    max-width: 260px;
    margin: 20px auto 0 auto;
    display: block;
  }

  /* Google badge */
  .google-rating-badge-top {
    position: static;
    margin: 15px auto;
    padding: 6px 10px;
    font-size: 16px;
  }

  /* Badge block (25 years, call button, etc.) */
  .badge-block {
    margin-top: 50px;
  }

  /* Info badge resizing */
  .info-badge {
    padding: 6px 12px;
    margin: 4px 0;
    font-size: 0.9rem;
  }

  .info-badge span {
    font-size: 0.95rem;
  }

  /* Call button */
  .action-btn {
    font-size: 1rem;
  }
}
/* =============================== */
/* ⭐ FAQ SECTION (Safe Add-On)   */
/* =============================== */

.faq-section {
  background-color: #fff;
  padding: 3em 1em;
  margin-top: 3em;
}

.faq-section .section-title {
  text-align: center;
  font-size: 2.5em;
  color: #B71C1C;
  margin-bottom: 1em;
  text-transform: uppercase;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #FFEB85; /* matches your yellow theme blocks */
  border: 2px solid #B71C1C;
  border-radius: 10px;
  padding: 1.5em;
  margin-bottom: 1.5em;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

.faq-question {
  font-size: 1.3em;
  font-weight: bold;
  color: #B30000;
  margin-bottom: 0.6em;
}

.faq-answer {
  font-size: 1.05em;
  color: #333;
  line-height: 1.5;
}

/* --- ALL SERVICES PAGE STYLING --- */

/* Overall container spacing */
.service-categories {
  max-width: 900px;
  margin: 0 auto;
  padding: 1em 1.2em;
}

/* Category titles (Drywall, Doors, etc.) */
.service-category-title {
  font-size: 1.6em;
  color: #b30000;
  margin-top: 1.4em;
  margin-bottom: 0.4em;
  font-weight: 700;
  text-align: left;
  border-left: 6px solid #b30000;
  padding-left: 10px;
}

/* Bullet lists */
.service-bullet-list {
  margin-left: 1.5em;
  margin-bottom: 1em;
  padding-left: 0.5em;
  font-size: 1.15em;
  line-height: 1.55em;
}

/* Bullet style */
.service-bullet-list li {
  margin: 0.25em 0;
  list-style-type: "✔  ";
  padding-left: 0.3em;
  color: #333;
}

/* Section titles centered */
.what-we-repair .section-title {
  text-align: center !important;
  margin-bottom: 0.6em;
}

/* Intro paragraphs centered */
.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0.5em auto 1.5em auto;
  font-size: 1.1em;
}

/* Space between major sections */
.service-categories h3:first-child {
  margin-top: 0.5em;
}
/* -----------------------------------------
   SERVICE PAGE — DESIGN FIXES & ALIGNMENT
   ----------------------------------------- */

/* Ensure service page headline spacing matches homepage */
.main-body.service-page {
  padding-top: 1.5em;
  padding-bottom: 2em;
}

/* Service + City name (already injected inline, but spacing helps) */
.service-title-text {
  margin-top: 6px;
}

/* Ensure service photo scales cleanly */
.tech-wrapper img.tech-img {
  max-width: 420px;
  width: 90%;
  height: auto;
  display: block;
  margin: 1.2em auto 0 auto;
  border-radius: 8px;
}

/* Ensure the badge block has proper spacing */
.badge-block {
  margin-top: 1.2em;
}

/* Make COMMON SERVICES grid match the homepage exactly */
.common-services .service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 1em;
}

.common-services .service-item a {
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

/* Adjust the spacing around the welcome message for service pages */
.welcome-message {
  margin-top: 2em;
  margin-bottom: 2.2em;
  font-size: 1.12em;
  line-height: 1.55em;
}

/* Make the bottom red divider consistent */
.bottom-bar {
  height: 40px;
  background-color: #b30000;
}

/* Footer spacing uniformity */
.site-footer {
  margin-top: 3em;
}

/* Fix headline spacing on service templates (no tech image) */
.service-page .split-headline {
  margin-top: 1.6em !important;
}
/* BLOG POST IMAGE */
.blog-post-image-wrapper {
  text-align: center;
  margin: 1.5em 0 2em 0;
}

.blog-post-image {
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.15);
  height: auto;
}
