/* 金力来.com — 金力来酱香白酒品牌官网 */
/* 色系：金/红/黑 — 传统酱酒高端调性 */

:root {
  --gold: #C9A96E;
  --gold-light: #E8D5A3;
  --gold-dark: #A8883E;
  --red: #B22222;
  --red-dark: #8B1A1A;
  --dark: #1A1A1A;
  --dark-2: #2A2A2A;
  --text: #333;
  --text-light: #666;
  --bg: #FAFAF5;
  --bg-dark: #F5F0E8;
  --white: #FFF;
  --shadow: 0 2px 20px rgba(0,0,0,.08);
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--red); text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }

/* ─── 导航 ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26,26,26,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,169,110,.2);
}
nav .nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 68px;
}
nav .logo {
  font-size: 24px; font-weight: 700; color: var(--gold);
  letter-spacing: 4px;
}
nav .logo span { color: var(--white); font-weight: 300; }
nav .nav-links { display: flex; gap: 32px; align-items: center; }
nav .nav-links a {
  color: rgba(255,255,255,.8); font-size: 14px; letter-spacing: 1px;
  position: relative; padding: 4px 0;
}
nav .nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: width .3s;
}
nav .nav-links a:hover::after,
nav .nav-links a.active::after { width: 100%; }
nav .nav-links a:hover { color: var(--gold); }
nav .nav-links a.active { color: var(--gold); }
.mobile-toggle { display: none; color: var(--gold); font-size: 28px; cursor: pointer; background: none; border: none; }

/* ─── 页脚 ─── */
footer {
  background: var(--dark); color: rgba(255,255,255,.6);
  padding: 60px 24px 30px;
}
footer .footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
footer h4 { color: var(--gold); font-size: 15px; margin-bottom: 16px; letter-spacing: 2px; }
footer p, footer a { font-size: 13px; line-height: 2; color: rgba(255,255,255,.5); }
footer a:hover { color: var(--gold); }
footer .copyright {
  max-width: 1200px; margin: 40px auto 0;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px; text-align: center; color: rgba(255,255,255,.3);
}

/* ─── 通用 ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-title {
  text-align: center; margin-bottom: 60px;
}
.section-title h2 {
  font-size: 36px; color: var(--dark);
  letter-spacing: 6px; margin-bottom: 16px;
}
.section-title .subtitle {
  color: var(--text-light); font-size: 15px; max-width: 600px; margin: 0 auto;
}
.section-title .gold-line {
  width: 60px; height: 3px; background: var(--gold);
  margin: 16px auto;
}
.btn {
  display: inline-block; padding: 12px 36px;
  border-radius: 50px; font-size: 14px; letter-spacing: 2px;
  transition: all .3s; cursor: pointer; border: none;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(201,169,110,.4); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); }

/* ─── Hero ─── */
.hero {
  height: 100vh; min-height: 600px;
  background: linear-gradient(135deg, #1A1A1A 0%, #2A1A0A 50%, #1A0A0A 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,169,110,.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(178,34,34,.1) 0%, transparent 40%);
}
.hero-content { position: relative; z-index: 1; padding: 0 24px; }
.hero h1 {
  font-size: clamp(40px, 8vw, 72px); font-weight: 700;
  color: var(--gold); letter-spacing: 12px; margin-bottom: 8px;
}
.hero .brand-sub {
  font-size: clamp(16px, 3vw, 28px); color: var(--white);
  letter-spacing: 8px; font-weight: 300; margin-bottom: 20px;
}
.hero p {
  color: rgba(255,255,255,.6); font-size: 16px;
  max-width: 500px; margin: 0 auto 40px; letter-spacing: 2px;
}
.hero .scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.3); font-size: 12px; letter-spacing: 2px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── 品牌故事卡片 ─── */
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.story-text h3 { font-size: 28px; color: var(--dark); margin-bottom: 20px; letter-spacing: 4px; }
.story-text p { color: var(--text-light); margin-bottom: 16px; font-size: 15px; }
.story-image {
  background: var(--bg-dark); border-radius: var(--radius);
  padding: 60px 40px; text-align: center; min-height: 400px;
  display: flex; align-items: center; justify-content: center;
}
.story-image .placeholder-icon {
  font-size: 80px; color: var(--gold-light); letter-spacing: 4px;
}

/* ─── 产品卡片 ─── */
.product-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: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.product-card .img {
  height: 280px; background: linear-gradient(135deg, var(--bg-dark), var(--white));
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid rgba(201,169,110,.2);
}
.product-card .img .bottle-placeholder {
  font-size: 60px; color: var(--gold); opacity: .4;
}
.product-card .info { padding: 24px; }
.product-card .info h3 { font-size: 18px; margin-bottom: 8px; }
.product-card .info .spec { color: var(--text-light); font-size: 13px; margin-bottom: 4px; }
.product-card .info .desc { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.product-card .info .tag {
  display: inline-block; padding: 2px 12px; border-radius: 20px;
  background: rgba(201,169,110,.15); color: var(--gold-dark);
  font-size: 12px; margin-right: 6px;
}

/* ─── 数据统计 ─── */
.stats {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  padding: 80px 0; color: var(--white);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center;
}
.stat-item .num { font-size: 48px; font-weight: 700; color: var(--gold); }
.stat-item .label { font-size: 14px; color: rgba(255,255,255,.5); margin-top: 8px; letter-spacing: 2px; }

/* ─── 荣誉 ─── */
.honor-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.honor-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; text-align: center; box-shadow: var(--shadow);
  border: 1px solid rgba(201,169,110,.15);
}
.honor-card .icon { font-size: 40px; margin-bottom: 16px; }
.honor-card h4 { font-size: 16px; margin-bottom: 8px; color: var(--dark); }
.honor-card p { font-size: 13px; color: var(--text-light); }

/* ─── 酿造工艺时间线 ─── */
.timeline { max-width: 800px; margin: 0 auto; }
.timeline-item {
  display: flex; gap: 24px; margin-bottom: 40px;
  position: relative; padding-left: 40px;
}
.timeline-item::before {
  content: ''; position: absolute; left: 15px; top: 0; bottom: -40px;
  width: 2px; background: var(--gold-light);
}
.timeline-item:last-child::before { display: none; }
.timeline-item .dot {
  position: absolute; left: 8px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--bg);
}
.timeline-item h4 { font-size: 18px; color: var(--dark); margin-bottom: 8px; }
.timeline-item p { font-size: 14px; color: var(--text-light); }

/* ─── 页面内部 hero ─── */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #1A1A1A 0%, #2A1A0A 100%);
  text-align: center;
}
.page-hero h1 { font-size: 42px; color: var(--gold); letter-spacing: 8px; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.5); font-size: 15px; }

/* ─── 新闻列表 ─── */
.news-list { max-width: 800px; margin: 0 auto; }
.news-item {
  padding: 32px 0; border-bottom: 1px solid rgba(0,0,0,.06);
}
.news-item:last-child { border-bottom: none; }
.news-item .date { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.news-item h3 { font-size: 18px; margin-bottom: 8px; }
.news-item h3 a { color: var(--dark); }
.news-item h3 a:hover { color: var(--red); }
.news-item p { font-size: 14px; color: var(--text-light); }

/* ─── 联系 ─── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
.contact-info h3 { font-size: 24px; margin-bottom: 24px; }
.contact-info p { margin-bottom: 12px; font-size: 14px; color: var(--text-light); }
.contact-info .company-link {
  display: inline-block; margin-top: 20px; padding: 12px 28px;
  border: 1px solid var(--gold); border-radius: 50px;
  color: var(--gold-dark); font-size: 14px; transition: all .3s;
}
.contact-info .company-link:hover { background: var(--gold); color: var(--white); }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 14px 18px; border: 1px solid #ddd;
  border-radius: 8px; font-size: 14px; margin-bottom: 16px;
  background: var(--white); transition: border .3s;
  font-family: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold); outline: none;
}

/* ─── 产品页 ─── */
.product-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.product-detail .gallery {
  background: var(--bg-dark); border-radius: var(--radius);
  padding: 80px 40px; text-align: center; min-height: 500px;
  display: flex; align-items: center; justify-content: center;
}
.product-detail .gallery .big-bottle {
  font-size: 120px; color: var(--gold); opacity: .3;
}
.product-detail .meta h2 { font-size: 32px; margin-bottom: 16px; }
.product-detail .meta .price-tag { font-size: 24px; color: var(--red); margin-bottom: 16px; }
.product-detail .meta .desc { color: var(--text-light); margin-bottom: 24px; line-height: 2; }
.product-detail .meta .spec-table { width: 100%; font-size: 14px; }
.product-detail .meta .spec-table td { padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.product-detail .meta .spec-table td:first-child { color: var(--text-light); width: 100px; }

/* ─── 响应式 ─── */
@media (max-width: 968px) {
  .story-grid,
  .contact-grid,
  .product-detail { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  footer .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mobile-toggle { display: block; }
  nav .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--dark); flex-direction: column; padding: 20px 24px;
    gap: 16px;
  }
  nav .nav-links.open { display: flex; }
  .product-grid { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: 1fr; }
  .section-title h2 { font-size: 28px; }
  .hero h1 { letter-spacing: 6px; }
  footer .footer-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat-item .num { font-size: 36px; }
}
