/* ════════════════════════════════
   HIRO NINJA — Main Page Styles
════════════════════════════════ */

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --red: #c8102e;
  --white: #ffffff;
  --gray: #888888;
  --light-gray: #f5f5f5;
}

body {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  background-color: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.15em;
  color: var(--white);
  text-decoration: none;
}

.nav-logo span {
  color: var(--red);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--red);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(200, 16, 46, 0.12) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 100%),
    url('../PICS/ninjanakaji.png') center top / cover no-repeat;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.01) 2px,
      rgba(255,255,255,0.01) 4px
    );
  pointer-events: none;
}

.hero-kanji {
  position: absolute;
  font-family: 'Noto Sans JP', serif;
  font-weight: 700;
  color: rgba(200, 16, 46, 0.06);
  font-size: clamp(200px, 30vw, 400px);
  line-height: 1;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-title .accent {
  color: var(--red);
  display: block;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 50px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.9s;
}

.btn {
  display: inline-block;
  padding: 18px 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.1);
  transition: left 0.3s ease;
}

.btn:hover::before {
  left: 0;
}

.btn-primary {
  background-color: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #a00d25;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(200, 16, 46, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.5s;
}

.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* ===== SECTION: ABOUT ===== */
.section-about {
  padding: 120px 40px;
  background-color: var(--dark);
  position: relative;
  overflow: hidden;
}

.section-about::before {
  content: 'NINJA';
  position: absolute;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(100px, 20vw, 250px);
  color: rgba(255,255,255,0.02);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.section-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  margin-bottom: 30px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.about-image {
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid var(--red);
  opacity: 0.4;
  z-index: 0;
}

.about-image-inner {
  position: relative;
  z-index: 1;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a0a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-image-inner .placeholder-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: rgba(200,16,46,0.55);
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 2;
  padding: 24px;
  border: 1px dashed rgba(200,16,46,0.3);
}

/* ===== SECTION: PROGRAMS ===== */
.section-programs {
  padding: 120px 40px;
  background-color: var(--black);
}

.section-programs .section-heading {
  text-align: center;
  margin-bottom: 80px;
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
}

.program-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: var(--white);
  cursor: pointer;
}

.program-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.program-card:hover .program-card-bg {
  transform: scale(1.05);
}

.card-athlete .program-card-bg {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0a0a 40%, #2d0d0d 100%);
}

.card-trainer .program-card-bg {
  background: linear-gradient(135deg, #0a0a0d 0%, #0a0a1a 40%, #0d0d2d 100%);
}

.program-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.program-card-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 5rem;
  opacity: 0.15;
  transition: opacity 0.3s;
}

.program-card:hover .program-card-icon {
  opacity: 0.25;
}

.program-card-content {
  position: relative;
  z-index: 10;
  padding: 50px 40px;
  width: 100%;
}

.program-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 5px 14px;
  margin-bottom: 20px;
}

.program-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.program-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 30px;
}

.program-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  transition: gap 0.3s;
}

.program-card:hover .program-arrow {
  gap: 18px;
}

.program-arrow::after {
  content: '→';
  font-size: 1.2rem;
}

/* ===== SECTION: FEATURES ===== */
.section-features {
  padding: 120px 40px;
  background-color: var(--dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 80px;
}

.feature-item {
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  transition: border-color 0.3s;
}

.feature-item:hover {
  border-color: rgba(200,16,46,0.4);
}

.feature-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: var(--red);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 20px;
}

.feature-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
}

.feature-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* ===== SECTION: TRAINER ===== */
.section-trainer {
  padding: 120px 40px;
  background-color: var(--black);
}

.trainer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.trainer-image {
  position: relative;
}

.trainer-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80%;
  height: 80%;
  border: 2px solid rgba(200,16,46,0.3);
  z-index: 0;
}

.trainer-image-inner {
  position: relative;
  z-index: 1;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #1a1a1a, #2a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.trainer-image-inner .placeholder-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: rgba(200,16,46,0.55);
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 2;
  padding: 24px;
  border: 1px dashed rgba(200,16,46,0.3);
}

.trainer-info .section-label {
  margin-bottom: 12px;
}

.trainer-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.trainer-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 30px;
}

.trainer-bio p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.trainer-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--red);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 5px;
}

/* ===== SECTION: CTA ===== */
.section-cta {
  padding: 150px 40px;
  background:
    radial-gradient(ellipse at center, rgba(200,16,46,0.2) 0%, transparent 70%),
    var(--black);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '忍者';
  position: absolute;
  font-family: 'Noto Sans JP', serif;
  font-size: clamp(150px, 25vw, 350px);
  color: rgba(255,255,255,0.02);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin-bottom: 30px;
}

.cta-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  margin-bottom: 60px;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--dark);
  padding: 60px 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.15em;
  color: var(--white);
  text-decoration: none;
}

.footer-logo span {
  color: var(--red);
}

.footer-socials {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.social-link:hover {
  border-color: var(--red);
  background-color: var(--red);
}

.footer-contact {
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.footer-contact a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}

/* ===== HAMBURGER & MOBILE NAV ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

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

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.98);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.15em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--red); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.8); }
}

/* ===== IMAGE PLACEHOLDERS ===== */
.ph-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
  text-align: center;
  padding: 8px 14px;
  border: 1px dashed rgba(255,255,255,0.12);
  z-index: 2;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .section-about,
  .section-programs,
  .section-features,
  .section-trainer,
  .section-cta { padding: 80px 20px; }

  .about-grid,
  .trainer-grid { grid-template-columns: 1fr; gap: 50px; }

  .about-image { order: -1; }

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

  .features-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 50px; }

  .program-card { min-height: 400px; }

  .hero-cta { flex-direction: column; align-items: center; }

  .btn { width: 100%; max-width: 300px; text-align: center; }

  .trainer-stats { gap: 20px; }
}
