/* style/promotions.css */
/* 页面专属样式 */

/* Custom Variables */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-color-light: #f9f9f9;
  --border-color: #e0e0e0;
  --register-button-color: #C30808;
  --login-button-color: #C30808;
  --button-text-color: #FFFF00;
}

.page-promotions {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark); /* Default text color for light body background */
  background-color: var(--background-color-light); /* Light background for content sections */
  line-height: 1.6;
}

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

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__section:nth-of-type(even) {
  background-color: var(--secondary-color); /* Alternate background for readability */
}

.page-promotions__heading {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__description {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--text-color-dark);
}

/* HERO Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, var(--primary-color) 0%, #339966 100%); /* Slightly lighter green gradient */
  color: var(--text-color-light);
  overflow: hidden; /* Ensure no image overflow */
}

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

.page-promotions__hero-image-main {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page-promotions__hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-color-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-promotions__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: var(--text-color-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--register-button-color); /* Using custom register color */
  color: var(--button-text-color); /* Using custom button text color */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-promotions__cta-button:hover {
  background: #E82A2A; /* Slightly darker red for hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Content Wrapper */
.page-promotions__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-bottom: 40px;
}

.page-promotions__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-promotions__image-content {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__text-block {
  flex: 1;
  max-width: 50%;
}

.page-promotions__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-color-dark);
}

.page-promotions__text-block ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
}

.page-promotions__text-block li {
  margin-bottom: 8px;
  font-size: 17px;
  color: var(--text-color-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Quick Access Links Grid */
.page-promotions__access-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__access-item {
  background-color: var(--secondary-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}