/* style/promotions.css */

/* Base styles for the page content */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a2e; /* Explicitly set for context, though body handles it */
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: #FFFFFF; /* White for dark background */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

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

.page-promotions__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-promotions__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
    color: #ffffff;
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #FFFF00;
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
    background-color: #017439; /* Using brand primary color */
    padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 20px;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    color: #FFFF00; /* Register/Login font color for highlight */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

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

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

.page-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3; /* Subtle background image */
    background-color: #000000; /* Dark overlay for image */
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* filter: brightness() is allowed for readability, not color change */
    filter: brightness(0.6);
}

/* Promotions List Section */
.page-promotions__promotions-list {
    padding: 80px 0;
    background-color: #1a1a2e; /* Dark background */
}

.page-promotions__dark-section {
    background-color: #1a1a2e; /* Ensure dark background for sections */
    color: #ffffff; /* White text for dark background */
}

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

.page-promotions__promo-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff; /* Light text for card */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-promotions__promo-card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    aspect-ratio: 4/3; /* Maintain aspect ratio */
}

.page-promotions__promo-card-title {
    font-size: 1.8em;
    color: #FFFF00; /* Highlight title */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__promo-card-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* How To Claim Section */
.page-promotions__how-to-claim {
    padding: 80px 0;
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-promotions__how-to-claim .page-promotions__section-title {
    color: #FFFF00; /* Yellow title */
}

.page-promotions__how-to-claim .page-promotions__section-description {
    color: #f0f0f0;
}

.page-promotions__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-promotions__guide-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-promotions__guide-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #C30808; /* Red highlight */
    color: #FFFF00; /* Yellow text */
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__guide-item-title {
    font-size: 1.5em;
    color: #FFFF00; /* Yellow title */
    margin-bottom: 10px;
    font-weight: bold;
}

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

.page-promotions__guide-image-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-promotions__guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

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

.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: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #017439; /* Green border highlight */
    color: #ffffff;
}

.page-promotions__terms-item-title {
    font-size: 1.6em;
    color: #FFFF00; /* Yellow title */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__terms-item-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Why Choose Us Section */
.page-promotions__why-choose-us {
    padding: 80px 0;
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-promotions__why-choose-us .page-promotions__section-title {
    color: #FFFF00;
}

.page-promotions__why-choose-us .page-promotions__section-description {
    color: #f0f0f0;
}

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

.page-promotions__benefits-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-promotions__benefits-item-title {
    font-size: 1.8em;
    color: #FFFF00;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__benefits-item-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: #1a1a2e; /* Dark background */
}

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

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #017439; /* Brand primary for question */
    color: #FFFF00; /* Yellow text for question */
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: #028e4a; /* Slightly lighter green on hover */
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Rotate for '−' effect */
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    color: #f0f0f0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-promotions__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

/* CTA Section */
.page-promotions__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #C30808; /* Red for strong CTA */
    color: #ffffff;
}

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

.page-promotions__cta-section .page-promotions__section-description {
    color: #f0f0f0;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }

    .page-promotions__section-title {
        font-size: 2em;
    }
}

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

    .page-promotions__container {
        padding: 0 15px;
    }

    .page-promotions__hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: var(--header-offset, 120px) !important; /* Important for mobile video sections if any */
        min-height: auto;
        padding: 60px 0;
    }

    .page-promotions__hero-content {
        padding: 15px;
    }

    .page-promotions__hero-title {
        font-size: 2.2em;
    }

    .page-promotions__hero-description {
        font-size: 1.1em;
    }

    .page-promotions__hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .page-promotions__section-title {
        font-size: 1.8em;
    }

    .page-promotions__section-description {
        font-size: 1em;
    }

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

    .page-promotions__promo-card,
    .page-promotions__guide-item,
    .page-promotions__terms-item,
    .page-promotions__benefits-item,
    .page-promotions__faq-item {
        padding: 20px;
    }

    .page-promotions__promo-card-title,
    .page-promotions__guide-item-title,
    .page-promotions__terms-item-title,
    .page-promotions__benefits-item-title {
        font-size: 1.4em;
    }

    .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 responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions__hero-image-wrapper,
    .page-promotions__guide-image-wrapper,
    .page-promotions__promo-card,
    .page-promotions__guide-item,
    .page-promotions__terms-item,
    .page-promotions__benefits-item,
    .page-promotions__faq-item,
    .page-promotions__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Button responsive adjustments */
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions 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; /* Add padding for full width buttons */
        padding-right: 15px;
    }
    
    .page-promotions__hero-cta,
    .page-promotions__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 15px; /* Add padding to container */
    }
}

/* Ensure no CSS filter on images */
.page-promotions img {
    filter: none !important;
}

/* Content area images CSS dimensions lower bound */
.page-promotions img {
    min-width: 200px;
    min-height: 200px;
}
@media (max-width: 768px) {
    /* For mobile, ensure content images are not smaller than 200px */
    .page-promotions img:not(.page-promotions__hero-image) { /* Hero image can be full width */
        min-width: 200px !important;
        min-height: 200px !important;
    }
}