/* ============================================================
   Seattle School of Aikido — Static Site Stylesheet
   Style reference: aikidoseattle.org (red-accent, Bootstrap-like)
   ============================================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 56px; /* navbar height */
}

body {
  font-family: 'Source Sans 3', ui-sans-serif, -apple-system, "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #1c1917;
  background: #fff;
}

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

a {
  color: #990000;
  text-decoration: none;
}
a:hover {
  color: #cc0000;
  text-decoration: underline;
}

ul {
  list-style: none;
}

/* ---------- Container ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ---------- Top Banner ---------- */
.top-banner {
  background-color: #990000;
  color: #fff;
  text-align: center;
  padding: 8px 15px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.top-banner a {
  color: #fff;
  text-decoration: underline;
}
.top-banner a:hover {
  color: #ffdddd;
}

/* ---------- Hero / Parallax ---------- */
.parallax {
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #990000;
  margin-top: 16px;
  border-radius: 6px;
}
.parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #3a3a3a 100%);
  opacity: 0.95;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 24px;
  min-height: 140px;
}
.logo-container a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo-mark {
  font-family: 'Oswald', sans-serif;
  font-size: 2.4rem;
  color: #ddd;
  font-weight: 600;
  line-height: 1;
}
.logo-word {
  font-family: 'Oswald', sans-serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}
.kanji-container {
  display: flex;
  align-items: center;
}
.kanji {
  font-size: 4.5rem;
  color: rgba(255, 255, 255, 0.14);
  font-weight: 400;
  line-height: 1;
  user-select: none;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid #e7e5e4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-top: 16px;
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
}
.nav-list li a {
  display: block;
  padding: 14px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}
.nav-list li a:hover,
.nav-list li a:focus {
  color: #990000;
  background: #fafafa;
  text-decoration: none;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 1px;
}

/* ---------- Sections ---------- */
.section {
  padding: 48px 0 32px;
  border-bottom: 1px solid #e7e5e4;
}
.section:last-child {
  border-bottom: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1c1917;
  line-height: 1.2;
}
h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #990000;
  display: inline-block;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid #990000;
  display: inline-block;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #990000;
}
h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 10px;
  color: #444;
}

p {
  margin-bottom: 14px;
}

blockquote {
  margin: 0 0 24px 0;
  padding: 16px 24px;
  border-left: 4px solid #990000;
  background: #fafafa;
  font-style: italic;
  color: #555;
}
blockquote .cite {
  text-align: right;
  margin-bottom: 0;
}

em {
  font-style: italic;
}
strong {
  font-weight: 600;
}

/* ---------- Row / Columns ---------- */
.row {
  display: flex;
  gap: 32px;
}
.col-main {
  flex: 2;
  min-width: 0;
}
.col-side {
  flex: 1;
  min-width: 0;
}

/* ---------- Sidebar cards ---------- */
.cost {
  background: #fafafa;
  border: 1px solid #e7e5e4;
  border-radius: 8px;
  padding: 24px;
  margin-top: 4px;
}
.cost h4 {
  margin-top: 0;
  color: #990000;
}
.side-line {
  margin-bottom: 4px;
}
.cost hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 14px 0;
}

.highlight {
  border-top: 3px solid #990000;
  padding: 20px 24px;
  margin-top: 4px;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.highlight h4 {
  margin-top: 0;
  color: #990000;
}

.muted {
  color: #78716c;
  font-size: 0.9rem;
}

/* ---------- Timeline ---------- */
.timeline {
  margin: 8px 0 0 0;
}
.timeline li {
  padding: 6px 0 6px 18px;
  position: relative;
  font-size: 0.92rem;
  color: #555;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  background: #990000;
  border-radius: 50%;
}
.timeline li strong {
  color: #1c1917;
}

/* ---------- Schedule / Contact table ---------- */
.schedule {
  width: auto;
  border-collapse: collapse;
}
.schedule td {
  vertical-align: top;
  padding: 6px 0;
}
.contact-table {
  border-collapse: separate;
  border-spacing: 0 8px;
}
.contact-table td {
  padding: 4px 24px 4px 0;
  border: none;
  vertical-align: top;
}

/* ---------- Footer ---------- */
#footer {
  color: #666b6c;
  background: #fff;
  border-top: 1px solid #990000;
  margin-top: 10px;
  text-align: center;
  padding: 20px 0;
  overflow: hidden;
}
#footer-left {
  float: left;
}
#footer .social-media {
  color: #666b6c;
  padding-right: 0.5em;
  font-size: 1.1rem;
}
#footer .icon {
  color: #990000;
}
#footer-right {
  float: right;
  font-size: 0.9rem;
}
.footer-copy {
  clear: both;
  padding-top: 12px;
  font-size: 0.8rem;
  color: #999;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero-inner {
    padding: 20px 16px;
    min-height: 100px;
  }
  .logo-word {
    font-size: 1.3rem;
  }
  .logo-mark {
    font-size: 1.8rem;
  }
  .kanji {
    font-size: 2.5rem;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }
  .nav-inner {
    position: relative;
    flex-wrap: wrap;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  }
  .nav-list.open {
    display: flex;
  }
  .nav-list li a {
    padding: 12px 20px;
    border-bottom: 1px solid #f5f5f5;
  }

  .row {
    flex-direction: column;
    gap: 24px;
  }

  .dues-grid {
    grid-template-columns: 1fr;
  }

  #footer-left,
  #footer-right {
    float: none;
    display: block;
    margin-bottom: 8px;
  }

  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .logo-container a {
    gap: 10px;
  }
  .logo-word {
    font-size: 1.1rem;
  }
  .logo-mark {
    font-size: 1.4rem;
  }
  .kanji {
    display: none;
  }
  .section {
    padding: 32px 0 24px;
  }
}
