/* Adjust nav menu positioning for this flex layout */
#menu {
    position: static;
    margin: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
  }
  
  /* Ensure nav items stay inline */
  #menu ul {
    display: flex;
    gap: 10px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    background: none;
  }
  
  #menu li {
    background: none;
    margin: 0;
  }
  
  #menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    min-width: 120px;
    color: #eaf8f6;
    font-size: 20px;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 6px;
    background-color: transparent;
    transition: background 0.3s, color 0.3s;
  }
  
  #menu a:hover {
    background: #54a4ee;
    color: #faf9f6;
  }
  
  .socialLinks a {
    margin-left: 10px;
    color: #eaf8f6;
  }
  
  /* Responsive collapse */
  @media screen and (max-width: 800px) {
    .headerBar {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .menuContainer {
      order: 2;
      width: 100%;
      justify-content: center;
    }
  
    .linksContainer {
      order: 3;
      text-align: center;
      margin-top: 10px;
    }
  
    #menu ul {
      flex-direction: column;
    }
  }