/* ================================================================
   Header & Navigation
   Top bar, logo, city switcher, nav menu, mobile menu toggle.
   ================================================================ */

.top-bar {

  background-color: var(--dark-slate);

  color: #cbd5e1;

  font-size: 0.82rem;

  padding: 8px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

}



.top-bar-container {

  display: flex;

  justify-content: space-between;

  align-items: center;

}



.top-bar-left, .top-bar-right {

  display: flex;

  align-items: center;

  gap: 20px;

}



.badge-pulse {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  background: rgba(37, 211, 102, 0.15);

  color: #4ade80;

  padding: 2px 10px;

  border-radius: var(--radius-full);

  font-weight: 600;

  font-size: 0.78rem;

}



.pulse-dot {

  width: 7px;

  height: 7px;

  background-color: #22c55e;

  border-radius: 50%;

  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);

  animation: pulseAnimation 1.6s infinite;

}



@keyframes pulseAnimation {

  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }

  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }

  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }

}



.top-phone {

  color: #38bdf8;

  font-weight: 700;

  display: inline-flex;

  align-items: center;

  gap: 6px;

}



.top-phone:hover {

  color: #ffffff;

}



/* Site Header */

.site-header {

  position: sticky;

  top: 0;

  z-index: 1000;

  background: rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(12px);

  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid var(--border-color);

  padding: 14px 0;

  transition: all var(--transition-normal);

}



.header-container {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

}



/* Logo */

.logo {

  display: flex;

  align-items: center;

  gap: 12px;

}



.logo-icon {

  position: relative;

  width: 44px;

  height: 44px;

  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);

  border-radius: var(--radius-md);

  display: flex;

  align-items: center;

  justify-content: space-between;

  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);

}



.logo-num {

  font-family: var(--font-heading);

  font-size: 1.4rem;

  font-weight: 800;

  color: #ffffff;

  line-height: 1;

}



.logo-badge-icons {

  position: absolute;

  bottom: -4px;

  right: -6px;

  display: flex;

  background: #ffffff;

  padding: 2px 4px;

  border-radius: var(--radius-full);

  box-shadow: 0 2px 4px rgba(0,0,0,0.12);

  gap: 2px;

}



.logo-badge-icons .icon-water {

  font-size: 0.65rem;

  color: var(--primary-blue);

}



.logo-badge-icons .icon-fire {

  font-size: 0.65rem;

  color: var(--primary-orange);

}



.logo-text {

  display: flex;

  flex-direction: row; justify-content: space-between;

}



.brand-name {

  font-family: var(--font-heading);

  font-size: 1.28rem;

  font-weight: 800;

  color: var(--dark-slate);

  letter-spacing: -0.3px;

  line-height: 1.1;

}



.brand-tag {

  font-size: 0.72rem;

  font-weight: 600;

  color: var(--text-muted);

  text-transform: uppercase;

  letter-spacing: 0.6px;

}



/* City Switcher in Header */

.city-switcher-wrapper {

  display: flex;

  align-items: center;

  gap: 8px;

  background: var(--slate-100);

  padding: 4px 6px;

  border-radius: var(--radius-full);

  border: 1px solid var(--border-color);

}



.city-label {

  font-size: 0.75rem;

  font-weight: 600;

  color: var(--slate-600);

  padding-left: 8px;

}



.city-toggle {

  display: flex;

  gap: 4px;

}



.city-btn {

  border: none;

  background: transparent;

  padding: 6px 14px;

  font-size: 0.84rem;

  font-weight: 600;

  border-radius: var(--radius-full);

  color: var(--slate-700);

  cursor: pointer;

  display: inline-flex;

  align-items: center;

  gap: 6px;

  transition: all var(--transition-fast);

}



.city-btn.active {

  background: #ffffff;

  color: var(--primary-blue-dark);

  box-shadow: var(--shadow-sm);

  font-weight: 700;

}



.city-btn:hover:not(.active) {

  color: var(--primary-blue);

}



/* Navigation Links */

.nav-menu {

  display: flex;

  align-items: center;

  gap: 24px;

}



.nav-link {

  font-size: 0.93rem;

  font-weight: 600;

  color: var(--slate-700);

  position: relative;

  padding: 4px 0;

}



.nav-link::after {

  content: '';

  position: absolute;

  bottom: 0;

  left: 0;

  width: 0;

  height: 2px;

  background-color: var(--primary-blue);

  transition: width var(--transition-fast);

}



.nav-link:hover {

  color: var(--primary-blue);

}



.nav-link:hover::after {

  width: 100%;

}



/* Header Actions */

.header-actions {

  display: flex;

  align-items: center;

  gap: 12px;

}



.mobile-menu-toggle {

  display: none;

  background: none;

  border: 1px solid var(--border-color);

  padding: 8px 12px;

  border-radius: var(--radius-sm);

  font-size: 1.15rem;

  color: var(--dark-slate);

  cursor: pointer;

}



/* ==========================================================================

   Hero Section

   ========================================================================== */

.city-highlight {

  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  border-bottom: 3px solid var(--primary-blue);

}



.footer-logo .logo-num {

  width: 38px;

  height: 38px;

  background: var(--primary-blue);

  color: #ffffff;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: var(--radius-sm);

  font-weight: 800;

}



.brand-logo-img {

  height: 52px;

  width: auto;

  max-width: 230px;

  object-fit: contain;

  display: block;

  transition: transform var(--transition-fast);

}



.logo:hover .brand-logo-img {

  transform: scale(1.02);

}



@media (max-width: 768px) {

  .btn-whatsapp-header {
    display: none !important;
  }

  .city-switcher-wrapper {
    padding: 2px 4px;
    gap: 4px;
  }
  .city-label {
    display: none; /* Hide 'Selected City:' on mobile to save space beside logo */
  }
  .city-btn {
    font-size: 0.65rem;
    padding: 3px 5px;
    letter-spacing: -0.2px;
  }
  .city-btn i {
    display: none; /* Hide icon on mobile to save space */
  }
  


  .nav-menu {
    gap: 0;
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    width: 100%;
    text-align: center;
  }

  .nav-link:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .nav-link:first-child {
    padding-top: 0;
  }



  .top-bar-container {

    flex-direction: row; justify-content: space-between;

    gap: 6px;

    text-align: center;

  }



  .top-bar-left {
    display: flex;
    align-items: center;
  }
  .top-bar-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
  }



  .coverage-text {

    display: none; /* Keep top bar clean on small screens */
  }

  .top-bar-right {
    font-size: 0.65rem;
  }
  .badge-pulse {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  .top-phone {
    font-size: 0.7rem;
  }



  .site-header {

    padding: 10px 0;

  }



  .brand-logo-img {

    height: 40px;

    max-width: 170px;

  }





  .mobile-menu-toggle {

    display: block;

  }

  @keyframes dropdownSlide {
    0% { opacity: 0; transform: translateY(-15px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: auto;
    right: 15px;
    width: 180px;
    height: auto;
    max-height: calc(100vh - 100px);
    padding: 15px;
    background: #ffffff;
    flex-direction: column;
    border: 2px solid var(--primary-blue);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.2);
    gap: 0;
    display: none;
    z-index: 1900;
    transform-origin: top right;
  }
  
  .header-actions, .logo {
    position: relative;
    z-index: 2000;
  }

  
  .site-header {
    z-index: 2000;
  }




  .nav-menu.open {
    display: flex;
    animation: dropdownSlide 0.25s ease-out forwards;
  }

}
