/* ── Japan Concert Guide — Main Stylesheet ── */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ────────────────────────────────────────
   VARIABLES
──────────────────────────────────────── */
:root {
  --bg:           #0f1117;
  --surface:      #181b22;
  --surface2:     #1e2229;
  --border:       #272c38;
  --border2:      #4a5068;
  --accent:       #e8352a;
  --accent2:      #ff4f43;
  --text:         #e6e8f0;
  --muted:        #6b7490;
  --green-bg:     rgba(22,140,80,0.18);
  --green:        #3fd97a;
  --green-border: rgba(63,217,122,0.25);
}

/* ────────────────────────────────────────
   RESET
──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: 'DM Sans', sans-serif; }

/* ────────────────────────────────────────
   NAV
──────────────────────────────────────── */
#site-nav {
  display: flex;
  align-items: center;
  padding: 0 28px;
  height: 52px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 200;
  gap: 0;
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-right: 36px;
  flex-shrink: 0;
}
.site-logo .logo-top {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--text);
}
.site-logo .logo-sub {
  font-family: 'DM Mono', monospace;
  font-size: 7.5px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 1px;
}

/* WordPress nav menu */
#primary-nav-wrap { flex: 1; }
#primary-nav-wrap ul {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
#primary-nav-wrap ul li a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.18s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
#primary-nav-wrap ul li a:hover,
#primary-nav-wrap ul li.current-menu-item > a,
#primary-nav-wrap ul li.current_page_item > a { color: var(--text); }

.nav-social {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
}
.nav-social a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color 0.18s;
}
.nav-social a:hover { color: var(--text); }

/* ────────────────────────────────────────
   LAYOUT
──────────────────────────────────────── */
#content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px 96px;
}

/* ────────────────────────────────────────
   HERO
──────────────────────────────────────── */
.hero {
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 52px;
  animation: fadeUp 0.45s ease both;
}
.hero-eyebrow {
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 2px;
  line-height: 1.4;
}
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(54px, 8.5vw, 76px);
  letter-spacing: 0.01em;
  color: var(--text);
  line-height: 0.93;
  margin-bottom: 18px;
}
.hero-desc {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 480px;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* ────────────────────────────────────────
   BUTTONS
──────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 20px;
  border-radius: 4px;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.14s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--accent2); border-color: var(--accent2); transform: translateY(-1px); color: #fff; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 13.5px;
  padding: 9px 20px;
  border-radius: 4px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color 0.18s, transform 0.14s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--border2); transform: translateY(-1px); color: var(--text); }

/* ────────────────────────────────────────
   SEARCH BOX
──────────────────────────────────────── */
.search-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  display: block;
}
.search-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.search-row select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  padding: 8px 34px 8px 13px;
  border-radius: 4px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%236b7490' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  min-width: 148px;
  transition: border-color 0.18s;
  outline: none;
}
.search-row select:hover { border-color: var(--border2); }
.search-row select:focus { border-color: var(--accent); }
.search-row select option { background: var(--surface); }

.btn-search {
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 22px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.18s;
  letter-spacing: 0.015em;
}
.btn-search:hover { background: var(--accent2); }

/* ────────────────────────────────────────
   PAGE HERO (subpages)
──────────────────────────────────────── */
.page-hero {
  padding: 44px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  animation: fadeUp 0.45s ease both;
}
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 6vw, 52px);
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
}
.page-hero p {
  font-size: 14px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
}

/* ────────────────────────────────────────
   SECTIONS
──────────────────────────────────────── */
.site-section {
  margin-bottom: 52px;
  animation: fadeUp 0.45s ease both;
}
.site-section:nth-child(1) { animation-delay: 0.04s; }
.site-section:nth-child(2) { animation-delay: 0.08s; }
.site-section:nth-child(3) { animation-delay: 0.12s; }
.site-section:nth-child(4) { animation-delay: 0.16s; }
.site-section:nth-child(5) { animation-delay: 0.20s; }

.section-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}
.section-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1;
}
.section-subtitle {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 400;
}

/* ────────────────────────────────────────
   EVENT CARDS
──────────────────────────────────────── */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 18px;
}
.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.event-card:hover { border-color: var(--accent); background: var(--surface2); }
.event-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.event-meta {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.event-meta span + span::before { content: '·'; margin: 0 7px; color: var(--border2); }

.badge-on-sale {
  background: var(--green-bg);
  color: var(--green);
  font-size: 10.5px;
  font-weight: 600;
  font-family: 'DM Mono', monospace;
  padding: 3px 9px;
  border-radius: 3px;
  border: 1px solid var(--green-border);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.badge-sold-out {
  background: rgba(255,60,60,0.1);
  color: #f87171;
  font-size: 10.5px;
  font-weight: 600;
  font-family: 'DM Mono', monospace;
  padding: 3px 9px;
  border-radius: 3px;
  border: 1px solid rgba(248,113,113,0.2);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.badge-tba {
  background: rgba(100,100,120,0.2);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  font-family: 'DM Mono', monospace;
  padding: 3px 9px;
  border-radius: 3px;
  border: 1px solid var(--border);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.view-all { margin-top: 14px; }

/* ────────────────────────────────────────
   GRID 3
──────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.grid-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 15px 16px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.grid-card:hover { border-color: var(--accent); background: var(--surface2); }
.grid-card h3 { font-size: 13.5px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.grid-card p  { font-size: 12px; color: var(--muted); line-height: 1.55; }
.grid-card .card-tag {
  display: inline-block;
  font-size: 10.5px;
  font-family: 'DM Mono', monospace;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

/* ────────────────────────────────────────
   VENUE CARDS (full page)
──────────────────────────────────────── */
.venue-card-full {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.venue-card-full:hover { border-color: var(--accent); background: var(--surface2); }
.venue-card-full h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.venue-card-full .venue-location { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.venue-card-full .venue-capacity {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* ────────────────────────────────────────
   ARTIST CARDS (full page)
──────────────────────────────────────── */
.artist-card-full {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.artist-card-full:hover { border-color: var(--accent); background: var(--surface2); }
.artist-card-full h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.artist-card-full .artist-genre { font-size: 12.5px; color: var(--muted); }

/* ────────────────────────────────────────
   GUIDE CARDS
──────────────────────────────────────── */
.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.guide-card:hover { border-color: var(--accent); background: var(--surface2); }
.guide-card h3 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.45; }
.guide-card p  { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.read-more {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: gap 0.18s;
}
.guide-card:hover .read-more { gap: 7px; }

/* ────────────────────────────────────────
   FAQ
──────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 3px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  transition: border-color 0.18s;
}
.faq-item:hover { border-color: var(--border2); }
.faq-q {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}
.faq-q-text { font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.45; }
.faq-q-preview { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.faq-toggle {
  color: var(--accent);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.22s ease;
  width: 22px;
  text-align: center;
}
.faq-answer {
  font-size: 13px;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 18px;
  line-height: 1.7;
}
.faq-item.open .faq-answer  { max-height: 300px; padding: 0 18px 18px; }
.faq-item.open .faq-toggle  { transform: rotate(45deg); }

/* ────────────────────────────────────────
   FILTER BAR
──────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
}
.filter-bar select { /* reuse search styles */
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  padding: 7px 30px 7px 12px;
  border-radius: 4px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%236b7490' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  outline: none;
  transition: border-color 0.18s;
}
.filter-bar select:hover { border-color: var(--border2); }
.filter-bar select:focus { border-color: var(--accent); }

.result-count {
  margin-left: auto;
  font-size: 12px;
  font-family: 'DM Mono', monospace;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ────────────────────────────────────────
   FOOTER
──────────────────────────────────────── */
#site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 44px 28px 28px;
}
.footer-inner {
  max-width: 820px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
}
.footer-desc { font-size: 12.5px; color: var(--muted); margin: 8px 0 16px; line-height: 1.65; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-nav a { font-size: 12.5px; color: var(--muted); transition: color 0.18s; display: flex; align-items: center; gap: 6px; }
.footer-nav a::before { content: '→'; font-size: 10px; color: var(--accent); flex-shrink: 0; }
.footer-nav a:hover { color: var(--text); }
.footer-col-title { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; display: block; }
.footer-contact { font-size: 12.5px; color: var(--muted); margin-top: 22px; }
.footer-contact strong { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 5px; }
.follow-title { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin: 20px 0 9px; display: block; }
.social-links { display: flex; gap: 7px; }
.social-links a { font-family: 'DM Mono', monospace; font-size: 10.5px; color: var(--muted); border: 1px solid var(--border); border-radius: 3px; padding: 4px 9px; transition: color 0.18s, border-color 0.18s; letter-spacing: 0.04em; }
.social-links a:hover { color: var(--text); border-color: var(--border2); }
.footer-bottom { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--border); padding-top: 18px; }
.footer-copy { font-size: 11.5px; color: var(--muted); font-family: 'DM Mono', monospace; letter-spacing: 0.02em; }

/* ────────────────────────────────────────
   PAGE CONTENT (generic)
──────────────────────────────────────── */
.page-content { color: var(--muted); font-size: 15px; line-height: 1.8; }
.page-content h2, .page-content h3 { font-family: 'Bebas Neue', sans-serif; color: var(--text); margin: 32px 0 10px; letter-spacing: 0.03em; font-size: 26px; }
.page-content h3 { font-size: 20px; }
.page-content p { margin-bottom: 16px; }
.page-content a { color: var(--accent); }
.page-content a:hover { text-decoration: underline; }
.page-content ul, .page-content ol { padding-left: 20px; margin-bottom: 16px; }
.page-content li { margin-bottom: 6px; }

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

/* ────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────── */
@media (max-width: 720px) {
  #site-nav { padding: 0 16px; }
  #primary-nav-wrap ul { gap: 16px; }
  #primary-nav-wrap ul li a { font-size: 13px; }
  #content { padding: 0 16px 64px; }
  .hero { padding: 36px 0 32px; }
  .hero h1 { font-size: 52px; }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .search-row { flex-direction: column; }
  .search-row select, .btn-search { width: 100%; min-width: unset; }
  .filter-bar { flex-direction: column; align-items: flex-start; }
  .result-count { margin-left: 0; }
}
