/* style/promotions.css */

/* Base styles for the page */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--primary-color); /* Inherits from shared.css, which is #0A1931 */
}

.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-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold color for titles */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  padding: 120px 0 80px 0; /* Adjusted for header offset */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px);
}

.page-promotions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-promotions__hero-section .page-promotions__container {
  position: relative;
  z-index: 2;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Gold for main title */
}

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #0A1931; /* Deep blue text */
  border: 2px solid #FFD700;
}

.page-promotions__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-promotions__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
}

.page-promotions__btn-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 300px;
}

/* Overview Section */
.page-promotions__overview-section {
  background-color: #0A1931;
}

/* Promotion Categories Grid */
.page-promotions__promotion-categories {
  background-color: #0A1931;
}

.page-promotions__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

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

.page-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__card-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How-to-Claim Section */
.page-promotions__how-to-claim {
  background-color: #f8f8f8; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-promotions__text-dark {
  color: #333333;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-promotions__step-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-promotions__step-title {
  font-size: 1.6em;
  color: #0A1931;
  margin-bottom: 10px;
}

.page-promotions__step-description {
  font-size: 1em;
  color: #555555;
}

.page-promotions__inline-link {
  color: #0A1931;
  text-decoration: underline;
}

.page-promotions__inline-link:hover {
  color: #FFD700;
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions {
  background-color: #0A1931;
}

.page-promotions__terms-list {
  list-style: disc inside;
  text-align: left;
  max-width: 800px;
  margin: 40px auto 0 auto;
  color: #cccccc;
  padding-left: 20px;
}

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

/* Why Choose Section */
.page-promotions__why-choose {
  background-color: #0A1931;
}

.page-promotions__advantages-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__advantage-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__advantage-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__advantage-text {
  font-size: 0.95em;
  color: #cccccc;
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: #f8f8f8;
  color: #333333;
}

.page-promotions__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-promotions__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: #0A1931;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
}

.page-promotions__faq-question:hover {
  background-color: #e5e5e5;
}

.page-promotions__faq-title {
  margin: 0;
  color: #0A1931;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

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

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #555555;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px;
}

.page-promotions__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* CTA Bottom Section */
.page-promotions__cta-bottom {
  background-color: #0A1931;
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3em;
  }

  .page-promotions__hero-description {
    font-size: 1.2em;
  }

  .page-promotions__section-title {
    font-size: 2em;
  }

  .page-promotions__card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions__hero-section {
    min-height: 450px;
    padding: 80px 0 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-promotions__hero-title {
    font-size: 2.2em;
  }

  .page-promotions__hero-description {
    font-size: 1em;
  }

  .page-promotions__section {
    padding: 40px 0;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
  }

  .page-promotions__section-description {
    font-size: 0.95em;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-promotions__btn-center {
    max-width: 100% !important;
  }

  .page-promotions__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card {
    padding: 20px;
  }

  .page-promotions__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* General image responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__steps-list,
  .page-promotions__advantages-list,
  .page-promotions__terms-list,
  .page-promotions__faq-list {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
  }

  .page-promotions__step-item,
  .page-promotions__advantage-item,
  .page-promotions__faq-item {
    padding: 15px;
  }

  .page-promotions__faq-question {
    padding: 15px 20px;
  }

  .page-promotions__faq-answer {
    padding: 0 20px;
  }

  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }

  .page-promotions__hero-description {
    font-size: 0.9em;
  }

  .page-promotions__section-title {
    font-size: 1.5em;
  }

  .page-promotions__card-title {
    font-size: 1.2em;
  }

  .page-promotions__step-title {
    font-size: 1.3em;
  }
}