/* Index首页专用样式 */
/* 继承公共样式 styles.css */

/* 首页Banner样式 */
.hero-banner {
  background: linear-gradient(rgba(139,69,19,0.7), rgba(210,105,30,0.7)), url('../img/banner2.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  padding: 2rem;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  font-family: 'Times New Roman', 'SimSun', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  margin-bottom: 2rem;
  color: #ffffff;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 1px 1px 0px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 3px solid #ffffff;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.3);
  display: inline-block;
}

.hero-content p {
  font-family: 'Arial', 'Microsoft YaHei', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
  color: #ffffff;
  line-height: 1.8;
  font-weight: 400;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  display: inline-block;
}

.hero-content p:last-child {
  margin-bottom: 0;
}

/* 首页介绍内容样式 */
.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.intro-text h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* 首页响应式设计 */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .intro-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-banner {
    min-height: 80vh;
    padding: 1rem;
    background-attachment: scroll;
    background-size: contain;
  }
  
  .hero-content {
    padding: 2rem 1rem;
  }
  
  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: 1.5rem;
    padding: 0.8rem 1.5rem;
    border: 2px solid #ffffff;
  }
  
  .hero-content p {
    font-size: clamp(1rem, 4vw, 1.3rem);
    margin-bottom: 1rem;
    padding: 0.4rem 0.8rem;
  }
}