@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
}

.header {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.bg {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* Invisible clickable overlay sitting exactly over the nav links in the PNG */
.nav-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7%;
}

.nav-link {
  position: absolute;
  top: 0;
  height: 100%;
  color: rgba(0,0,0,0.01);
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

/* ── Hamburger button (hidden on desktop) ── */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 26px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  margin-left: auto;
}

/* Desktop: nav-links behaves like a normal flex row */
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

/* ── Mobile styles ── */
@media (max-width: 768px) {
  .slim-nav {
    padding: 10px 16px !important;
    gap: 0 !important;
    flex-wrap: wrap;
  }
  .hamburger {
    display: block;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding-top: 4px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 10px 4px !important;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 15px !important;
  }

  /* Home page: show a visible mobile nav bar */
  .mobile-home-nav {
    display: flex !important;
  }
  /* Hide the invisible overlay nav on mobile */
  .nav-overlay {
    display: none;
  }
}

/* Home page mobile nav — hidden on desktop */
.mobile-home-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 58, 92, 0.97);
  z-index: 1000;
  padding: 10px 16px;
  box-sizing: border-box;
  flex-wrap: wrap;
  align-items: center;
}
.mobile-home-nav .hamburger {
  display: block;
  color: white;
}
.mobile-home-nav .nav-links {
  display: none;
  flex-direction: column;
  width: 100%;
  gap: 0;
}
.mobile-home-nav .nav-links.open {
  display: flex;
}
.mobile-home-nav a {
  color: white;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 4px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: block;
}
.mobile-home-nav a.membership { color: #e53935; }

