/* style/promotions.css */

/* Variables and base styles for the page-promotions scope */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color from palette */
    background-color: #F5F7FA; /* Default page background from palette */
    line-height: 1.6;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image first, then content */
    align-items: center;
    padding: 10px 0 60px; /* Small top padding, larger bottom padding */
    background-color: #f0f0f0; /* Neutral background for hero section */
}

.page-promotions__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for large screens */
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
}

.page-promotions__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    color: #E53935; /* Use main brand color */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-promotions__description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #333333;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button - Primary */
.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Custom button gradient */
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Sections */
.page-promotions__section {
    padding: 60px 0;
}

.page-promotions__section--light-bg {
    background-color: #F5F7FA; /* Light grey background */
    color: #333333;
}

.page-promotions__section--dark-bg {
    background-color: #E53935; /* Main brand color background */
    color: #ffffff; /* White text for dark background */
}

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

.page-promotions__container--center {
    text-align: center;
}

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #333333; /* Default for light sections */
}

.page-promotions__section-title--light {
    color: #ffffff; /* For dark sections */
}

.page-promotions__text-block {
    font-size: 1.05rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.page-promotions__promo-card {
    background-color: #FFFFFF; /* Card background from palette */
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #E0E0E0; /* Border from palette */
}

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

.page-promotions__card-image {
    width: 100%;
    max-width: 400px; /* Recommended card image size */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-promotions__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #E53935;
}

.page-promotions__card-text {
    font-size: 0.95rem;
    color: #333333;
    margin-bottom: 25px;
    flex-grow: 1; /* Push button to bottom */
}

.page-promotions__cta-button--small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-promotions__cta-button--inverted {
    background: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
    box-shadow: none;
}

.page-promotions__cta-button--inverted:hover {
    background: #FF5A4F;
    color: #ffffff;
    border-color: #FF5A4F;
}

/* How to Claim Steps */
.page-promotions__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.page-promotions__step-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-promotions__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    color: #E53935;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-promotions__step-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    background-color: #fcfcfc;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

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

.page-promotions__faq-question span:first-child {
    flex-grow: 1;
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-left: 15px;
    width: 25px;
    text-align: center;
    color: #E53935;
}

.page-promotions__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: #333333;
    line-height: 1.6;
    border-top: 1px solid #E0E0E0;
}

.page-promotions__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-promotions__text-link {
    color: #E53935;
    text-decoration: underline;
    font-weight: 600;
}

.page-promotions__text-link:hover {
    color: #FF5A4F;
}

.page-promotions__faq-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 50px auto 0;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-promotions__hero-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 10px 0 40px;
    }

    .page-promotions__hero-image {
        margin-bottom: 20px;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-promotions__description {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 25px;
    }

    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__section {
        padding: 40px 0;
    }

    .page-promotions__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }

    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__promo-card {
        padding: 25px;
    }

    .page-promotions__card-title {
        font-size: 1.3rem;
    }

    .page-promotions__card-text {
        font-size: 0.9rem;
    }

    .page-promotions__steps {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .page-promotions__step-item {
        padding: 20px;
    }

    .page-promotions__step-number {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .page-promotions__step-title {
        font-size: 1.2rem;
    }

    .page-promotions__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-promotions__faq-answer {
        font-size: 0.95rem;
        padding: 12px 20px 15px;
    }

    /* Mobile specific image/video/container rules */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions video,
    .page-promotions__video {
        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 !important; /* Added padding to prevent content touching edges */
        padding-right: 15px !important; /* Added padding to prevent content touching edges */
        overflow: hidden !important;
    }

    /* Ensure buttons stack or wrap if multiple */
    .page-promotions__hero-content,
    .page-promotions__container--center {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-promotions__cta-buttons {
        flex-direction: column !important;
        gap: 10px;
    }

    .page-promotions__hero-section {
        padding-top: 10px !important; /* Small top padding for hero on mobile */
    }
}