/* ========================================
   錦宴 JINYAN — Dark Luxury Restaurant
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --gold: #c9a96e;
  --gold-light: #dfc08a;
  --gold-dim: rgba(201,169,110,0.15);
  --text-primary: #f0ece4;
  --text-secondary: #a09888;
  --text-muted: #6b6058;
  --border: rgba(201,169,110,0.2);
  --border-light: rgba(201,169,110,0.08);
  --serif: 'Noto Serif SC', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --display: 'Cormorant Garamond', Georgia, serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; color: inherit; font: inherit; }
ul { list-style: none; }

/* ---------- Section Utilities ---------- */
.section-label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.2rem;
  height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

/* ========================================
   NAV
   ======================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 3rem;
  transition: background 0.4s, padding 0.4s;
}
.nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(16px);
  padding: 1rem 3rem;
  border-bottom: 1px solid var(--border-light);
}
.nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.nav__links {
  display: flex;
  gap: 2.5rem;
}
.nav__links a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav__links a:hover { color: var(--gold); }
.nav__links a:hover::after { width: 100%; }
.nav__hamburger {
  display: none;
  font-size: 1.6rem;
  color: var(--gold);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.3) 40%, rgba(10,10,10,0.85) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.5) 0%, transparent 50%, rgba(10,10,10,0.5) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}
.hero__tag {
  font-family: var(--display);
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0.35em;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.3s ease forwards;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.6s ease forwards;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.hero__sub {
  font-family: var(--display);
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.9s ease forwards;
}
.hero__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 1s 1.2s ease forwards;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.9rem 2.2rem;
  transition: all 0.4s;
  opacity: 0;
  animation: fadeUp 1s 1.5s ease forwards;
}
.hero__cta:hover {
  background: var(--gold);
  color: var(--bg-primary);
}
.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  padding: 8rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about__image-wrap {
  position: relative;
}
.about__image {
  border-radius: 2px;
  filter: brightness(0.9) contrast(1.05);
}
.about__image-accent {
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  opacity: 0.4;
  z-index: -1;
}
.about__body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
.about__stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}
.about__stat-number {
  display: block;
  font-family: var(--display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.about__stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ========================================
   MENU
   ======================================== */
.menu {
  padding: 8rem 3rem;
  background: var(--bg-secondary);
  position: relative;
}
.menu::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.menu__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.menu__header .section-label { padding-left: 0; }
.menu__header .section-label::before { display: none; }
.menu__subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
}
.menu__categories {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.menu__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all 0.3s;
}
.menu__tab:hover {
  color: var(--gold-light);
  border-color: var(--border);
}
.menu__tab.active {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-dim);
}
.menu__grid {
  display: none;
  max-width: 1000px;
  margin: 0 auto;
  gap: 1px;
}
.menu__grid.active {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.menu__item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  padding: 1.5rem;
}
.menu__item:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}
.menu__item-img-wrap {
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 1rem;
}
.menu__item-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s;
  filter: brightness(0.95);
}
.menu__item:hover .menu__item-img {
  transform: scale(1.05);
}
.menu__item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
  gap: 1rem;
}
.menu__item-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
}
.menu__item-price {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}
.menu__item-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.menu__note {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ========================================
   CHEF
   ======================================== */
.chef {
  padding: 8rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}
.chef__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.chef__name {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}
.chef__bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1rem;
}
.chef__bio:last-child {
  font-style: italic;
  color: var(--text-muted);
  margin-top: 1.5rem;
}
.chef__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.chef__image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
  transition: transform 0.6s;
}
.chef__image-wrap:hover .chef__image {
  transform: scale(1.03);
}

/* ========================================
   HOURS
   ======================================== */
.hours {
  padding: 8rem 3rem;
  background: var(--bg-secondary);
  position: relative;
}
.hours::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.hours__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}
.hours__table {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hours__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
}
.hours__row--note {
  border-bottom: none;
  border-top: 1px solid var(--gold);
  margin-top: 0.5rem;
}
.hours__day {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text-primary);
  min-width: 120px;
}
.hours__day i {
  font-size: 1.2rem;
  color: var(--gold);
}
.hours__detail {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}
.hours__time {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}
.hours__time--highlight {
  color: var(--gold);
  font-weight: 600;
}
.hours__note {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  padding: 8rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact__items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact__item i {
  font-size: 1.3rem;
  color: var(--gold);
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.contact__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact__value {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.contact__map-wrap {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.contact__map-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: brightness(0.7);
}
.contact__map-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(10,10,10,0.9));
}
.contact__map-overlay p {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold-light);
}
.contact__map-overlay p:last-child {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 4rem 3rem 2rem;
  border-top: 1px solid var(--border-light);
}
.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer__logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}
.footer__tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-top: 0.3rem;
}
.footer__links {
  display: flex;
  gap: 2rem;
}
.footer__links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  transition: color 0.3s;
}
.footer__links a:hover { color: var(--gold); }
.footer__copy {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .nav { padding: 1rem 1.5rem; }
  .nav.scrolled { padding: 0.8rem 1.5rem; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,0.97);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav__links.open a {
    font-size: 1.2rem;
    color: var(--text-primary);
  }
  .nav__hamburger { display: block; z-index: 1001; }

  .about__grid,
  .chef__grid,
  .contact__grid,
  .hours__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .menu__grid.active {
    grid-template-columns: 1fr;
  }
  .about { padding: 5rem 1.5rem; }
  .menu { padding: 5rem 1.5rem; }
  .chef { padding: 5rem 1.5rem; }
  .hours { padding: 5rem 1.5rem; }
  .contact { padding: 5rem 1.5rem; }

  .hero__title {
    font-size: clamp(3.5rem, 15vw, 6rem);
  }

  .hours__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .hours__detail {
    align-items: flex-start;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .about__stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}