/* ─────────────────────────────────────────
   Bill Whitney Portfolio — Shared Styles
   ───────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --black:   #080808;
  --white:   #f0ede8;
  --accent:  #b8a98a;
  --muted:   #4a4a4a;
  --dim:     #222;
  --nav-h:   60px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── NAV ───────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(8,8,8,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #161616;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-decoration: none;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 201;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--white);
  transition: transform 0.35s ease, opacity 0.35s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-dropdown {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #161616;
  padding: 20px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 199;
}
.nav-dropdown.open {
  transform: translateY(0);
}
.nav-dropdown a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  letter-spacing: 0.06em;
  color: var(--white);
  transition: color 0.2s, letter-spacing 0.2s;
  line-height: 1.2;
}
.nav-dropdown a:hover {
  color: var(--accent);
  letter-spacing: 0.1em;
}
.nav-dropdown a.current { color: var(--accent); }

/* ── FOOTER ────────────────────────────── */
.site-footer {
  margin-top: auto;
  border-top: 1px solid #141414;
  padding: 20px 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.site-footer .f-name {
  color: var(--white);
  font-weight: 500;
}
.site-footer a {
  color: var(--accent);
  transition: opacity 0.2s;
}
.site-footer a:hover { opacity: 0.7; }

/* ── PAGE BODY ─────────────────────────── */
.page-body {
  padding-top: var(--nav-h);
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── UTILITY ────────────────────────────── */
.label {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
