/* Boyka Muay Thai Club — shared stylesheet */

:root {
  --bg: #0B0B0B;
  --bg2: #171717;
  --border: #2A2A2A;
  --border2: #3D3D3D;
  --muted: #B3B3B3;
  --text2: #DCDCDC;
  --white: #FFFFFF;
  --red: #D7261E;
  --red-dark: #B81E17;
  --red-light: #FF8A80;
  --max: 1280px;
  --font: 'Menbere', system-ui, sans-serif;
}

html[lang="am"] {
  --font: 'Noto Sans Ethiopic', 'Menbere', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
}

html[lang="am"] body { line-height: 1.7; }

a { color: var(--red-light); text-decoration: none; }
a:hover { color: #FFB3AC; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11,11,11,0.94);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease, transform 0.25s ease;
  transform: translateY(0);
}
/* Scrolling up hides the bar; scrolling down brings it back (see js/site.js) */
.site-header.header-hidden { transform: translateY(-100%); }
.site-header .wrap {
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  transition: padding 0.2s ease;
  position: relative;
}
/* Collapsed state once the page has scrolled a little */
.site-header.scrolled .wrap { padding: 6px 24px; }
.site-header.scrolled .brand img { width: 36px; height: 36px; }
.site-header.scrolled .brand-name strong { font-size: 18px; }
.site-header.scrolled .brand-name span { display: none; }
.site-header.scrolled { box-shadow: 0 2px 10px rgba(0,0,0,0.4); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; transition: width 0.2s ease, height 0.2s ease; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong { font-weight: 700; font-size: 24px; letter-spacing: 3px; transition: font-size 0.2s ease; }
.brand-name span { font-size: 13px; color: var(--muted); }
.nav-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; font-weight: 500; align-items: center; }
.nav-links a { color: var(--white); }
.nav-links a.lang-link { color: var(--muted); font-family: 'Noto Sans Ethiopic', sans-serif; }

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
  display: none; background: none; border: none; color: var(--white); cursor: pointer;
  padding: 6px; margin: 0; width: 40px; height: 40px; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 24px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border-bottom: none; }
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-ghost { background: none; border: 1px solid var(--white); color: var(--white); font-weight: 600; font-size: 16px; padding: 15px 22px; }
.btn-ghost:hover { background: var(--white); color: var(--bg); }
.btn-dark { background: var(--bg); color: var(--white); }

/* Hero */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  background: #000;
  border-bottom: 4px solid var(--red);
  overflow: hidden;
}
.hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 30%;
}
.hero .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0.1) 75%);
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 96px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(40px, 7vw, 100px);
  line-height: 1.02;
  letter-spacing: -2px;
  max-width: 760px;
}
html[lang="am"] .hero h1 { letter-spacing: 0; line-height: 1.15; font-size: clamp(36px, 5.6vw, 80px); }
.hero p.lede {
  margin: 0; font-size: 21px; line-height: 1.5; color: var(--text2); max-width: 600px;
}
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.stat-row {
  margin: 18px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--border2);
  display: flex; flex-wrap: wrap; gap: 40px; font-size: 15px; color: var(--text2); max-width: 760px;
}
.stat-row strong { display: block; color: var(--white); font-size: 30px; font-weight: 700; }

/* Generic section layout */
section { }
.section-pad { padding: 96px 24px; }
.section-pad-sm { padding: 72px 24px; }
.bordered { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bg-alt { background: var(--bg2); }
.bg-light { background: var(--white); color: var(--bg); }
.bg-red { background: var(--red); color: var(--white); }

h2 { margin: 0; font-weight: 700; font-size: 56px; line-height: 1.02; letter-spacing: -1.2px; }
html[lang="am"] h2 { letter-spacing: 0; line-height: 1.2; font-size: 48px; }

.two-col { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split-head {
  display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: flex-end; justify-content: space-between; margin-bottom: 36px;
}
.split-head h2 { flex: 1 1 420px; }
.split-head p { flex: 1 1 360px; margin: 0; font-size: 18px; line-height: 1.6; color: var(--text2); }

/* Credentials / stat blocks */
.stat-grid {
  margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.stat-grid > div { background: var(--bg); padding: 20px; }
.stat-grid dt { font-size: 14px; color: var(--muted); }
.stat-grid dd { margin: 4px 0 0; font-weight: 700; font-size: 34px; line-height: 1.1; }
.stat-grid dd.small { font-size: 14px; color: var(--muted); font-weight: 400; }

.affiliations {
  display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: 14px; padding: 24px;
}

/* Program cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.card {
  text-decoration: none; color: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--red);
  background: var(--bg2); padding: 30px; display: flex; flex-direction: column; gap: 12px; min-height: 230px;
}
.card:hover { border-color: var(--red); }
.card .eyebrow { font-size: 14px; color: var(--red-light); font-weight: 600; }
.card h3 { margin: 0; font-weight: 700; font-size: 30px; line-height: 1.1; }
html[lang="am"] .card h3 { font-size: 28px; line-height: 1.25; }
.card p { margin: 0; color: var(--text2); line-height: 1.6; font-size: 16px; }
.card .tag { margin-top: auto; font-size: 14px; color: var(--muted); }
.card.border-white { border-top-color: var(--white); }
.card.border-muted { border-top-color: var(--muted); }

/* Class times table */
.times-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 17px; }
.times-table td { padding: 16px; border-bottom: 1px solid var(--border); color: var(--text2); vertical-align: top; }
.times-table tr:last-child td { border-bottom: none; }
.times-table td.label { padding-left: 14px; border-left: 4px solid var(--red); font-weight: 700; color: var(--white); }
.times-table td.label.white { border-left-color: var(--white); }
.table-scroll { overflow-x: auto; }

/* Method / dl rows (light section) */
.method-figure { margin: 8px 0 0; }
.method-figure img { width: 100%; height: 420px; object-fit: cover; object-position: 50% 25%; }
.method-figure figcaption { margin-top: 10px; font-size: 15px; color: #3A3A3A; }
.dl-rows { flex: 2 1 520px; margin: 0; display: flex; flex-direction: column; border-top: 2px solid var(--bg); }
.dl-rows > div { padding: 24px 0; border-bottom: 1px solid var(--text2); display: flex; flex-wrap: wrap; gap: 8px 32px; }
.dl-rows > div:last-child { border-bottom: none; }
.dl-rows dt { flex: 1 1 220px; font-weight: 700; font-size: 22px; }
.dl-rows dd { flex: 2 1 300px; margin: 0; line-height: 1.65; color: #3A3A3A; }

/* Photo rows */
.photo-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; height: 560px; object-fit: cover; }
.photo-row figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.flex-7 { flex: 7 1 460px; }
.flex-5 { flex: 5 1 300px; }
.flex-4 { flex: 4 1 280px; }

/* Facilities placeholders */
.placeholder-photo {
  height: 340px; background: var(--bg); border: 1px dashed var(--border2);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  font-size: 15px; text-align: center; padding: 20px;
}
.facility-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.facility-grid figure { margin: 0; }
.facility-grid figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* Memberships */
.membership-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.membership-grid > div { background: var(--bg); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.membership-grid h3 { margin: 0; font-weight: 700; font-size: 24px; }
.membership-grid p { margin: 0; color: var(--text2); line-height: 1.6; }

/* FAQ */
.faq-layout { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; }
.faq-intro { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; }
.faq-intro h2 { font-size: 56px; }
.faq-intro p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.faq-list { flex: 2 1 560px; display: flex; flex-direction: column; border-top: 1px solid var(--border2); }
.faq-list details { border-bottom: 1px solid var(--border2); }
.faq-list summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding: 24px 0; min-height: 44px; font-size: 21px; font-weight: 600;
}
html[lang="am"] .faq-list summary { font-size: 20px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover span:first-child { color: var(--red-light); }
.faq-list .ind {
  flex-shrink: 0; width: 32px; height: 32px; border: 1px solid var(--border2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; color: var(--red-light);
}
.faq-list details[open] .ind { transform: rotate(45deg); border-color: var(--red-light); }
.faq-list details p { margin: 0 56px 26px 0; color: var(--text2); font-size: 17px; line-height: 1.7; }

/* Visit / location */
.visit-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.visit-copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 22px; }
.visit-copy h2 { font-size: 72px; line-height: 0.98; letter-spacing: -1.8px; }
html[lang="am"] .visit-copy h2 { font-size: 60px; letter-spacing: 0; line-height: 1.15; }
.address-card {
  flex: 1 1 380px; font-style: normal; background: var(--bg); color: var(--white); padding: 32px;
  display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.6;
}
.address-card .addr-brand { display: flex; align-items: center; gap: 14px; }
.address-card .addr-brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.address-card .addr-brand strong { font-weight: 700; font-size: 22px; letter-spacing: 2px; }
.map-embed {
  height: 170px; margin-top: 8px; background: var(--bg2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px;
}

/* Footer */
.site-footer {
  max-width: var(--max); margin: 0 auto; padding: 40px 24px; display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted);
}
.site-footer .foot-brand { display: flex; align-items: center; gap: 14px; }
.site-footer .foot-brand img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.site-footer .foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer .foot-links a { color: var(--muted); }

/* Coach page specific */
.breadcrumb { margin: 0; font-size: 15px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.path-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; }
.path-list li {
  flex: 1 1 240px; padding: 22px 28px 8px 0; border-top: 4px solid var(--white);
  display: flex; flex-direction: column; gap: 6px;
}
.path-list li.accent { border-top-color: var(--red); }
.path-list .yr { font-size: 15px; color: var(--muted); }
.path-list strong { font-size: 22px; }
.path-list span.detail { color: var(--text2); }
.cert-boxes { display: flex; flex-wrap: wrap; gap: 12px; }
.cert-boxes div {
  flex: 1 1 150px; height: 200px; border: 1px dashed var(--border2); display: flex; align-items: center;
  justify-content: center; text-align: center; font-size: 14px; color: var(--muted); padding: 12px;
}
.cta-banner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-banner h2 { font-size: 56px; line-height: 1; letter-spacing: -1.4px; }

/* Enrol flow */
.enrol-layout { display: flex; flex-wrap: wrap; gap: 56px; padding: 48px 24px 72px; max-width: var(--max); margin: 0 auto; }
.enrol-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.enrol-aside { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
.enrol-aside img { width: 100%; height: 320px; object-fit: cover; object-position: 68% 30%; }
.enrol-step-label { font-size: 15px; color: var(--muted); }
.enrol-main h1 { margin: 0; font-weight: 700; font-size: 52px; letter-spacing: -1.2px; line-height: 1.02; }
.radio-list { display: flex; flex-direction: column; border-top: 1px solid var(--border2); }
.radio-list button {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%;
  padding: 18px 18px 18px 16px; background: none; border: none; border-bottom: 1px solid var(--border2);
  color: var(--white); min-height: 64px; text-align: left; font-family: inherit; cursor: pointer;
}
.radio-list button[aria-checked="true"] { background: var(--bg2); }
.radio-list button strong { font-size: 20px; }
.radio-list button .desc { font-size: 15px; color: var(--muted); }
.radio-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #6B6B6B; box-sizing: border-box; flex-shrink: 0; }
.radio-list button[aria-checked="true"] .radio-dot { border-width: 7px; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tile-grid button {
  text-align: left; padding: 18px 20px; border-radius: 4px; color: var(--white); min-height: 64px;
  background: none; border: 2px solid var(--border2); font-family: inherit; cursor: pointer;
}
.tile-grid button[aria-checked="true"] { background: var(--bg2); border-color: var(--red); }
.tile-grid button strong { font-size: 20px; display: block; }
.step-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.enrol-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.enrol-form input, .enrol-form select, .enrol-form textarea {
  background: var(--bg2); border: 1px solid var(--border2); color: var(--white); padding: 14px;
  font-size: 17px; border-radius: 4px; font-family: inherit;
}
.enrol-form input:focus, .enrol-form select:focus, .enrol-form textarea:focus, button:focus-visible {
  outline: 3px solid var(--red-light); outline-offset: 2px;
}
.form-row { display: flex; flex-wrap: wrap; gap: 16px; }
.form-row label.grow2 { flex: 2 1 260px; }
.form-row label.grow1 { flex: 1 1 220px; }
.form-row label.small { flex: 1 1 120px; }
.enrol-step { display: flex; flex-direction: column; gap: 22px; }
.enrol-step.private { gap: 26px; }
.enrol-done {
  display: flex; flex-direction: column; gap: 18px; background: var(--bg2); border: 1px solid var(--border);
  border-top: 6px solid var(--red); padding: 40px;
}
.enrol-done h1 { font-size: 48px; line-height: 1.05; }
.hidden { display: none !important; }

@media (max-width: 760px) {
  .hero { min-height: 480px; }
  .hero-inner { padding: 40px 20px 36px; gap: 18px; }
  .hero .stat-row { gap: 24px; }
  h2 { font-size: 38px; }
  .split-head h2, .faq-intro h2 { font-size: 38px; }
  .visit-copy h2 { font-size: 44px; }
  .enrol-main h1 { font-size: 36px; }
}
