/* Shared chrome and layout for county SEO pages.
   Header and navigation match the rest of the Temp Tech site. */

.location-page {
  background: #f8f9fa;
  color: #333;
}

.location-page p,
.location-page li {
  color: #444;
}

.location-page h1,
.location-page h2,
.location-page h3,
.location-page h4 {
  text-transform: none;
  letter-spacing: 0;
  color: #13213b;
}

.top-bar {
  background: #167aed;
  color: #fff;
  padding: 8px 0;
  font-size: 15px;
}

.top-bar .container {
  text-align: center;
}

.top-bar span,
.top-bar i {
  color: #fff;
}

.main-header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
  padding: 10px 0;
  position: relative;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 10px;
  position: relative;
}

.logo-container {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.location-page .logo {
  width: auto;
  height: 150px;
  min-width: 120px;
  max-height: none;
  display: block;
}

.header-contact {
  flex: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0;
}

.header-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f4f8fc;
  padding: 7px 16px;
  border-radius: 22px;
  font-size: 15px;
  color: #333;
  white-space: nowrap;
}

.header-contact a {
  color: #167aed;
  text-decoration: none;
  font-weight: 600;
}

.header-contact i {
  color: #167aed;
  font-size: 18px;
  min-width: 20px;
  text-align: center;
}

.header-divider {
  display: none;
}

.header-quote {
  flex: 1;
  text-align: right;
  min-width: 120px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.quote-button {
  background: #167aed;
  color: #fff;
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  display: inline-block;
}

.quote-button:hover {
  background: #1262c4;
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #167aed;
  cursor: pointer;
}

.main-navbar {
  background: #23272b;
  width: 100%;
}

.main-navbar .container {
  display: flex;
  justify-content: center;
}

.navbar-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.navbar-menu > li {
  position: relative;
}

.navbar-menu > li > a {
  display: block;
  color: #fff;
  padding: 16px 18px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
}

.navbar-menu > li > a:hover,
.navbar-menu > li.active > a {
  background: #167aed;
  color: #fff;
}

.location-page .dropdown-menu {
  display: none;
  position: absolute;
  background: #23272b;
  min-width: 220px;
  left: 0;
  top: 100%;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

.location-page .dropdown:hover > .dropdown-menu,
.location-page .dropdown:focus-within > .dropdown-menu {
  display: block;
}

.location-page .dropdown-menu li a {
  color: #fff;
  padding: 12px 18px;
  display: block;
  text-decoration: none;
  font-weight: 500;
  text-transform: none;
  white-space: nowrap;
}

.location-page .dropdown-menu li a:hover,
.location-page .dropdown-menu li a[aria-current="page"] {
  background: #167aed;
  color: #fff;
}

.area-hero {
  background: linear-gradient(115deg, #13213b 0%, #167aed 100%);
  color: #fff;
  padding: 64px 0 56px;
}

.area-hero h1,
.area-hero p,
.area-hero .breadcrumb-item,
.area-hero .breadcrumb-item a {
  color: #fff;
}

.area-hero h1 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.area-hero .lead {
  font-size: 18px;
  line-height: 1.6;
  max-width: 760px;
  color: #f3f7fb;
}

.area-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 18px;
}

.area-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.75);
}

.area-hero .btn-light {
  color: #13213b;
  font-weight: 700;
  margin-right: 10px;
  margin-top: 8px;
}

.area-hero .btn-outline {
  color: #fff;
  border: 2px solid #fff;
  background: transparent;
  font-weight: 700;
  margin-top: 8px;
}

.area-hero .btn-outline:hover {
  background: #fff;
  color: #13213b;
}

.area-section {
  padding: 64px 0;
}

.area-section.alt {
  background: #fff;
}

.area-section h2 {
  font-size: 30px;
  margin-bottom: 16px;
}

.area-section h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.city-list li {
  background: #e8f2fd;
  color: #13213b;
  border-radius: 20px;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 14px;
}

.service-card,
.county-card {
  background: #fff;
  border-radius: 8px;
  padding: 22px 20px;
  height: 100%;
  box-shadow: 0 2px 10px rgba(19, 33, 59, 0.08);
}

.area-section.alt .service-card,
.area-section.alt .county-card {
  background: #f4f8fc;
}

.service-card h3 a,
.county-card h3 a {
  color: #167aed;
  text-decoration: none;
}

.service-card h3 a:hover,
.county-card h3 a:hover {
  text-decoration: underline;
}

.county-card .more {
  color: #167aed;
  font-weight: 700;
  text-decoration: none;
}

.area-figure {
  margin: 0 0 20px;
}

.area-figure img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  max-height: 360px;
}

.area-figure figcaption {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
}

.faq-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 1px 6px rgba(19, 33, 59, 0.06);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #13213b;
  padding: 16px 18px;
  font-size: 17px;
}

.faq-item p {
  padding: 0 18px 16px;
  margin: 0;
}

.area-cta {
  background: #13213b;
  padding: 48px 0;
}

.area-cta h2,
.area-cta p {
  color: #fff;
}

.area-cta .phone {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
}

.location-page .footer {
  background: #111;
  padding-top: 36px;
  color: #fff;
}

.location-page .footer p,
.location-page .footer li,
.location-page .footer h5 {
  color: #fff;
}

.location-page .footer a {
  color: #fff;
}

.location-page .footer .foote_bottom_ul_amrc li a {
  color: #ff5a5a;
}

.location-page .footer .headin5_amrc {
  color: #ff3b3b;
  font-weight: 700;
  margin-bottom: 12px;
}

@media (max-width: 991px) {
  .location-page .logo {
    height: 90px;
  }

  .header-flex {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .logo-container,
  .header-quote {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .header-contact {
    flex-direction: column;
    gap: 10px;
    margin: 10px 0;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    right: 10px;
    top: 10px;
  }

  .main-navbar .container {
    flex-direction: column;
    align-items: stretch;
  }

  .navbar-menu {
    flex-direction: column;
    width: 100%;
    display: none;
    background: #23272b;
  }

  .navbar-menu.show {
    display: flex;
  }

  .location-page .dropdown-menu {
    position: static;
    box-shadow: none;
    min-width: 0;
  }

  .area-hero h1 {
    font-size: 32px;
  }
}
