/* style/index.css */

/* Custom properties for colors */
:root {
  --primary-color: #017439; /* Main green */
  --secondary-color: #FFFFFF; /* White */
  --register-btn-bg: #C30808; /* Red for register/login */
  --register-btn-text: #FFFF00; /* Yellow for register/login text */
  --text-dark: #333333;
  --text-light: #f0f0f0;
  --border-light: #e0e0e0;
  --bg-light-gray: #f9f9f9;
}

/* General page styling */
.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background: var(--secondary-color); /* Default white background */
}

.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-index__section-title {
  text-align: center;
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-index__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-index__text-block {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  font-size: 17px;
  line-height: 1.7;
}

/* HERO Section */
.page-index__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), #01A459); /* Slightly different green gradient */
  color: var(--text-light);
  /* 🚨 固定页头与主体间距 */
  padding-top: var(--header-offset, 120px);
}

.page-index__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}