/* =============================================
   WC2026Sim — Site-wide navigation
   Self-contained: works on all page templates
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

.site-nav {
  background: #060D1A;
  border-bottom: 1px solid rgba(245,200,66,0.18);
  position: sticky;
  top: 0;
  z-index: 200;
}

.site-nav__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
}

/* Logo */
.site-nav__logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  margin-right: 32px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.site-nav__logo:hover { opacity: 0.88; text-decoration: none; }
.site-nav__logo-year { color: #F5C842; }

/* Nav links */
.site-nav__links {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 1;
}

.site-nav__link {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  font-family: system-ui, -apple-system, sans-serif;
}
.site-nav__link:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}
.site-nav__link[aria-current="page"] {
  color: #F5C842;
  background: rgba(245,200,66,0.1);
}

/* Right side: lang + theme + burger */
.site-nav__right {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

/* Override lang-btn styling inside dark nav */
.site-nav .lang-btn,
.site-nav .theme-toggle-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 14px;
  line-height: 1;
}
.site-nav .lang-btn:hover,
.site-nav .theme-toggle-btn:hover { border-color: #F5C842; }
.site-nav .lang-btn.active {
  border-color: #F5C842;
  background: rgba(245,200,66,0.12);
}
.lang-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }

/* Burger button (hidden on desktop) */
.site-nav__burger {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 18px;
  padding: 5px 9px;
  cursor: pointer;
  border-radius: 6px;
  line-height: 1;
  font-family: system-ui, sans-serif;
}
.site-nav__burger:hover { border-color: #F5C842; background: rgba(245,200,66,0.08); }

/* ===== Mobile ===== */
@media (max-width: 640px) {
  .site-nav__inner { height: 52px; }

  .site-nav__logo { margin-right: auto; }

  .site-nav__links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: #060D1A;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 20px 16px;
    border-bottom: 1px solid rgba(245,200,66,0.18);
    gap: 2px;
    z-index: 199;
  }
  .site-nav__links.open { display: flex; }

  .site-nav__link {
    padding: 10px 12px;
    font-size: 15px;
    width: 100%;
  }

  .site-nav__burger { display: flex; }
}
