/* Shared header/footer styles from index layout */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 60px;
  z-index: 1000;
}

.logo-wrap {
  width: 130px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.nav-card {
  background: #fff;
  display: flex;
  height: 55px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 15px;
  padding: 0 25px;
  display: flex;
  align-items: center;
  border-bottom: 4px solid transparent;
  transition: all 0.3s ease;
  height: 100%;
}

.nav-link.active {
  color: #ff7a2f;
  border-bottom: 4px solid #ff7a2f;
}

.divider {
  width: 1px;
  height: 20px;
  background-color: #eee;
  align-self: center;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.btn-contact {
  background: #ff7a2f;
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.btn-quote {
  background: #3a3a3a;
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  background-color: #000000;
  color: #ffffff;
  font-family: "Segoe UI", sans-serif;
  padding: 80px 80px 20px;
  width: 100%;
  border-top: 1px solid #111;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 70px;
  align-items: flex-start;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.contact-col {
  flex: 1.4;
}

.links-col {
  flex: 0.7;
}

.services-col {
  flex: 0.7;
}

.map-col {
  flex: 1.5;
}

.footer-logo {
  margin-bottom: 35px;
}

.footer-logo img {
  height: 75px;
  object-fit: contain;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 15px;
  color: #cccccc;
  line-height: 1.6;
}

.contact-icon-box {
  width: 20px;
  display: flex;
  justify-content: center;
  margin-top: 4px;
  color: #fff;
}

.footer-col h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 35px;
  letter-spacing: 0.5px;
}

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

.footer-links li {
  margin-bottom: 18px;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ff7a2f;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.social-link svg {
  width: 22px;
  height: 22px;
  color: #fff;
  transition: 0.3s;
}

.social-link:hover svg {
  stroke: #ff7a2f;
}

.map-container {
  width: 100%;
  height: 350px;
  background-color: #222;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.footer-bottom {
  border-top: 1px solid #1f1f1f;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: #777;
}

.legal-links {
  display: flex;
  gap: 40px;
}

.legal-links a {
  color: #777;
  text-decoration: none;
  transition: 0.3s;
}

.legal-links a:hover {
  color: #fff;
}

@media (max-width: 1024px) {
  .site-footer {
    padding: 60px 30px;
  }

  .footer-container {
    flex-direction: column;
    gap: 40px;
  }

  .map-container {
    height: 300px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .legal-links {
    gap: 20px;
    justify-content: center;
  }
}

/* Force consistent shared layout across all pages */
#site-header,
#site-header * {
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

#site-footer,
#site-footer * {
  box-sizing: border-box;
}

#site-header .header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 60px;
  z-index: 1000;
}

#site-header .logo-wrap {
  width: 130px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#site-header .logo-img {
  width: auto;
  height: 55px;
  max-width: 100%;
  max-height: 55px;
  object-fit: contain;
}

#site-header .nav-card {
  background: #fff;
  display: flex;
  height: 55px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-radius: 0;
  padding: 0;
}

#site-header .nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 0 25px;
  display: flex;
  align-items: center;
  border-bottom: 4px solid transparent;
  transition: all 0.3s ease;
  height: 100%;
  line-height: 1;
}

#site-header .nav-link.active {
  color: #ff7a2f;
  border-bottom: 4px solid #ff7a2f;
  font-weight: 600 !important;
}

#site-header .divider {
  width: 1px;
  height: 20px;
  background-color: #eee;
  align-self: center;
}

#site-header .header-actions {
  display: flex;
  gap: 12px;
}

#site-header .btn-contact,
#site-header .btn-quote {
  white-space: nowrap;
}
