/* split from style.css — part 1: base (campaign 2026-09) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* HSL Color Palette - Orange & Black Theme */
  --bg-primary-hsl: 240, 10%, 4%;
  --bg-secondary-hsl: 240, 6%, 10%;
  --bg-tertiary-hsl: 240, 5%, 15%;
  
  --primary-hsl: 25, 95%, 55%; /* Safety Orange */
  --primary-glow-hsl: 25, 95%, 45%;
  
  --text-white: #ffffff;
  --text-grey-hsl: 240, 5%, 70%;
  --text-muted-hsl: 240, 4%, 50%;
  
  /* Conversions */
  --bg-primary: hsl(var(--bg-primary-hsl));
  --bg-secondary: hsl(var(--bg-secondary-hsl));
  --bg-tertiary: hsl(var(--bg-tertiary-hsl));
  --primary: hsl(var(--primary-hsl));
  --text-grey: hsl(var(--text-grey-hsl));
  --text-muted: hsl(var(--text-muted-hsl));
  
  --font-header: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius: 12px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

p {
  color: var(--text-grey);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* The floating nav pill needs more width than the 1200px body content to fit
   its 9 links + Member Login without crowding the logo. Scoped to the header
   so page content keeps its 1200px measure. Still width:100% below this, so
   it never exceeds the viewport. */
header .container {
  max-width: 1300px;
}

.section-padding {
  padding: 80px 0;
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 120px 0;
  }
}

/* Floating Island Navbar */
header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.nav-island {
  pointer-events: auto;
  background: hsla(var(--bg-secondary-hsl), 0.7);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 12px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

header.scrolled .nav-island {
  background: rgba(0, 0, 0, 0.85);
  border-color: hsla(var(--primary-hsl), 0.35);
  box-shadow: 0 8px 32px hsla(var(--primary-hsl), 0.1);
  padding: 8px 24px;
}

.nav-links {
  display: none;
  gap: 20px;
  align-items: center;
}

/* The nav carries 9 links plus the Member Login button. That doesn't fit a
   centred pill below ~1200px, so the desktop row only appears from 1200px up
   (the hamburger drawer — which lists every link — covers everything below).
   Widen the pill past the 1200px body container so the links have breathing
   room on real desktops without crowding the logo. */
@media (min-width: 1200px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  opacity: 0.7;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--primary);
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
}

/* Menu Toggle Button */
.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
}

@media (min-width: 1200px) {
  .menu-btn {
    display: none;
  }
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition-smooth);
}

.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background-color: var(--primary);
}
.menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background-color: var(--primary);
}

/* Mobile Nav Drawer Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: hsla(var(--bg-secondary-hsl), 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 120px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

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

.mobile-nav a {
  font-family: var(--font-header);
  font-size: 1.35rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-header);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  padding: 14px 28px;
  border-radius: 30px; /* Fully rounded buttons */
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 20px hsla(var(--primary-hsl), 0.2);
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 24px hsla(var(--primary-hsl), 0.45);
  background: var(--text-white);
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.03);
}

