/* ===== SHARED SITE HEADER — used by all website pages (not the map) ===== */

/* Header container — fixed at top */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #0c0c19;
  border-bottom: 1px solid rgba(99,102,241,0.1);
}

.site-header-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Brand */
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.site-brand span {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
}

/* Language flags */
#langFlags {
  display: flex;
  gap: 4px;
  align-items: center;
}
.lang-flag {
  display: block;
  width: 24px;
  height: 16px;
  border-radius: 3px;
  overflow: hidden;
  opacity: 0.4;
  transition: opacity 0.15s;
}
.lang-flag:hover { opacity: 0.7; }
.lang-flag.active { opacity: 1; }
.lang-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CTA button */
.site-cta {
  padding: 9px 18px;
  background: linear-gradient(135deg, #6366f1, #818cf8);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.site-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.4);
  text-decoration: none;
  color: #fff;
}

/* Nav menu */
.site-nav {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #888;
  transition: color 0.15s;
  text-decoration: none;
  padding: 10px 0;
}
.site-nav a:hover { color: #fff; text-decoration: none; }
.site-nav a.active { color: #fff; }

/* Spacer to push content below fixed header */
.site-header-spacer {
  height: 110px; /* header + nav */
}

/* Footer */
.site-footer {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.site-footer .links {
  padding-top: 20px;
  border-top: 1px solid rgba(99,102,241,0.12);
  font-size: 12px;
  color: #555;
}
.site-footer .links a {
  color: #888;
  margin-right: 16px;
}

@media (max-width: 600px) {
  .site-header-inner { padding: 12px 16px; }
  .site-nav { gap: 16px; padding: 0 16px; }
  .site-nav a { font-size: 13px; }
  .site-brand span { font-size: 15px; }
  .site-cta { padding: 8px 14px; font-size: 12px; }
  .site-header-spacer { height: 100px; }
}
