/* ========================================
   导航栏统一样式
   所有页面共用的导航栏CSS
======================================== */

/* 导航栏容器占位 - 防止闪烁 */
#navbar-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 1000;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-200, #e5e7eb);
  z-index: 1000;
}

.navbar-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.navbar-slogan {
  font-size: 14px;
  color: var(--primary, #2C5F8D);
  letter-spacing: 2px;
  font-weight: 600;
  opacity: 0.95;
}

.navbar-nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.navbar-link {
  font-size: 15px;
  color: var(--neutral-700, #374151);
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 8px 0;
  position: relative;
}

.navbar-link:hover {
  color: var(--primary, #2C5F8D);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary, #2C5F8D);
  transition: width 0.2s ease;
}

.navbar-link:hover::after {
  width: 100%;
}

.navbar-link.active {
  color: var(--primary, #2C5F8D);
}
