/* style/promotions.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --background-color-body: #0a0a0a;
  --card-background: rgba(255, 255, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.2);
}

.page-promotions {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark-bg); /* Body background is dark, so text is light */
  line-height: 1.6;
  padding-top: 100px; /* Adjust for fixed header on desktop */
}

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

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

.page-promotions__section--intro {
  background-color: var(--background-color-body);
}

.page-promotions__section--highlight {
  background: linear-gradient(135deg, var(--primary-color), #1A3E7D);
}

.page-promotions__section--regular-offers {
  background-color: #1a1a1a;
}

.page-promotions__section--special-events {
  background-color: var(--background-color-body);
}

.page-promotions__section--terms {
  background-color: #1a1a1a;
}

.page-promotions__section--claim-guide {
  background-color: var(--background-color-body);
}

.page-promotions__section--faq {
  background-color: #1a1a1a;
}

.page-promotions__section--call-to-action {
  background: linear-gradient(135deg, #FFD700, #DAA520);
  color: var(--text-color-light-bg);
}

.page-promotions__main-heading,
.page-promotions__section-heading {
  color: var(--text-color-dark-bg);
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions__section--call-to-action .page-promotions__section-heading {
  color: var(--text-color-light-bg);
}

.page-promotions__sub-heading {
  color: var(--secondary-color);
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-promotions__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-promotions__section--call-to-action .page-promotions__paragraph {
  color: var(--text-color-light-bg);
}

.page-promotions__paragraph--small {
  font-size: 0.9em;
  opacity: 0.8;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 40px;
  padding-top: 10px; /* Desktop: Adjust for fixed navigation bar */
  background-color: var(--primary-color);
  overflow: hidden;
}

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

.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;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__hero-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-promotions__cta-button:hover {
  background: #FFDD44;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button--small {
  padding: 12px 30px;
  font-size: 16px;
}

.page-promotions__cta-button--large {
  padding: 20px 50px;
  font-size: 20px;
  background: var(--primary-color);
  color: var(--secondary-color);
}

.page-promotions__cta-button--large:hover {
  background: #1A3E7D;
  color: #FFDD44;
}

/* Features Grid */
.page-promotions__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__feature-item {
  background: var(--card-background);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-promotions__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__feature-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-promotions__feature-description {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

/* Promo Cards */
.page-promotions__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__card {
  background: var(--card-background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  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(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  max-width: 100%;
  height: auto;
}

.page-promotions__card-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  padding: 20px 20px 10px;
  margin: 0;
}

.page-promotions__card-description {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-promotions__card-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin: 0 20px 20px;
  align-self: flex-start;
  transition: background-color 0.3s ease;
  border: none;
}

.page-promotions__card-button:hover {
  background: #FFDD44;
}

/* Regular Offers Grid */
.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__promo-item {
  background: var(--card-background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-promotions__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  max-width: 100%;
  height: auto;
}

.page-promotions__promo-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-promotions__promo-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__promo-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  align-self: flex-start;
  transition: background-color 0.3s ease;
  border: none;
}

.page-promotions__promo-button:hover {
  background: #1A3E7D;
}

/* Special Events List */
.page-promotions__event-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-promotions__event-item {
  background: var(--card-background);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
}

.page-promotions__event-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-promotions__event-description {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

/* Terms Content */
.page-promotions__terms-content {
  background: var(--card-background);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  margin-top: 40px;
  border: 1px solid var(--border-color);
}

.page-promotions__terms-list {
  list-style: disc;
  padding-left: 25px;
  color: rgba(255, 255, 255, 0.85);
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-promotions__terms-list strong {
  color: var(--secondary-color);
}

/* Guide List */
.page-promotions__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  counter-reset: guide-counter;
  text-align: left;
}

.page-promotions__guide-item {
  background: var(--card-background);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: flex-start;
  border: 1px solid var(--border-color);
}

.page-promotions__guide-item::before {
  counter-increment: guide-counter;
  content: counter(guide-counter);
  font-size: 2em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-right: 20px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  background-color: var(--primary-color);
}

.page-promotions__guide-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.page-promotions__guide-description {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

.page-promotions__guide-description a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-promotions__guide-description a:hover {
  color: #FFDD44;
}

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--card-background);
  border-radius: 0 0 5px 5px;
  border: 1px solid var(--border-color);
  border-top: none;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-color-dark-bg);
}

.page-promotions__faq-question:hover {
  background: #1A3E7D;
  border-color: #3A5E9D;
}

.page-promotions__faq-question:active {
  background: #0A2463;
}

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-color-dark-bg);
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-heading {
    font-size: 2.8em;
  }
  .page-promotions__section-heading {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    padding-top: 10px !important; /* Mobile: Adjust for fixed navigation bar */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__main-heading {
    font-size: 2.2em;
  }
  .page-promotions__section-heading {
    font-size: 1.8em;
  }
  .page-promotions__sub-heading {
    font-size: 1.5em;
  }
  .page-promotions__paragraph {
    font-size: 1em;
    padding: 0 15px;
  }
  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__hero-image img {
    border-radius: 4px;
  }
  .page-promotions__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-promotions__cta-button--large {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-promotions__features-grid,
  .page-promotions__promo-cards,
  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__feature-item,
  .page-promotions__card,
  .page-promotions__promo-item,
  .page-promotions__event-item,
  .page-promotions__terms-content,
  .page-promotions__guide-item,
  .page-promotions__faq-item {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__card-image,
  .page-promotions__promo-image {
    height: 180px;
  }
  .page-promotions__card-title {
    font-size: 1.4em;
  }
  .page-promotions__promo-title {
    font-size: 1.2em;
  }
  .page-promotions__guide-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-promotions__guide-item::before {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-promotions__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-promotions__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-promotions__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-promotions__faq-answer {
    padding: 0 15px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px !important;
  }
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-heading {
    font-size: 1.8em;
  }
  .page-promotions__section-heading {
    font-size: 1.5em;
  }
  .page-promotions__cta-button {
    width: 100%;
    box-sizing: border-box;
  }
  .page-promotions__hero-image img {
    height: 150px;
  }
  .page-promotions__card-image,
  .page-promotions__promo-image {
    height: 150px;
  }
}