/* =============================================
   dining.css - 有肉私厨体验页面样式
   设计语言：与 about.css 保持一致
   ============================================= */

/* --- 基础变量 --- */
:root {
  --bg-deep: #0d0d0f;
  --bg-card: #1a1a1e;
  --bg-card-hover: #222226;
  --ink: #e8e0d4;
  --ink-2: #c4b99a;
  --ink-3: #8a8070;
  --accent: #d4a853;
  --accent-dim: rgba(212,168,83,0.15);
  --accent-glow: rgba(212,168,83,0.3);
  --line: rgba(212,168,83,0.12);
  --radius: 12px;
  --radius-lg: 16px;
}

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

body {
  background: var(--bg-deep);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 顶栏样式统一由全站共享的 header.css 提供，此处不再重复，避免覆盖冲突。 */

/* --- Hero 区 --- */
.dining-hero {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #151517 100%);
}
.dining-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(212,168,83,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 700px; padding: 40px 20px;
}
.hero-icon {
  display: inline-block; font-size: 56px;
  animation: heroFloat 3s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800; color: var(--ink);
  margin-top: 16px; line-height: 1.3;
}
.hero-title .accent { color: var(--accent); }
.hero-subtitle {
  font-size: clamp(14px, 2.5vw, 18px);
  color: var(--ink-3); margin-top: 12px;
  line-height: 1.6;
}
.hero-location {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; padding: 6px 16px;
  background: var(--accent-dim); border-radius: 20px;
  font-size: 13px; color: var(--accent); font-weight: 500;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px; padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent), #c49a40);
  color: #0d0d0f; font-size: 16px; font-weight: 700;
  border: none; border-radius: 12px; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,83,0.3);
  text-decoration: none;
}

/* --- 通用容器 --- */
.dining-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- 通用 section --- */
.dining-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800; color: var(--ink);
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 15px; color: var(--ink-3);
  margin-bottom: 32px; line-height: 1.6;
}

/* --- 体验亮点卡片 --- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.hl-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.hl-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.hl-card-icon { font-size: 36px; margin-bottom: 12px; }
.hl-card-title {
  font-size: 17px; font-weight: 700; color: var(--ink);
  margin-bottom: 8px;
}
.hl-card-desc {
  font-size: 13px; color: var(--ink-3); line-height: 1.6;
}

/* --- 菜单区域 --- */
.menu-tabs {
  display: flex; gap: 8px; margin-bottom: 24px;
}
.menu-tab {
  padding: 8px 20px; border-radius: 8px;
  background: transparent; border: 1px solid var(--line);
  color: var(--ink-3); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
}
.menu-tab.active, .menu-tab:hover {
  background: var(--accent-dim); color: var(--accent); border-color: var(--accent);
}

.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  transition: border-color 0.3s;
}
.menu-card:hover { border-color: var(--accent); }
.menu-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.menu-card-name {
  font-size: 18px; font-weight: 700; color: var(--ink);
}
.menu-card-price {
  font-size: 22px; font-weight: 800; color: var(--accent);
}
.menu-card-price .unit { font-size: 13px; font-weight: 400; color: var(--ink-3); }
.menu-card-desc {
  font-size: 14px; color: var(--ink-3); line-height: 1.6;
}
.menu-card-includes {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--line);
}
.menu-card-includes li {
  font-size: 13px; color: var(--ink-2);
  padding: 4px 0; list-style: none;
}
.menu-card-includes li::before {
  content: '✓ '; color: var(--accent); font-weight: 700;
}

/* 加肉表格 */
.addon-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.addon-table th {
  font-size: 12px; color: var(--ink-3); font-weight: 600;
  text-align: left; padding: 8px 12px;
  border-bottom: 1px solid var(--line);
}
.addon-table td {
  font-size: 14px; color: var(--ink-2); padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.addon-table tr:hover td { background: rgba(212,168,83,0.04); }
.addon-price { font-weight: 700; color: var(--accent); }

/* --- 品鉴流程 --- */
.tasting-flow {
  display: flex; flex-direction: column; gap: 32px;
  margin-top: 24px;
}
.tasting-step {
  display: flex; gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.3s;
}
.tasting-step:hover { border-color: var(--accent); }
.tasting-step-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim);
  border-radius: 50%;
  font-size: 20px; font-weight: 800; color: var(--accent);
}
.tasting-step-body { flex: 1; }
.tasting-step-title {
  font-size: 17px; font-weight: 700; color: var(--ink);
  margin-bottom: 8px;
}
.tasting-step-desc {
  font-size: 14px; color: var(--ink-3); line-height: 1.7;
}
.tasting-step-highlight {
  display: inline-block;
  margin-top: 10px; padding: 4px 12px;
  background: rgba(212,168,83,0.08);
  border-radius: 6px;
  font-size: 13px; color: var(--accent); font-weight: 500;
}

/* --- 照片墙 --- */
.photo-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.photo-wall-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--line);
}
.photo-wall-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.photo-wall-item:hover img { transform: scale(1.05); }
.photo-wall-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  font-size: 12px; color: rgba(255,255,255,0.8);
}
/* 占位提示 */
.photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  font-size: 13px; color: var(--ink-3);
}
.photo-placeholder-icon { font-size: 28px; opacity: 0.4; }

/* --- 会员转化区 --- */
.membership-section {
  background: linear-gradient(135deg, rgba(212,168,83,0.06) 0%, rgba(212,168,83,0.02) 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  margin-top: 32px;
}
.membership-title {
  font-size: 24px; font-weight: 800; color: var(--ink);
  margin-bottom: 8px;
}
.membership-subtitle {
  font-size: 14px; color: var(--ink-3); margin-bottom: 24px;
}
.membership-perks {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 400px; margin: 0 auto 28px;
  text-align: left;
}
.membership-perk {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--ink-2);
}
.membership-perk .check {
  color: var(--accent); font-weight: 700; font-size: 16px;
}
.membership-btns {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap;
}
.membership-btn {
  padding: 12px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  border: none; text-decoration: none;
}
.membership-btn.primary {
  background: linear-gradient(135deg, var(--accent), #c49a40);
  color: #0d0d0f;
}
.membership-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,168,83,0.3);
  text-decoration: none;
}
.membership-btn.secondary {
  background: var(--bg-card);
  color: var(--accent);
  border: 1px solid var(--accent);
}
.membership-btn.secondary:hover {
  background: var(--accent-dim);
  text-decoration: none;
}

/* --- 预约联系区 --- */
.booking-section {
  padding: 64px 0 48px;
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.booking-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.booking-card-icon { font-size: 32px; margin-bottom: 12px; }
.booking-card-title {
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin-bottom: 8px;
}
.booking-card-desc {
  font-size: 13px; color: var(--ink-3); line-height: 1.6;
}
.booking-qr {
  width: 120px; height: 120px;
  margin: 16px auto 0;
  border-radius: 8px;
  border: 1px solid var(--line);
}

/* --- 底部 --- */
.dining-footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 900px; margin: 0 auto; padding: 0 20px;
}
.footer-slogan {
  font-size: 14px; color: var(--ink-3); margin-bottom: 12px;
}
.footer-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--accent);
  transition: gap 0.2s;
}
.footer-back:hover { gap: 10px; text-decoration: none; }

/* --- 滚动入场动画 --- */
.fade-up {
  animation: fadeUp 0.6s ease both;
}
.fade-up-d1 { animation-delay: 0.1s; }
.fade-up-d2 { animation-delay: 0.2s; }
.fade-up-d3 { animation-delay: 0.3s; }
.fade-up-d4 { animation-delay: 0.4s; }

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

/* --- 响应式 --- */
@media (max-width: 768px) {
  .dining-hero { min-height: 55vh; }
  .hero-title { font-size: 26px; }
  .highlights-grid { grid-template-columns: 1fr; }
  .photo-wall { grid-template-columns: repeat(2, 1fr); }
  .booking-grid { grid-template-columns: 1fr; }
  .tasting-step { flex-direction: column; }
  .membership-section { padding: 28px 20px; }
  .dining-section { padding: 40px 0; }
}

@media (max-width: 480px) {
  .photo-wall { grid-template-columns: 1fr 1fr; gap: 8px; }
  .menu-tabs { flex-wrap: wrap; }
}
