/* =========================
   MOBILE NAVIGATION
   Works with existing .navigation
   ========================= */

@media (max-width: 768px) {

  /* Nav container */
  .navigation {
    padding: 0 20px;
  }

  /* Hide desktop list */
  .navigation ul {
    position: fixed !important;
    top: var(--nav-height) !important;
    right: 0;
    height: calc(100vh - var(--nav-height));
    width: 260px;
    background: #ffffff;
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1300;
  }

  /* Active state */
  .navigation ul.is-open {
    transform: translateX(0);
  }

  .navigation li a {
    font-size: 1.05rem;
    
  }
  .navigation li{
    margin-top: 2rem;
  }

  /* Hamburger */
  .mobile-toggle {
    width: 35px;
    height: 35px;
    border: 0;
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
  }

  .mobile-toggle span {
    height: 3px;
    width: 100%;
    background: #1a73e8;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* Animate hamburger */
  .mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* Prevent background scroll */
  body.nav-locked {
    overflow: hidden;
  }
}
@media (min-width: 1024px) {
  .navigation {
    display: flex;
    align-items: center;
  }

  .navigation ul {
    margin-left: auto; /* pushes menu to the right */
    display: flex;
    gap: 2rem;
  }
}