/* ===== BOXING THEME — Fight Poster / Brutal / Condensed ===== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700&family=Barlow:wght@400;500;600&display=swap');

/* ── Variables ── */
:root {
  --bg: #0a0a0a;
  --bg-alt: #0f0f0f;
  --panel: #111111;
  --text: #f0f0f0;
  --muted: #999999;
  --accent: #e8151b;
  --accent-soft: #200a0a;
  --accent-hover: #ff3333;
  --border-soft: rgba(232, 21, 27, 0.25);

  --radius-btn: 2px;
  --radius-card: 0px;
  --radius-input: 2px;
  --radius-modal: 4px;

  --input-bg: #0d0d0d;
  --input-border-focus: rgba(232, 21, 27, 0.8);
  --modal-card-bg: #111111;
  --modal-overlay: rgba(0, 0, 0, 0.85);

  --btn-primary-color: #ffffff;
  --btn-hover-bg: #ff2222;
  --btn-hover-color: #ffffff;
  --btn-hover-shadow: 0 4px 24px rgba(232, 21, 27, 0.55);

  --card-shadow: none;
  --heading-letter-spacing: 0.04em;
  --nav-letter-spacing: 0.2em;
  --btn-letter-spacing: 0.22em;
  --btn-text-transform: uppercase;
  --list-marker: "▸";

  --header-gradient: linear-gradient(to bottom, #0a0a0a, rgba(10, 10, 10, 0.85));

  --chart-color-1: #e8151b;
  --chart-color-2: #ff5555;
  --chart-color-3: #ff9999;
  --chart-color-4: #ffcccc;
  --stat-card-bg: #0d0d0d;
}

/* ── Base Typography ── */
body {
  font-family: 'Barlow', system-ui, sans-serif;
  font-weight: 400;
}

h1, h2, h3 {
  font-family: 'Bebas Neue', 'Impact', 'Arial Narrow', system-ui, sans-serif;
  font-weight: 400; /* Bebas Neue is inherently bold */
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Header ── */
header {
  background: #0a0a0a;
  border-bottom: 2px solid var(--accent);
  backdrop-filter: none;
}

.logo {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--text) !important;
}

nav a {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--muted);
}

nav a:hover,
nav a.active {
  color: var(--accent);
}

nav a::after {
  background: var(--accent);
  height: 2px;
}

/* ── Hero Section ── */
.hero-section {
  border-bottom: 3px solid var(--accent);
  position: relative;
}

.hero-section h1 {
  font-family: 'Bebas Neue', 'Impact', system-ui, sans-serif;
  font-size: 9rem;
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 58%;
}

.hero-tagline {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-note {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  letter-spacing: 0.12em;
}

/* ── Section Headings ── */
h2 {
  font-size: 3.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  display: inline-block;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.25rem;
}

h3 {
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

/* ── Sections: tight, packed ── */
.page-section {
  margin-bottom: 2rem;
  padding-top: 2.5rem;
}

.fullscreen-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* ── Cards: brutal, zero radius, red top accent ── */
.training-card,
.coach-card,
.membership-card {
  border-radius: 0;
  border: none;
  border-top: 3px solid var(--accent);
  background: var(--panel);
}

.gallery-item {
  border-radius: 0;
  border: none;
  background: var(--panel);
}

.training-card:hover,
.membership-card:hover {
  background: #161616;
  box-shadow: none;
}

.training-card h3,
.coach-card h3 {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--accent);
}

/* ── Membership card price ── */
.membership-card h3 {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: 1.5rem;
  color: var(--accent);
}

.membership-card .price {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: 2rem;
  letter-spacing: 0.06em;
}

/* ── Buttons ── */
.btn-signing {
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.btn-signing:hover {
  background: var(--accent-hover);
  box-shadow: var(--btn-hover-shadow);
}

.hero-btn,
.contact-btn,
.membership-btn {
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.22em;
  border: none;
}

.hero-btn:hover,
.contact-btn:hover,
.membership-btn:hover {
  background: var(--accent-hover);
  box-shadow: var(--btn-hover-shadow);
}

.hero-btn-secondary {
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
  box-shadow: none;
}

.btn-secondary {
  border-radius: 2px;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.dash-action-btn {
  border-radius: 2px;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 700;
}

/* ── Dashboard ── */
.dash-card {
  border-radius: 0;
  border: none;
  border-left: 3px solid var(--accent);
  background: var(--panel);
}

.stat-card {
  border-radius: 0;
  border-left: 3px solid var(--accent);
  border-top: none;
  border-right: none;
  border-bottom: none;
}

.stat-card--active { border-left-color: #4ade80; }
.stat-value { font-family: 'Bebas Neue', system-ui, sans-serif; font-size: 2.8rem; }
.stat-label { font-family: 'Barlow Condensed', system-ui, sans-serif; letter-spacing: 0.16em; }

/* ── Table ── */
.members-table tbody tr:hover { background: rgba(232, 21, 27, 0.06); }

/* ── FAQ ── */
.faq-item h3 {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: 1.3rem;
  color: var(--accent);
}

/* ── Schedule table accent header ── */
.schedule-table th { color: var(--accent); border-bottom: 2px solid var(--accent); }

/* ── About list ── */
.about-list li::before { content: "▸"; color: var(--accent); }

/* ── Contact section ── */
.contact-header h1 { font-family: 'Bebas Neue', system-ui, sans-serif; font-size: 3.5rem; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(232,21,27,0.2); }

/* ── Modal ── */
#authModal .modal-card h2 { font-family: 'Bebas Neue', system-ui, sans-serif; font-size: 2rem; }
#authModal button[type="submit"]:hover { box-shadow: 0 0 12px rgba(232,21,27,0.5); }

/* ── Attendance badge ── */
.attendance-count { border-radius: 2px; }

/* ── Back to top ── */
.back-to-top { border-radius: 2px; }

/* ── Hero: full-bleed background image ── */
.hero-img-wrap {
  width: 100%;
  left: 0;
}

.hero-img-wrap::before {
  background: linear-gradient(to right, #0a0a0a 18%, rgba(10,10,10,0.35) 55%, rgba(10,10,10,0.62) 100%);
}

.hero-img {
  opacity: 0.52;
}

/* ── Section headings: big & centered for public sections ── */
.page-section > h2 {
  font-size: 5rem;
  letter-spacing: 0.06em;
  margin-bottom: 2.5rem;
  display: block;
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
}

/* About split-section heading — left-aligned */
.about-content h2 {
  font-size: 4rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  display: block;
  text-align: left;
  border-bottom: none;
  padding-bottom: 0;
}

/* ── About Section: 50/50 split layout ── */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  padding: 0 !important;
}

.about-img-wrap {
  overflow: hidden;
  min-height: 420px;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
}

.about-content {
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--panel);
  border-left: 4px solid var(--accent);
}

/* ── Gallery: 4-column horizontal strip ── */
.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px;
  gap: 3px;
}

.gallery-grid .gallery-item:first-child {
  grid-row: span 1;
  height: 100%;
}

.gallery-item {
  height: 280px;
}

/* ── Card images: taller, more photo-dominant ── */
.card-img-wrap {
  height: 240px;
}

/* ── Responsive overrides ── */
@media (max-width: 900px) {
  .about-section {
    grid-template-columns: 1fr;
  }

  .about-img-wrap {
    min-height: 300px;
  }

  .hero-section h1 {
    font-size: 7rem;
    max-width: 85%;
  }

  .page-section > h2 {
    font-size: 3.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 0.75rem;
  }

  .gallery-grid .gallery-item:first-child {
    grid-row: span 1;
  }
}

@media (max-width: 600px) {
  .hero-section h1 {
    font-size: 5rem;
    max-width: 100%;
  }

  .page-section > h2 {
    font-size: 2.8rem;
  }
}
