/* ===================================================
   JJ's Studios — Body Rock Dance Academy
   Global Stylesheet v2
   =================================================== */

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

:root {
  --black: #0f0f0f;
  --white: #fffef8;
  --burg: #7b1c36;
  --burg-light: #a82547;
  --gold: #c9a96e;
  --mid: #1a1a1a;
  --card: #222222;
  --border: rgba(255,254,248,0.08);
  --text-muted: rgba(255,254,248,0.55);
  --text-dim: rgba(255,254,248,0.35);
  --radius: 8px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1.05;
}
.display { font-size: clamp(3.5rem, 8vw, 7rem); }
.heading-xl { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.heading-lg { font-size: clamp(2rem, 4vw, 3rem); }
.heading-md { font-size: 1.8rem; }
.accent { color: var(--gold); }
.burg { color: var(--burg); }

.label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--burg);
  display: block;
  margin-bottom: 0.8rem;
}
.label-gold { color: var(--gold); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  height: 84px;
  background: rgba(15,15,15,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--burg);
}

.nav-logo img {
  height: 72px;
  width: auto;
  display: block;
  /* Slight glow to make it pop */
  filter: drop-shadow(0 0 12px rgba(201,169,110,0.25));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,254,248,0.06);
}

.nav-links a.active {
  color: var(--white);
  background: var(--burg);
}

.nav-links a.nav-jj {
  color: var(--gold);
}

.nav-links a.nav-cta {
  background: var(--gold);
  color: var(--black);
  font-weight: 900;
}
.nav-links a.nav-cta:hover {
  background: var(--burg);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 84px; left: 0; right: 0; bottom: 0;
  background: rgba(15,15,15,0.98);
  z-index: 299;
  padding: 2rem;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--white); background: rgba(255,254,248,0.05); border-left-color: var(--burg); }
.mobile-menu a.nav-jj { color: var(--gold); }
.mobile-menu a.nav-cta {
  margin-top: 1rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 900;
  border-left-color: transparent;
  text-align: center;
}

/* ── PAGE WRAPPER ── */
.page-content { padding-top: 84px; }

/* ── HERO ── */
.hero-section {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 4rem 5rem;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 70% 50%, rgba(123,28,54,0.22) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero-title { margin: 1rem 0 1.5rem; }
.hero-title .line-outline {
  display: block;
  -webkit-text-stroke: 2px var(--gold);
  color: transparent;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: #dbb95a; transform: translateY(-2px); }
.btn-burg { background: var(--burg); color: var(--white); }
.btn-burg:hover { background: var(--burg-light); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid rgba(255,254,248,0.25); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); background: rgba(201,169,110,0.08); transform: translateY(-2px); }

/* ── SECTIONS ── */
.section { padding: 6rem 4rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 3.5rem; }
.section-header p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; max-width: 580px; margin-top: 1rem; }

/* ── DIVIDERS ── */
.divider { height: 1px; background: var(--border); margin: 0; }
.burg-strip {
  background: var(--burg);
  padding: 1.2rem 4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,254,248,0.8);
  text-align: center;
}

/* ── CARDS ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}
.card:hover { border-color: rgba(123,28,54,0.4); transform: translateY(-3px); }

.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5px; }
.card-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5px; }

/* ── STATS STRIP ── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  background: var(--burg);
}
.stat-item {
  padding: 1.8rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,254,248,0.7);
  margin-top: 0.4rem;
}

/* ── MARQUEE ── */
.marquee-wrap {
  background: linear-gradient(90deg, var(--burg), var(--burg-light), var(--burg));
  padding: 1rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
}
.marquee-item {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(255,254,248,0.9);
  white-space: nowrap;
  padding: 0 2.5rem;
}
.marquee-item::after { content: '✦'; color: rgba(255,254,248,0.35); margin-left: 2.5rem; font-style: normal; font-size: 0.65rem; vertical-align: middle; }

/* ── FOOTER ── */
.footer {
  background: var(--mid);
  border-top: 2px solid var(--burg);
  padding: 5rem 4rem 3rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}
.footer-logo img { height: 50px; width: auto; margin-bottom: 1.2rem; display: block; }
.footer-tagline { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-col a.jj-link { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-dim); }
.footer-socials { display: flex; gap: 1.5rem; }
.footer-socials a {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition);
}
.footer-socials a:hover { color: var(--gold); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  min-height: 48vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 4rem 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(123,28,54,0.25) 0%, transparent 68%);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 2; }
.page-hero h1 { margin: 0.8rem 0 1.2rem; }
.page-hero p { color: rgba(255,254,248,0.72); font-size: 1rem; line-height: 1.8; max-width: 520px; }
/* Label on dark hero — ensure visibility */
.page-hero .label {
  color: var(--gold);
  background: rgba(0,0,0,0.4);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  display: inline-block;
}

/* ── ANIMATIONS ── */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }

.fade-up { opacity: 0; animation: fadeUp 0.7s forwards; }
.fade-up-1 { animation-delay: 0.2s; }
.fade-up-2 { animation-delay: 0.4s; }
.fade-up-3 { animation-delay: 0.6s; }
.fade-up-4 { animation-delay: 0.8s; }

/* ── UTILITIES ── */
.dark-bg { background: var(--black); }
.mid-bg { background: var(--mid); }
.text-center { text-align: center; }
.gold-bar { width: 50px; height: 3px; background: var(--burg); margin-bottom: 2rem; }
.burg-bar { width: 50px; height: 3px; background: var(--gold); margin-bottom: 2rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 0.5rem 0.6rem; font-size: 0.7rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav { padding: 0 1.2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-section { padding: 5rem 1.5rem 4rem; }
  .section { padding: 4rem 1.5rem; }
  .page-hero { padding: 7rem 1.5rem 4rem; }
  .card-grid-3, .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .footer { padding: 4rem 1.5rem 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .burg-strip { padding: 1rem 1.5rem; }
}

@media (max-width: 480px) {
  .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  .display { font-size: 3rem; }
}
