/* LOCATLAS Header Styling - Horizontal Layout */
/* Logo (left) + "by LOCALE MAGAZINE" (right, same line) + tagline (centered below) */

.locatlas-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  z-index: 999;
  padding: 10px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* Top row: Logo + Byline (horizontal) */
.locatlas-header::before {
  content: '';
  display: block;
}

.header-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-content: center;
}

.header-logo {
  height: 28px;
  width: auto;
  display: block;
}

.header-byline {
  font-family: 'Afacad', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.5px;
  margin: 0;
  white-space: nowrap;
}

.header-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  color: #666;
  margin: 0;
  text-align: center;
}

/* Adjust map container to account for header */
#map {
  position: absolute;
  top: 90px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
}

/* Fix mobile top bar position to be below header */
@media (max-width: 768px) {
  .mobile-top-bar {
    top: 80px !important; /* Position below header */
    z-index: 1000 !important; /* Above header (999) so buttons are clickable */
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .locatlas-header {
    padding: 8px 15px;
    gap: 4px;
  }
  
  .header-logo-row {
    gap: 8px;
  }
  
  .header-logo {
    height: 24px;
  }
  
  .header-byline {
    font-size: 12px;
    letter-spacing: 0.3px;
  }
  
  .header-tagline {
    font-size: 13px;
  }
  
  #map {
    top: 75px;
  }
}

/* Desktop - slightly larger */
@media (min-width: 769px) {
  .locatlas-header {
    padding: 12px 30px;
    gap: 8px;
  }
  
  .header-logo-row {
    gap: 15px;
  }
  
  .header-logo {
    height: 32px;
  }
  
  .header-byline {
    font-size: 16px;
    letter-spacing: 0.5px;
  }
  
  .header-tagline {
    font-size: 18px;
  }
  
  #map {
    top: 100px;
  }
}
