/* 茶绿色 + 暗金色主题，古朴典雅 */
:root {
  --tea-green: #4a7c59;
  --tea-green-light: #6b9b7a;
  --tea-green-dark: #2d5a3d;
  --gold: #b8860b;
  --gold-dark: #8b6914;
  --gold-light: #daa520;
  --bg-cream: #f5f1e8;
  --text-dark: #2c2c2c;
  --text-light: #5a5a5a;
}

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航 */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 4px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: var(--bg-cream);
  font-size: 16px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--bg-cream);
}

/* Hero */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(45, 90, 61, 0.7), rgba(45, 90, 61, 0.7)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%234a7c59" opacity="0.3"/><circle cx="30" cy="30" r="25" fill="%234a7c59" opacity="0.2"/></svg>');
  background-color: var(--tea-green-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(45, 90, 61, 0.3) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-content h1 {
  font-size: 56px;
  color: var(--bg-cream);
  letter-spacing: 8px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 20px;
  color: var(--gold-light);
  margin-bottom: 40px;
  letter-spacing: 4px;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--gold);
  color: var(--bg-cream);
  text-decoration: none;
  font-size: 16px;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn:hover {
  background: var(--gold-dark);
}

/* 通用标题 */
.section-title {
  text-align: center;
  font-size: 36px;
  color: var(--tea-green-dark);
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
}

/* 产品 */
.products {
  padding: 100px 0;
  background: var(--bg-cream);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(74, 124, 89, 0.1);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-img {
  height: 200px;
  background: var(--tea-green);
  position: relative;
  overflow: hidden;
}

.product-img::after {
  content: '古树茶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,0.3);
  font-size: 40px;
  letter-spacing: 8px;
}

.product-img.img-1 { background: linear-gradient(135deg, var(--tea-green-dark), var(--tea-green)); }
.product-img.img-2 { background: linear-gradient(135deg, #5d4037, #8d6e63); }
.product-img.img-3 { background: linear-gradient(135deg, #c62828, #e53935); }
.product-img.img-4 { background: linear-gradient(135deg, #f5f5dc, #eee8aa); }

.product-card h3 {
  padding: 20px 20px 10px;
  font-size: 20px;
  color: var(--tea-green-dark);
}

.product-card p {
  padding: 0 20px;
  font-size: 14px;
  color: var(--text-light);
}

.product-card .price {
  display: block;
  padding: 16px 20px 24px;
  font-size: 22px;
  color: var(--gold);
  font-weight: bold;
}

/* 关于 */
.about {
  padding: 100px 0;
  background: linear-gradient(rgba(74, 124, 89, 0.05), rgba(74, 124, 89, 0.05));
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 24px;
  text-align: left;
}

.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
  text-align: left;
}

.features li {
  padding: 12px 20px;
  background: #fff;
  border-left: 4px solid var(--gold);
  color: var(--text-dark);
}

/* 联系方式 */
.contact {
  padding: 100px 0;
  background: var(--tea-green-dark);
}

.contact .section-title {
  color: var(--bg-cream);
}

.contact .section-title::after {
  background: var(--gold-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.contact-item h3 {
  color: var(--gold-light);
  font-size: 18px;
  margin-bottom: 12px;
}

.contact-item p {
  color: var(--bg-cream);
  font-size: 20px;
  letter-spacing: 2px;
}

/* 页脚 */
footer {
  background: var(--text-dark);
  padding: 30px 0;
  text-align: center;
}

footer p {
  color: var(--text-light);
  font-size: 14px;
}

/* 响应式 */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--tea-green-dark);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 32px;
    letter-spacing: 4px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .features {
    grid-template-columns: 1fr;
  }
}
