/* 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: #000000; /* Ensure this matches shared.css body background */
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  text-transform: uppercase;
}

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

.page-promotions__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  box-sizing: border-box;
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

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

.page-promotions__hero-title {
  font-size: 3.8em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-promotions__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* 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;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: #FFD700;
  color: #000000;
  border: 2px solid #FFD700;
}

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

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

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

.page-promotions__btn-small {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  background-color: #FFD700;
  color: #000000;
  border: 1px solid #FFD700;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-promotions__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Intro Section */
.page-promotions__intro-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

/* Promotions Grid */
.page-promotions__promotions-grid {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
}

.page-promotions__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-promotions__card-image {
  width: 100%;
  height: 250px;
  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.7em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__promo-card p {
  font-size: 1em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-promotions__promo-card a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__promo-card a:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* How To Claim Section */
.page-promotions__how-to-claim-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-promotions__claim-steps {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-promotions__claim-steps li {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FFD700;
  margin-bottom: 25px;
  padding: 25px;
  border-radius: 8px;
  color: #e0e0e0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__claim-steps p a {
  color: #FFD700;
  text-decoration: none;
}

.page-promotions__claim-steps p a:hover {
  text-decoration: underline;
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
}

.page-promotions__terms-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #e0e0e0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__terms-list p a {
  color: #FFD700;
  text-decoration: none;
}

.page-promotions__terms-list p a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-promotions__faq-list {
  margin-top: 50px;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

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

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

.page-promotions__faq-toggle {
  font-size: 1.8em;
  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;
  color: #e0e0e0;
}

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

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 1.05em;
  color: #e0e0e0;
}

.page-promotions__faq-answer p a {
  color: #FFD700;
  text-decoration: none;
}

.page-promotions__faq-answer p a:hover {
  text-decoration: underline;
}

/* CTA Bottom Section */
.page-promotions__cta-bottom {
  padding: 80px 0;
  background-color: #8B0000;
  text-align: center;
}

.page-promotions__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-promotions__cta-description a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__cta-description a:hover {
  text-decoration: underline;
}

.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Responsive adjustments */
@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__cta-title {
    font-size: 2.2em;
  }
  .page-promotions__promo-card {
    flex-direction: column;
  }
  .page-promotions__card-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  /* General mobile text and padding adjustments */
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__container {
    padding: 0 15px;
  }
  .page-promotions__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }
  .page-promotions__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-promotions__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__btn-large {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-promotions__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-promotions__intro-section,
  .page-promotions__promotions-grid,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom {
    padding: 40px 0;
  }
  .page-promotions__grid-wrapper {
    grid-template-columns: 1fr;
  }
  .page-promotions__card-title {
    font-size: 1.5em;
  }
  .page-promotions__promo-card p {
    font-size: 0.95em;
  }
  .page-promotions__claim-steps li {
    padding: 20px;
  }
  .page-promotions__step-title {
    font-size: 1.3em;
  }
  .page-promotions__terms-list li {
    padding: 20px;
  }
  .page-promotions__list-title {
    font-size: 1.3em;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-promotions__faq-title {
    font-size: 1.1em;
  }
  .page-promotions__faq-toggle {
    font-size: 1.5em;
  }
  .page-promotions__faq-answer {
    padding: 0 20px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 10px 20px 20px;
  }
  .page-promotions__faq-answer p {
    font-size: 0.95em;
  }
  .page-promotions__cta-title {
    font-size: 1.8em;
  }
  .page-promotions__cta-description {
    font-size: 1em;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Image responsive rules */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__hero-image {
    height: 100%;
    width: 100%;
  }
  /* All containers with images */
  .page-promotions__promo-card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__intro-section,
  .page-promotions__promotions-grid,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  .page-promotions__promo-card .page-promotions__card-image {
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-promotions__hero-section {
    height: 400px;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__cta-title {
    font-size: 1.6em;
  }
}