:root {
  --red: #c0392b;
  --deep-red: #7b1818;
  --black: #0d0d0d;
  --off-black: #1a1a1a;
  --charcoal: #2c2c2c;
  --white: #f5f0eb;
  --cream: #ede8e0;
  --gold: #b8964a;
  --wood-light: #8b6340;
  --wood-dark: #5c3d1e;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: "Crimson Pro", Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── WOOD GRAIN TEXTURE (CSS) ─── */
.wood-texture {
  background-color: var(--wood-dark);
  background-image:
    repeating-linear-gradient(
      92deg,
      transparent 0px,
      transparent 2px,
      rgba(255, 255, 255, 0.015) 2px,
      rgba(255, 255, 255, 0.015) 4px
    ),
    repeating-linear-gradient(
      88deg,
      transparent 0px,
      transparent 8px,
      rgba(0, 0, 0, 0.08) 8px,
      rgba(0, 0, 0, 0.08) 10px
    ),
    linear-gradient(180deg, #6b4226 0%, #4a2c0a 40%, #5c3d1e 100%);
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192, 57, 43, 0.3);
  transition: all 0.3s ease;
}

.nav-logo {
  font-family: "Shippori Mincho", serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--white);
  text-transform: uppercase;
}

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

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-family: "Crimson Pro", serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  transition:
    opacity 0.2s,
    color 0.2s;
}

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

/* ─── HERO ─── */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

/* .hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at center,
      rgba(192, 57, 43, 0.12) 0%,
      transparent 65%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%),
    url("https://images.unsplash.com/photo-1555597408-26bc8e548a46?w=1800&q=80")
      center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
} */

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.12);
  }
}

/* Bamboo silhouette overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(13, 13, 13, 0.6) 0%,
      transparent 30%,
      transparent 70%,
      rgba(13, 13, 13, 0.6) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(13, 13, 13, 0.4) 0%,
      transparent 30%,
      transparent 70%,
      rgba(13, 13, 13, 0.8) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeUp 1.2s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-kanji {
  font-family: "Zen Old Mincho", serif;
  font-size: 5rem;
  color: var(--red);
  opacity: 0.9;
  display: block;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 40px rgba(192, 57, 43, 0.5);
  animation: fadeUp 1.2s 0.2s ease both;
  letter-spacing: 0.1em;
}

.hero-title {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
  animation: fadeUp 1.2s 0.35s ease both;
  opacity: 0;
}

.hero-title em {
  color: var(--red);
  font-style: normal;
}

.hero-subtitle {
  font-family: "Crimson Pro", serif;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  margin-top: 0.8rem;
  animation: fadeUp 1.2s 0.5s ease both;
}

.hero-quote {
  position: relative;
  max-width: 560px;
  margin: 2.5rem auto 0;
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(245, 240, 235, 0.75);
  opacity: 0;
  animation: fadeUp 1.2s 0.65s ease both;
  line-height: 1.8;
}

.hero-quote::before {
  content: '"';
  font-family: "Shippori Mincho", serif;
  font-size: 4rem;
  color: var(--red);
  opacity: 0.5;
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  line-height: 1;
}

.hero-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.8rem;
}

.hero-cta {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.9rem 2.5rem;
  border: 1px solid var(--red);
  color: var(--white);
  text-decoration: none;
  font-family: "Crimson Pro", serif;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition:
    background 0.3s,
    color 0.3s;
  opacity: 0;
  animation: fadeUp 1.2s 0.8s ease both;
}

.hero-cta:hover {
  background: var(--red);
  color: var(--white);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  animation: bounce 2s 2s ease infinite;
}

.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--white), transparent);
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ─── SECTION SHARED ─── */
section {
  padding: 7rem 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-label span {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  font-family: "Crimson Pro", serif;
}

.section-label::after {
  content: "";
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--red);
  opacity: 0.5;
}

.section-title {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--red);
  margin: 1.5rem 0;
}

/* ─── ABOUT ─── */
#about {
  background: var(--off-black);
  position: relative;
  overflow: hidden;
}

#about::before {
  content: "合気道";
  font-family: "Zen Old Mincho", serif;
  font-size: 20rem;
  color: rgba(192, 57, 43, 0.04);
  position: absolute;
  right: -3rem;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text p {
  color: rgba(245, 240, 235, 0.75);
  margin-bottom: 1.2rem;
}

.philosophy-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pillar {
  border-left: 2px solid var(--red);
  padding-left: 1rem;
}

.pillar h4 {
  font-family: "Shippori Mincho", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.pillar p {
  font-size: 0.9rem;
  color: rgba(245, 240, 235, 0.6);
  margin: 0 !important;
}

/* Instructor Cards */
.instructor-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.instructor-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--red);
  padding: 1.8rem;
  transition: background 0.3s;
}

.instructor-card:hover {
  background: rgba(192, 57, 43, 0.06);
}

.instructor-card h3 {
  font-family: "Shippori Mincho", serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.instructor-card .role {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.8rem;
  display: block;
}

.instructor-card p {
  font-size: 0.95rem;
  color: rgba(245, 240, 235, 0.65);
  line-height: 1.7;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cred-tag {
  background: rgba(192, 57, 43, 0.15);
  border: 1px solid rgba(192, 57, 43, 0.3);
  color: var(--red);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.7rem;
}

/* ─── CLASSES ─── */
#classes {
  background: var(--black);
  position: relative;
}

.classes-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Timetable */
.timetable {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.timetable thead tr {
  background: var(--red);
}

.timetable th {
  font-family: "Crimson Pro", serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 400;
}

.timetable tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.2s;
}

.timetable tbody tr:hover {
  background: rgba(192, 57, 43, 0.08);
}

.timetable td {
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  color: rgba(245, 240, 235, 0.8);
}

.timetable td:first-child {
  font-family: "Shippori Mincho", serif;
  color: var(--white);
  font-weight: 600;
}

.level-badge {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  text-transform: uppercase;
}

.level-badge.all {
  background: rgba(184, 150, 74, 0.2);
  color: var(--gold);
}
.level-badge.beginner {
  background: rgba(46, 204, 113, 0.15);
  color: #5dade2;
}
.level-badge.advanced {
  background: rgba(192, 57, 43, 0.2);
  color: var(--red);
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.8rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: "Crimson Pro", serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.download-btn:hover {
  background: var(--gold);
  color: var(--black);
}

.classes-info > div {
  margin-bottom: 2.5rem;
}

.classes-info h3 {
  font-family: "Shippori Mincho", serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.classes-info h3::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--red);
}

.bring-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bring-list li {
  font-size: 0.95rem;
  color: rgba(245, 240, 235, 0.7);
  padding-left: 1.2rem;
  position: relative;
}

.bring-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--red);
}

.map-embed {
  width: 100%;
  height: 220px;
  border: 0;
  filter: grayscale(60%) invert(10%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-placeholder {
  width: 100%;
  height: 220px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.map-placeholder .map-icon {
  font-size: 2rem;
}

/* ─── GALLERY ─── */
#gallery {
  background: var(--off-black);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--charcoal);
}

.gallery-item:first-child {
  grid-column: 1 / 3;
  grid-row: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  filter: brightness(0.8);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.65);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(192, 57, 43, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.gallery-item:hover .overlay {
  background: rgba(192, 57, 43, 0.1);
}

.gallery-placeholder {
  width: 100%;
  padding-bottom: 70%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
}

.gallery-placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.gallery-placeholder-inner .ph-icon {
  font-size: 2rem;
  opacity: 0.3;
}

/* Testimonials */
.testimonials {
  margin-top: 4rem;
}

.testimonials h3 {
  font-family: "Shippori Mincho", serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.8rem;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: "Shippori Mincho", serif;
  font-size: 3rem;
  color: var(--red);
  opacity: 0.4;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}

.testimonial p {
  font-style: italic;
  color: rgba(245, 240, 235, 0.7);
  font-size: 0.95rem;
  padding-top: 1.5rem;
}

.testimonial cite {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1rem;
}

/* ─── CONTACT ─── */
#contact {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

#contact::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--red), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h3 {
  font-family: "Shippori Mincho", serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: rgba(245, 240, 235, 0.65);
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.contact-detail .icon {
  font-size: 1.2rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.contact-detail div {
  font-size: 0.9rem;
  color: rgba(245, 240, 235, 0.7);
}

.contact-detail strong {
  display: block;
  font-family: "Crimson Pro", serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.2rem;
  font-weight: 400;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

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

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

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.5);
  font-family: "Crimson Pro", serif;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(192, 57, 43, 0.4);
  color: var(--white);
  font-family: "Crimson Pro", serif;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  outline: none;
  transition:
    border-color 0.3s,
    background 0.3s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: rgba(192, 57, 43, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 240, 235, 0.25);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.submit-btn {
  padding: 1rem 2rem;
  background: var(--red);
  border: none;
  color: var(--white);
  font-family: "Crimson Pro", serif;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.2s;
  align-self: flex-start;
}

.submit-btn:hover {
  background: var(--deep-red);
  transform: translateY(-1px);
}

.form-note {
  font-size: 0.82rem;
  color: rgba(245, 240, 235, 0.35);
  margin-top: 0.2rem;
}

/* ─── FOOTER ─── */
footer {
  background: var(--off-black);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-kanji {
  font-family: "Zen Old Mincho", serif;
  font-size: 2rem;
  color: var(--red);
  opacity: 0.5;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-name {
  font-family: "Shippori Mincho", serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-note {
  font-size: 0.8rem;
  color: rgba(245, 240, 235, 0.3);
  letter-spacing: 0.1em;
}

/* ─── RED DIVIDER STRIP ─── */
.red-strip {
  height: 4px;
  background: var(--red);
}

/* ─── WOOD BAND ─── */
.wood-band {
  height: 60px;
  background-color: var(--wood-dark);
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 3px,
      rgba(255, 255, 255, 0.02) 3px,
      rgba(255, 255, 255, 0.02) 6px
    ),
    linear-gradient(180deg, #7a4f2a 0%, #3e220a 50%, #6b4226 100%);
  border-top: 2px solid rgba(184, 150, 74, 0.3);
  border-bottom: 2px solid rgba(184, 150, 74, 0.3);
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.js-loaded .reveal {
  opacity: 0;
  transform: translateY(30px);
}

.js-loaded .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
  }
  .nav-links {
    display: none;
  }
  .about-grid,
  .classes-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item:first-child {
    grid-column: 1 / 3;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .philosophy-pillars {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  section {
    padding: 4rem 0;
  }
  .hero-kanji {
    font-size: 3rem;
  }
}
