/* ==========================================================================
   Rock Steady Boxing Thousand Oaks — site stylesheet
   Design tokens reconstructed from the previous GoDaddy Website Builder site.
   ========================================================================== */

:root {
  --color-text: #1b1b1b;
  --color-text-muted: #595959;
  --color-text-muted-2: #5e5e5e;
  --color-green: #799a19;
  --color-green-hover: #90b620;
  --color-green-active: #587110;
  --color-green-dark: #648014;
  --color-green-dark-active: #283504;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f6f6;
  --color-border: #e2e2e2;
  --color-drawer-bg: #161616;
  --color-drawer-text: #f7f7f7;
  --color-drawer-text-muted: #a4a4a4;
  --color-drawer-border: rgba(76, 76, 76, 0.5);

  --font-body: 'Lato', arial, sans-serif;
  --font-heading: 'Cabin', arial, sans-serif;
  --font-logo: 'Montserrat', sans-serif;

  --container-max: 1280px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

hr {
  border: 0;
  border-bottom: 1px solid var(--color-border);
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 1024px) {
  .container { max-width: 984px; }
}
@media (min-width: 1280px) {
  .container { max-width: 1160px; }
}
@media (min-width: 1536px) {
  .container { max-width: 1280px; }
}

.section {
  padding-top: 32px;
  padding-bottom: 32px;
}
@media (min-width: 768px) {
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* Headline sections sit on the page background — the green is the button only. */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------- Header / Nav ------------------------- */

.site-header {
  background-color: var(--color-bg-alt);
}

.topbar {
  padding-top: 24px;
  padding-bottom: 24px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hamburger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: var(--color-text);
}
.hamburger-btn svg { width: 32px; height: 32px; }

@media (min-width: 1024px) {
  .hamburger-btn { display: none; }
}

.primary-nav {
  display: none;
}
@media (min-width: 1024px) {
  .primary-nav {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

.primary-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.primary-nav__item + .primary-nav__item {
  margin-left: 32px;
}

.primary-nav__link {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.143em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 6px 0;
  transition: color 0.2s ease-in-out;
}
.primary-nav__link:hover { color: var(--color-green-hover); }
.primary-nav__link:active { color: var(--color-green); }

.primary-nav__link.is-active {
  color: var(--color-green);
  font-weight: 700;
}
.primary-nav__link.is-active:hover { color: var(--color-green-dark); }

.logo-row {
  text-align: center;
  padding-top: 24px;
  padding-bottom: 24px;
}

.logo-text {
  margin: 0;
  display: inline-block;
  font-family: var(--font-logo);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 1.2;
  color: var(--color-text);
  font-size: 36px;
}
@media (min-width: 768px) { .logo-text { font-size: 39px; } }
@media (min-width: 1280px) { .logo-text { font-size: 42px; } }
@media (min-width: 1536px) { .logo-text { font-size: 47px; } }

/* Hero flyer: centered, natural aspect ratio, capped height (matches the
   original site, where the graphic ends just below "FIRST CLASS FREE"). */
.hero-figure {
  margin: 24px auto;
  text-align: center;
  width: 100%;
}

.hero-figure img {
  display: inline-block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 500px;
  margin: 0 auto;
}

/* ---------------------- Mobile nav drawer ---------------------- */

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  max-width: 360px;
  background-color: var(--color-drawer-bg);
  color: var(--color-drawer-text);
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 10002;
  overflow-y: auto;
  padding: 24px;
}
.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer__close {
  background: none;
  border: 0;
  color: var(--color-drawer-text);
  cursor: pointer;
  padding: 0;
  margin-bottom: 24px;
}
.nav-drawer__close svg { width: 32px; height: 32px; }

.nav-drawer__list {
  border-top: 1px solid var(--color-drawer-border);
}

.nav-drawer__item {
  border-bottom: 1px solid var(--color-drawer-border);
}

.nav-drawer__link {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  letter-spacing: 0.143em;
  text-transform: uppercase;
  color: var(--color-drawer-text);
}
.nav-drawer__link.is-active {
  color: var(--color-green);
  font-weight: 700;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}
.nav-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

/* ------------------------------ Headings ------------------------------ */

h1, .h1 {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.125;
  color: var(--color-text);
  margin: 0;
  font-size: 32px;
}
@media (min-width: 768px) { h1, .h1 { font-size: 38px; } }
@media (min-width: 1280px) { h1, .h1 { font-size: 44px; } }
@media (min-width: 1536px) { h1, .h1 { font-size: 48px; } }

h2, .h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
  color: var(--color-text);
  margin: 0;
  font-size: 32px;
}
@media (min-width: 768px) { h2, .h2 { font-size: 38px; } }
@media (min-width: 1280px) { h2, .h2 { font-size: 44px; } }
@media (min-width: 1536px) { h2, .h2 { font-size: 48px; } }

/* ------------------------------ Banners ------------------------------ */

.banner {
  text-align: center;
}
.banner .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
/* A heading paired with a CTA sits side by side on desktop, as on the
   original site; a heading on its own stays centered. */
@media (min-width: 1024px) {
  .banner .container {
    flex-direction: row;
    gap: 32px;
  }
  .banner .container > *:not(:only-child) {
    text-align: left;
  }
  .banner .container > .btn:not(:only-child) {
    flex-shrink: 0;
  }
}

/* ------------------------------- Buttons ------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.143em;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--color-green);
  border: 1px solid #fff;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}
.btn:hover { background-color: var(--color-green-hover); color: #fff; }
.btn:active { background-color: var(--color-green-active); color: #fff; }

.btn--square { border-radius: 0; }
.btn--round { border-radius: 4px; }

/* ------------------------------ Video ------------------------------ */

.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
}
.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ------------------------------ Footer ------------------------------ */

.site-footer {
  padding-top: 56px;
  padding-bottom: 56px;
}

.site-footer .container > hr {
  margin-bottom: 40px;
}

.footer-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
@media (min-width: 1024px) {
  .footer-row {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-size: 14px;
}
.footer-links a:hover { color: var(--color-green-hover); }

/* ------------------------------ Page content ------------------------------ */

.subhead {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text);
  margin: 0 0 16px;
  font-size: 24px;
}
@media (min-width: 768px) { .subhead { font-size: 26px; } }
@media (min-width: 1536px) { .subhead { font-size: 28px; } }

.eyebrow {
  text-align: center;
  margin: 0 0 40px;
}
.eyebrow__text {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 22px;
  color: var(--color-text);
}
@media (min-width: 1536px) { .eyebrow__text { font-size: 24px; } }
.eyebrow hr {
  width: 64px;
  margin: 16px auto 0;
  border-bottom: 1px solid #777;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-text-muted-2);
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
}
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul {
  margin: 0 0 16px;
  padding-left: 24px;
  list-style: disc;
}
.prose ul li { margin-bottom: 6px; }
.prose strong { color: var(--color-text); }

.bold-line {
  display: block;
  color: var(--color-text);
  margin-bottom: 4px;
}

blockquote.prose-quote {
  margin: 0 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--color-green);
  color: var(--color-text);
}

.media-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) {
  .media-row {
    flex-direction: row;
    align-items: flex-start;
  }
  .media-row > * { flex: 1 1 50%; min-width: 0; }
}

.media-row__image img {
  width: 100%;
  border-radius: 4px;
}

.info-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}
.info-grid__item h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text);
  margin: 0 0 8px;
}
.info-grid__item p {
  color: var(--color-text-muted-2);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--color-green);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p {
  margin: 12px 0 0;
  color: var(--color-text-muted-2);
  font-size: 16px;
  line-height: 1.6;
}

/* Coach portrait in the "Meet Coach Dean" section. Landscape photo, capped
   so it reads as a portrait beside the bio rather than a hero band. */
.coach-photo {
  margin: 0 auto;
  max-width: 460px;
  width: 100%;
}
.coach-photo img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* ------------------------------ Forms ------------------------------ */

.contact-form { text-align: left; }

.form-field {
  margin-bottom: 24px;
}
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: #fff;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-green);
}
.form-field textarea { resize: vertical; }


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

.text-center { text-align: center; }
.stack { display: flex; flex-direction: column; align-items: center; gap: 24px; }
