/* ═══════════════════════════════════════════════════════
   cassandrastoklosa.com — Shared Styles
   Covers: brand tokens, reset, nav, footer, shared utils
═══════════════════════════════════════════════════════ */

/* ─── Brand Tokens ─────────────────────────────────── */
:root {
  --bg:        #010101;
  --bg2:       #000000;
  --purple:    #6500ff;
  --purple2:   #7a00df;
  --text:      #bbbbbb;
  --white:     #ffffff;
  --font-h:    'Poppins', sans-serif;
  --font-b:    'Montserrat', sans-serif;
  --radius:    14px;
  --card-bg:   #0a0a0a;
  --card-bdr:  rgba(255,255,255,0.07);
  --nav-h:     68px;
}

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  line-height: 1.85;
  overflow-x: hidden;
}

/* ─── Site Nav ──────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(1,1,1,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 36px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  transition: opacity .2s;
}
.nav-logo:hover { opacity: .8; }
.nav-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: .92rem;
  color: var(--white);
  letter-spacing: -.2px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-h);
  font-size: .82rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: .04em;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links a.nav-cta {
  background: var(--purple2);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.nav-links a.nav-cta:hover {
  background: var(--purple);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(101,0,255,.35);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 2px;
  z-index: 210;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .28s ease, opacity .28s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(1,1,1,0.97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 32px 48px;
    gap: 28px;
    transform: translateY(-110%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.1rem; color: var(--white); }
  .nav-links a.nav-cta {
    padding: 12px 28px;
    font-size: .9rem;
  }
}

/* ─── Shared Buttons ────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--purple2);
  color: var(--white);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  padding: 16px 42px;
  border: none;
  cursor: pointer;
  transition: background .25s, transform .2s, box-shadow .25s;
}
.btn-primary:hover {
  background: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(101,0,255,.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: rgba(255,255,255,.85);
  font-family: var(--font-h);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  padding: 15px 42px;
  border: 1px solid rgba(255,255,255,.18);
  cursor: pointer;
  transition: border-color .25s, color .25s, transform .2s;
}
.btn-secondary:hover {
  border-color: var(--purple2);
  color: var(--purple2);
  transform: translateY(-2px);
}

/* ─── Site Footer ────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 32px;
  text-align: center;
  background: var(--bg2);
}
.footer-logo {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: .95rem;
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-h);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: rgba(187,187,187,.45);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--purple); }
.footer-copy {
  font-size: .7rem;
  color: rgba(187,187,187,.25);
  font-family: var(--font-b);
}

/* ─── Footer Bottom (Cal credit + LinkedIn) ─────────── */
.footer-bottom {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-copy {
  font-size: .7rem;
  color: rgba(187,187,187,.25);
  font-family: var(--font-b);
}
.footer-bottom-copy a {
  color: rgba(187,187,187,.4);
  text-decoration: none;
  transition: color .2s;
}
.footer-bottom-copy a:hover { color: var(--purple); }
.footer-linkedin-sm {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: rgba(187,187,187,.4);
  font-family: var(--font-h);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .06em;
  transition: color .2s;
}
.footer-linkedin-sm:hover { color: var(--purple); }
.footer-linkedin-sm img {
  width: 16px; height: 16px;
  object-fit: contain;
  opacity: .4;
  transition: opacity .2s;
}
.footer-linkedin-sm:hover img { opacity: .8; }

/* ─── Utility ────────────────────────────────────────── */
.nav-offset { padding-top: var(--nav-h); }
