/* ============================================================
   BOSTON SQUASH — Global Stylesheet
   ============================================================ */

/* === VARIABLES === */
:root {
  --red:        #CC0000;
  --red-dark:   #a80000;
  --black:      #111111;
  --dark-gray:  #2a2a2a;
  --mid-gray:   #666666;
  --light-gray: #f4f4f4;
  --border:     #e0e0e0;
  --white:      #ffffff;

  --font-heading: 'Oswald', sans-serif;
  --font-body:    'Inter', sans-serif;
  --max-width:    1100px;
  --nav-height:   68px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === NAVIGATION === */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  flex-shrink: 0;
}
.nav-logo span { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #b0b0b0;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 2px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #1a1a1a;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.nav-mobile.open { max-height: 480px; }
.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #b0b0b0;
  padding: 13px 24px;
  display: block;
  border-bottom: 1px solid #2a2a2a;
  transition: color 0.2s, background 0.2s;
}
.nav-mobile a:hover { color: var(--white); background: #222; }
.nav-mobile .nav-cta {
  margin: 12px 24px;
  padding: 12px 20px;
  text-align: center;
  border-radius: 2px;
  border-bottom: none;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-sm {
  padding: 9px 18px;
  font-size: 0.8rem;
}
.btn-red {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
}
.btn-outline-red {
  background: transparent;
  border-color: var(--red);
  color: var(--red);
}
.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn-group-center {
  justify-content: center;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.38;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 90px 24px;
}
.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.hero-title span { color: var(--red); }
.hero-sub {
  font-size: 1.05rem;
  color: #c0c0c0;
  max-width: 520px;
  line-height: 1.7;
}

/* === PAGE HEADER === */
.page-header {
  background: var(--black);
  padding: 64px 24px 56px;
  text-align: center;
}
.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1.05;
}
.page-header h1 span { color: var(--red); }
.page-header .sub {
  color: #999;
  margin-top: 14px;
  font-size: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* === SECTION === */
.section { padding: 80px 24px; }
.section-gray  { background: var(--light-gray); }
.section-dark  { background: var(--dark-gray); }
.section-black { background: var(--black); }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--black);
  line-height: 1.08;
  margin-bottom: 6px;
}
.section-title span { color: var(--red); }
.section-title-white { color: var(--white); }

.divider {
  width: 44px;
  height: 4px;
  background: var(--red);
  margin: 18px 0 26px;
}

.section-body {
  color: var(--mid-gray);
  font-size: 0.975rem;
  line-height: 1.78;
  max-width: 680px;
}
.section-body p + p { margin-top: 14px; }
.section-body-wide { max-width: 100%; }

/* === SPLIT LAYOUT === */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 2px;
}
.split-img-tall { height: 480px; }

/* === SERVICE CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  padding: 28px 24px 24px;
  border-radius: 2px;
}
.card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.2;
}
.card p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.65;
  margin-bottom: 18px;
}
.card .btn-group { margin-top: 0; }

/* === NAV DROPDOWN === */
.nav-dropdown {
  position: relative;
  /* extend hover area down so cursor doesn't exit between link and menu */
  padding-bottom: 8px;
  margin-bottom: -8px;
}
.nav-dropdown > a {
  cursor: pointer;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  border-top: 3px solid var(--red);
  min-width: 230px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 200;
  padding: 6px 0;
}
.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b0b0b0 !important;
  border-bottom: 1px solid #2a2a2a;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown-menu li:last-child a { border-bottom: none; }
.nav-dropdown-menu a:hover {
  color: var(--white) !important;
  background: #222;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }

/* === COACH CARDS === */
.coach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 52px;
}
.coach-card { text-align: center; }
.coach-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
  border-radius: 2px;
  margin-bottom: 16px;
  filter: grayscale(15%);
  transition: filter 0.3s;
}
.coach-card img:hover { filter: grayscale(0%); }
.coach-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-bottom: 8px;
}
.coach-card li {
  font-size: 0.83rem;
  color: var(--mid-gray);
  line-height: 1.6;
}

/* === COACH PROFILE CARDS (location-card style, 4-up) === */
.coach-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.coach-profile-card {
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.2s;
}
.coach-profile-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); }

.coach-profile-img {
  width: 100%;
  height: 220px;
  background: #f0f0f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coach-profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.3s;
}
.coach-profile-card:hover .coach-profile-img img { transform: scale(1.04); }

.coach-profile-body {
  padding: 16px 18px 20px;
}
.coach-profile-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red);
  margin-bottom: 6px;
}
.coach-profile-body p {
  font-size: 0.85rem;
  color: var(--mid-gray);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .coach-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .coach-card-grid { grid-template-columns: 1fr; }
}

/* === COACH ACTION CARDS === */
.coach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 52px;
}

.coach-card-action {
  position: relative;
  background: #1a1a1a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coach-card-action-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-top: 24px;
  /* subtle red glow at bottom to ground the cutout */
  background: linear-gradient(to bottom, #1a1a1a 60%, #2a0a0a 100%);
}

.coach-card-action-img img {
  width: 85%;
  max-width: 340px;
  height: 380px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  transition: transform 0.35s ease;
}

.coach-card-action:hover .coach-card-action-img img {
  transform: scale(1.04);
}

.coach-card-action-info {
  width: 100%;
  padding: 20px 28px 28px;
  border-top: 3px solid var(--red);
  background: #111;
}

.coach-card-action-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 6px;
}

.coach-card-action-info li {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .coach-grid { grid-template-columns: 1fr; }
  .coach-card-action-img img { height: 280px; }
}

/* === LOCATION CARDS === */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 44px;
}
.location-card {
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.location-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
.location-card > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}
.location-card:hover > img { transform: scale(1.03); }
.location-card-body { padding: 20px; }
.location-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
  line-height: 1.2;
}
.location-card-body p {
  font-size: 0.88rem;
  color: var(--mid-gray);
  margin-bottom: 16px;
}

/* === BULLET LIST === */
.bullet-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  margin-top: 18px;
}
.bullet-list-single { grid-template-columns: 1fr; }
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.935rem;
  color: var(--mid-gray);
  line-height: 1.55;
}
.bullet-list li::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

/* === TIER CARDS (beginner / intermediate / advanced) === */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.tier-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.tier-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.tier-card p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.65;
}

/* === PHOTO BANNER === */
.photo-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 320px;
  overflow: hidden;
}
.photo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.photo-banner img:hover { transform: scale(1.03); }

.photo-banner-single {
  grid-template-columns: 1fr;
  height: 400px;
}

/* === LOCATION DETAIL === */
.location-detail-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.location-detail-info h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 6px;
}
.location-detail-info .venue {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.location-detail-info .address {
  font-size: 0.9rem;
  color: var(--mid-gray);
  margin-bottom: 24px;
  line-height: 1.5;
}
.location-detail-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 2px;
}

/* === MAP EMBED === */
.map-section {
  padding: 0;
  line-height: 0;
}
.map-section iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}
@media (max-width: 600px) {
  .map-section iframe { height: 280px; }
}

/* === FORM === */
.form-wrap {
  max-width: 560px;
}
.form-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 6px;
}
.form-title span { color: var(--red); }
.form-sub {
  color: var(--mid-gray);
  font-size: 0.9rem;
  margin-bottom: 26px;
  line-height: 1.65;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-gray);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,0,0,0.08);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.required-star { color: var(--red); }
.form-note {
  font-size: 0.85rem;
  color: var(--mid-gray);
  margin-top: 14px;
  line-height: 1.6;
}

/* === STRIP === */
.strip {
  background: var(--red);
  padding: 18px 24px;
  text-align: center;
}
.strip p {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

/* === CTA SECTION === */
.cta-section {
  background: var(--black);
  padding: 80px 24px;
  text-align: center;
}
.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.cta-section h2 span { color: var(--red); }
.cta-section p {
  color: #999;
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 0.975rem;
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  background: #0c0c0c;
  padding: 56px 24px 24px;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid #222;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-logo span { color: var(--red); }
.footer-desc {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  font-size: 0.875rem;
  color: #666;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  padding-top: 22px;
  font-size: 0.8rem;
  color: #444;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* === INFO BOX (book page sidebar) === */
.info-box {
  background: var(--light-gray);
  border-left: 4px solid var(--red);
  padding: 28px 24px;
  border-radius: 0 2px 2px 0;
}
.info-box h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--black);
  margin-bottom: 12px;
}
.info-box li {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.6;
  padding: 4px 0;
}
.info-box li + li { border-top: 1px solid var(--border); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .tier-grid  { grid-template-columns: 1fr; gap: 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links     { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile    { display: flex; }

  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-img { height: 260px; }

  .location-detail-split { grid-template-columns: 1fr; gap: 32px; }
  .location-detail-img   { height: 240px; }

  .bullet-list   { grid-template-columns: 1fr; }
  .card-grid     { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr 1fr; }

  .photo-banner        { height: 220px; }
  .photo-banner-single { height: 260px; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .form-row   { grid-template-columns: 1fr; }

  .section { padding: 56px 24px; }
}

@media (max-width: 540px) {
  .coach-grid    { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .photo-banner  { grid-template-columns: 1fr; height: auto; }
  .photo-banner img { height: 220px; }

  .hero { min-height: 420px; }
  .hero-content { padding: 64px 24px; }

  .btn-group { flex-direction: column; }
  .btn { text-align: center; }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}
