/* ===============================
   MOBILE MENU ONLY STYLES
================================ */

/* Hide toggle on desktop */
.mobile-menu-toggle {
  display: none;
}

/* Mobile breakpoint */
@media (max-width: 900px) {

  /* Show hamburger */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .mobile-menu-toggle span {
    height: 2px;
    width: 100%;
    background: #111;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* Animate into X */
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

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

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

  /* Mobile menu panel */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    padding: 6rem 2rem 2rem;
    transition: right 0.35s ease;
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  /* Stack links vertically */
  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  /* CTA spacing */
  .nav-links .cta-button {
    margin-top: 1rem;
    text-align: center;
  }

  /* Optional overlay */
  body.mobile-menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 999;
  }

}
