:root{
  --font-imported: 1;
/* Header styles shared across pages */
/* Fonts are imported from base.css to avoid duplicate requests and ensure all pages load the same weights. */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--color-gray-200);
  padding: 1.25rem 0;
  z-index: 1000;
  transition: all 0.3s;
}
nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
nav > div { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
.logo-container { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; }
.logo-img { width: 40px; height: 40px; object-fit: contain; }
.logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav-menu { display: flex; list-style: none; gap: 2.5rem; align-items: center; }
.nav-menu a { text-decoration: none; color: var(--color-gray-900); font-weight: 500; transition: color 0.2s; }
.nav-menu a:hover { color: var(--color-primary); }
.nav-cta { background: var(--color-primary); color: white !important; padding: 0.75rem 1.5rem; border-radius: 8px; }
.nav-cta:hover { background: var(--color-primary-dark); }
.lang-minimal { display: flex; gap: 0.5rem; align-items: center; color: var(--color-gray-600); }

/* Desktop / mobile helpers; mobile menu implementation is in mobile-menu.css */
@media (max-width: 768px) {
  .desktop-menu { display: none !important; }
}
@media (min-width: 769px) {
  .mobile-menu-btn { display: none; }
  .mobile-menu, .mobile-menu-overlay { display: none; }
}

/* Ensure pages that include the header don't have their content hidden under the fixed nav.
   Pages can still set their own --header-height variable or manually add body padding if desired. */
body { padding-top: var(--header-height); }

/* Improve anchor navigation so in-page anchors don't get hidden under the fixed header. */
html { scroll-padding-top: calc(var(--header-height) + 8px); }
