/* Header Styles */
.navbar {
  background: var(--color-bg-primary);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: var(--z-sticky);
  padding: var(--spacing-md) 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  text-decoration: none;
  margin-right: var(--spacing-xl);
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  color: var(--color-text-dark);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-link:hover {
  color: var(--color-primary);
  background: var(--color-bg-secondary);
}

.nav-link.active {
  color: var(--color-primary);
  background: var(--color-bg-secondary);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-text-primary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

@media (max-width: 1200px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--color-bg-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--spacing-xl);
    gap: 0;
    box-shadow: var(--shadow-xl);
    transition: left var(--transition-base);
    z-index: var(--z-mobile-nav);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    width: 100%;
    padding: var(--spacing-md);
    display: block;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--color-bg-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--spacing-xl);
    gap: 0;
    box-shadow: var(--shadow-xl);
    transition: left var(--transition-base);
    z-index: var(--z-mobile-nav);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    width: 100%;
    padding: var(--spacing-md);
    display: block;
  }
}
