/* BASIC RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
/* COLOURS (from logo) */
:root {
  --brand-blue: #2186d5;
  --brand-blue-dark: #0d5a97;
  --bg-main: #7a7b7d;
  --bg-light: #ffffff7e;
  --text-main: #1a1a1a;
  --text-muted: #6a6a6a;
  --border-soft: #e1e4ee70;
  --radius-lg: 18px;
  --radius-md: 12px;
}

/* BASE TYPOGRAPHY */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #ffffff 0, #f5f6fa 45%, #eef1f8 100%);
  color: var(--text-main);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a {
  color: var(--brand-blue-dark);
}

/* LAYOUT UTILITIES */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* HEADER + NAV */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.35rem;  /* was 0.7rem – brings logo + text closer */
  text-decoration: none;
  color: inherit;
}

.logo img {
  width: 56px;
  height: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;   /* makes the two lines sit closer */
}

.club-name {
  font-size: 0.5rem;  /* adjust as you like */
  margin: 0;
}

.club-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* NAVIGATION */
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: var(--text-muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  background: #e5f1fb;
  color: var(--brand-blue-dark);
}

.main-nav a.active,
.main-nav a[aria-current="page"] {
  background: var(--brand-blue);
  color: #ffffff;
}


/* HERO WITH JAPANESE DOJO BACKGROUND */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: url("assets/img/background4.jpg") center/cover no-repeat;
  color: #ffffff;
}

/* dark overlay for readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(1px);
}


.hero-inner {
  display: flex;
  justify-content: center;   /* horizontal centre */
  align-items: center;       /* vertical centre if hero has height */
  text-align: center;        /* centre text */
  min-height: 70vh;          /* ensures vertical centring works */
  position: relative;
  z-index: 1;
  padding: 3rem 0 2.5rem;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-kanji {
  font-family: "Noto Serif JP", serif;
  font-size: 1.3rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e3e6f0;
  margin-bottom: 0.4rem;
}

.hero-text h1 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.hero-lead {
  color: #e0e3ee;
  max-width: 540px;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* centre the buttons as a group */
  gap: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 0.9rem;
}

.hero-meta {
  font-size: 0.9rem;
  color: #cfd4e3;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn.primary {
  background: var(--brand-blue);
  color: #ffffff;
}

.btn.primary:hover,
.btn.primary:focus {
  background: var(--brand-blue-dark);
}

.btn.ghost {
  background: transparent;
  border-color: #2186d5;
  color: #ffffff;
}

.btn.ghost:hover,
.btn.ghost:focus {
  background: #2186d5;
}

/* GENERIC SECTION STYLING */
.section {
  padding: 2.5rem 0;
}

.section h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

/* subtle “ink” underline */
.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 90px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-blue-dark), var(--brand-blue));
}

.section-intro {
  color: #f5f7f8;
  margin-top: 0.4rem;
  margin-bottom: 1.4rem;
  max-width: 720px;
  font-size: 1.5rem;
  text-align: center;   /* 👈 this centres the text */
  margin-left: auto;    /* keeps it centred in container */
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 8px 18px rgba(15, 35, 70, 0.03);
}

.card h3 {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: #0d5a97;
}

.card p {
  font-size: 0.93rem;
}

.card .meta {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* WHY JUDO LIST */
.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.list-column {
  background: linear-gradient(135deg, #fffaf2 0%, #f5e8d0 100%);
  border-radius: 20px;
  border: 1px solid #e6d9c6;
  box-shadow: 0 6px 12px rgba(42, 31, 15, 0.08);
  padding: 2rem;
  transition: all 0.3s ease;
  max-width: 400px;
  text-align: left;
}

.list-column:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(42, 31, 15, 0.15);
  background: linear-gradient(135deg, #fff6f2 0%, #f0d9c6 100%);
  border-color: #c84c3c;
}

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

.list-column li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #2a1f0f;
  font-family: "Noto Sans JP", sans-serif;
}

.list-column li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: #b23a28;
  font-size: 1.2rem;
  line-height: 1;
}

.list-column li:hover {
  color: #8c2e20;
  transition: color 0.3s ease;
}

/* TESTIMONIALS */
.testimonials .card.quote {
  position: relative;
}

.testimonials .card.quote::before {
  content: "“";
  position: absolute;
  top: -0.7rem;
  left: 0.4rem;
  font-size: 2.5rem;
  color: #dde5f5;
}

.quote p {
  margin-left: 0.6rem;
}

.quote-name {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* AFFILIATIONS */
.small-cards .card {
  padding: 0.9rem 1rem;
}

/* LINKS */
.text-link {
  display: inline-block;
  margin-top: 0.3rem;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus {
  text-decoration: underline;
}

/* FOOTER */
.site-footer {
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border-soft);
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  margin-top: 0.25rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  text-decoration: underline;
}

.footer-social a {
  text-decoration: none;
  font-weight: 600;
  color: var(--brand-blue-dark);
}

.footer-social a:hover,
.footer-social a:focus {
  text-decoration: underline;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .hero {
    min-height: 60vh;
  }

  .hero-inner {
    padding: 2.5rem 0 2rem;
  }

  .hero-text {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul {
    justify-content: flex-start;
  }

}

/* SECTION BACKGROUND */
.sessions-summary {
  background: linear-gradient(180deg, #fdfaf6 0%, #f5efe6 100%);
  padding: 4rem 1rem;
  text-align: center;
  border-top: 1px solid #e6d9c6;
  border-bottom: 1px solid #e6d9c6;
}

/* TITLES AND INTRO */
.sessions-summary h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  color: #2a1f0f;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.sessions-summary .section-intro {
  max-width: 600px;
  margin: 0 auto 3rem;
  color: #4b3f2f;
  font-size: 1rem;
}

/* Gradient Cards */
.gradient-card {
  background: linear-gradient(135deg, #fffaf2 0%, #f5e8d0 100%);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e6d9c6;
  box-shadow: 0 6px 12px rgba(42, 31, 15, 0.08);
  transition: all 0.3s ease;
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
}

/* Subtle Japanese feel — a hint of red accent on hover */
.gradient-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(42, 31, 15, 0.15);
  background: linear-gradient(135deg, #fff6f2 0%, #f0d9c6 100%);
  border-color: #2186d5;
}

/* Headings and text */
.gradient-card p {
  color: #2a1f0f;
  line-height: 1.6;
}

.gradient-card .meta {
  font-size: 0.9rem;
  color: #2186d5;
  margin-top: 1rem;
  font-style: italic;
}

.gradient-card a {
  color: #2186d5;
  text-decoration: underline;
}

.gradient-card a:hover {
  text-decoration: none;
  color: #2186d5;
}

.why-judo {
  background: linear-gradient(180deg, #fdfaf6 0%, #f5efe6 100%);
  padding: 4rem 1rem;
  text-align: center;
  border-top: 1px solid #e6d9c6;
  border-bottom: 1px solid #e6d9c6;
}

/* Heading and intro */
.why-judo h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  color: #2a1f0f;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.why-judo .section-intro {
  max-width: 650px;
  margin: 0 auto 3rem;
  color: #4b3f2f;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.section.coming-soon {
  padding: 4rem 1rem;
  text-align: center;
}

.section.coming-soon h1 {
  margin-bottom: 1rem;
}

.section.coming-soon .section-intro {
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

/* CONTACT PAGE LAYOUT */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
/* Gradient card (reuse from Sessions section) */
.gradient-card.contact-card {
  background: linear-gradient(135deg, #fffaf2 0%, #f5e8d0 100%);
  border-radius: 20px;
  border: 1px solid #e6d9c6;
  box-shadow: 0 6px 12px rgba(42, 31, 15, 0.08);
  padding: 2rem;
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
  transition: all 0.3s ease;
}

.gradient-card.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(42, 31, 15, 0.15);
  border-color: #2186d5;
}

/* Address formatting */
.contact-card address {
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #2a1f0f;
}

/* Map section styling */
.contact-map {
  padding: 2rem;
  border-radius: 20px;
  text-align: left;
}

.contact-map h2 {
  color: #2186d5;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 1rem;
}

.map-note {
  font-size: 0.9rem;
  color: #7b6b5a;
  margin-top: 0.75rem;
}

/* CONTACT FORM SECTION */
.contact-form-section {
  background: linear-gradient(180deg, #fdfaf6 0%, #f5efe6 100%);
  padding: 4rem 1rem 5rem;
  border-top: 1px solid #e6d9c6;
}

.contact-form-section h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.8rem;
  color: #2a1f0f;
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact-form-section .section-intro {
  max-width: 650px;
  margin: 0 auto 2.5rem;
  color: #4b3f2f;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
}

/* Form card styling reusing gradient-card */
.contact-form-card {
  max-width: 800px;
  margin: 0 auto;
}

/* Form layout */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #2a1f0f;
  font-family: "Noto Sans JP", sans-serif;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid #d3c4ad;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.9);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #b23a28;
  box-shadow: 0 0 0 2px rgba(178, 58, 40, 0.15);
}

/* Consent checkbox */
.form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 400;
}

.form-consent input[type="checkbox"] {
  margin-top: 0.2rem;
}

/* Hide honeypot field */
.hidden {
  display: none;
}

/* Button styling */
.btn.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #2186d5 0%, #0d5a97 100%);
  color: #fff;
  box-shadow: 0 4px 10px rgba(42, 31, 15, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(42, 31, 15, 0.3);
  background: linear-gradient(135deg, #83aed0 0%, #61a7e1 100%);
}

.btn.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(42, 31, 15, 0.2);
}
    /* PAGE BACKGROUND */
    body {
      background: url("assets/img/background4.jpg") center/cover no-repeat fixed;
      color: #fff;
      font-family: 'Noto Sans JP', sans-serif;
      text-align: center;
    }

    /* OVERLAY */
    .overlay {
      background: rgba(0, 0, 0, 0.65);
      padding: 60px 20px;
      min-height: 70vh;
    }

    /* SESSION CONTAINER */
    .sessions-container {
      max-width: 800px;
      margin: 0 auto;
      background-color: rgba(255, 255, 255, 0.1);
      border: 2px solid #c5b358;
      border-radius: 12px;
      padding: 30px;
      box-shadow: 0 0 10px rgba(0,0,0,0.3);
    }

    h1 {
      font-size: 2.2rem;
      margin-bottom: 20px;
      color: #c5b358;
    }

    h2 {
      font-size: 1.6rem;
      color: #fff;
      margin-top: 30px;
    }

    .session-times {
      margin-top: 10px;
      font-size: 1.2rem;
      line-height: 1.8;
    }

    .note {
      margin-top: 20px;
      font-style: italic;
      color: #ddd;
    }

    /* Sessions page */
.sessions-page {
  background: url("assets/img/background4.jpg") center/cover no-repeat fixed;
  color: #fff;
  text-align: center;
}

/* Dark overlay over background */
.sessions-page .overlay {
  background: rgba(0, 0, 0, 0.65);
  padding: 60px 20px;
  min-height: 70vh;
}

/* Main container */
.sessions-page .sessions-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.08);
  border: 2px solid #c5b358;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.35);
}

/* Heading styles (page-specific so they don't affect other pages) */
.sessions-page h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #c5b358;
}

.sessions-page h2 {
  font-size: 1.5rem;
  margin-top: 20px;
}

/* Layout for junior vs senior blocks */
.sessions-page .sessions-grid {
  display: grid;
  gap: 24px;
  margin-top: 20px;
}

/* Side-by-side on larger screens */
@media (min-width: 700px) {
  .sessions-page .sessions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sessions-page .session-block {
  padding: 15px;
}

/* List of times */
.sessions-page .session-times {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.sessions-page .session-times li {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Note text */
.sessions-page .note {
  margin-top: 25px;
  font-style: italic;
  color: #ddd;
}

/* --- Footer Styles --- */
.site-footer {
  color: #fff;
  text-align: center;
  padding: 20px 0;
  width: 100%;
  margin-top: auto; /* ensures it sticks to the bottom when body is flex */
  border-top: 2px solid #c5b358; /* optional gold accent line */
  background: rgba(0, 0, 0, 0.6);
}

.site-footer a {
  color: #c5b358;
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Footer inner layout */
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Make it side-by-side on larger screens */
@media (min-width: 700px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}
