/* Fonts loaded via <link> in HTML for faster rendering */

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  line-height: 1.6;
  background: #fff;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 72px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

h2 {
  font-family: "Inter", sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #000;
  line-height: 1.1;
}

h3 {
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: "Teko", sans-serif;
  font-size: 28px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
  text-align: center;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  padding: 10px 30px;
  line-height: 1.2;
}

.btn-cta {
  background: #FF0000;
  color: #fff;
}

.btn-cta:hover {
  background: #B90000;
  color: #fff;
}

.btn-hero {
  background: #FF0000;
  color: #fff;
  font-size: 38px;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  padding: 14px 40px;
}

.btn-hero:hover {
  background: #B90000;
}

.btn-nav-cta {
  background: #FF0000;
  color: #fff;
  font-size: 22px;
  padding: 8px 24px;
}

.btn-nav-cta:hover {
  background: #B90000;
}

/* ===== Header ===== */
.header {
  background: #32373c;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav ul {
  display: flex;
  gap: 25px;
}

.nav ul a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  transition: opacity 0.2s;
  padding: 10px 14px;
  border-radius: 6px;
}

.nav ul a:hover,
.nav ul a.active {
  opacity: 0.8;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 770px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 40px;
  background-image: url('../images/hero-bg.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  opacity: 0.51;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding: 0 120px;
}

.hero h1 {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
}

.hero-sub {
  font-family: "Roboto", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}

/* ===== Curb Appeal (Value Prop) ===== */
.curb-appeal {
  min-height: 576px;
  display: flex;
  align-items: center;
  padding: 0 60px;
  background: #fff;
}

.curb-appeal-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
}

.curb-appeal-text {
  flex: 1;
}

.curb-appeal-text h2 {
  font-family: "Roboto", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  text-align: center;
}

.curb-appeal-text p {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  color: #000;
  line-height: 1.7;
  margin-bottom: 24px;
}

.curb-appeal-image {
  flex: 0 0 55%;
}

.curb-appeal-image img {
  width: 100%;
}

/* ===== Services Heading Banner ===== */
.services-heading {
  background-color: #0A80EE;
  padding: 40px 20px 20px;
  text-align: center;
  position: relative;
}

.services-heading::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 0%, 0 100%);
}

.services-heading h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 72px;
  font-weight: 700;
  color: #000;
  line-height: 1.1;
}

/* ===== Services Grid (Homepage) ===== */
.services-grid {
  padding: 0 20px 40px;
  background: #fff;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 30px;
}

.service-grid-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.service-grid-image {
  margin: -20px -20px 0 -20px;
}

.service-grid-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.service-grid-content {
  padding: 20px 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
  align-items: center;
}

.service-grid-content h3 {
  font-family: "Roboto", sans-serif;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
  color: #000;
}

.service-grid-content p {
  color: #000;
  line-height: 1.7;
  font-size: 18px;
  margin-bottom: 20px;
  flex: 1;
}

.service-grid-content .btn {
  align-self: center;
}

/* ===== Proud Section (Map + CTA) ===== */
.proud-section {
  min-height: 643px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 20px;
}

.proud-heading {
  text-align: center;
  margin-bottom: 30px;
}

.proud-heading h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 72px;
  font-weight: 700;
  color: #000;
  line-height: 1.1;
}

.proud-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.proud-map {
  flex: 0 0 49.594%;
  max-width: 49.594%;
  align-self: center;
}

.proud-map-frame {
  background-color: #1C1C1F;
  padding: 4px;
  height: 350px;
}

.proud-map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.proud-cta {
  flex: 1;
}

.proud-cta h3 {
  font-family: "Roboto", sans-serif;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin: 0 100px 20px;
}

.proud-cta p {
  font-family: "Roboto", sans-serif;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin: 0 100px 30px;
}

.proud-cta .btn-wrapper {
  text-align: center;
}

.proud-cta .contact-form {
  max-width: 400px;
  margin: 0 auto;
}

.proud-cta .contact-form .btn {
  width: 100%;
  padding: 14px;
}

/* ===== Get Started / Contact ===== */
.get-started {
  padding: 80px 20px;
  text-align: center;
  background: #f8f8f8;
}

.get-started h2 {
  font-family: "Roboto", sans-serif;
  font-size: 30px;
  font-weight: 700;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.4;
  color: #000;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  transition: border-color 0.2s;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0A80EE;
}

.form-group textarea {
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  padding: 14px;
}

/* ===== Phone Link (Nav) ===== */
.nav-phone {
  display: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 6px;
  transition: opacity 0.2s;
}

.nav-phone:hover {
  opacity: 0.8;
}

/* ===== Internal Links ===== */
.services-link,
.services-back-link {
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
  color: #555;
}

.services-link a,
.services-back-link a {
  color: #0A80EE;
  text-decoration: underline;
}

.services-link a:hover,
.services-back-link a:hover {
  color: #065ca8;
}

/* ===== Or Call ===== */
.or-call {
  display: none;
  text-align: center;
  margin-top: 16px;
  font-size: 16px;
  color: #555;
}

.or-call a {
  color: #0A80EE;
  font-weight: 600;
  text-decoration: none;
}

.or-call a:hover {
  text-decoration: underline;
}

/* ===== Footer Phone ===== */
.footer-phone {
  display: none;
  margin-top: 12px;
}

.footer-phone a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 1;
}

.footer-phone a:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
  background: #32373c;
  color: #fff;
  padding: 60px 0 40px;
}

.footer-inner {
  display: flex;
  gap: 60px;
}

.footer-about {
  flex: 2;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 15px;
}

.footer-about p {
  opacity: 0.8;
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-nav {
  flex: 1;
}

.footer-nav h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-nav a:hover {
  opacity: 1;
}

/* ===== Modal ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 16px;
  padding: 50px 40px;
  max-width: 550px;
  width: 90%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  line-height: 1;
}

.modal-close:hover {
  color: #000;
}

.modal h2 {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.4;
  text-align: center;
  color: #000;
}

/* ===== Blog ===== */
.blog-hero {
  background: #32373c;
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.blog-hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 72px;
  line-height: 1.1;
}

.blog-hero-sub {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 10px;
}

.blog-list {
  padding: 60px 0;
  background: #fff;
}

.blog-card {
  display: block;
  padding: 30px 0;
  border-bottom: 1px solid #e0e0e0;
  color: #000;
  transition: background 0.2s;
}

.blog-card:first-child {
  padding-top: 0;
}

.blog-card:last-child {
  border-bottom: none;
}

.blog-card:hover {
  background: #f8f8f8;
}

.blog-card-date {
  font-size: 14px;
  color: #888;
  display: block;
  margin-bottom: 6px;
}

.blog-card h2 {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #0A80EE;
}

.blog-card:hover h2 {
  color: #065ca8;
}

.blog-card p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* Blog Post */
.blog-post {
  padding: 60px 0;
  background: #fff;
}

.blog-post .container {
  max-width: 760px;
}

.blog-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.blog-post h1 {
  font-family: "Roboto", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  margin-bottom: 30px;
}

.blog-post h2 {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.blog-post p {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 18px;
}

.blog-post ul, .blog-post ol {
  margin: 0 0 18px 24px;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

.blog-post li {
  list-style: disc;
  margin-bottom: 6px;
}

.blog-post ol li {
  list-style: decimal;
}

.blog-post a {
  color: #0A80EE;
  text-decoration: underline;
}

.blog-post a:hover {
  color: #065ca8;
}

.blog-post a.btn {
  color: #fff;
  text-decoration: none;
}

.blog-post a.btn:hover {
  color: #fff;
}

.blog-cta {
  margin-top: 50px;
  padding: 40px;
  background: #f8f8f8;
  border-radius: 12px;
  text-align: center;
}

.blog-cta h2 {
  margin-top: 0;
  font-size: 28px;
}

.blog-cta p {
  color: #555;
  margin-bottom: 24px;
}

/* Blog Table of Contents */
.blog-toc {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 24px 30px;
  margin-bottom: 36px;
}

.blog-toc h2 {
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 12px;
  color: #000;
}

.blog-toc ol {
  margin: 0 0 0 20px;
  font-size: 16px;
  line-height: 1.9;
}

.blog-toc li {
  list-style: decimal;
  margin-bottom: 2px;
}

.blog-toc a {
  color: #0A80EE;
  text-decoration: none;
}

.blog-toc a:hover {
  text-decoration: underline;
}

/* Blog FAQ */
.blog-faq {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.blog-faq > h2 {
  font-family: "Roboto", sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 24px;
}

.faq-item {
  margin-bottom: 24px;
}

.faq-item h3 {
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
  line-height: 1.3;
}

.faq-item p {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 0;
}

/* Blog Related Posts */
.blog-related {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.blog-related h2 {
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 14px;
}

.blog-related ul {
  margin: 0;
  list-style: none;
}

.blog-related li {
  list-style: none;
  margin-bottom: 10px;
}

.blog-related a {
  font-size: 17px;
  color: #0A80EE;
  text-decoration: none;
}

.blog-related a:hover {
  text-decoration: underline;
  color: #065ca8;
}

.blog-back {
  display: inline-block;
  margin-top: 30px;
  font-size: 16px;
  color: #0A80EE;
}

.blog-back:hover {
  color: #065ca8;
}

@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 48px;
  }

  .blog-post h1 {
    font-size: 28px;
  }

  .blog-cta {
    padding: 30px 20px;
  }
}

/* ===== Services Page ===== */
.services-hero {
  background: #0A80EE;
  padding: 60px 0;
  text-align: center;
  color: #fff;
  position: relative;
}

.services-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 50px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.services-hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 72px;
  line-height: 1.1;
}

.services-page-list {
  background: #fff;
  max-width: 1140px;
  margin: 0 auto;
}

.svc-row {
  display: flex;
  align-items: stretch;
  min-height: 350px;
  border-bottom: 1px solid #e0e0e0;
}

.svc-row:last-child {
  border-bottom: none;
}

.svc-row-reverse {
  flex-direction: row-reverse;
}

.svc-text {
  flex: 1;
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.svc-text h2 {
  font-family: "Roboto", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin-bottom: 14px;
  line-height: 1.2;
}

.svc-text p {
  color: #000;
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 14px;
}

.svc-text .btn {
  align-self: center;
  margin-top: 8px;
}

.svc-row-blue {
  background-color: #0A80EE;
}

.svc-row-blue .svc-text h2,
.svc-row-blue .svc-text p {
  color: #fff;
}

.svc-img {
  flex: 0 0 45%;
  overflow: hidden;
  padding: 20px;
}

.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero .container {
    padding: 0 20px;
  }

  .curb-appeal {
    padding: 0 0;
  }

  .curb-appeal-inner {
    flex-direction: column;
  }

  .curb-appeal-text {
    padding: 40px 40px 0;
  }

  .curb-appeal-image {
    flex: none;
    padding: 0 0 40px;
  }

  .proud-content {
    flex-direction: column;
    align-items: center;
  }

  .proud-map {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .proud-cta h3,
  .proud-cta p {
    margin: 0 0 20px;
  }

  .svc-row,
  .svc-row-reverse {
    flex-direction: column-reverse;
  }

  .svc-img {
    flex: none;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #32373c;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .nav.active {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 44px;
  }

  .hero {
    min-height: 600px;
    padding: 0;
  }

  .hero .container {
    padding: 0 20px;
  }

  .hero-sub {
    font-size: 26px;
  }

  .btn-hero {
    font-size: 24px;
  }

  .curb-appeal {
    padding: 20px;
  }

  .curb-appeal-inner {
    flex-direction: column;
    padding: 20px 0;
  }

  .curb-appeal-text {
    padding: 20px;
  }

  .curb-appeal-text h2 {
    font-size: 26px;
  }

  .curb-appeal-image {
    flex: none;
    padding: 0 20px 20px;
  }

  .services-heading h2 {
    font-size: 48px;
  }

  .services-cards {
    grid-template-columns: 1fr;
  }

  .proud-heading h2 {
    font-size: 48px;
  }

  .proud-cta h3,
  .proud-cta p {
    margin: 0 0 20px;
    font-size: 26px;
  }

  .nav-phone {
    display: block;
  }

  .or-call {
    display: block;
  }

  .footer-phone {
    display: block;
  }

  .svc-text {
    padding: 30px 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 30px;
  }
}
