/* 首页样式 */
.banner {
  height: 500px;
  position: relative;
  overflow: hidden;
}

.banner-slider {
  width: 100%;
  height: 100%;
}

.banner-item {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* 通用区块样式 */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #2E3192;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
}

/* 热门赛事 */
.events-section {
  background: #f5f5f5;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.event-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

/* 器材推荐 */
.equipment-section {
  background: #fff;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.equipment-card {
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.equipment-card:hover {
  transform: translateY(-5px);
}

.equipment-img {
  width: 200px;
  height: 200px;
  margin: 0 auto 1rem;
}

.equipment-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.equipment-price {
  color: #2E3192;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

/* 教练团队 */
.coaches-section {
  background: #f5f5f5;
}

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.coach-card {
  text-align: center;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.coach-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
}

.coach-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.coach-title {
  color: #666;
  margin-bottom: 1rem;
}

/* 会员注册 */
.signup-section {
  background: url('../images/signup_bg.png') center/cover;
  color: #fff;
  text-align: center;
  padding: 6rem 0;
  position: relative;
}

.signup-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.signup-content {
  position: relative;
  z-index: 1;
}

.signup-form {
  max-width: 500px;
  margin: 2rem auto;
  display: grid;
  gap: 1rem;
}

.signup-form input {
  padding: 1rem;
  border: none;
  border-radius: 4px;
}

/* 网球知识 */
.knowledge-section {
  background: #fff;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.knowledge-card {
  padding: 2rem;
  background: #f5f5f5;
  border-radius: 8px;
  text-align: center;
}

.knowledge-icon {
  font-size: 2rem;
  color: #2E3192;
  margin-bottom: 1rem;
}

/* 优化页脚 */
.footer {
  background: #2E3192;
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}

.social-links a:hover {
  background: rgba(255,255,255,0.2);
} 