/* ==========================================================================
   onekyokushin.org - Core Design System & Base Styles
   Brand Identity: Crisp Pure White & Bold Kyokushin Red
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=Noto+Serif+JP:wght@600;900&display=swap');

:root {
  /* Color Palette - White & Red Brand Identity */
  --color-white: #FFFFFF;
  --color-bg-base: #FFFFFF;
  --color-bg-alt: #F8F9FB;
  --color-bg-subtle: #F1F3F7;
  --color-bg-dark: #0F1014;
  --color-bg-card: #FFFFFF;
  
  /* Kyokushin Red Accents */
  --color-red: #E10600;
  --color-red-hover: #BF0500;
  --color-red-dark: #8F0000;
  --color-red-light: #FFF1F0;
  --color-red-subtle: rgba(225, 6, 0, 0.08);
  --color-red-border: rgba(225, 6, 0, 0.2);
  --color-red-glow: rgba(225, 6, 0, 0.25);

  /* Typography Colors */
  --color-text-main: #14151A;
  --color-text-heading: #0A0B0D;
  --color-text-muted: #5C6270;
  --color-text-light: #8E95A5;
  --color-text-on-dark: #FFFFFF;
  --color-text-on-red: #FFFFFF;

  /* Borders & Dividers */
  --color-border: #E5E7EB;
  --color-border-light: #EFF1F5;
  --color-border-hover: #D1D5DB;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-red: 0 8px 24px rgba(225, 6, 0, 0.22);
  --shadow-card-hover: 0 16px 36px rgba(0, 0, 0, 0.09), 0 0 0 1px rgba(225, 6, 0, 0.15);

  /* Typography Stack */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Cinzel', serif;
  --font-kanji: 'Noto Serif JP', serif;

  /* Sizing & Transitions */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

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

.section {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}

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

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-red-light);
  color: var(--color-red);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid var(--color-red-border);
}

.section-tag svg {
  width: 14px;
  height: 14px;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-title .text-red {
  color: var(--color-red);
  font-style: italic;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Kanji Accent Styling */
.kanji-watermark {
  font-family: var(--font-kanji);
  position: absolute;
  color: rgba(0, 0, 0, 0.03);
  user-select: none;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background-color: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(225, 6, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background-color: var(--color-red-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-text-main);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-red);
  color: var(--color-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-red);
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background-color: #FFF5F5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-red {
  background-color: var(--color-red-light);
  color: var(--color-red);
  border: 1px solid var(--color-red-border);
}

.badge-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
}

.badge-gray {
  background-color: var(--color-bg-subtle);
  color: var(--color-text-muted);
}
