/* ============================================
   [KU:] QUEEN OF RAMEN TOUR — CSS
   Navigation: from ku-ramen-landing
   Sections: from ku-queen-ramen (adapted)
   ============================================ */

/* ===== VARIABLES ===== */
:root {
  /* Main landing vars (for header, nav, buttons, location card) */
  --bg-dark: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;
  --accent-red: #e53935;
  --accent-red-dark: #c62828;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #606060;
  /* Queen ramen vars (for hero, chef, menu, CTA) */
  --ku-qr-red: #d42e2e;
  --ku-qr-red-dark: #a82020;
  --ku-qr-red-glow: rgba(212, 46, 46, 0.15);
  --ku-qr-bg: #0c0c0c;
  --ku-qr-bg-alt: #111111;
  --ku-qr-bg-card: #161616;
  --ku-qr-text: #ededed;
  --ku-qr-text-sec: #999999;
  --ku-qr-text-muted: #555555;
  --ku-qr-border: rgba(255, 255, 255, 0.08);
  --ku-qr-border-hover: rgba(255, 255, 255, 0.15);
}

/* ===== PAGE WRAPPER ===== */
.ku-qr-page {
  background: var(--ku-qr-bg);
  color: var(--ku-qr-text);
  font-family: 'Raleway', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
.ku-qr-page *, .ku-qr-page *::before, .ku-qr-page *::after { box-sizing: border-box; }
.ku-qr-page img { max-width: 100%; display: block; }

/* Noise overlay */
.ku-qr-page::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 10000;
}

/* ===== HEADER / NAV (from main landing) ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}
header.scrolled {
  padding: 0.6rem 2rem;
  background: rgba(10, 10, 10, 0.98);
}
nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Dela Gothic One', cursive;
  font-size: 1.75rem;
  letter-spacing: -1px;
  display: flex;
  align-items: baseline;
}
.logo-text .ku { color: var(--accent-red); }
.logo-text .ramen { color: var(--text-primary); margin-left: 0.4rem; }
.logo-sub-wrap {
  display: flex;
  flex-direction: column;
  margin-left: 0.75rem;
  line-height: 1.2;
}
.logo-city {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.75rem;
  color: var(--text-primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
}
.logo-origin {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: color 0.3s;
}
.logo-origin:hover { color: var(--text-secondary); }
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent-red);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  letter-spacing: 0.5px;
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}
.btn-outline:hover {
  border-color: var(--accent-red);
  background: rgba(229, 57, 53, 0.1);
}
.btn-primary {
  background: var(--accent-red);
  color: white;
  box-shadow: 0 4px 20px rgba(229, 57, 53, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(229, 57, 53, 0.4);
  background: var(--accent-red-dark);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}
.mobile-menu-btn span {
  width: 25px; height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== LANG SWITCH ===== */
.ku-lang-switch {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 3px;
  margin-left: 8px;
}
.ku-lang-switch a {
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-secondary);
  transition: all 0.3s;
  letter-spacing: 0.5px;
}
.ku-lang-switch a.active {
  background: var(--accent-red);
  color: #fff;
}
.ku-lang-switch a:hover:not(.active) { color: #fff; }

.mobile-lang-switch { display: none; }
.nav-lang-mobile { display: none; list-style: none; }

/* ===== SECTION COMMON ===== */
.ku-qr-section-header { text-align: center; margin-bottom: 70px; }
.ku-qr-section-tag {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--ku-qr-red); font-weight: 600; margin-bottom: 14px;
}
.ku-qr-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 400; line-height: 1.2; margin-bottom: 6px;
  color: var(--ku-qr-text);
}
.ku-qr-section-title em { font-style: normal; color: var(--ku-qr-red); }
.ku-qr-section-title-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px; color: var(--ku-qr-text-muted);
  font-weight: 200; letter-spacing: 6px;
}
.ku-qr-section-line {
  width: 50px; height: 2px; background: var(--ku-qr-red);
  margin: 20px auto 0;
}

/* ===== HERO ===== */
.ku-qr-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  padding: 100px 40px 40px;
}
.ku-qr-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 60%, var(--ku-qr-red-glow) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 30%, rgba(196, 162, 101, 0.04) 0%, transparent 45%),
    var(--ku-qr-bg);
}
.ku-qr-hero__kanji {
  position: absolute;
  font-family: 'Noto Serif JP', serif;
  color: rgba(255, 255, 255, 0.015);
  font-size: 28vw; font-weight: 900;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; line-height: 1;
  white-space: nowrap; user-select: none;
}
.ku-qr-hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  max-width: 900px; width: 100%; margin: 0 auto;
}
.ku-qr-hero__tag {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 28px;
  opacity: 0; animation: kuQrFadeUp 0.7s ease forwards 0.2s;
}
.ku-qr-hero__tag span {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--ku-qr-red); font-weight: 600;
}
.ku-qr-hero__tag::before, .ku-qr-hero__tag::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ku-qr-red);
  animation: kuQrPulse 1.8s ease-in-out infinite;
}
@keyframes kuQrPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(212, 46, 46, 0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 8px 4px rgba(212, 46, 46, 0); }
}
.ku-qr-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(44px, 5.5vw, 78px);
  font-weight: 400; line-height: 1.05; margin-bottom: 8px;
  color: var(--ku-qr-text);
  opacity: 0; animation: kuQrFadeUp 0.7s ease forwards 0.4s;
}
.ku-qr-hero__title em { font-style: normal; color: var(--ku-qr-red); }
.ku-qr-hero__title-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(15px, 1.8vw, 22px);
  color: var(--ku-qr-text-muted); font-weight: 200;
  margin-bottom: 28px; letter-spacing: 5px;
  opacity: 0; animation: kuQrFadeUp 0.7s ease forwards 0.55s;
}
.ku-qr-hero__desc {
  font-size: 15px; line-height: 1.85; color: var(--ku-qr-text-sec);
  font-weight: 300; max-width: 600px; margin: 0 auto 36px; text-align: center;
  opacity: 0; animation: kuQrFadeUp 0.7s ease forwards 0.7s;
}
.ku-qr-hero__meta {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 36px;
  opacity: 0; animation: kuQrFadeUp 0.7s ease forwards 0.85s;
}
.ku-qr-hero__meta-item {
  padding: 8px 18px; border: 1px solid var(--ku-qr-border);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ku-qr-text-sec); font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
}
.ku-qr-hero__btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 40px; background: var(--ku-qr-red); color: #fff;
  text-decoration: none; font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 600;
  transition: all 0.35s ease;
  opacity: 0; animation: kuQrFadeUp 0.7s ease forwards 1s;
}
.ku-qr-hero__btn:hover {
  background: var(--ku-qr-red-dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 46, 46, 0.25);
  color: #fff; text-decoration: none;
}
.ku-qr-hero__btn svg { width: 16px; height: 16px; transition: transform 0.3s; }
.ku-qr-hero__btn:hover svg { transform: translateX(4px); }

/* ===== CHEF ===== */
.ku-qr-chef { background: var(--ku-qr-bg-alt); padding: 110px 40px; }
.ku-qr-chef__grid {
  display: grid; grid-template-columns: auto 1fr;
  gap: 70px; max-width: 1100px; margin: 0 auto; align-items: center;
}
.ku-qr-chef__photo { position: relative; width: 380px; }
.ku-qr-chef__photo img {
  width: 100%; position: relative; z-index: 2;
  filter: brightness(0.95) contrast(1.05);
}
.ku-qr-chef__photo::after {
  content: ''; position: absolute; bottom: -12px; left: -12px;
  width: 100%; height: 100%;
  border: 1px solid rgba(212, 46, 46, 0.2); z-index: 1;
}
.ku-qr-chef__name {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px; font-weight: 400; margin-bottom: 4px; color: var(--ku-qr-text);
}
.ku-qr-chef__name em { font-style: normal; color: var(--ku-qr-red); }
.ku-qr-chef__role {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--ku-qr-red); font-weight: 600; margin-bottom: 8px;
}
.ku-qr-chef__role-jp {
  font-family: 'Noto Serif JP', serif; font-size: 13px;
  color: var(--ku-qr-text-muted); letter-spacing: 3px; margin-bottom: 24px;
}
.ku-qr-chef__info p {
  font-size: 15px; line-height: 1.85; color: var(--ku-qr-text-sec);
  font-weight: 300; margin-bottom: 14px;
}
.ku-qr-chef__quote { margin-top: 24px; padding: 20px 0 20px 20px; border-left: 2px solid var(--ku-qr-red); }
.ku-qr-chef__quote p {
  font-family: 'Montserrat', sans-serif; font-size: 18px;
  color: var(--ku-qr-text); line-height: 1.65; opacity: 0.8; margin-bottom: 0;
}

/* ===== MENU (2×2 grid) ===== */
.ku-qr-menu { background: var(--ku-qr-bg); padding: 110px 40px; }
.ku-qr-menu__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.ku-qr-menu__card {
  background: var(--ku-qr-bg-card);
  border: 1px solid var(--ku-qr-border);
  overflow: hidden; transition: all 0.4s ease;
}
.ku-qr-menu__card:hover {
  border-color: var(--ku-qr-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.ku-qr-menu__card-img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.ku-qr-menu__card-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.ku-qr-menu__card:hover .ku-qr-menu__card-img img { transform: scale(1.04); }
.ku-qr-menu__card-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--ku-qr-red); color: #fff;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 12px; font-weight: 600;
}
.ku-qr-menu__card-body { padding: 28px; }
.ku-qr-menu__card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px; font-weight: 400; margin-bottom: 4px; color: var(--ku-qr-text);
}
.ku-qr-menu__card-title-jp {
  font-family: 'Noto Serif JP', serif; font-size: 12px;
  color: var(--ku-qr-text-muted); letter-spacing: 2px; margin-bottom: 14px;
}
.ku-qr-menu__card-desc {
  font-size: 14px; line-height: 1.7; color: var(--ku-qr-text-sec); font-weight: 300;
}
.ku-qr-menu__card-tag {
  display: inline-block; margin-top: 14px; padding: 4px 10px;
  border: 1px solid var(--ku-qr-border);
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ku-qr-text-muted); font-weight: 500;
}

/* ===== LOCATION CARD (from main landing, with dates) ===== */
.ku-qr-location {
  background: var(--ku-qr-bg-alt);
  padding: 110px 40px;
}
.location-container { max-width: 1100px; margin: 0 auto; }
.location-card {
  background: var(--bg-card);
  border-radius: 4px; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr;
  border: 1px solid rgba(255, 255, 255, 0.03);
}
.location-card-image { height: 450px; overflow: hidden; position: relative; }
.location-card-image img { width: 100%; height: 100%; object-fit: cover; }
.location-card-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(17, 17, 17, 0.8) 100%);
}
.location-card-content {
  padding: 3rem; display: flex; flex-direction: column; justify-content: center;
}
.location-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem;
}
.location-card-title .ku { color: var(--accent-red); }
.location-card-subtitle {
  font-family: 'Noto Serif JP', serif;
  color: var(--text-muted); margin-bottom: 2rem; letter-spacing: 0.5rem;
}
.location-info { margin-bottom: 2rem; }
.location-info-item {
  display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem;
}
.location-info-icon {
  width: 40px; height: 40px; border-radius: 4px;
  background: rgba(229, 57, 53, 0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.location-info-icon svg { width: 18px; height: 18px; stroke: var(--accent-red); }
.location-info-text h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.2rem; }
.location-info-text p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; }
.location-dates-big {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  color: var(--ku-qr-text) !important;
  letter-spacing: 1px;
}
.location-dates-month {
  font-size: 0.8rem !important;
  color: var(--accent-red) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600 !important;
  margin-top: 2px;
}
.location-note {
  font-size: 0.85rem; color: var(--text-muted);
  font-style: italic; margin-bottom: 1.5rem; line-height: 1.6;
}
.location-actions { display: flex; gap: 1rem; }
.location-actions .btn { flex: 1; text-align: center; }

/* ===== CTA ===== */
.ku-qr-cta {
  background: var(--ku-qr-bg); text-align: center;
  padding: 100px 40px; position: relative;
}
.ku-qr-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(212, 46, 46, 0.06) 0%, transparent 55%);
  pointer-events: none;
}
.ku-qr-cta__inner { position: relative; z-index: 2; max-width: 580px; margin: 0 auto; }
.ku-qr-cta__kanji {
  font-family: 'Noto Serif JP', serif; font-size: 44px;
  color: var(--ku-qr-red); opacity: 0.15; margin-bottom: 20px; letter-spacing: 14px;
}
.ku-qr-cta h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 3vw, 40px); font-weight: 400;
  line-height: 1.3; margin-bottom: 14px; color: var(--ku-qr-text);
}
.ku-qr-cta h2 em { font-style: normal; color: var(--ku-qr-red); }
.ku-qr-cta p {
  font-size: 15px; color: var(--ku-qr-text-sec); font-weight: 300;
  margin-bottom: 36px; line-height: 1.75;
}
.ku-qr-cta__btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 44px; background: var(--ku-qr-red); color: #fff;
  text-decoration: none; font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 600; transition: all 0.35s ease;
}
.ku-qr-cta__btn:hover {
  background: var(--ku-qr-red-dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 46, 46, 0.25);
  color: #fff; text-decoration: none;
}

/* ===== ANIMATIONS ===== */
@keyframes kuQrFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.ku-qr-reveal {
  opacity: 0; transform: translateY(36px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.ku-qr-reveal.ku-qr-visible {
  opacity: 1; transform: translateY(0);
}
.ku-qr-reveal--d1 { transition-delay: 0.1s; }
.ku-qr-reveal--d2 { transition-delay: 0.2s; }
.ku-qr-reveal--d3 { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-menu-btn { display: flex; z-index: 9999; }

  .mobile-lang-switch {
    display: flex;
    position: fixed; bottom: 20px; right: 20px; z-index: 999;
    gap: 4px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px; padding: 3px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  }
  .mobile-lang-switch a {
    padding: 6px 14px; border-radius: 16px;
    font-size: 12px; font-weight: 700;
    text-decoration: none; color: var(--text-secondary); transition: all 0.3s;
  }
  .mobile-lang-switch a.active { background: var(--accent-red); color: #fff; }

  .ku-lang-switch { display: none; }
  .nav-lang-mobile { display: block; }
  .nav-lang-mobile .ku-lang-switch { display: flex !important; }

  .ku-qr-chef__grid {
    grid-template-columns: 1fr; gap: 40px; text-align: center;
  }
  .ku-qr-chef__photo { width: 100%; max-width: 360px; margin: 0 auto; }
  .ku-qr-chef__quote { border-left: none; border-top: 2px solid var(--ku-qr-red); padding: 20px 0 0; }

  .ku-qr-menu__grid { grid-template-columns: 1fr; max-width: 480px; }

  .location-card { grid-template-columns: 1fr; }
  .location-card-image { height: 300px; }
  .location-card-image::after {
    background: linear-gradient(180deg, transparent 50%, rgba(17, 17, 17, 0.9) 100%);
  }
}

@media (max-width: 768px) {
  .ku-qr-hero { padding: 90px 20px 40px; }
  .ku-qr-chef, .ku-qr-menu, .ku-qr-location { padding: 80px 20px; }
  .ku-qr-cta { padding: 80px 20px; }
  header { padding: 0.8rem 1rem; }
  .location-card-content { padding: 2rem; }
  .location-actions { flex-direction: column; }
}
