/* ==========================================================================
   Unique Pump Systems — Shared Header / Footer Chrome
   --------------------------------------------------------------------------
   Single source of truth for the site header, mobile menu, footer, GMB
   review popup/banner, floating buttons and Google Translate widget.
   Extracted verbatim (values unchanged) from index.html so every page that
   links this file renders the exact same header/footer as the homepage.

   Loaded as the LAST stylesheet on every page so these rules win the
   cascade over any legacy per-page styles with the same class names
   (e.g. the old template's .header-top-area / .purify_nav_manu / .footer-area),
   without needing to edit or remove those legacy files.
   ========================================================================== */

:root {
  --primary: #005CB6;
  --primary-dark: #00468a;
  --primary-light: #1a70c2;
  --dark: #1a1a1a;
  --dark-2: #222222;
  --dark-3: #2d2d2d;
  --mid: #444444;
  --light-gray: #f5f5f5;
  --lighter-gray: #fafafa;
  --white: #ffffff;
  --text: #333333;
  --text-muted: #666666;
  --border: #e0e0e0;
  --gold: #d4a017;
  --font-display: 'Clash Display', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
}

/* ── HEADER TOP (Desktop) ── */
.header-top-area {
  background: var(--dark);
  padding: 0px 5;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1050;
}

.header-top-area .container-fluid {
  padding: 0 30px;
}

.header-top-social-icon ul {
  list-style: none;
  display: flex;
  gap: 12px;
}

.header-top-social-icon ul li a {
  color: #aaa;
  font-size: 13px;
  transition: color .2s;
}

.header-top-social-icon ul li a:hover {
  color: var(--primary);
}

.header-top-info .header-info ul {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.header-top-info .header-info ul li {
  color: #ccc;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-top-info .header-info ul li i {
  color: var(--primary);
}

.header-top-info .header-info ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color .2s;
}

.header-top-info .header-info ul li a:hover {
  color: var(--primary);
}

.header-top-address {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.header-top-address .top-address-icon i {
  color: var(--primary);
  font-size: 14px;
}

.header-top-address .top-address-text p {
  color: #bbb;
  font-size: 12px;
  margin: 0;
}

.header-top-address .top-address-text b {
  color: #ddd;
}

/* Suppress legacy template decorative pseudo-elements that would otherwise
   show through behind the new fixed header (old theme only). */
.header-top-area::before,
.purify_nav_manu::before,
.purify_nav_manu.sticky::before {
  content: none !important;
  display: none !important;
}

/* ── STICKY NAV ── */
.purify_nav_manu {
  background: var(--white);
  padding: 0 0;
  position: fixed;
  top: 37px;
  width: 100%;
  z-index: 1040;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .1);
  border-bottom: 3px solid var(--primary);
  margin-top: 0;
}

.purify_nav_manu .container-fluid {
  padding: 0 30px;
}

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

.purify_menu ul.nav_scroll {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.purify_menu ul.nav_scroll>li {
  position: relative;
}

.purify_menu ul.nav_scroll>li>a {
  display: block;
  padding: 0px 14px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .3px;
  transition: color .2s;
  white-space: nowrap;
}

.purify_menu ul.nav_scroll>li>a:hover,
.purify_menu ul.nav_scroll>li>a.active {
  color: var(--primary);
}

.purify_menu ul.sub-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
  border-top: 3px solid var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .25s;
  z-index: 100;
}

.purify_menu ul.nav_scroll>li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.purify_menu ul.sub-menu li a {
  display: block;
  padding: 10px 18px;
  color: var(--dark);
  font-size: 13.5px;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: all .2s;
  background: var(--white);
}

.purify_menu ul.sub-menu li a:hover,
.purify_menu ul.sub-menu li a:focus {
  background: var(--light-gray) !important;
  color: var(--primary) !important;
  padding-left: 24px;
}

.header-main-button a {
  background: var(--primary);
  color: var(--white);
  padding: 11px 22px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: background .2s;
  white-space: nowrap;
}

.header-main-button a:hover {
  background: var(--primary-dark);
}

/* ── PAGE CONTENT OFFSET ──
   The new header is position:fixed, so whatever content immediately follows
   the mobile menu block needs pushing down by the header's height. This
   targets "whatever comes next" generically — no markup changes needed. */
.mobile-menu-area + * {
  margin-top: 97px;
}

/* ── FOOTER ── */
.footer-area {
  background: var(--dark-2);
  padding: 60px 0 0;
}

.footer-widget {
  margin-bottom: 40px;
}

.footer-widget-logo img {
  height: 50px;
  margin-bottom: 18px;
}

.footer-widget-text p {
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
  line-height: 1.8;
}

.footer-widget-text a {
  color: rgba(255, 255, 255, .7);
}

.widget-title h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-menu ul {
  list-style: none;
}

.footer-menu ul li {
  margin-bottom: 10px;
}

.footer-menu ul li a {
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
  text-decoration: none;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-menu ul li a::before {
  content: '›';
  color: var(--primary);
  font-size: 18px;
}

.footer-menu ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.widget-recent-info ul {
  list-style: none;
}

.widget-recent-info ul li {
  margin-bottom: 14px;
}

.widget-recent-info ul li a {
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
  transition: color .2s;
}

.widget-recent-info ul li a i {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.widget-recent-info ul li a:hover {
  color: rgba(255, 255, 255, .85);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  transition: all .25s;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-bg-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 20px;
  padding: 20px 0;
}

.coppy-right-text-left p,
.coppy-right-text p {
  color: rgba(255, 255, 255, .4);
  font-size: 13px;
  margin: 0;
}

.coppy-right-text {
  text-align: right;
}

.coppy-right-text a {
  color: var(--primary);
}

/* ── GMB POPUP ── */
.gmb-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}

.gmb-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.gmb-popup {
  background: var(--white);
  border-radius: 10px;
  max-width: 520px;
  width: 90%;
  overflow: hidden;
  transform: scale(.9);
  transition: transform .3s;
  position: relative;
}

.gmb-popup-overlay.active .gmb-popup {
  transform: scale(1);
}

.gmb-popup-header {
  background: var(--primary);
  padding: 24px 28px;
  color: var(--white);
}

.gmb-popup-header h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.gmb-popup-header p {
  font-size: 13px;
  opacity: .85;
  margin: 0;
}

.gmb-popup-body {
  padding: 28px;
}

.gmb-popup-body .rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.gmb-popup-body .rating-row .stars {
  color: #f5a623;
  font-size: 18px;
}

.gmb-popup-body .rating-row span {
  font-size: 14px;
  color: var(--text-muted);
}

.gmb-popup-body .gmb-review {
  background: var(--light-gray);
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 10px;
}

.gmb-popup-body .gmb-review p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 6px;
  font-style: italic;
}

.gmb-popup-body .gmb-review span {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
}

.gmb-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255, 255, 255, .2);
  border: none;
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.gmb-popup-close:hover {
  background: rgba(255, 255, 255, .35);
}

.btn-gmb {
  display: block;
  background: #4285F4;
  color: var(--white);
  text-align: center;
  padding: 12px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  margin-top: 14px;
}

.btn-gmb:hover {
  background: #3367d6;
  color: var(--white);
}

/* ── FLOATING BUTTONS ── */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.float-call-btn {
  width: 52px;
  height: 52px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, .45);
  transition: all .25s;
  animation: pulse-green 2s infinite;
}

.float-call-btn:hover {
  background: #1da851;
  color: var(--white);
  transform: scale(1.08);
}

@keyframes pulse-green {

  0%,
  100% {
    box-shadow: 0 4px 18px rgba(37, 211, 102, .45);
  }

  50% {
    box-shadow: 0 4px 28px rgba(37, 211, 102, .75);
  }
}

.float-top-btn {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 92, 182, .35);
  transition: all .25s;
  opacity: 0;
  pointer-events: none;
}

.float-top-btn.visible {
  opacity: 1;
  pointer-events: all;
}

.float-top-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Hide the legacy jQuery scrollUp plugin's auto-injected button (old theme
   pages only) so it doesn't appear as a duplicate of .float-top-btn. The
   plugin script itself is left in place/untouched since theme.js calls it
   unconditionally; this only hides the element it creates. */
#scrollUp {
  display: none !important;
}

/* ── GMB BANNER ── */
.gmb-banner {
  position: fixed;
  bottom: 30px;
  left: 24px;
  z-index: 8999;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
  padding: 14px 18px;
  max-width: 280px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 4px solid #4285F4;
  transform: translateX(-120%);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}

.gmb-banner.show {
  transform: translateX(0);
}

.gmb-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.gmb-banner-text h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.gmb-banner-text .stars {
  color: #f5a623;
  font-size: 13px;
}

.gmb-banner-text a {
  font-size: 12px;
  color: #4285F4;
  text-decoration: none;
  font-weight: 600;
}

.gmb-banner-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  font-size: 15px;
  color: #aaa;
  cursor: pointer;
  line-height: 1;
}

.gmb-banner-close:hover {
  color: var(--dark);
}

/* ── MOBILE MENU ── */
.mobile-menu-area {
  display: none;
  background: var(--white);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1050;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  border-top: 3px solid var(--primary);
}

.mobile-logo img {
  height: 38px;
}

.hamburger-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--dark);
  cursor: pointer;
  padding: 4px;
}

/* Mobile header-top inside drawer */
.mobile-header-top-inside {
  display: none;
  background: var(--dark);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.mobile-header-top-inside.open {
  display: block;
}

.mobile-header-top-inside .mht-social {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}

.mobile-header-top-inside .mht-social a {
  color: #aaa;
  font-size: 15px;
  text-decoration: none;
  transition: color .2s;
}

.mobile-header-top-inside .mht-social a:hover {
  color: var(--primary);
}

.mobile-header-top-inside .mht-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-header-top-inside .mht-info a {
  color: #ccc;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-header-top-inside .mht-info a i {
  color: var(--primary);
  font-size: 13px;
}

.mobile-header-top-inside .mht-info a:hover {
  color: var(--primary);
}

.mobile-header-top-inside .mht-address {
  color: #bbb;
  font-size: 12px;
  margin-top: 8px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.mobile-header-top-inside .mht-address i {
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  max-height: 65vh;
  overflow-y: auto;
}

.mobile-nav.open {
  display: block;
}

/* Hide floating call/back-to-top buttons and the GMB banner while the mobile
   menu drawer is open — both sit at a higher z-index than the mobile nav and
   would otherwise float on top of the open menu. */
@media (max-width: 991px) {
  body:has(.mobile-nav.open) .floating-buttons,
  body:has(.mobile-nav.open) .gmb-banner,
  body:has(.mobile-header-top-inside.open) .floating-buttons,
  body:has(.mobile-header-top-inside.open) .gmb-banner {
    display: none;
  }
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav ul li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.mobile-nav ul li a:hover {
  color: var(--primary);
  background: var(--light-gray);
}

/* ======================================================
   MOBILE / TABLET RESPONSIVE FIXES
====================================================== */
@media (max-width: 991px) {

  /* Hide desktop nav columns */
  .purify_nav_manu .col-lg-8,
  .purify_nav_manu .col-lg-2.pl-0 {
    display: none;
  }

  /* Hide desktop header-top bar */
  .header-top-area {
    display: none;
  }

  /* Show mobile menu area */
  .mobile-menu-area {
    display: block;
  }

  /* Desktop nav hidden on mobile */
  .purify_nav_manu {
    display: none;
  }

  /* Page content: push below mobile nav toggle (≈ 64px) */
  .mobile-menu-area + * {
    margin-top: 64px;
  }
}

@media (max-width: 575px) {
  .header-top-area .col-lg-5:last-child {
    display: none;
  }
}

/* Google Translate CSS */
#google_translate_element {
  position: fixed;
  top: 105px;
  right: 0;
  z-index: 1060;
}

#google_translate_element a {
  font-size: 16px;
}

.goog-te-gadget-icon {
  display: none;
}

@media (max-width: 400px) {
  #google_translate_element {
    position: fixed;
    top: 65px !important;
    right: 0;
  }
}

@media (max-width: 575px) {
  #google_translate_element {
    position: fixed;
    top: 65px !important;
    right: 0;
  }
}
