/* style/promotions.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #f0f0f0;
    --bg-dark: #000000; /* Assuming --black-color from shared.css is black or very dark */
    --bg-light: #FFFFFF;
    --button-login-color: #EA7C07;
}

.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for the page, assuming dark body bg */
    background-color: var(--bg-dark); /* Ensure consistency if body bg is dark */
}

/* Sections */
.page-promotions__hero-section,
.page-promotions__types-section,
.page-promotions__benefits-section,
.page-promotions__cta-bottom-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions__intro-section,
.page-promotions__guide-section,
.page-promotions__faq-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

/* Hero Section */
.page-promotions__hero-section {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    text-align: center;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly with image for visual appeal, but text is below */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent dark background for text readability */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%); /* Adjust to move up */
    margin-bottom: -100px; /* Compensate for overlap */
}

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-promotions__description {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Section Titles */
.page-promotions__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-promotions__intro-section .page-promotions__section-title,
.page-promotions__guide-section .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-title {
    color: var(--primary-color);
}

.page-promotions__section-intro {
    font-size: 1.05em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-light);
}

.page-promotions__intro-section .page-promotions__section-intro,
.page-promotions__guide-section .page-promotions__section-intro,
.page-promotions__faq-section .page-promotions__section-intro {
    color: var(--text-dark);
}

.page-promotions__sub-title {
    font-size: 1.6em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions__intro-section .page-promotions__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
    margin-top: 40px;
}

.page-promotions__intro-section .page-promotions__text-block {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
}

.page-promotions__intro-section .page-promotions__text-block p {
    color: var(--text-dark);
}

.page-promotions__intro-section .page-promotions__text-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__intro-section .page-promotions__text-block a:hover {
    text-decoration: underline;
}

/* Promotion Cards */
.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: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-promotions__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-promotions__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: var(--text-light);
}

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

.page-promotions__card-content p {
    font-size: 1em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-promotions__card-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-promotions__card-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.page-promotions__card-list li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Guide Steps */
.page-promotions__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-promotions__step-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-promotions__step-icon {
    width: 120px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}

.page-promotions__step-title {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions__step-item p,
.page-promotions__step-list li {
    color: var(--text-dark);
}

.page-promotions__step-list {
    list-style-type: decimal;
    padding-left: 20px;
    margin-top: 15px;
}

.page-promotions__step-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__step-item a:hover {
    text-decoration: underline;
}

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

.page-promotions__benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.page-promotions__benefit-icon {
    width: 150px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__benefit-title {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions__benefit-card p {
    color: var(--text-light);
}

/* FAQ Section */
.page-promotions__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-promotions__faq-item {
    background-color: var(--secondary-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.page-promotions__faq-item summary {
    list-style: none;
}

.page-promotions__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-promotions__faq-question {
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--secondary-color);
    border-bottom: 1px solid #eee;
}

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1em;
    color: var(--text-dark);
    background-color: var(--secondary-color);
    border-top: 1px solid #f0f0f0;
}

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

.page-promotions__faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__faq-answer a:hover {
    text-decoration: underline;
}

/* Call to Action Bottom */
.page-promotions__cta-bottom-section .page-promotions__section-title {
    color: var(--secondary-color);
}

.page-promotions__cta-bottom-section .page-promotions__section-intro {
    color: var(--text-light);
    margin-bottom: 30px;
}

.page-promotions__cta-bottom-section .page-promotions__section-intro a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__cta-bottom-section .page-promotions__section-intro a:hover {
    text-decoration: underline;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-small,
.page-promotions__btn-large {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure buttons don't overflow on desktop either */
    width: auto;
}

.page-promotions__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-promotions__btn-primary:hover {
    background-color: #1e87c5;
    border-color: #1e87c5;
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-promotions__btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    margin-top: auto; /* Push to bottom of card */
}

.page-promotions__btn-small:hover {
    background-color: #1e87c5;
    border-color: #1e87c5;
}

.page-promotions__btn-large {
    padding: 15px 30px;
    font-size: 1.15em;
}

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

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

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

    .page-promotions__hero-section {
        padding: 30px 0;
        padding-top: 10px !important;
    }

    .page-promotions__hero-content {
        margin-top: -50px; /* Adjust overlap for mobile */
        margin-bottom: -50px;
        padding: 25px 15px;
        transform: translateY(-50%);
    }

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

    .page-promotions__description {
        font-size: 1em;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .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;
        padding-right: 15px;
    }

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

    .page-promotions__intro-section .page-promotions__content-grid,
    .page-promotions__promo-grid,
    .page-promotions__guide-steps,
    .page-promotions__benefit-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__intro-section .page-promotions__text-block,
    .page-promotions__promo-card,
    .page-promotions__step-item,
    .page-promotions__benefit-card,
    .page-promotions__faq-item {
        padding: 20px;
    }

    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-image-wrapper,
    .page-promotions__cta-buttons,
    .page-promotions__promo-grid,
    .page-promotions__guide-steps,
    .page-promotions__benefit-grid,
    .page-promotions__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-promotions__video-section {
        padding-top: 10px !important;
    }
}