/* header.css */
.header {
    background-color: var(--header-bg);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    box-sizing: border-box;
  }
  
  .header-left {
    display: flex;
    align-items: center;
    gap: 13rem;
  }
  
  .header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
  }
  
  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--hamburger-color);
    transition: all 0.3s ease;
  }
  
  .hamburger-menu:hover {
    background-color: transparent;
  }
  
  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .logo-container {
    height: 30px;
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .logo-container a {
    display: flex;
    height: 100%;
    align-items: center;
    text-decoration: none;
  }
  
  .logo {
    height: 100%;
    width: auto;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
  }
  
  .logo-light { opacity: 1; }
  .logo-dark { opacity: 0; }
  .dark-mode .logo-light { opacity: 0; }
  .dark-mode .logo-dark { opacity: 1; }
  
  .header-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
    height: 100%;
  }
  
  .nav-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
  }
  
  .nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(75, 193, 122, 0.1);
  }
  
  .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(75, 193, 122, 0.15);
    font-weight: 500;
  }
  
  /* Dark Mode Toggle */
  .dark-mode-toggle {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 20%;
    transition: background-color 0.3s ease;
  }
  
  .dark-mode-toggle:hover {
    background-color: rgba(75, 193, 122, 0.1);
  }
  
  .dark-mode-toggle svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
  }
  
  .dark-mode-toggle .moon { display: none; }
  .dark-mode .dark-mode-toggle .sun { display: none; }
  .dark-mode .dark-mode-toggle .moon { display: inline; }
  
  @media (max-width: 768px) {
    .header {
      padding: 1rem;
    }
  
    .header-left {
      gap: 1rem;
    }
  
    .header-nav {
      position: fixed;
      top: 72px;
      left: 0;
      right: 0;
      background-color: var(--header-bg);
      padding: 1rem;
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
      border-bottom: 1px solid var(--border-color);
      transform: translateY(-1%);
      opacity: 0;
      visibility: hidden;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
  
    .hamburger-menu {
      display: flex;
    }
  
    .header-nav.active {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
    }
  
    .nav-link {
      width: 100%;
      padding: 0.75rem 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .header-left {
      gap: 1rem;
    }
  
    .logo-container {
      min-width: 100px;
    }
  
    .nav-link {
      padding: 0.5rem;
    }
  }