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

.page-promotions {
  color: var(--text-color-dark);
  background-color: var(--secondary-color); /* Body background is white, so text is dark */
}

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

.page-promotions__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-promotions__text-block {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

/* 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); /* Ensure space below fixed header */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  overflow: hidden;
}

.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 {
  width: 100%;
  margin-bottom: 30px;
}

.page-promotions__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-color-light); /* Text on gradient background, ensure contrast */
}

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

.page-promotions__hero-description {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-light);
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-register); /* Custom color for register */
  color: var(--button-font-color); /* Custom font color for register/login */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-button:hover {
  background: #a50707; /* Darker red for hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Backgrounds */
.page-promotions__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
}

.page-promotions__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}