/* ============================================================
   SKY JIU JITSU - Base Styles (Light Theme - V2.1)
   ============================================================ */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* ---- Typography ---- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  text-transform: uppercase;
  font-weight: 400; /* Bebas Neue has single weight */
  line-height: var(--lh-heading);
}

h1 {
  font-size: var(--fs-h1);
  letter-spacing: var(--ls-display);
}

h2 {
  font-size: var(--fs-h2);
  letter-spacing: var(--ls-heading);
}

h3 {
  font-size: var(--fs-h3);
  letter-spacing: var(--ls-heading);
}

h4 {
  font-size: var(--fs-h4);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

p {
  max-width: 65ch;
  line-height: var(--lh-body);
}

p + p {
  margin-top: var(--space-sm);
}

strong {
  font-weight: 600;
  color: var(--text-primary);
}

/* ---- Links ---- */

a:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---- Section System ---- */

.section {
  padding: var(--section-pad) var(--space-md);
  position: relative;
  overflow: hidden;
}

.section--primary {
  background-color: var(--bg-primary);
}

.section--elevated {
  background-color: var(--bg-elevated);
}

.section--surface {
  background-color: var(--bg-surface);
}

.section--warm {
  background-color: var(--bg-warm);
}

/* ---- Containers ---- */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--content {
  max-width: var(--content-width);
}

.container--narrow {
  max-width: var(--narrow-width);
}

/* ---- Section Headers ---- */

.section-header {
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.section-header__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-tag);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-tag);
  color: var(--accent-warm);
  margin-bottom: var(--space-sm);
}

.section-header__title {
  margin-bottom: var(--space-md);
}

.section-header__subtitle {
  font-size: var(--fs-body-lg);
  color: var(--text-secondary);
  max-width: 55ch;
  margin: 0 auto;
}

/* ---- Utility ---- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-accent {
  color: var(--accent-blue);
}

.text-warm {
  color: var(--accent-warm);
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Decorative Divider ---- */

.divider {
  width: 60px;
  height: 2px;
  background: var(--accent-blue);
  margin: var(--space-md) auto;
}

.divider--left {
  margin-left: 0;
}

/* ---- Image Utility ---- */

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
