/* style/promotions.css */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: var(--secondary-color, #FFFFFF);
}

.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: #017439;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background-color: #f5f5f5;
    padding-top: var(--header-offset, 120px); /* Ensure header offset */
    overflow: hidden;
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay for readability */
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-promotions__hero-cta {
    margin-top: 30px;
}

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

.page-promotions__btn-primary {
    background-color: #017439;
    color: #FFFFFF; /* Ensures WCAG AA contrast with #017439 */
    border: 2px solid #017439;
}

.page-promotions__btn-primary:hover {
    background-color: #005a2b;
    border-color: #005a2b;
}

.page-promotions__btn-secondary {
    background-color: #FFFFFF;
    color: #017439;
    border: 2px solid #017439;
    margin-left: 20px;
}

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

.page-promotions__btn-text {
    color: #017439;
    text-decoration: underline;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

.page-promotions__btn-text:hover {
    color: #005a2b;
}

/* Dark Section */
.page-promotions__dark-section,
.page-promotions__dark-bg {
    background-color: #017439;
    color: #FFFFFF;
    padding: 60px 0;
}

.page-promotions__dark-section .page-promotions__section-title,
.page-promotions__dark-bg .page-promotions__section-title {
    color: #FFFFFF;
}

.page-promotions__dark-section .page-promotions__link {
    color: #FFFF00; /* Use specific color for links in dark sections */
}

.page-promotions__dark-section .page-promotions__link:hover {
    color: #f0f0f0;
}

/* Light Background for cards */
.page-promotions__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

/* Current Promotions Section */
.page-promotions__current-promotions {
    padding: 60px 0;
}

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

.page-promotions__promo-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.page-promotions__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
}

.page-promotions__card-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-promotions__card-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
    padding: 0 15px;
}

.page-promotions__promo-card .page-promotions__btn-secondary {
    margin: 0 auto; /* Center the button */
    width: fit-content;
    display: block;
}

/* How To Claim Section */
.page-promotions__how-to-claim {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-promotions__step-item {
    padding: 20px;
    border-radius: 10px;
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__step-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-promotions__step-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
}

.page-promotions__step-text {
    color: #555555;
    font-size: 0.95em;
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions {
    padding: 60px 0;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-promotions__terms-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    color: #FFFFFF;
}

.page-promotions__terms-list li::before {
    content: '•';
    color: #FFFF00; /* Highlight bullet points */
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1.6;
}

.page-promotions__terms-list li p {
    color: #FFFFFF;
}

.page-promotions__terms-list strong {
    color: #FFFF00;
}

.page-promotions__cta {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-promotions__faq {
    padding: 60px 0;
    background-color: #f9f9f9;
}

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

.page-promotions__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #fefefe;
    transition: background-color 0.3s ease;
    user-select: none; /* Prevent text selection on click */
}

.page-promotions__faq-question:hover {
    background-color: #f0f0f0;
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
    background-color: #e6ffe6; /* Lighter green for open state */
}

.page-promotions__faq-qtext {
    flex-grow: 1;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #017439;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    content: '−'; /* Change to minus when open */
}