/* ─────────────────────────────────────────────
   OLD TOWN MARTIAL ARTS - Shared Stylesheet
   ───────────────────────────────────────────── */

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

:root {
  --warm-white:  #f7f5f2;
  --off-white:   #edeae4;
  --stone:       #d8d3ca;
  --charcoal:    #1e1e1b;
  --mid:         #5a5a54;
  --light-mid:   #9a9990;
  --steel:       #3d6b8a;
  --steel-light: #d4e4ef;
  --white:       #ffffff;
  --black:       #111110;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }

/* ── NAV ──────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247,245,242,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 60px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--mid);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--charcoal); }
.nav-cta {
  color: var(--white) !important;
  background: var(--charcoal);
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 500 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.02em;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--steel) !important; }

/* ── BUTTONS ──────────────────────────────────── */
.btn-dark {
  background: var(--charcoal);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: inline-block;
  transition: background 0.2s;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  border: none;
}
.btn-dark:hover { background: var(--steel); }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--charcoal);
  display: inline-block;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
}
.btn-outline:hover { background: var(--charcoal); color: var(--white); }

.btn-text {
  color: var(--mid);
  font-size: 14px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, gap 0.2s;
}
.btn-text:hover { color: var(--charcoal); gap: 10px; }
.btn-text svg { width: 14px; height: 14px; }

/* ── SECTION HEADERS ──────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(30px, 3vw, 48px);
  color: var(--charcoal);
  font-weight: 400;
  line-height: 1.1;
}
.section-title em { font-style: italic; color: var(--steel); }

/* ── PAGE HERO (inner pages) ──────────────────── */
.page-hero {
  padding-top: 68px;
  background: var(--warm-white);
  border-bottom: 1px solid var(--off-white);
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 48px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}
.page-hero-content {}
.page-hero-content .section-label { margin-bottom: 14px; }
.page-hero-content h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 4.5vw, 64px);
  color: var(--charcoal);
  font-weight: 400;
  line-height: 1.05;
}
.page-hero-content h1 em { font-style: italic; color: var(--steel); }
.page-hero-desc {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.8;
  font-weight: 300;
  max-width: 480px;
  margin-top: 20px;
}
.page-hero-img {
  height: 320px;
  border-radius: 4px;
  overflow: hidden;
}
.page-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.85);
}

/* ── MARQUEE ──────────────────────────────────── */
.marquee-wrap {
  background: var(--charcoal);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.marquee-item span { color: var(--white); }
.marquee-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--steel);
  flex-shrink: 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── PHOTO STRIP ──────────────────────────────── */
.strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 260px;
}
.strip-item { overflow: hidden; }
.strip-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.82);
  transition: filter 0.4s, transform 0.5s;
}
.strip-item:hover img {
  filter: grayscale(60%) brightness(0.9);
  transform: scale(1.05);
}

/* ── CTA BAND ─────────────────────────────────── */
.cta-band {
  background: var(--warm-white);
  border-top: 1px solid var(--off-white);
  border-bottom: 1px solid var(--off-white);
  padding: 80px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-band-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 3vw, 42px);
  color: var(--charcoal);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 10px;
}
.cta-band-text h2 em { font-style: italic; color: var(--steel); }
.cta-band-text p { font-size: 16px; color: var(--mid); font-weight: 300; }
.cta-band-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* ── FOOTER ───────────────────────────────────── */
footer {
  background: var(--charcoal);
  padding: 64px 48px 36px;
}
.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 46px; margin-bottom: 18px; opacity: 0.9; }
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  line-height: 1.75;
  font-weight: 300;
  max-width: 240px;
}
.footer-col h5 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  font-weight: 300;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }
.socials { display: flex; gap: 10px; }
.social-btn {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: border-color 0.2s, color 0.2s;
}
.social-btn:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }
.social-btn svg { width: 14px; height: 14px; fill: currentColor; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 900px) {
  .nav-inner { padding: 0 24px; }
  .page-hero-inner { grid-template-columns: 1fr; padding: 48px 24px; }
  .page-hero-img { display: none; }
  .cta-band { padding: 60px 24px; flex-direction: column; text-align: center; }
  .cta-band-actions { flex-direction: column; width: 100%; }
  footer { padding: 48px 24px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip-item:nth-child(n+4) { display: none; }
}
/* ── HAMBURGER BUTTON ─────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .footer-top { grid-template-columns: 1fr; }

  .nav-hamburger { display: flex; }

  nav.nav--open .nav-links {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: rgba(247,245,242,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stone);
    padding: 8px 0 16px;
    gap: 0;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    list-style: none;
  }
  nav.nav--open .nav-links li {
    border-bottom: 1px solid var(--off-white);
  }
  nav.nav--open .nav-links li:last-child { border-bottom: none; }
  nav.nav--open .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    color: var(--charcoal) !important;
    font-weight: 400;
    background: none !important;
    border-radius: 0 !important;
  }
  nav.nav--open .nav-links .nav-cta {
    margin: 8px 24px 0;
    display: block;
    text-align: center;
    padding: 13px 24px !important;
    background: var(--charcoal) !important;
    color: var(--white) !important;
    border-radius: 4px !important;
  }

  nav.nav--open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  nav.nav--open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  nav.nav--open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── SEMINAR ANNOUNCEMENT BAR ───────────────── */
#seminar-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 44px;
  background: var(--steel);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 32px;
}
.seminar-bar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  justify-content: center;
}
.seminar-bar-pill {
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}
.seminar-bar-text {
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seminar-bar-cta {
  font-size: 12.5px;
  font-weight: 500;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.45);
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.seminar-bar-cta:hover { border-bottom-color: #fff; }
.seminar-bar-dismiss {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  cursor: pointer;
  padding: 4px 8px;
  flex-shrink: 0;
  transition: color 0.2s;
  line-height: 1;
}
.seminar-bar-dismiss:hover { color: #fff; }
@media (max-width: 640px) {
  .seminar-bar-pill { display: none; }
  .seminar-bar-text { font-size: 11.5px; }
  #seminar-bar { padding: 0 12px 0 16px; }
}
