/* style/promotions.css */
/* 
  Body background color from shared.css is var(--background-color),
  which is #08160F (Deep Green/Dark). Therefore, text colors must be light.
*/

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --main-bg: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-promotions {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--main-bg); /* Page background */
  line-height: 1.6;
}

/* --- Hero Section --- */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image then text */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  box-sizing: border-box;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-promotions__hero-content {
  text-align: center;
  max-width: 900px;
  width: 100%; /* Ensure content takes full width up to max-width */
  padding: 0 15px;
  box-sizing: border-box;
}

.page-promotions__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: var(--gold-color); /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-promotions__hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__hero-cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 15px;
  justify-content: center;
}

/* --- General Section Styling --- */
.page-promotions__section {
  padding: 60px 20px;
  box-sizing: border-box;
  overflow: hidden;
  max-width: 100%;
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Inner padding for content */
  box-sizing: border-box;
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-promotions__section-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__highlight {
  color: var(--gold-color);
  font-weight: 600;
}

.page-promotions__section-text a {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-promotions__section-text a:hover {
  color: var(--primary-color);
}

/* --- Card Grid for Promotion Types --- */
.page-promotions__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-promotions__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__card-title {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promotions__card-subtitle {
  font-size: 1.1rem;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 500;
}

.page-promotions__card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: justify;
}

/* --- Guide Section --- */
.page-promotions__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-promotions__guide-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  padding-left: 50px; /* For step number */
}

.page-promotions__guide-item strong {
  color: var(--text-main);
}

.page-promotions__guide-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-color);
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.page-promotions__guide-list {
  counter-reset: step-counter;
}

/* --- Terms Section --- */
.page-promotions__terms-list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 30px;
  color: var(--text-secondary);
}

.page-promotions__terms-item {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
}

.page-promotions__terms-item strong {
  color: var(--text-main);
}

/* --- Advantages Section --- */
.page-promotions__advantages {
  background-color: var(--deep-green-color); /* Darker background for contrast */
  color: var(--text-main);
}

.page-promotions__advantages .page-promotions__section-title {
  color: var(--text-main);
}

.page-promotions__advantages .page-promotions__section-title::after {
  background: var(--gold-color);
}

.page-promotions__advantages-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-promotions__advantages-text {
  flex: 1;
  min-width: 300px;
}

.page-promotions__advantages-text .page-promotions__section-text {
  color: var(--text-secondary);
}

.page-promotions__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-promotions__advantages-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--primary-color);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.5;
}

.page-promotions__advantages-item strong {
  color: var(--gold-color);
}

.page-promotions__advantages-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__advantages-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: block;
}

/* --- FAQ Section --- */
.page-promotions__faq-list {
  margin-top: 40px;
}

.page-promotions__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}