/* ============================================
   BISTRO LUNA - Restaurant Site F
   Moody Night Bistro / Dark Mode
   ============================================ */

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

:root {
  --primary: #1A1A2E;
  --accent: #A0785A;
  --accent-light: #c9a47a;
  --bg: #1A1A2E;
  --bg-deep: #12121f;
  --surface: #222240;
  --surface2: #2a2a48;
  --text: #e8e4df;
  --text-muted: #9e9ab0;
  --gold-line: rgba(160, 120, 90, .35);
  --font-en: 'Playfair Display', serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --radius: 6px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-jp);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ── Sample Banner ── */
.sample-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, .88);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
  z-index: 99999;
  letter-spacing: .5px;
  backdrop-filter: blur(4px);
  font-family: var(--font-jp);
}

/* ── Header ── */
.header {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 16px 0;
  transition: all .4s ease;
}

.header.scrolled {
  background: rgba(26, 26, 46, .92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--gold-line);
  padding: 12px 0;
}

.header-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-moon {
  width: 32px;
  height: 32px;
  opacity: .9;
}

.logo-moon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent-light);
  letter-spacing: 3px;
  line-height: 1.2;
}

.logo-text small {
  display: block;
  font-family: var(--font-jp);
  font-size: .6rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: .8rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color .3s;
  text-decoration: none;
  letter-spacing: .5px;
}

.nav a:hover {
  color: var(--accent-light);
}

.nav-cta {
  background: transparent !important;
  color: var(--accent-light) !important;
  padding: 9px 24px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-weight: 500 !important;
  letter-spacing: 1px;
  transition: all .3s !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  color: #fff !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--accent-light);
  transition: .3s;
  display: block;
}

@media (max-width: 840px) {
  .hamburger {
    display: flex;
  }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--bg-deep);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: .4s;
    z-index: 9999;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
  }
  .nav a {
    font-size: 1.05rem;
  }
  .header-inner {
    padding: 0 20px;
  }
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, #1e1e3a 0%, #12121f 60%, #0a0a14 100%);
}

.hero-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #fff;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; }
  50% { opacity: var(--max-op, 0.6); }
}

.hero-moon {
  position: absolute;
  top: 15%;
  right: 18%;
  width: 80px;
  height: 80px;
  opacity: .25;
  filter: drop-shadow(0 0 30px rgba(160, 120, 90, .3));
}

@media (max-width: 768px) {
  .hero-moon {
    width: 50px;
    height: 50px;
    top: 12%;
    right: 10%;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-label {
  font-family: var(--font-en);
  font-size: .72rem;
  color: var(--accent);
  letter-spacing: 5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
  opacity: 0;
  animation: heroFadeUp 1.2s ease forwards .3s;
}

.hero h1 {
  font-family: var(--font-en);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: 2px;
  opacity: 0;
  animation: heroFadeUp 1.4s ease forwards .6s;
}

.hero-tagline {
  font-family: var(--font-jp);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 300;
  color: var(--accent-light);
  letter-spacing: 6px;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeUp 1.4s ease forwards .9s;
}

.hero-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 40px;
  opacity: 0;
  animation: heroFadeUp 1.4s ease forwards 1.2s;
}

.hero-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin: 0 auto 24px;
  opacity: 0;
  animation: heroFadeUp 1s ease forwards 1.5s;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 1.4s ease forwards 1.5s;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 500;
  padding: 14px 36px;
  border-radius: 999px;
  transition: all .4s;
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 1px;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(160, 120, 90, 0);
}

.btn-accent:hover {
  box-shadow: 0 0 28px rgba(160, 120, 90, .35);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(160, 120, 90, .4);
  color: var(--accent-light);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(160, 120, 90, .12);
  border-color: var(--accent);
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--bg-deep);
  padding: 44px 0;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}

.trust-items {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 0 20px;
}

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

.trust-num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
}

.trust-unit {
  font-size: .8rem;
  color: var(--accent);
}

.trust-label {
  display: block;
  font-size: .7rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 1px;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--gold-line);
  align-self: center;
}

/* ── Sections ── */
.section {
  padding: 110px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-deep);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-family: var(--font-en);
  font-size: .7rem;
  color: var(--accent);
  letter-spacing: 5px;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-en);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 2px;
}

.section-title-jp {
  display: block;
  font-family: var(--font-jp);
  font-size: .85rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 4px;
  margin-top: 6px;
}

.section-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 18px auto 0;
}

.section-sub {
  font-size: .88rem;
  color: var(--text-muted);
  margin-top: 18px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 2;
}

/* ── Bronze Line Draw ── */
.bronze-line {
  display: block;
  width: 100%;
  height: 1px;
  max-width: 200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.bronze-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(.25, .46, .45, .94);
}

.bronze-line.drawn::after {
  transform: scaleX(1);
}

/* ── Concept / About ── */
.concept-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 40px;
}

.concept-text {
  font-size: 1rem;
  line-height: 2.4;
  color: var(--text);
  font-weight: 300;
  margin-bottom: 32px;
}

.concept-accent {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 28px;
  font-style: italic;
}

.concept-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.concept-detail {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  transition: all .4s;
}

.concept-detail:hover {
  background: rgba(160, 120, 90, .06);
  box-shadow: 0 0 24px rgba(160, 120, 90, .08);
}

.concept-detail-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}

.concept-detail h3 {
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--accent-light);
}

.concept-detail p {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .concept-block {
    padding: 0 20px;
  }
  .concept-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ── Menu Section ── */
.menu-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.menu-category {
  margin-bottom: 48px;
}

.menu-category:last-child {
  margin-bottom: 0;
}

.menu-category-title {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold-line);
  margin-bottom: 20px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(160, 120, 90, .1);
  transition: all .3s;
}

.menu-item:hover {
  padding-left: 8px;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-name {
  font-size: .92rem;
  font-weight: 400;
  color: var(--text);
}

.menu-item-desc {
  font-size: .75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.menu-item-price {
  font-family: var(--font-en);
  font-size: .95rem;
  font-weight: 600;
  color: var(--accent-light);
  white-space: nowrap;
  margin-left: 20px;
}

.menu-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(160, 120, 90, .25);
  margin: 0 12px;
  min-width: 40px;
  align-self: end;
  margin-bottom: 4px;
}

.menu-note {
  text-align: center;
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 32px;
  font-style: italic;
}

@media (max-width: 768px) {
  .menu-grid {
    padding: 0 20px;
  }
}

/* ── Wine Glass SVG ── */
.wine-glass-float {
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 40px;
  height: 40px;
  opacity: .15;
  z-index: 10;
  transition: transform .6s ease;
  pointer-events: none;
}

@media (max-width: 768px) {
  .wine-glass-float {
    display: none;
  }
}

/* ── Quote Break ── */
.quote-break {
  padding: 80px 20px;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  background: var(--bg-deep);
}

.quote-text {
  font-family: var(--font-en);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 400;
  color: var(--text);
  font-style: italic;
  letter-spacing: 1px;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 12px;
}

.quote-text-jp {
  font-family: var(--font-jp);
  font-size: .85rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 3px;
}

/* ── Testimonials ── */
.testimonial-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0 40px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .4s;
}

.testimonial-card:hover {
  box-shadow: 0 0 28px rgba(160, 120, 90, .1);
  border-color: var(--accent);
}

.testimonial-stars {
  color: var(--accent);
  font-size: .75rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: .88rem;
  line-height: 2;
  margin-bottom: 20px;
  color: var(--text);
  font-weight: 300;
}

.testimonial-text::before {
  content: "\201C";
  font-size: 2.5rem;
  color: var(--accent);
  opacity: .3;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-en);
}

.testimonial-author {
  border-top: 1px solid var(--gold-line);
  padding-top: 14px;
}

.testimonial-author strong {
  display: block;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
}

.testimonial-author span {
  font-size: .75rem;
  color: var(--text-muted);
}

@media (max-width: 840px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

/* ── Chef / Story ── */
.story-block {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 0 40px;
}

.story-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-card {
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.story-card-role {
  font-family: var(--font-en);
  font-size: .68rem;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.story-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.story-card p {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.story-msg {
  font-size: .92rem;
  line-height: 2.2;
  color: var(--text);
  font-weight: 300;
}

.story-msg p {
  margin-bottom: 20px;
}

.story-msg p:last-child {
  margin-bottom: 0;
}

.story-signature {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--gold-line);
}

.story-signature strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent-light);
}

.story-signature span {
  font-size: .78rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .story-block {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 36px;
  }
}

/* ── Info Section ── */
.info-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 0 40px;
}

.info-table {
  width: 100%;
}

.info-row {
  display: flex;
  border-bottom: 1px solid rgba(160, 120, 90, .12);
  padding: 14px 0;
}

.info-label {
  min-width: 110px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--accent-light);
}

.info-value {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 300;
}

.info-map {
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 280px;
}

.info-map-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--accent);
  opacity: .5;
}

.info-map p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.info-map-address {
  font-size: .88rem;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 32px;
  }
}

/* ── Contact / Reservation ── */
.contact-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.contact-tel {
  margin-bottom: 12px;
}

.contact-tel span {
  font-size: .75rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
  letter-spacing: 2px;
}

.contact-tel a {
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-light);
  text-decoration: none;
  letter-spacing: 2px;
  transition: all .3s;
}

.contact-tel a:hover {
  text-shadow: 0 0 20px rgba(160, 120, 90, .4);
}

.contact-hours {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-note {
  font-size: .78rem;
  color: var(--text-muted);
  opacity: .7;
  margin-bottom: 36px;
}

.contact-form {
  display: grid;
  gap: 16px;
  text-align: left;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  font-size: .88rem;
  font-family: var(--font-jp);
  font-weight: 300;
  background: var(--surface);
  color: var(--text);
  transition: border-color .3s, box-shadow .3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(160, 120, 90, .12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
  opacity: .6;
}

/* ── Footer ── */
.footer {
  background: var(--bg-deep);
  color: var(--text-muted);
  padding: 60px 0 30px;
  border-top: 1px solid var(--gold-line);
}

.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.footer-desc {
  font-size: .78rem;
  line-height: 1.9;
  font-weight: 300;
}

.footer h4 {
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--accent-light);
  letter-spacing: 1px;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 8px;
}

.footer li a {
  font-size: .78rem;
  font-weight: 300;
  transition: color .3s;
}

.footer li a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  max-width: 1060px;
  margin: 40px auto 0;
  padding: 20px 40px 0;
  border-top: 1px solid rgba(160, 120, 90, .15);
  text-align: center;
  font-size: .72rem;
  color: var(--text-muted);
  opacity: .6;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .footer-bottom {
    padding: 20px 20px 0;
  }
}

/* ── Scroll Animations ── */
.fade-el {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 2s ease, transform 2s ease;
}

.fade-el.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-el:nth-child(2) { transition-delay: .12s; }
.fade-el:nth-child(3) { transition-delay: .24s; }
.fade-el:nth-child(4) { transition-delay: .36s; }

/* ── Glow Hover ── */
.glow-hover {
  transition: box-shadow .4s, border-color .4s;
}

.glow-hover:hover {
  box-shadow: 0 0 28px rgba(160, 120, 90, .18);
  border-color: var(--accent) !important;
}

/* ── Decorative Elements ── */
.deco-line-h {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: .3;
}

.deco-diamond {
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
  margin: 0 auto;
  opacity: .4;
}
