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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed for visual impact */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-promotions__hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.5); /* Darken background image for text readability */
}

.page-promotions__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Additional overlay for text readability */
    z-index: -1;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

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

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

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

/* General Section Styling */
.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: #F2C144;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #F2C144;
    border-radius: 2px;
}

.page-promotions__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #f0f0f0; /* Light text for dark sections */
}

/* Dark Background Sections */
.page-promotions__dark-section {
    background-color: #0A2342;
    color: #ffffff;
}

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

.page-promotions__feature-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-promotions__feature-item:hover {
    transform: translateY(-10px);
}

.page-promotions__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    object-fit: cover;
}

.page-promotions__feature-title {
    font-size: 1.5em;
    color: #F2C144;
    margin-bottom: 15px;
}

.page-promotions__feature-description {
    font-size: 1em;
    color: #e0e0e0;
}

/* Promotion Card Grid */
.page-promotions__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__promo-card {
    background-color: #1A3A5A; /* Darker blue for card background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.page-promotions__promo-card:hover {
    transform: translateY(-8px);
}

.page-promotions__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

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

.page-promotions__promo-title {
    font-size: 1.6em;
    color: #F2C144;
    margin-bottom: 15px;
}

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

/* Terms Section */
.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions__terms-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__terms-subtitle {
    font-size: 1.4em;
    color: #F2C144;
    margin-bottom: 10px;
}

.page-promotions__terms-description {
    font-size: 1em;
    color: #e0e0e0;
}

/* How to Claim Section */
.page-promotions__claim-section {
    background-color: #f8f8f8; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-promotions__claim-section .page-promotions__section-title {
    color: #0A2342; /* Dark blue for title on light background */
}
.page-promotions__claim-section .page-promotions__text-block {
    color: #555555; /* Darker text for light background */
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promotions__steps-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.page-promotions__steps-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.page-promotions__steps-title {
    font-size: 1.5em;
    color: #0A2342;
    margin-bottom: 10px;
}

.page-promotions__steps-description {
    font-size: 1em;
    color: #666666;
}

.page-promotions__steps-description a {
    color: #0A2342;
    text-decoration: underline;
}
.page-promotions__steps-description a:hover {
    color: #F2C144;
}

/* Benefits Section */
.page-promotions__benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    list-style: none;
    padding: 0;
}

.page-promotions__benefits-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-promotions__benefits-item:hover {
    transform: translateY(-10px);
}

.page-promotions__benefits-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    object-fit: contain; /* Icons might be better with contain */
}

.page-promotions__benefits-title {
    font-size: 1.5em;
    color: #F2C144;
    margin-bottom: 10px;
}

.page-promotions__benefits-description {
    font-size: 1em;
    color: #e0e0e0;
}

/* FAQ Section */
.page-promotions__faq-section {
    background-color: #f8f8f8; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-promotions__faq-section .page-promotions__section-title {
    color: #0A2342; /* Dark blue for title on light background */
}

.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;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: #ffffff;
    color: #0A2342;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.page-promotions__faq-question h3 {
    margin: 0;
    font-size: 1em; /* Adjust to fit within the question div */
    flex-grow: 1;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #F2C144;
    margin-left: 15px;
}

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

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
    background-color: #fdfdfd;
}

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

.page-promotions__faq-answer p {
    margin-bottom: 0;
    padding-bottom: 10px; /* Adjust as needed */
    font-size: 1em;
}

/* Call to Action Section */
.page-promotions__cta-section {
    padding: 80px 20px;
    text-align: center;
}

.page-promotions__cta-section .page-promotions__section-title {
    color: #F2C144;
}

.page-promotions__cta-section .page-promotions__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

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

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for mobile responsiveness */
}

.page-promotions__btn-primary {
    background-color: #E04040; /* Red for primary CTA */
    color: #ffffff;
    border: 2px solid #E04040;
}

.page-promotions__btn-primary:hover {
    background-color: #ff5c5c;
    border-color: #ff5c5c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(224, 64, 64, 0.4);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #F2C144;
    border: 2px solid #F2C144;
}

.page-promotions__btn-secondary:hover {
    background-color: #F2C144;
    color: #0A2342;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 193, 68, 0.4);
}

/* Utility for bottom CTA */
.page-promotions__cta-bottom {
    text-align: center;
    margin-top: 40px;
}

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

@media (max-width: 768px) {
    .page-promotions__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px; /* Adjust padding for smaller screens */
    }

    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__text-block,
    .page-promotions__feature-description,
    .page-promotions__promo-description,
    .page-promotions__terms-description,
    .page-promotions__steps-description,
    .page-promotions__benefits-description,
    .page-promotions__faq-answer p {
        font-size: 0.95em;
    }

    .page-promotions__feature-grid,
    .page-promotions__promo-grid,
    .page-promotions__steps-list,
    .page-promotions__benefits-list {
        grid-template-columns: 1fr;
    }

    .page-promotions__feature-item,
    .page-promotions__promo-card,
    .page-promotions__steps-item,
    .page-promotions__benefits-item {
        padding: 20px;
    }
    .page-promotions__promo-image {
        height: 200px; /* Adjust height for mobile cards */
    }
    .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;
    }

    /* Mobile image and video responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Maintain minimum size */
        min-height: 200px !important; /* Maintain minimum size */
    }
    .page-promotions video,
    .page-promotions__video { /* Assuming no video in this page, but keeping for robustness */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper,
    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Add padding to prevent content touching edges */
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-promotions__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
    }
}