/*
 * Shared site header (templates/partials/site_header.html).
 * Visual copy of the header in templates/events/goralskie_update.html, but in
 * normal document flow (no absolute positioning / JS padding needed).
 */

.site-header {
  /* Matches what the main page actually renders: white bar, near-black text. */
  --sh-bg: 0 0% 100%;
  --sh-fg: 0 0% 8%;
  --sh-radius: 0.5rem;

  box-sizing: border-box;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 32px;
  background: hsl(var(--sh-bg));
  color: hsl(var(--sh-fg));
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.site-header p { margin: 0; }

.site-header__logo-link { display: block; line-height: 0; }
.site-header__logo { height: 80px; width: auto; }

.site-logo {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.site-logo a { color: hsl(var(--sh-fg)); text-decoration: none; }

.site-tagline {
  font-size: 14px;
  color: hsl(var(--sh-fg));
  margin-top: 4px !important;
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: hsl(var(--sh-fg));
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  padding: 8px 14px;
  border-radius: var(--sh-radius);
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.3s ease;
}
.nav-btn:hover {
  background: hsl(var(--sh-fg) / 0.06);
  transform: translateY(-2px);
}
.nav-btn i { font-size: 16px; }

/* Link to the site's own Facebook page (distinct from the "Facebook" section button) */
.fb-follow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #1877f2;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.fb-follow:hover {
  background: #166fe5;
  transform: translateY(-2px);
}
.fb-follow i { font-size: 16px; }

/* Link to the site's own Instagram account */
.ig-follow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  margin-left: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.ig-follow:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
}
.ig-follow i { font-size: 16px; }

@media (max-width: 768px) {
  .site-header {
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .site-logo { font-size: 24px; }
  .nav-bar { gap: 6px; flex-wrap: wrap; }
  .nav-btn { padding: 6px 10px; font-size: 12px; }
  .nav-btn span { display: none; }
  .nav-btn i { font-size: 18px; }
}
