/* ===== 基础变量 ===== */
:root {
  --red-primary: #C41E24;
  --red-dark: #8B1A1A;
  --red-light: #E8534A;
  --gold-primary: #D4A843;
  --gold-light: #F0D68A;
  --gold-dark: #B8860B;
  --bg-cream: #FDF8F0;
  --bg-warm: #F5EDE0;
  --text-dark: #2C1810;
  --text-body: #4A3728;
  --text-light: #8B7355;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(44, 24, 16, 0.08);
  --shadow-hover: 0 8px 30px rgba(44, 24, 16, 0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Noto Sans SC', -apple-system, sans-serif;
  color: var(--text-body);
  background: var(--bg-cream);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== 导航栏 ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253, 248, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled { border-bottom-color: rgba(212, 168, 67, 0.2); box-shadow: var(--shadow); }
.nav-content { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-icon {
  width: 40px; height: 40px; background: var(--red-primary); color: var(--gold-light);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Serif SC', serif; font-size: 20px; font-weight: 700;
}
.logo-text {
  font-family: 'Noto Serif SC', serif; font-size: 22px; font-weight: 700;
  color: var(--red-primary);
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 15px; color: var(--text-body); transition: var(--transition);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--red-primary); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--red-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.menu-toggle {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: 4px;
}
.menu-toggle span {
  width: 24px; height: 2px; background: var(--text-dark); transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red-primary) 50%, var(--red-light) 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(212, 168, 67, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(240, 214, 138, 0.1) 0%, transparent 50%);
}
.hero-overlay {
  position: absolute; inset: 0; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F0D68A' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; text-align: center; color: var(--white); padding: 20px; }
.hero-subtitle {
  font-family: 'Noto Serif SC', serif; font-size: 18px; color: var(--gold-light);
  letter-spacing: 6px; margin-bottom: 20px; opacity: 0; animation: fadeUp 0.8s ease forwards 0.3s;
}
.hero-title {
  font-family: 'Noto Serif SC', serif; font-size: clamp(60px, 12vw, 120px);
  font-weight: 700; letter-spacing: 16px; margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.5s;
}
.hero-desc {
  font-size: 18px; line-height: 1.8; color: rgba(255,255,255,0.9);
  margin-bottom: 40px; opacity: 0; animation: fadeUp 0.8s ease forwards 0.7s;
}
.scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  color: var(--gold-light); font-size: 13px; text-align: center;
  opacity: 0; animation: fadeUp 0.8s ease forwards 1.1s;
}
.scroll-arrow {
  width: 20px; height: 20px; margin: 8px auto 0; border-right: 2px solid var(--gold-light);
  border-bottom: 2px solid var(--gold-light); transform: rotate(45deg);
  animation: bounce 2s infinite;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block; padding: 14px 40px; border-radius: 50px;
  font-size: 16px; font-weight: 500; transition: var(--transition); cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--gold-primary); color: var(--white);
  box-shadow: 0 4px 15px rgba(212, 168, 67, 0.4);
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.9s;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212, 168, 67, 0.5); }

/* ===== Section 通用 ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; font-size: 13px; color: var(--red-primary);
  letter-spacing: 4px; text-transform: uppercase; margin-bottom: 12px;
  border: 1px solid var(--red-primary); padding: 4px 16px; border-radius: 20px;
}
.section-title {
  font-family: 'Noto Serif SC', serif; font-size: 36px; font-weight: 700;
  color: var(--text-dark); margin-top: 12px;
}
.title-decoration {
  width: 60px; height: 3px; background: linear-gradient(90deg, var(--red-primary), var(--gold-primary));
  margin: 16px auto 0; border-radius: 2px;
}

/* ===== 关于丹姨 ===== */
.about { padding: 100px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image-placeholder {
  width: 100%; aspect-ratio: 4/5; background: linear-gradient(135deg, var(--bg-warm), var(--bg-cream));
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 16px; border: 2px dashed var(--gold-primary);
}
.about-text h3 {
  font-family: 'Noto Serif SC', serif; font-size: 28px; color: var(--text-dark); margin-bottom: 20px;
}
.about-text p { margin-bottom: 16px; color: var(--text-body); }
.about-stats { display: flex; gap: 40px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--bg-warm); }
.stat-number {
  display: block; font-family: 'Noto Serif SC', serif; font-size: 32px;
  font-weight: 700; color: var(--red-primary);
}
.stat-label { font-size: 14px; color: var(--text-light); }

/* ===== 产品展示 ===== */
.products { padding: 100px 0; background: var(--bg-cream); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-image {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-warm), var(--bg-cream));
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 14px;
}
.product-info { padding: 24px; }
.product-info h3 {
  font-family: 'Noto Serif SC', serif; font-size: 20px; color: var(--text-dark); margin-bottom: 8px;
}
.product-info p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ===== 品牌故事 ===== */
.story { padding: 100px 0; background: var(--white); }
.story-timeline { max-width: 700px; margin: 0 auto; position: relative; padding-left: 40px; }
.story-timeline::before {
  content: ''; position: absolute; left: 12px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--red-primary), var(--gold-primary));
}
.timeline-item { position: relative; margin-bottom: 48px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute; left: -34px; top: 6px; width: 16px; height: 16px;
  background: var(--red-primary); border-radius: 50%;
  border: 3px solid var(--bg-cream); box-shadow: 0 0 0 2px var(--red-primary);
}
.timeline-content h3 {
  font-family: 'Noto Serif SC', serif; font-size: 22px; color: var(--text-dark); margin-bottom: 10px;
}
.timeline-content p { color: var(--text-body); }

/* ===== 联系我们 ===== */
.contact { padding: 100px 0; background: var(--bg-cream); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.contact-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 24px;
  text-align: center; box-shadow: var(--shadow); transition: var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.contact-icon {
  width: 56px; height: 56px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 24px; height: 24px; color: var(--white); }
.contact-card h3 {
  font-family: 'Noto Serif SC', serif; font-size: 18px; color: var(--text-dark); margin-bottom: 10px;
}
.contact-card p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.contact-detail {
  font-size: 15px; font-weight: 500; color: var(--red-primary); margin-bottom: 8px;
}
.contact-sub { font-size: 13px; color: var(--text-light); }
.wechat-qr-placeholder {
  width: 120px; height: 120px; margin: 0 auto 12px;
  background: var(--bg-warm); border-radius: 8px; border: 2px dashed var(--gold-primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 13px;
}
.shop-links { display: flex; flex-direction: column; gap: 8px; }
.shop-link {
  display: block; padding: 8px 16px; background: var(--bg-cream);
  border-radius: 6px; font-size: 14px; color: var(--red-primary);
  transition: var(--transition);
}
.shop-link:hover { background: var(--red-primary); color: var(--white); }

/* ===== 页脚 ===== */
.footer { background: var(--text-dark); color: rgba(255,255,255,0.7); padding: 48px 0 24px; }
.footer-content {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .logo-icon { width: 36px; height: 36px; font-size: 18px; }
.footer-brand .logo-text { color: var(--white); font-size: 20px; }
.footer-brand p { font-size: 13px; margin-left: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 24px; font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ===== 动画 ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
  40% { transform: rotate(45deg) translateY(-8px); }
  60% { transform: rotate(45deg) translateY(-4px); }
}
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(253, 248, 240, 0.98); backdrop-filter: blur(10px);
    flex-direction: column; align-items: center; gap: 0; padding: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 300px; border-bottom: 1px solid rgba(212, 168, 67, 0.2); }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 16px; }
  .hero-title { letter-spacing: 8px; }
  .hero-subtitle { font-size: 14px; letter-spacing: 4px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { gap: 24px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .section-title { font-size: 28px; }
  .footer-content { flex-direction: column; gap: 20px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}
