/* ========== YOUR ORIGINAL CSS (unchanged) ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  background: white;
  color: black;
  overflow-x: hidden;
}

.stripe-bar {
  display: flex;
  width: 100%;
  height: 10px;
}

.stripe {
  flex: 1;
}

.stripe.white {
  background: white;
}

.stripe.black {
  background: black;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  height: 40px;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin-left: 460px;
}

nav ul li a {
  position: relative;
  font-size: 1.2rem;
  text-decoration: none;
  color: black;
  font-weight: 400;
  letter-spacing: 1px;
  transition: color 0.3s;
  margin-left: 20px;
  font-family: monospace;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: black;
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: gray;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: gray;
}

.available-nav {
  font-family: monospace;
  font-size: 0.9rem;
  background: black;
  color: white;
  padding: 6px 12px;
  margin-left: auto;
}

/* ========== ADDITIONS (for hamburger + mobile dropdown) ========== */

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
}
.hamburger span {
  width: 100%;
  height: 3px;
  background-color: black;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* X animation */
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile overrides */
@media (max-width: 900px) {
  /* Make header the positioning context so the menu drops right below it */
  .navbar { position: relative; }

  /* Show hamburger */
  .hamburger { display: flex; margin-left: auto; }

  /* Hide the "Available for work" badge on mobile */
  .available-nav { display: none; }

  /* Turn the UL into a shutter dropdown below the header */
  nav ul {
    position: absolute;
    top: 100%;           /* directly below the header */
    left: 0;
    right: 0;
    margin-left: 0;      /* override your desktop offset */
    flex-direction: column;
    align-items: flex-start;
    background: white;
    padding: 20px;
    gap: 1rem;
    display: none;       /* hidden by default */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1), 0 3px 6px rgba(0,0,0,0.05);
    z-index: 1001;
  }
  nav ul.show { display: flex; }
}