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

/* === BASE === */
body {
  font-family: 'Iosevka Charon Mono', 'Space Mono', monospace;
  background-color: #0A0A0A;
  color: #E8E2D0;
  line-height: 1.75;
  font-size: 15px;
}

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

a {
  color: #D4AF37;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #E8E2D0;
}

/* === TOP NAV === */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid #1C1C1C;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2rem;
}

.nav-logo {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #D4AF37;
}

.hamburger {
  background: none;
  border: none;
  color: #E8E2D0;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0;
}

.nav-links {
  display: none;
  flex-direction: column;
  padding: 0 2rem 1.25rem;
  background-color: rgba(10, 10, 10, 0.95);
}

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

.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #777267;
  padding: 0.85rem 0;
  border-bottom: 1px solid #1A1A1A;
}

.nav-links a.current,
.nav-links a:hover {
  color: #D4AF37;
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
  .nav-links {
    display: flex;
    flex-direction: row;
    padding: 0;
    background: transparent;
    gap: 2.75rem;
  }
  .nav-links a {
    border-bottom: none;
    padding: 0;
    font-size: 0.65rem;
  }
}

/* === HERO === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 540px;
  background-image: url('https://images.unsplash.com/photo-1553621042-f6e147245754?w=1800&q=85');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.hero p {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B8B2A0;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero p {
    font-size: 0.85rem;
  }
}

/* Smaller hero for inner pages */
.hero-sm {
  height: 55vh;
  min-height: 360px;
}

.hero-sm h1 {
  font-size: 1.7rem;
}

@media (min-width: 768px) {
  .hero-sm h1 {
    font-size: 2.4rem;
  }
}

/* === PAGE WRAP === */
.page-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

@media (min-width: 768px) {
  .page-wrap {
    padding: 8rem 3rem;
  }
}

/* === SECTION HEADER === */
.section-meta {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }
}

.divider {
  width: 60px;
  height: 1px;
  background-color: #D4AF37;
  margin: 2rem 0 3rem;
}

/* === INTRO (HOME) === */
.intro-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.intro-image {
  width: 100%;
}

.intro-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.intro-text {
  width: 100%;
}

.intro-text p {
  font-size: 0.88rem;
  color: #B8B2A0;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .intro-image {
    width: 45%;
  }
  .intro-image img {
    height: 460px;
  }
  .intro-text {
    flex: 1;
  }
}

/* === COURSE MENU (HOME) === */
.course-menu {
  margin-top: 8rem;
}

.course-list {
  list-style: none;
  border-top: 1px solid #1C1C1C;
}

.course-list li {
  border-bottom: 1px solid #1C1C1C;
}

.course-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 0;
  color: #E8E2D0;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: padding 0.3s ease, color 0.3s ease;
}

.course-list a:hover {
  padding-left: 1.5rem;
  color: #D4AF37;
}

.course-num {
  display: inline-block;
  width: 60px;
  font-size: 0.65rem;
  color: #D4AF37;
  letter-spacing: 0.3em;
}

.course-title {
  flex: 1;
}

.course-arrow {
  color: #777267;
  font-size: 1.1rem;
}

/* === HISTORY TIMELINE === */
.timeline {
  position: relative;
  margin-top: 3rem;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 1px;
  background-color: #D4AF37;
  opacity: 0.4;
}

.timeline-entry {
  position: relative;
  padding-left: 75px;
  margin-bottom: 4rem;
}

.timeline-entry::before {
  content: '';
  position: absolute;
  top: 0.55rem;
  left: 24px;
  width: 13px;
  height: 13px;
  background-color: #0A0A0A;
  border: 2px solid #D4AF37;
}

.timeline-date {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8E2D0;
  margin-bottom: 0.85rem;
}

.timeline-text {
  font-size: 0.85rem;
  color: #B8B2A0;
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
  }
  .timeline-entry {
    width: 50%;
    padding-left: 0;
    padding-right: 4rem;
    margin-bottom: 5rem;
  }
  .timeline-entry::before {
    left: auto;
    right: -7px;
  }
  .timeline-entry.right {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 4rem;
  }
  .timeline-entry.right::before {
    left: -7px;
    right: auto;
  }
}

/* === SLIDESHOW (TYPES) === */
.slideshow {
  margin-top: 3rem;
  border-top: 1px solid #1C1C1C;
  border-bottom: 1px solid #1C1C1C;
  padding: 3rem 0;
}

.slide {
  display: none;
}

.slide-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
}

.slide-image {
  width: 100%;
}

.slide-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.slide-text {
  width: 100%;
}

.slide-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.slide-japanese {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 1.5rem;
}

.slide-text p {
  font-size: 0.88rem;
  color: #B8B2A0;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .slide-image {
    width: 48%;
  }
  .slide-image img {
    height: 340px;
  }
  .slide-text {
    flex: 1;
  }
}

.slide-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #1C1C1C;
}

.slide-btn {
  background: none;
  border: 1px solid #D4AF37;
  color: #D4AF37;
  font-family: inherit;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide-btn:hover {
  background-color: #D4AF37;
  color: #0A0A0A;
}

.slide-counter {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: #777267;
}

/* === CUTTING BOARD (INGREDIENTS) === */
.board-wrap {
  margin-top: 3rem;
}

.cutting-board {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1604147495798-57beb5d6af73?w=1400&q=85');
  background-size: cover;
  background-position: center;
  padding: 2rem 1rem;
  border: 1px solid #1C1C1C;
}

.cutting-board::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.board-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .cutting-board {
    padding: 4rem 3rem;
  }
  .board-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.spot {
  background: none;
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.spot img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  margin-bottom: 0.6rem;
}

.spot-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E8E2D0;
}

.spot:hover,
.spot.active {
  border-color: #D4AF37;
  background-color: rgba(212, 175, 55, 0.08);
}

.spot:hover .spot-label,
.spot.active .spot-label {
  color: #D4AF37;
}

.board-description {
  margin-top: 2.5rem;
  padding: 2rem;
  border: 1px solid #1C1C1C;
  background-color: #111;
  min-height: 130px;
}

.board-default {
  font-size: 0.78rem;
  color: #777267;
  letter-spacing: 0.1em;
  text-align: center;
}

.detail-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 0.75rem;
}

.detail-desc {
  font-size: 0.85rem;
  color: #B8B2A0;
}

/* === ETIQUETTE === */
.rule-list {
  list-style: none;
  margin-top: 3rem;
  counter-reset: rule;
}

.rule-list li {
  counter-increment: rule;
  position: relative;
  padding: 2rem 0 2rem 4.5rem;
  border-bottom: 1px solid #1C1C1C;
  font-size: 0.9rem;
  color: #B8B2A0;
}

.rule-list li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #D4AF37;
}

/* === DID YOU KNOW PANELS === */
.did-you-know {
  margin: 4rem 0;
  padding: 2.5rem 2rem;
  border: 1px solid #D4AF37;
  background-color: #111;
  position: relative;
}

.dyk-tag {
  position: absolute;
  top: -10px;
  left: 1.5rem;
  background-color: #0A0A0A;
  padding: 0 0.85rem;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #D4AF37;
}

.dyk-title {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.dyk-text {
  font-size: 0.82rem;
  color: #B8B2A0;
}

/* === FOOTER === */
footer {
  background-color: #050505;
  border-top: 1px solid #1C1C1C;
  padding: 5rem 2rem;
  text-align: center;
}

.footer-logo {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 2rem;
}

footer p {
  font-size: 0.72rem;
  color: #555;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

footer a {
  color: #777267;
  font-size: 0.72rem;
}

footer a:hover {
  color: #D4AF37;
}
