/* ============================================================
   吉家酸菜 · 品牌官网样式
   吉林省宇文尊琛餐饮集团有限公司
   ============================================================ */

:root {
  --red: #b02a23;
  --red-deep: #8f1f1a;
  --red-dark: #6b150f;
  --ink: #2e1c12;
  --ink-soft: #5a4433;
  --cream: #faf4e8;
  --paper: #f5ecda;
  --gold: #d9a441;
  --gold-light: #f0cf8b;
  --green: #6f8f3a;
  --line: #e6d9bf;
  --shadow: 0 18px 40px rgba(70, 36, 14, 0.14);
  --radius: 18px;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

section { scroll-margin-top: 84px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, #e8b65a, #cf8f2e);
  color: #3c2407;
  box-shadow: 0 10px 24px rgba(207, 143, 46, 0.4);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(207, 143, 46, 0.55); }
.btn-ghost {
  border: 2px solid rgba(247, 233, 207, 0.7);
  color: #f7e9cf;
  background: transparent;
}
.btn-ghost:hover { background: rgba(247, 233, 207, 0.14); transform: translateY(-3px); }
.btn-sm { padding: 9px 20px; font-size: 13.5px; }

/* ============================================================
   顶部导航
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.scrolled {
  background: rgba(46, 22, 12, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  padding: 8px 0;
}
.nav-inner { display: flex; align-items: center; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-seal {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red);
  color: #f7e9cf;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: inset 0 0 0 2px rgba(247, 233, 207, 0.55), 0 6px 14px rgba(0, 0, 0, 0.3);
  transform: rotate(-4deg);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-serif); font-size: 22px; letter-spacing: 3px; color: #f7e9cf; }
.brand-text em { font-style: normal; font-size: 9.5px; letter-spacing: 3.5px; color: rgba(247, 233, 207, 0.65); }

.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  color: rgba(247, 233, 207, 0.88);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color .25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { color: #3c2407 !important; }

/* ============================================================
   首屏 Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #6b150f 0%, #a3281d 38%, #7c1d16 72%, #54120c 100%);
  color: #f7e9cf;
  padding: 150px 0 110px;
}
.hero-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.hero-blur-1 { width: 480px; height: 480px; background: rgba(232, 182, 90, 0.16); top: -140px; right: -100px; }
.hero-blur-2 { width: 420px; height: 420px; background: rgba(140, 30, 22, 0.75); bottom: -160px; left: -120px; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gold-light);
  background: rgba(232, 182, 90, 0.12);
  border: 1px solid rgba(232, 182, 90, 0.35);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-title { margin-bottom: 22px; }
.hero-title-main {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(52px, 7vw, 84px);
  font-weight: 700;
  letter-spacing: 10px;
  line-height: 1.15;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.hero-title-sub {
  display: inline-block;
  margin-top: 10px;
  font-size: clamp(17px, 2.4vw, 22px);
  letter-spacing: 5px;
  color: var(--gold-light);
  border-bottom: 2px solid rgba(232, 182, 90, 0.6);
  padding-bottom: 8px;
}
.hero-desc {
  font-size: 16.5px;
  color: rgba(247, 233, 207, 0.88);
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats {
  list-style: none;
  display: flex;
  gap: 42px;
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--gold-light);
  letter-spacing: 2px;
}
.hero-stats span { font-size: 13px; color: rgba(247, 233, 207, 0.72); letter-spacing: 1px; }

/* 手绘盘子 */
.hero-plate { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-plate-glow {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 182, 90, 0.28) 0%, rgba(232, 182, 90, 0.08) 45%, transparent 70%);
  filter: blur(6px);
}
.dish-svg {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
}
.plate-tag {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(24, 10, 4, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(232, 182, 90, 0.4);
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 2px;
  padding: 7px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ============================================================
   通用区块
   ============================================================ */
.section { padding: 104px 0; }

.section-head { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--red);
  margin-bottom: 10px;
  font-weight: 700;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.4vw, 42px);
  letter-spacing: 6px;
  margin-bottom: 12px;
}
.section-desc { color: var(--ink-soft); font-size: 15.5px; }
.section-motto {
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: 6px;
  color: var(--gold-light);
}

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-main p { margin-bottom: 18px; color: var(--ink-soft); font-size: 16px; }
.about-main p strong { color: var(--red); }
.about-cards { display: flex; flex-direction: column; gap: 18px; }
.mini-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.mini-card:hover { transform: translateY(-5px); box-shadow: 0 24px 44px rgba(70, 36, 14, 0.18); }
.mini-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px;
  background: linear-gradient(135deg, #fbe9d3, #f3d3a8);
  border-radius: 14px;
}
.mini-card strong { font-size: 16.5px; letter-spacing: 1px; }
.mini-card p { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- 深色理念区 ---------- */
.section-dark {
  background: linear-gradient(160deg, #54120c 0%, #7c1d16 55%, #6b150f 100%);
  color: #f7e9cf;
}
.section-dark .section-eyebrow { color: var(--gold-light); }
.section-dark .section-desc { color: rgba(247, 233, 207, 0.75); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ph-card {
  background: rgba(255, 250, 240, 0.06);
  border: 1px solid rgba(232, 182, 90, 0.28);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.ph-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.ph-card:hover { transform: translateY(-8px); background: rgba(255, 250, 240, 0.1); border-color: rgba(232, 182, 90, 0.55); }
.ph-card:hover::before { opacity: 1; }
.ph-num {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--gold-light);
  display: block;
  margin-bottom: 14px;
}
.ph-card h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.ph-card p { font-size: 14px; color: rgba(247, 233, 207, 0.82); }

/* ---------- 特色区 ---------- */
.feat-card {
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feat-card::after {
  content: "";
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 42, 35, 0.08), transparent 70%);
  top: -40px; right: -40px;
}
.feat-card:hover { transform: translateY(-8px); box-shadow: 0 26px 48px rgba(70, 36, 14, 0.2); }
.feat-icon {
  width: 74px; height: 74px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
  background: linear-gradient(135deg, #fbe9d3, #f3d3a8);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #fff, 0 8px 18px rgba(176, 42, 35, 0.15);
}
.feat-card h3 { font-family: var(--font-serif); font-size: 20px; letter-spacing: 2px; margin-bottom: 10px; }
.feat-card p { font-size: 14px; color: var(--ink-soft); }

/* ============================================================
   招牌美食
   ============================================================ */
.section-dish { background: linear-gradient(180deg, #f7efdf 0%, #f2e4c8 100%); }
.dish-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.dish-badge {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--red);
  background: rgba(176, 42, 35, 0.08);
  border: 1px solid rgba(176, 42, 35, 0.3);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.dish-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.4vw, 44px);
  letter-spacing: 5px;
  color: var(--red-deep);
  margin-bottom: 20px;
}
.dish-desc { color: var(--ink-soft); font-size: 16px; margin-bottom: 28px; }
.dish-ingredients {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.dish-ingredients li {
  background: #fffdf7;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(70, 36, 14, 0.08);
}
.dish-ingredients li::before { content: "✦ "; color: var(--gold); }
.dish-note { display: flex; flex-wrap: wrap; gap: 14px; }
.dish-note span {
  font-size: 13.5px;
  color: var(--red-deep);
  background: rgba(176, 42, 35, 0.06);
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px dashed rgba(176, 42, 35, 0.35);
}

.dish-art-frame {
  position: relative;
  background: radial-gradient(circle at 50% 34%, #8a5528 0%, #5d3a1a 62%, #43280f 100%);
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 30px 60px rgba(60, 34, 10, 0.35), inset 0 0 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.dish-art-frame::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px solid rgba(240, 207, 139, 0.35);
  box-shadow: 0 0 60px rgba(232, 182, 90, 0.25);
  pointer-events: none;
}
.dish-svg-big { width: 112%; }
.dish-caption { text-align: center; margin-top: 18px; font-size: 12.5px; letter-spacing: 1px; color: var(--ink-soft); }

/* ============================================================
   页脚
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #331b0d, #221108);
  color: rgba(247, 233, 207, 0.82);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(247, 233, 207, 0.12);
}
.footer-brand p { margin-top: 16px; font-size: 14px; color: rgba(247, 233, 207, 0.6); line-height: 1.9; }
.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 3px;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(247, 233, 207, 0.72);
  margin-bottom: 10px;
  transition: color .25s ease, padding-left .25s ease;
}
.footer-col a:hover { color: var(--gold-light); padding-left: 6px; }
.footer-col p { font-size: 14px; color: rgba(247, 233, 207, 0.72); margin-bottom: 10px; }
.footer-bottom { padding-top: 24px; text-align: center; font-size: 13px; color: rgba(247, 233, 207, 0.5); letter-spacing: 1px; }

/* ============================================================
   插画动画
   ============================================================ */
.steam {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: steamRise 3.4s ease-in-out infinite;
}
.steam-2 { animation-delay: 1.1s; }
.steam-3 { animation-delay: 2.1s; }

@keyframes steamRise {
  0%   { opacity: 0;    transform: translateY(10px) scale(0.9); }
  30%  { opacity: 0.55; }
  60%  { opacity: 0.35; transform: translateY(-6px) scale(1); }
  100% { opacity: 0;    transform: translateY(-22px) scale(1.06); }
}

.twinkle {
  transform-box: fill-box;
  transform-origin: center;
  animation: twinkle 2.6s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50%      { opacity: 1;    transform: scale(1.1); }
}

/* ============================================================
   滚动显现
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 980px) {
  .hero { padding: 130px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero-actions, .hero-stats { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .dish-grid { grid-template-columns: 1fr; }
  .dish-art { order: -1; max-width: 560px; margin: 0 auto; width: 100%; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .hero-stats { gap: 24px; }
  .hero-title-main { letter-spacing: 4px; }
  .hero-title-sub { letter-spacing: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .steam, .twinkle { animation: none; opacity: 0.5; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
