/* style/promotions.css */

/* Base Styles & Typography */
.page-promotions {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

.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; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Default height for desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  box-sizing: border-box;
}

.page-promotions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 128, 0.7); /* Dark blue overlay */
  z-index: 1;
}

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

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Gold for hero title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  word-wrap: normal;
  box-sizing: border-box;
}

.page-promotions__cta-button--primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark blue text for contrast */
  border: 2px solid #FFD700;
}

.page-promotions__cta-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-promotions__cta-button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
  margin-left: 15px;
}

.page-promotions__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #000080;
  transform: translateY(-2px);
}

.page-promotions__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Overview & Why Choose Sections */
.page-promotions__overview-section,
.page-promotions__why-choose-section,
.page-promotions__terms-section,
.page-promotions__guide-section,
.page-promotions__cta-section {
  padding: 80px 0;
  background-color: #000080; /* Dark blue background for sections */
  color: #ffffff;
}

.page-promotions__overview-section p,
.page-promotions__why-choose-section p,
.page-promotions__terms-section p,
.page-promotions__guide-section p,
.page-promotions__cta-section p {
    color: #f0f0f0;
}

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

.page-promotions__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

.page-promotions__video-caption {
  font-style: italic;
  color: #f0f0f0;
  margin-top: 15px;
  font-size: 0.95em;
}

/* Promotion Types Grid */
.page-promotions__types-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

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

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

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions__promo-image {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #FFD700;
}

.page-promotions__promo-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__promo-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-promotions__promo-title a:hover {
  text-decoration: underline;
}

.page-promotions__promo-description {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Lists */
.page-promotions__terms-list,
.page-promotions__guide-list,
.page-promotions__why-list {
  list-style-type: disc;
  text-align: left;
  max-width: 900px;
  margin: 30px auto;
  padding-left: 40px;
  color: #f0f0f0;
}

.page-promotions__terms-list li,
.page-promotions__guide-list li,
.page-promotions__why-list li {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-promotions__guide-list {
  list-style-type: decimal;
}

.page-promotions__terms-list strong,
.page-promotions__guide-list strong,
.page-promotions__why-list strong {
    color: #FFD700;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #000080;
  text-align: center;
}

.page-promotions__faq-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 40px;
  border: 2px solid #FFD700;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

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

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  text-align: left;
}

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

.page-promotions__faq-answer p {
  margin-bottom: 0;
  color: #f0f0f0;
}

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

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__cta-button {
    padding: 12px 20px;
    font-size: 0.9em;
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__button-group {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-promotions__button-group .page-promotions__cta-button {
    margin-bottom: 10px;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-promotions__overview-section,
  .page-promotions__why-choose-section,
  .page-promotions__terms-section,
  .page-promotions__guide-section,
  .page-promotions__cta-section,
  .page-promotions__video-section,
  .page-promotions__types-section,
  .page-promotions__faq-section {
    padding: 50px 0;
  }
  .page-promotions__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__promo-card {
    padding: 20px;
  }
  .page-promotions__promo-image {
    height: 180px;
  }
  .page-promotions__terms-list,
  .page-promotions__guide-list,
  .page-promotions__why-list {
    padding-left: 25px;
    margin-left: 0;
    margin-right: 0;
  }
  .page-promotions__faq-image {
    margin-bottom: 30px;
  }
  .page-promotions__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 0 20px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 20px 20px;
  }

  /* Image & Video responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-promotions__video-wrapper {
    padding-bottom: 60% !important; /* Adjust aspect ratio slightly for mobile if needed */
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-section {
    height: 400px;
  }
  .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__cta-button {
    padding: 10px 15px;
    font-size: 0.85em;
  }
  .page-promotions__text-block {
    font-size: 0.9em;
  }
  .page-promotions__promo-card {
    padding: 15px;
  }
  .page-promotions__promo-title {
    font-size: 1.3em;
  }
  .page-promotions__promo-image {
    height: 150px;
  }
  .page-promotions__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-promotions__faq-answer p {
    font-size: 0.9em;
  }
}