:root {
  /* Core brand palette */
  --brand-red: #ff0000;         /* primary action */
  --brand-darkblue: #1a2a4b;    /* surfaces/nav/hero */
  --brand-black: #000000;       /* deep sections/footer */

  /* App-level tokens */
  --bg: var(--brand-black);
  --bg-elev: #0f1724;
  --text: #e6edf3;
  --muted: #9fb0c3;
  --primary: var(--brand-red);
  --primary-contrast: #ffffff;
  --border: #223043;
}

/* === Typography: AKIRA EXPANDED (headlines, buttons, brand) === */
@font-face {
  font-family: "Akira Expanded";
  src: url("Akira Expanded Demo.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Utility alias */
.font-display { font-family: "Akira Expanded", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; }

/* Apply to headings and key UI elements */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.navbar-brand,
.btn-brand,
.btn-primary,
.btn-outline-primary {
  font-family: "Akira Expanded", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.02em;
}

/* Light theme */
.light {
  --bg: #ffffff;
  --bg-elev: #f6f8fa;
  --text: #0a0e14;
  --muted: #4b5563;
  --primary: #2563eb;
  --primary-contrast: #ffffff;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

.nav-link {
  font-size: 1.25rem;
  color: white;
  /* opacity: .7; */
  &.btn-special {
    /* color: red */
  }
}

.btn-special {
  font-family: "Akira Expanded", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--text);
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1rem;
}

.nav a:hover {
  color: var(--text);
}

.site-main {
  padding: 2rem 0 4rem;
}

.hero {
  text-align: center;
  padding: 4rem 0 2rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 3.5vw + 1rem, 3.25rem);
}

.hero p {
  margin: 0 auto 1.5rem;
  max-width: 60ch;
  color: var(--muted);
}

.actions {
  display: inline-flex;
  gap: 0.75rem;
}

.button {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  padding: 0.6rem 1rem;
  border-radius: 0.55rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 120ms ease, border-color 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--border), var(--text) 25%);
}

.button.primary {
  background: var(--primary);
  border-color: transparent;
  color: var(--primary-contrast);
}

.features, .about, .contact {
  margin-top: 3rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg-elev), white 2%), var(--bg-elev));
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1rem 0 3rem;
  color: var(--muted);
}

@media (prefers-color-scheme: light) {
  :root:not(.light) {
    /* Keep defaults; users with light preference can toggle */
  }
}

/* === Bootstrap overrides and utilities for brand colors === */

.btn-primary {
  --bs-btn-bg: var(--brand-red);
  --bs-btn-border-color: var(--brand-red);
  --bs-btn-hover-bg: #cc0000;
  --bs-btn-hover-border-color: #cc0000;
  --bs-btn-active-bg: #b30000;
  --bs-btn-active-border-color: #b30000;
}

.btn-outline-primary {
  --bs-btn-color: var(--brand-red);
  --bs-btn-border-color: var(--brand-red);
  --bs-btn-hover-bg: var(--brand-red);
  --bs-btn-hover-border-color: var(--brand-red);
  --bs-btn-active-bg: #b30000;
  --bs-btn-active-border-color: #b30000;
  color: white;
  border: solid  1px white;
  border-radius: 0;
}

.nav-item {
  display: flex;
  align-items: center;
}

/* Custom brand button (independent of Bootstrap variables) */

.btn-brand:hover { background-color: #cc0000; border-color: #cc0000; color: #ffffff; }
.btn-brand:active { background-color: #b30000; border-color: #b30000; color: #ffffff; }
.btn-brand:focus { outline: 0; box-shadow: 0 0 0 0.2rem rgba(255,0,0,0.35); }

.bg-darkblue { background-color: var(--brand-darkblue) !important; }
.bg-black { background-color: var(--brand-black) !important; }

.navbar-dark.bg-darkblue .navbar-brand,
.navbar-dark.bg-darkblue .nav-link,
.navbar-dark.bg-darkblue .navbar-toggler {
  color: rgba(255,255,255,.9);
}
.navbar-dark.bg-darkblue .nav-link:hover { color: #ffffff; }

/* Make default text color inside brand-dark sections white for readability */
.text-on-dark, .bg-darkblue, .bg-black { color: #ffffff; }

/* Hero background image with brand-tinted overlay */
.hero-bg {
  background:
   linear-gradient(rgb(0 0 0 / 1%), rgb(3 7 14 / 48%)), url(bg.jpg) bottom center / cover no-repeat
}

/* Intro gradient (deep black center with blue vignettes left/right) */
.intro-bg {
  background:
    radial-gradient(60% 80% at -10% 50%, rgba(26,42,75,0.8), transparent 60%),
    radial-gradient(60% 80% at 110% 50%, rgba(26,42,75,0.8), transparent 60%),
    #000000;
}

#coach-spotlight.coach-bg {
  background:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.55)),
    url('ceelos.jpg') center center / cover no-repeat;
}

.btn-brand {
  display: inline-block;
  color: #ffffff;
  background-color: var(--brand-red);
  border: 1px solid var(--brand-red);
  padding: 0.5rem 1rem;
  border-radius: 0;
  text-decoration: none;
}

#hero {
  height: 70vh;
    display: flex;
    margin-top: -80px;
    align-items: flex-end;
}

.text-red { color: var(--brand-red); }

#intro {
  min-height: 30vh;
  align-items: center;
  display: flex;
  justify-content: center;
}
#intro .text-width-small { max-width: 500px; }
#intro .container { display: flex; flex-direction: column; align-items: center; }

.btn-special {
  /* background: red; */
  border-radius: 0;
  color: white;
  background-color: #1A2A4B;
  h6 {
    margin: 0;
  }
  &:hover {
    background: red;
  border-radius: 0;
  color: white;
  background-color: #1A2A4B;
  opacity: .8;
  }
}

p {
  opacity: .75;
}

#coach-spotlight {
  display: flex;
  align-items: center;
  height: 440px;
}

/* --- Why We Train Section --- */
#why-we-train {
  min-height: 400px;
  display: flex;
  align-items: stretch;
  position: relative;
}
#why-we-train .container { height: 100%; }
#why-we-train-row { height: 100%; }
.dark-text {
  color: #192a4b;
}
.white-bg {
  background: linear-gradient(rgb(255 255 255 / 90%), rgb(255 255 255 / 95%)), url(w-bg.jpg) bottom center / cover no-repeat;
}

.why-features-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.why-feature-card {
  position: relative;
  border: none;
  color: white;
  min-height: 110px;
  padding: 2.2rem 2.1rem 2rem 5.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.why-feature-card .why-icon {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  z-index: 1;
  filter: drop-shadow(0 6px 18px #ff000077);
}
.why-feature-card h3 {
  font-size: 1.275rem;
  margin-bottom: 0.4em;
  font-family: "Akira Expanded", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #ff0000;
  letter-spacing: 0.02em;
}
.why-feature-card p {
  margin-bottom: 0;
  color: #fff;
  opacity: 0.80;
}
@media (max-width: 991px) {
  #why-we-train .container, #why-we-train-row {
    flex-direction: column;
    min-height: unset;
  }
  .why-label-col, .why-features-col { width: 100%; }
  .why-feature-card {
    min-height: 88px;
  }
}
.why-label-col {
  h2 ,p {
    color: #192a4b
  }
}
/* --- Schedule Grid --- */
#community {
  min-height: 400px;
    display: flex;
    align-items: center;
  background:
  linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.55)),
  url('bg-3.jpg') center center / cover no-repeat;
}
#schedule { background:
  linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.55)),
  url('bg.jpg') center center / cover no-repeat; }
#schedule .container { color: #ffffff; }

.schedule-mobile {
  padding: 11px;
    background: #ffffff3b;
    border-radius: 11px;
    border: solid 1px #ffffff52;
    backdrop-filter: blur(19px);
}
.schedule-grid {
  display: grid;
  grid-template-columns: 120px repeat(7, 1fr);
  grid-template-rows: 72px 1fr 1fr 1fr 1fr; /* header + 4 bands */
  gap: 12px;
  align-items: stretch;
  padding: 10px;
  backdrop-filter: blur(11px);
  border-radius: 19px;
  border: solid 1px #ffffff38;
}

/* Header row */
.schedule-header {
  text-align: center;
  font-family: "Akira Expanded", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Time labels in first column */
.schedule-time {
  font-family: "Akira Expanded", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Base slot */
.slot {
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  font-family: "Akira Expanded", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
}
.slot--open { background-color: var(--brand-red); color: #0b0f14; }
.slot--drills { background-color: #000000; color: #ffffff; }
.slot--closed { background-color: rgba(255,255,255,0.22); color: #ffffff; }

/* Row span helpers */
.slot--span-2 { grid-row: span 2; }
.slot--span-3 { grid-row: span 3; }
.slot--span-4 { grid-row: span 4; }

/* Small cell label text */
.slot small { display: block; font-size: 0.85rem; line-height: 1.1; opacity: 0.9; }

@media (max-width: 991px) {
  .schedule-grid { grid-template-columns: 100px repeat(7, 1fr); gap: 12px; }
  .slot { padding: 14px; }
}

@media (max-width: 680px) {
  .schedule-grid {
    grid-template-columns: 1fr; /* stack */
    grid-template-rows: auto;
  }
  .schedule-header, .schedule-time { justify-content: flex-start; }
}

.day-nav { overflow-x: auto; white-space: nowrap; gap: 6px; }
.day-nav .nav-link {
  font-family: "Akira Expanded", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.day-nav .nav-link.active { background-color: var(--brand-red); color: #0b0f14; border-color: var(--brand-red); }

.day-block { margin-bottom: 1.25rem; }
.day-title {
  font-family: "Akira Expanded", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 15px;
  opacity: 1;
  margin-bottom: 0.5rem;
}

/* --- Membership plan cards --- */
.plan-card {
  background: #161d29;
  border: 1px solid #ffffff1f;
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.plan-header { margin-bottom: .75rem; }
.plan-name {
  margin: 0 0 .25rem 0;
  text-transform: uppercase;
  letter-spacing: .06em;
  display: flex; align-items: baseline; gap: .5rem;
}
.plan-price { color: var(--brand-red); font-weight: 700; }
.plan-price .per { font-size: .8em; opacity: .9; margin-left: .1em; text-transform: lowercase; }
.plan-sub { margin: 0; opacity: .85; }

.plan-features { list-style: none; padding: 0; margin: .5rem 0 1rem; display: grid; gap: .75rem; }
.plan-features li { padding-left: 1.75rem; position: relative; }
.feat-title { display: block; font-weight: 600; }
.feat-sub { display: block; opacity: .8; font-size: .95rem; }

.calendar::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1rem; height: 1rem; background: url('calendar.svg') center/contain no-repeat; filter: drop-shadow(0 2px 6px rgba(255,0,0,.45)); }
.infinite::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1rem; height: 1rem; background: url('infinite.svg') center/contain no-repeat; filter: drop-shadow(0 2px 6px rgba(255,0,0,.45)); }
.gift::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1rem; height: 1rem; background: url('gift.svg') center/contain no-repeat; filter: drop-shadow(0 2px 6px rgba(255,0,0,.45)); }
.diamond::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1rem; height: 1rem; background: url('diamond.svg') center/contain no-repeat; filter: drop-shadow(0 2px 6px rgba(255,0,0,.45)); }
.crown::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1rem; height: 1rem; background: url('crown.svg') center/contain no-repeat; filter: drop-shadow(0 2px 6px rgba(255,0,0,.45)); }
.star::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1rem; height: 1rem; background: url('star.svg') center/contain no-repeat; filter: drop-shadow(0 2px 6px rgba(255,0,0,.45)); }
.profile::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1rem; height: 1rem; background: url('profile.svg') center/contain no-repeat; filter: drop-shadow(0 2px 6px rgba(255,0,0,.45)); }

@media (min-width: 992px) {
  .plan-card { padding: 1.5rem 1.5rem 1.25rem; }
}

/* --- Services tiles --- */
.services-wrap { overflow-x: auto; }
.services-track { display: flex; gap: 1.25rem; padding: .25rem; margin: 0; list-style: none; }
.services-grid { }
.service-tile {
  background: #000;
  color: #fff;
  width: 100%;
  min-width: 0;
  min-height: 160px;
  border-radius: 4px;
  border: 1px solid #ffffff26;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.service-tile span {
  font-family: "Akira Expanded", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  text-transform: uppercase; letter-spacing: .06em; line-height: 1.15;
}

.services-controls { gap: .5rem; }
.services-btn {
  width: 44px; height: 44px;
  background: var(--brand-red);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 28px; line-height: 1; font-weight: 700;
}
.services-btn:disabled { opacity: .6; }

footer a {
  text-decoration: none;
  color: white;
  opacity: .8;
  &:hover {
    opacity: 1;
  }
}

/* White hamburger icon for transparent navbar */
.navbar-transparent .navbar-toggler {
  border-color: rgba(255,255,255,0.85);
}
.navbar-transparent .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}