/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css (#000000) */
}

/* Hero Section */
.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  text-align: center;
  background-color: #017439; /* Brand color as background */
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.page-promotions__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-promotions__hero-title {
  font-size: 3.2em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-promotions__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3; /* Subtle background image */
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video Section */
.page-promotions__video-section {
  padding: 80px 20px;
  background-color: #0d0d0d;
  color: #ffffff;
  text-align: center;
}

.page-promotions__video-wrapper {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  background-color: #000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__video-wrapper::before {
  content: '';
  display: block;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.page-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-promotions__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

/* General Section Styles */
.page-promotions__section-title {
  font-size: 2.5em;
  color: #ffffff; /* Default for dark sections */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: #e0e0e0; /* Slightly lighter for descriptions */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Dark Section Background */
.page-promotions__dark-section {
  background-color: #0d0d0d; /* A dark background for contrast */
  padding: 80px 20px;
  color: #ffffff;
}

/* Light Background Section */
.page-promotions__light-bg {
  background-color: #ffffff; /* White background */
  padding: 80px 20px;
  color: #333333; /* Dark text for light background */
}

.page-promotions__light-bg .page-promotions__section-title {
  color: #017439; /* Brand color for titles on light background */
}

.page-promotions__light-bg .page-promotions__section-description {
  color: #555555;
}

/* Cards Grid */
.page-promotions__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  border-radius: 15px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

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

.page-promotions__card-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.page-promotions__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-promotions__card-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
  color: #FFFF00; /* Highlight color for links */
}

.page-promotions__card-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  padding: 80px 20px;
  background-color: #000000; /* Explicitly dark background */
  color: #ffffff;
  text-align: center;
}

.page-promotions__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 50px auto;
}

.page-promotions__step-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-promotions__step-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions__step-icon {
  width: 60px;
  height: 60px;
  background-color: #017439;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-promotions__step-text {
  font-size: 0.95em;
  color: #e0e0e0;
}

.page-promotions__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  margin-top: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions-section {
  /* Inherits light-bg styles */
  text-align: left;
}

.page-promotions__terms-list {
  max-width: 1000px;
  margin: 50px auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page-promotions__term-item {
  background: #f8f8f8;
  border-left: 5px solid #017439;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__term-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-promotions__term-text {
  font-size: 1em;
  color: #555555;
}

.page-promotions__terms-note {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
  color: #555555;
}

.page-promotions__terms-note a {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 20px;
  background-color: #000000; /* Explicitly dark background */
  color: #ffffff;
}

.page-promotions__faq-container {
  max-width: 900px;
  margin: 50px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__faq-item:last-child {
  border-bottom: none;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  background-color: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions__faq-title {
  font-size: 1.3em;
  color: #ffffff;
  margin: 0;
}

.page-promotions__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #017439;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Ensure it expands fully */
  padding: 20px 30px;
}

.page-promotions__faq-text {
  font-size: 1em;
  color: #e0e0e0;
}