/* style/promotions-daily-rebate.css */

/* Base Styles & Global Resets within scope */
.page-promotions-daily-rebate {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Matching body background from shared.css */
}

.page-promotions-daily-rebate__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-promotions-daily-rebate__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promotions-daily-rebate__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-promotions-daily-rebate a {
  color: #FFD700;
  text-decoration: none;
}

.page-promotions-daily-rebate a:hover {
  text-decoration: underline;
}

/* Buttons */
.page-promotions-daily-rebate__btn-primary,
.page-promotions-daily-rebate__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-daily-rebate__btn-primary {
  background-color: #FFD700;
  color: #003366; /* Dark blue text on gold button */
  border: 2px solid #FFD700;
}

.page-promotions-daily-rebate__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

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

.page-promotions-daily-rebate__btn-secondary:hover {
  background-color: #FFD700;
  color: #003366;
}

/* Hero Section */
.page-promotions-daily-rebate__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  overflow: hidden;
  background-color: #003366; /* Main brand color */
  color: #ffffff;
}

.page-promotions-daily-rebate__hero-section .page-promotions-daily-rebate__container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
}

.page-promotions-daily-rebate__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
  max-width: 100%;
  display: block;
}

.page-promotions-daily-rebate__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

.page-promotions-daily-rebate__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-daily-rebate__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Overview Section */
.page-promotions-daily-rebate__overview-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-promotions-daily-rebate__overview-section .page-promotions-daily-rebate__section-title {
  color: #FFD700;
}

/* How to Claim Section */
.page-promotions-daily-rebate__how-to-claim-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

.page-promotions-daily-rebate__how-to-claim-section .page-promotions-daily-rebate__section-title {
  color: #FFD700;
}

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

.page-promotions-daily-rebate__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-promotions-daily-rebate__step-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-daily-rebate__step-icon {
  width: 150px; /* Min size 200px, but for icon-like elements, a smaller display size is allowed if it's a content image */
  height: auto;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

.page-promotions-daily-rebate__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-promotions-daily-rebate__step-description {
  font-size: 1em;
}

.page-promotions-daily-rebate__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Terms Section */
.page-promotions-daily-rebate__terms-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-promotions-daily-rebate__terms-section .page-promotions-daily-rebate__section-title {
  color: #FFD700;
}

.page-promotions-daily-rebate__terms-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 30px;
  font-size: 1.1em;
}

.page-promotions-daily-rebate__list-item {
  margin-bottom: 10px;
}

/* Benefits Section */
.page-promotions-daily-rebate__benefits-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

.page-promotions-daily-rebate__benefits-section .page-promotions-daily-rebate__section-title {
  color: #FFD700;
}

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

.page-promotions-daily-rebate__benefit-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-promotions-daily-rebate__benefit-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-daily-rebate__benefit-icon {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

.page-promotions-daily-rebate__benefit-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-promotions-daily-rebate__benefit-description {
  font-size: 1em;
}

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

.page-promotions-daily-rebate__faq-section .page-promotions-daily-rebate__section-title {
  color: #FFD700;
}

.page-promotions-daily-rebate__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-promotions-daily-rebate__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

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

.page-promotions-daily-rebate__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
}

.page-promotions-daily-rebate__faq-title {
  margin: 0;
  color: #FFD700;
}

.page-promotions-daily-rebate__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

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

.page-promotions-daily-rebate__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1.1em;
  color: #f0f0f0;
}

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

/* CTA Banner Section */
.page-promotions-daily-rebate__cta-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  background-color: #003366;
  color: #ffffff;
}

.page-promotions-daily-rebate__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 1;
  max-width: 100%;
  display: block;
}

.page-promotions-daily-rebate__cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-promotions-daily-rebate__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-promotions-daily-rebate__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

.page-promotions-daily-rebate__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Images responsiveness */
.page-promotions-daily-rebate img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-promotions-daily-rebate__hero-title {
    font-size: 3em;
  }

  .page-promotions-daily-rebate__hero-description {
    font-size: 1.2em;
  }

  .page-promotions-daily-rebate__section-title {
    font-size: 2.2em;
  }
}

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

  .page-promotions-daily-rebate__hero-section {
    min-height: 60vh;
    padding: 40px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-promotions-daily-rebate__hero-title {
    font-size: 2.5em;
  }

  .page-promotions-daily-rebate__hero-description {
    font-size: 1.1em;
  }

  .page-promotions-daily-rebate__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions-daily-rebate__btn-primary,
  .page-promotions-daily-rebate__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-promotions-daily-rebate__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-promotions-daily-rebate__overview-section,
  .page-promotions-daily-rebate__how-to-claim-section,
  .page-promotions-daily-rebate__terms-section,
  .page-promotions-daily-rebate__benefits-section,
  .page-promotions-daily-rebate__faq-section,
  .page-promotions-daily-rebate__cta-banner {
    padding: 50px 0;
  }

  .page-promotions-daily-rebate__steps-grid,
  .page-promotions-daily-rebate__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions-daily-rebate__step-card,
  .page-promotions-daily-rebate__benefit-card,
  .page-promotions-daily-rebate__faq-item {
    padding: 20px;
  }

  .page-promotions-daily-rebate__step-title,
  .page-promotions-daily-rebate__benefit-title {
    font-size: 1.4em;
  }

  .page-promotions-daily-rebate__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-promotions-daily-rebate__faq-answer {
    padding: 0 20px;
  }

  .page-promotions-daily-rebate__faq-item.active .page-promotions-daily-rebate__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  .page-promotions-daily-rebate__cta-title {
    font-size: 2.2em;
  }

  .page-promotions-daily-rebate__cta-description {
    font-size: 1.1em;
  }

  .page-promotions-daily-rebate__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile image, video, button adaptation */
  .page-promotions-daily-rebate img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions-daily-rebate__section,
  .page-promotions-daily-rebate__card,
  .page-promotions-daily-rebate__container,
  .page-promotions-daily-rebate__hero-section,
  .page-promotions-daily-rebate__overview-section,
  .page-promotions-daily-rebate__how-to-claim-section,
  .page-promotions-daily-rebate__terms-section,
  .page-promotions-daily-rebate__benefits-section,
  .page-promotions-daily-rebate__faq-section,
  .page-promotions-daily-rebate__cta-banner,
  .page-promotions-daily-rebate__cta-buttons,
  .page-promotions-daily-rebate__hero-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  
  .page-promotions-daily-rebate__hero-cta, .page-promotions-daily-rebate__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-promotions-daily-rebate__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  
  .page-promotions-daily-rebate video,
  .page-promotions-daily-rebate__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions-daily-rebate__video-section,
  .page-promotions-daily-rebate__video-container,
  .page-promotions-daily-rebate__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-promotions-daily-rebate__hero-title {
    font-size: 2em;
  }

  .page-promotions-daily-rebate__section-title {
    font-size: 1.6em;
  }

  .page-promotions-daily-rebate__cta-title {
    font-size: 1.8em;
  }
}

/* Color contrast safety classes (if needed) */
.page-promotions-daily-rebate__dark-bg {
  color: #ffffff; /* Dark background with light text */
}

.page-promotions-daily-rebate__light-bg {
  color: #333333; /* Light background with dark text */
}