/* 全局重置与基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", Arial, sans-serif;
}

body {
  color: #333;
  background-color: #f8f9fa;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 头部样式 - 体育风配色（活力蓝+活力橙） */
.header {
  background-color: #0f4c81; /* 主色调：深海蓝，贴合体育专业感 */
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.logo span {
  color: #ff7f00; /* 辅助色：活力橙，突出品牌 */
}

.nav ul {
  display: flex;
  gap: 30px;
}

.nav a {
  font-size: 16px;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: #ff7f00;
  border-bottom: 2px solid #ff7f00;
}

/* 横幅样式 */
.banner {
  height: 500px;
  background: linear-gradient(rgba(15, 76, 129, 0.7), rgba(15, 76, 129, 0.7)), 
              url('https://tse-mm.bing.com/th?q=FB体育 体育用品 专业装备') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-bottom: 50px;
}

.banner h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.banner p {
  font-size: 20px;
  max-width: 800px;
}

/* 核心内容通用样式 */
.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: #0f4c81;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #ff7f00;
  margin: 15px auto;
}

/* 首页特色模块 */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.feature-item {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.feature-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.feature-item h3 {
  font-size: 20px;
  color: #0f4c81;
  margin-bottom: 15px;
}

/* 产品模块通用样式 */
.product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
}

.product-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}

.product-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* 新闻/案例通用样式 */
.news-list, .case-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.news-item, .case-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.news-item img, .case-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-content, .case-content {
  padding: 20px;
}

.news-item h4, .case-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #0f4c81;
}

.news-item p, .case-item p {
  color: #666;
  font-size: 14px;
}

/* 联系我们样式 */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact-info h3 {
  font-size: 22px;
  color: #0f4c81;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 16px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input, .contact-form textarea {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.contact-form button {
  background: #0f4c81;
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #0b3a66;
}

/* 底部样式 */
.footer {
  background: #0f4c81;
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #ff7f00;
  position: absolute;
  bottom: 0;
  left: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: #ff7f00;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 14px;
}