/*
Theme Name: Jiu Jitsu Labs
Theme URI: https://jiujitsulabs.com
Author: Jiu Jitsu Labs Rotterdam
Description: Custom theme for Jiu Jitsu Labs Rotterdam BJJ Academy
Version: 2.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --white:      #ffffff;
  --light:      #f5f5f0;
  --light2:     #ececec;
  --navy:       #0d1b2a;
  --navy2:      #0a1520;
  --gold:       #c9a84c;
  --gold-dk:    #a87e32;
  --text:       #1a1a1a;
  --text-sub:   #555555;
  --border:     #e0ddd5;
  --font:       'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; font-size: 16px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 14px 30px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--gold-dk); border-color: var(--gold-dk); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-dark { background: var(--navy); border-color: var(--navy); }
.btn-dark:hover { background: #1a2e42; border-color: #1a2e42; }

/* ── HEADER / NAV ────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.site-logo {
  font-family: var(--font);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--white);
  flex-shrink: 0;
}
.site-logo span { color: var(--gold); }
.nav-logo-img { height: 46px; width: auto; }

#primary-menu {
  display: flex;
  list-style: none;
  gap: 0;
  flex: 1;
  justify-content: center;
}
#primary-menu li a {
  display: block;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
#primary-menu li a:hover,
#primary-menu li.current-menu-item a {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.nav-cta .btn { padding: 10px 20px; font-size: 11px; }
.nav-phone {
  color: rgba(255,255,255,.65);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: color .2s;
}
.nav-phone:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: .3s; }

/* ── HERO ────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13,27,42,.90) 0%, rgba(13,27,42,.60) 55%, rgba(13,27,42,.30) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  color: var(--white);
  padding-top: 76px;
}
.hero-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.80);
  margin-bottom: 38px;
  max-width: 500px;
  line-height: 1.75;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.45);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  z-index: 2;
  text-align: center;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.25);
  margin: 8px auto 0;
}

/* ── LOVE BAR ────────────────────────────── */
#love-bar {
  background: var(--gold);
  padding: 22px 0;
  text-align: center;
  overflow: hidden;
}
.love-bar-text {
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ── METHODOLOGY ─────────────────────────── */
#methodology {
  background: var(--light);
  padding: 88px 0;
}
.methodology-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.methodology-img-wrap {
  position: relative;
  overflow: hidden;
}
.methodology-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.methodology-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.methodology-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--navy);
}
.methodology-body {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 12px;
}
.methodology-body + .methodology-body { margin-bottom: 28px; }

/* ── SECTION SHARED ──────────────────────── */
.section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--navy);
}
.section-body {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.85;
}

/* ── PROGRAMS ────────────────────────────── */
#programs {
  background: var(--white);
  padding: 88px 0;
}
.programs-header {
  text-align: center;
  margin-bottom: 52px;
}
.programs-header .section-body { max-width: 600px; margin: 12px auto 0; }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.program-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: default;
}
.program-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.program-card:hover img { transform: scale(1.06); }
.program-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,.92) 0%, rgba(13,27,42,.3) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
}
.program-card-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.program-card-title {
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.program-card-desc {
  color: rgba(255,255,255,.75);
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.program-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: gap .2s;
}
.program-card-link::after { content: '→'; }
.program-card:hover .program-card-link { gap: 10px; }

/* ── JITSU FOR EVERYONE BANNER ───────────── */
#everyone-banner {
  background: var(--navy);
  padding: 60px 0;
  text-align: center;
}
.everyone-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: .03em;
}
.everyone-sub {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 36px;
}

/* ── STATS BAR ───────────────────────────── */
#stats-bar {
  background: var(--navy2);
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* ── INSTRUCTOR SPLIT ────────────────────── */
#instructor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.instructor-img-wrap {
  position: relative;
  overflow: hidden;
}
.instructor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.instructor-content {
  background: var(--light);
  display: flex;
  align-items: center;
  padding: 80px 64px;
}
.instructor-inner { max-width: 440px; }
.instructor-content .section-label { margin-bottom: 8px; }
.instructor-content .section-title { margin-bottom: 8px; }
.instructor-belt {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 24px;
}
.instructor-body {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 14px;
}
.instructor-quote {
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  margin: 24px 0 28px;
  line-height: 1.6;
}

/* ── SCHEDULE ────────────────────────────── */
#schedule {
  background: var(--white);
  padding: 88px 0;
}
.schedule-header { text-align: center; margin-bottom: 52px; }
.schedule-header .section-body { max-width: 560px; margin: 12px auto 0; }
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.schedule-card {
  background: var(--light);
  padding: 36px 24px;
  text-align: center;
  border-top: 4px solid var(--gold);
  transition: transform .2s, box-shadow .2s;
}
.schedule-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.schedule-day {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.schedule-time {
  font-size: 30px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 10px;
}
.schedule-duration {
  font-size: 12px;
  color: var(--text-sub);
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.schedule-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-sub);
}
.schedule-cta {
  text-align: center;
  margin-top: 40px;
}
.schedule-cta p { font-size: 15px; color: var(--text-sub); margin-bottom: 20px; }
.schedule-cta a.inline-link { color: var(--gold); font-weight: 700; }

/* ── CTA BANNER ──────────────────────────── */
#cta-banner {
  background: var(--gold);
  padding: 88px 0;
  text-align: center;
}
.cta-title {
  font-size: clamp(26px, 4vw, 50px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: .02em;
  margin-bottom: 14px;
}
.cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,.85);
  margin-bottom: 38px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
#cta-banner .btn { background: var(--white); color: var(--navy); border-color: var(--white); font-size: 13px; }
#cta-banner .btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── CONTACT STRIP ───────────────────────── */
#contact-strip {
  background: var(--navy);
  padding: 64px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.contact-item-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.contact-item-val {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  line-height: 1.85;
}
.contact-item-val a { color: rgba(255,255,255,.75); transition: color .2s; }
.contact-item-val a:hover { color: var(--gold); }

/* ── FOOTER ──────────────────────────────── */
#site-footer {
  background: var(--navy2);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.35); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }

/* ── INNER PAGES ─────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.page-hero-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.page-hero-title {
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: .02em;
  line-height: 1.1;
}
.page-content {
  padding: 64px 0 88px;
  background: var(--white);
}
.page-content h2 {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 16px;
  letter-spacing: .02em;
}
.page-content h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 28px 0 10px; }
.page-content p { color: var(--text-sub); line-height: 1.85; margin-bottom: 16px; font-size: 15px; }
.page-content ul, .page-content ol { margin: 0 0 16px 20px; color: var(--text-sub); line-height: 1.85; font-size: 15px; }
.page-content a { color: var(--gold); font-weight: 600; }
.page-content a:hover { color: var(--gold-dk); }
.page-content figure { margin: 0 0 24px; }
.page-content figure img { max-width: 100%; border-radius: 2px; }
.page-content .wp-block-gallery { margin-bottom: 24px; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .instructor-content { padding: 60px 40px; }
}

@media (max-width: 900px) {
  #primary-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  #primary-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--navy);
    padding: 20px 28px 32px;
    gap: 2px;
    border-top: 1px solid rgba(255,255,255,.1);
    z-index: 999;
    box-shadow: 0 16px 40px rgba(0,0,0,.4);
  }
  #primary-menu.open li a {
    padding: 12px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    border-left: none;
  }
  #primary-menu.open li:last-child a { border-bottom: none; }

  .methodology-inner { grid-template-columns: 1fr; gap: 40px; }
  .methodology-inner .methodology-img-wrap { order: -1; }

  #instructor { grid-template-columns: 1fr; }
  .instructor-img-wrap { min-height: 400px; }
  .instructor-content { padding: 52px 36px; }
  .instructor-inner { max-width: 100%; }

  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .programs-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; text-align: center; }
}
