/* 全局重置与基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft Yahei", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 导航栏（橙色主调，响应式） */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ff7f00; /* 橙色主色调 */
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo img {
  height: 50px;
}

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

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffe0b2; /* 浅橙色 hover */
}

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

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
}

/* 首页Banner */
.hero {
  background: url("images/guizixiang-hero-bg.jpg") center/cover no-repeat;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* 半透明遮罩 */
}

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

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.slogan {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 800px;
}

/* 按钮样式（橙色系） */
.btn-primary {
  background-color: #ff7f00;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #e67300; /* 深橙色 hover */
}

.btn-secondary {
  background-color: #fff;
  color: #ff7f00;
  padding: 10px 25px;
  border: 2px solid #ff7f00;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s, color 0.3s;
}

.btn-secondary:hover {
  background-color: #ff7f00;
  color: #fff;
}

/* 品牌故事（辛弃疾词句） */
.brand-story {
  padding: 60px 0;
  background-color: #fff8e1; /* 浅黄背景，呼应古风 */
}

.brand-story h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #ff7f00;
}

.poem-quote blockquote {
  text-align: center;
  font-style: italic;
  margin-top: 20px;
  padding: 20px;
  background-color: #fe0;
  borff3der-left: 5px solid #ff7f00;
}

/* 产品展示（网格布局） */
.product-showcase {
  padding: 60px 0;
}

.product-showcase h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #ff7f00;
}

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

.product-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: box-shadow 0.3s;
}

.product-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 4px;
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* 案例文章流（网格布局，SEO友好） */
.case-articles {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.case-articles h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #ff7f00;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.article-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.article-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card h3 {
  padding: 15px;
  margin: 0;
  font-size: 1.1rem;
}

.article-card p {
  padding: 0 15px 15px;
  color: #666;
}

.article-card a {
  display: block;
  padding: 10px 15px;
  text-align: right;
  color: #ff7f00;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.article-card a:hover {
  color: #e67300;
}

/* 底部横幅（橙色，多列布局） */
.site-footer {
  background-color: #ff7f00;
  color: #fff;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 10px;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-contact p {
  color: #ffe0b2;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #e67300;
  font-size: 0.9rem;
}

/* 响应式（手机端适配） */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ff7f00;
    padding: 20px;
  }

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

  .menu-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .slogan {
    font-size: 1rem;
  }

  .product-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }
}