/* style/promotions-latest-offers.css */

/* Base styles for the page */
.page-promotions-latest-offers {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-promotions-latest-offers__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
  font-weight: bold;
}

.page-promotions-latest-offers__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0; /* Slightly off-white for body text */
}

/* Links */
.page-promotions-latest-offers a {
  color: #26A9E0; /* Brand color for links */
  text-decoration: none;
}

.page-promotions-latest-offers a:hover {
  text-decoration: underline;
  color: #1e87b6;
}

/* Buttons */
.page-promotions-latest-offers__btn-primary,
.page-promotions-latest-offers__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-latest-offers__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-promotions-latest-offers__btn-primary:hover {
  background-color: #1e87b6;
  border-color: #1e87b6;
}

.page-promotions-latest-offers__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions-latest-offers__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Hero Section */
.page-promotions-latest-offers__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #0d0d0d; /* Slightly darker background for hero */
}

.page-promotions-latest-offers__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-promotions-latest-offers__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions-latest-offers__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-promotions-latest-offers__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3; /* Subtle background image */
}

.page-promotions-latest-offers__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none !important; /* Ensure no filter changes image color */
}

/* Overview Section */
.page-promotions-latest-offers__overview-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Darker background for contrast */
  color: #ffffff;
}

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

.page-promotions-latest-offers__category-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions-latest-offers__category-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-latest-offers__category-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-promotions-latest-offers__category-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Promotion Cards Section */
.page-promotions-latest-offers__promo-cards-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

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

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

.page-promotions-latest-offers__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  filter: none !important; /* Ensure no filter changes image color */
}

.page-promotions-latest-offers__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions-latest-offers__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  flex-shrink: 0;
}

.page-promotions-latest-offers__card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions-latest-offers__card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  color: #cccccc;
}

.page-promotions-latest-offers__card-features li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.page-promotions-latest-offers__card-features li::before {
  content: '✓';
  color: #26A9E0;
  position: absolute;
  left: 0;
  top: 0;
}

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

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

.page-promotions-latest-offers__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
}

.page-promotions-latest-offers__step-icon {
  width: 60px;
  height: 60px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-promotions-latest-offers__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-promotions-latest-offers__step-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-promotions-latest-offers__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* Terms Summary Section */
.page-promotions-latest-offers__terms-summary-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-promotions-latest-offers__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-promotions-latest-offers__terms-list li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.page-promotions-latest-offers__terms-list li::before {
  content: '•';
  color: #26A9E0;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
}

.page-promotions-latest-offers__full-terms-link {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
  color: #f0f0f0;
}

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

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

.page-promotions-latest-offers__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-promotions-latest-offers__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.page-promotions-latest-offers__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-promotions-latest-offers__faq-title {
  font-size: 1.2em;
  color: #26A9E0;
  margin: 0;
  flex-grow: 1;
}

.page-promotions-latest-offers__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #ffffff;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.page-promotions-latest-offers__faq-item.active .page-promotions-latest-offers__faq-toggle {
  transform: rotate(45deg); /* For '-' symbol */
}

.page-promotions-latest-offers__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

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

.page-promotions-latest-offers__faq-answer p {
  margin: 0;
  padding: 0;
}

/* Final Call to Action Section */
.page-promotions-latest-offers__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0d0d0d;
}

.page-promotions-latest-offers__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-latest-offers__hero-title {
    font-size: 3em;
  }
  .page-promotions-latest-offers__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  /* Mobile image responsiveness */
  .page-promotions-latest-offers img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: none !important; /* Ensure no filter changes image color */
  }
  
  /* Mobile video responsiveness (if any) */
  .page-promotions-latest-offers video,
  .page-promotions-latest-offers__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers for images/videos/buttons and sections */
  .page-promotions-latest-offers__section,
  .page-promotions-latest-offers__card,
  .page-promotions-latest-offers__container,
  .page-promotions-latest-offers__video-section,
  .page-promotions-latest-offers__video-container,
  .page-promotions-latest-offers__video-wrapper,
  .page-promotions-latest-offers__cta-buttons,
  .page-promotions-latest-offers__button-group,
  .page-promotions-latest-offers__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important; /* Important for preventing horizontal scroll */
  }

  /* Specific mobile adjustments */
  .page-promotions-latest-offers__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }
  
  .page-promotions-latest-offers__hero-title {
    font-size: 2.2em;
  }
  .page-promotions-latest-offers__hero-description {
    font-size: 1em;
  }
  .page-promotions-latest-offers__section-title {
    font-size: 1.8em;
  }
  .page-promotions-latest-offers__section-description {
    font-size: 0.95em;
  }

  .page-promotions-latest-offers__promo-categories,
  .page-promotions-latest-offers__card-grid,
  .page-promotions-latest-offers__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions-latest-offers__promo-card {
    flex-direction: column;
  }

  .page-promotions-latest-offers__card-image {
    height: 200px;
  }

  .page-promotions-latest-offers__faq-question {
    padding: 15px 20px;
  }
  .page-promotions-latest-offers__faq-title {
    font-size: 1.1em;
  }
  .page-promotions-latest-offers__faq-answer {
    padding: 0 20px;
  }
  .page-promotions-latest-offers__faq-item.active .page-promotions-latest-offers__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  .page-promotions-latest-offers__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }
  
  /* Mobile button responsiveness */
  .page-promotions-latest-offers__cta-button,
  .page-promotions-latest-offers__btn-primary,
  .page-promotions-latest-offers__btn-secondary,
  .page-promotions-latest-offers a[class*="button"],
  .page-promotions-latest-offers a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}