/* style/promotions.css */
:root {
    --primary-color: #007BFF; /* Deep Ocean Blue */
    --secondary-color: #FFD700; /* Gold */
    --dark-bg-1: #0d0d0d;
    --text-light: #ffffff;
    --text-dark: #333333;
    --border-light: #e0e0e0;
    --card-bg: #ffffff;
}

.page-promotions {
    color: var(--text-light); /* Default for dark body background */
    background-color: var(--dark-bg-1);
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 180px; /* Desktop: Adjust for fixed header */
    background: linear-gradient(135deg, var(--primary-color), #0056b3); /* Darker blue gradient */
    color: var(--text-light);
}

.page-promotions__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-promotions__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-promotions__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-promotions__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-promotions__hero-description {
    font-size: 1.3em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
}

.page-promotions__highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(90deg, #FF6B35, #FFD700); /* Vibrant gradient */
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px; /* Pill shape */
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-promotions__cta-button:hover {
    background: linear-gradient(90deg, #FFD700, #FF6B35); /* Reverse gradient on hover */
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__content-section {
    padding: 60px 20px;
    background: #f1f3f5; /* Light background for content */
    color: var(--text-dark);
}

.page-promotions__content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-promotions__section-title--light {
    color: var(--secondary-color);
}

.page-promotions__intro-paragraph,
.page-promotions__closing-paragraph {
    font-size: 1.1em;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-dark);
}

.page-promotions__intro-paragraph strong,
.page-promotions__closing-paragraph strong {
    color: var(--primary-color);
}

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

.page-promotions__promo-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-dark);
}

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

.page-promotions__promo-image {
    width: 100%;
    max-width: 300px; /* Ensure images are not too small */
    height: auto;
    border-radius: 8px;
    margin-bottom: 25px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-promotions__card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__card-description {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-promotions__card-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--primary-color); /* Dark text on gold button */
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.95em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-promotions__card-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-promotions__guide-list,
.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 800px;
}

.page-promotions__guide-item,
.page-promotions__terms-item {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.page-promotions__guide-item strong,
.page-promotions__terms-item strong {
    color: var(--primary-color);
}

.page-promotions__button-wrapper {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 60px;
}

.page-promotions__cta-button--center {
    margin-top: 0;
}

.page-promotions__faq-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #0056b3, var(--primary-color)); /* Dark blue gradient */
    color: var(--text-light);
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  background: var(--card-bg);
  color: var(--text-dark);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-promotions__faq-answer p {
    color: var(--text-dark);
    line-height: 1.7;
}

.page-promotions__faq-answer strong {
    color: var(--primary-color);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.page-promotions__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-promotions__faq-question:active {
  background: #eeeeee;
}

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 2.8em;
    }
    .page-promotions__hero-description {
        font-size: 1.1em;
    }
    .page-promotions__section-title {
        font-size: 2.2em;
    }
    .page-promotions__intro-paragraph,
    .page-promotions__closing-paragraph {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-top: 140px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__hero-image img {
        border-radius: 4px;
    }
    .page-promotions__main-title {
        font-size: 2em;
    }
    .page-promotions__hero-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-promotions__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-promotions__content-section,
    .page-promotions__faq-section {
        padding: 40px 15px;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-promotions__intro-paragraph,
    .page-promotions__closing-paragraph {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-promotions__promo-grid {
        gap: 20px;
    }
    .page-promotions__promo-card {
        padding: 20px;
    }
    .page-promotions__card-title {
        font-size: 1.5em;
    }
    .page-promotions__card-description {
        font-size: 0.9em;
    }
    .page-promotions__card-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-promotions__guide-item,
    .page-promotions__terms-item {
        padding: 18px 20px;
        font-size: 0.95em;
    }
    .page-promotions__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-promotions__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-promotions__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-promotions__faq-answer {
        padding: 0 15px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px !important;
    }
    /* Mobile image responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__promo-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: 1.6em;
    }
    .page-promotions__hero-description {
        font-size: 0.9em;
    }
    .page-promotions__section-title {
        font-size: 1.6em;
    }
    .page-promotions__cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-promotions__promo-card {
        padding: 15px;
    }
    .page-promotions__card-title {
        font-size: 1.3em;
    }
}