/* Lightweight Mobile Menu Styles */
/* Replaces Squarespace menu overlay system */

/* Menu starts hidden off-screen */
.header-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Menu visible state */
.header-menu.menu-open {
  transform: translateX(0);
}

/* Hamburger button animation */
.header-burger-btn {
  position: relative;
  z-index: 1001; /* Above menu */
}

/* Accessibility: Focus states */
.header-burger-btn:focus {
  outline: 2px solid #f4ca78; /* Gold color from your brand */
  outline-offset: 2px;
}

/* Ensure menu content is accessible */
.header-menu-nav {
  opacity: 0;
  transition: opacity 0.2s ease-in-out 0.1s;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-menu.menu-open .header-menu-nav {
  opacity: 1;
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Mobile and Tablet adjustments */
@media (max-width: 1024px) {
  /* Hide hamburger menu and navigation on mobile and tablet */
  .header-burger-btn {
    display: none;
  }

  .header-menu {
    display: none;
  }
}

/* Desktop - menu should be visible (not slide-in) */
@media (min-width: 1025px) {
  .header-menu {
    position: static;
    transform: none;
    overflow: visible;
  }

  .header-menu-nav {
    opacity: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }

  .header-menu-nav li {
    margin: 0;
  }

  .header-menu-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
  }

  .header-menu-nav a:hover {
    color: #f4ca78;
  }

  /* Hide hamburger button on desktop */
  .header-burger-btn {
    display: none;
  }
}
