/* ============================================
   FITNESS CAMPUS — Shared Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,800;0,900;1,900&family=Barlow:wght@400;500;600&display=swap');

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

:root {
  --bg:       #0a0a0a;
  --bg2:      #111111;
  --bg3:      #1a1a1a;
  --bg4:      #222222;
  --accent:   #606e4d;
  --accent2:  #7a8f5f;
  --accent3:  #4a5639;
  --text:     #f0ede8;
  --text-dim: #999;
  --text-muted: #555;
  --border:   #2a2a2a;
  --border2:  #333;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── GRAIN OVERLAY ───────────────────────── */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* ── PROMO BANNER ────────────────────────── */
.promo-banner {
  background: var(--accent);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  z-index: 100;
}
.promo-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}
.promo-track span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  padding: 0 48px;
  flex-shrink: 0;
}
.promo-track span::before {
  content: '◆';
  margin-right: 48px;
  opacity: 0.6;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── NAVBAR ──────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.nav-logo img {
  height: 48px;
  filter: invert(1);
  display: block;
}
.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-badge {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent2);
  border: 1px solid var(--accent3);
  padding: 6px 14px;
  cursor: pointer;
}
.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--text);
  padding: 12px 28px;
  text-decoration: none;
  border: 1px solid var(--border2);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-outline:hover { border-color: var(--text-dim); }

/* ── FOOTER ──────────────────────────────── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 72px 48px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand img {
  height: 44px;
  filter: invert(1);
  opacity: 0.85;
  margin-bottom: 20px;
  display: block;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 240px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text); }
.footer-col p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  width: 32px; height: 32px;
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent2); }

/* ── SECTION LABEL ───────────────────────── */
.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

/* ── CTA BANNER ──────────────────────────── */
.cta-banner {
  background: var(--accent);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: 'CAMPUS';
  position: absolute;
  font-family: var(--font-display);
  font-size: 280px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(0,0,0,0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  color: #fff;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}
.cta-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.cta-banner .btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.btn-dark {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--bg);
  color: var(--text);
  padding: 14px 32px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-dark:hover { background: var(--bg3); }

/* ── UTILITY ─────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

@media (max-width: 900px) {
  .navbar { padding: 0 24px; }
  .nav-links { display: none; }
  footer { padding: 48px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .container { padding: 0 24px; }
}
