.nav {
    position: fixed;
    min-width: 100vw;
    background-color: rgba(255,255,255,0.7);
    z-index: 1000;
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: relative;
  }
  
  .logo a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
  }
  
  /* =========================
     Checkbox Toggle
  ========================= */
  
  .menu-toggle {
    display: none;
  }
  
  /* =========================
     Hamburger
  ========================= */
  
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: relative;
    z-index: 1000; /* stays above overlay */
  }
  
  .hamburger span {
    width: 26px;
    height: 3px;
    background: #5b7984;
    transition: 0.3s ease;
  }
  
  /* Animate to X */
  
  .menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* =========================
     Mobile Fullscreen Overlay
  ========================= */
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
  
    background-color: rgba(255,255,255);
  
    display: flex;
    justify-content: center;
    align-items: center;
  
    transform: translateY(-100%);
    transition: transform 0.35s ease;
  
    z-index: 999;
  }
  
  .menu-toggle:checked ~ .nav-menu {
    transform: translateY(0);
  }
  
  /* WordPress UL Output */
  
  .nav-menu ul {
    list-style: none;
    text-align: center;
    margin: 0em;
    padding: 0em;
  }
  
  .nav-menu li {
    margin: 1.5rem 0;
  }
  
  .nav-menu a {
    font-size: 1.5rem;
    color: #5b7984;
    text-decoration: none;
    font-weight: bold;

  }
  
  /* Current page highlight (WordPress auto class) */
  
  .current_page_item > a {
    color: #0d2b36;
  }
  
  /* =========================
     Desktop Styles
  ========================= */
  
  @media (min-width: 768px) {
  
    .hamburger {
      display: none;
    }
  
    .nav-menu {
      position: static;
      height: auto;
      width: auto;
      transform: none;
      background: none;
      display: block;
    }
  
    .nav-menu ul {
      display: flex;
      gap: 2rem;
    }
  
    .nav-menu li {
      margin: 0;
    }
  
    .nav-menu a {
      font-size: 1rem;
    }
  
  }
