/* style/promotions.css */

:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --background-general: #F4F7FB;
    --text-main: #1F2D3D;
    --text-dark: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

.page-promotions {
    font-family: Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--background-general);
    line-height: 1.6;
}

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

.page-promotions__section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions__dark-bg {
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-promotions__light-bg {
    background-color: var(--background-general);
    color: var(--text-main);
}

.page-promotions__section-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    color: inherit;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: inherit;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Fixed header spacing */
    padding-bottom: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-promotions__hero-image-container {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.page-promotions__main-title {
    font-size: 2.8em;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -1px;
}

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

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px var(--glow-color);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--glow-color);
}

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

.page-promotions__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
}

.page-promotions__btn-small {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-small:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Promotions Types Section */
.page-promotions__types-section .page-promotions__section-title,
.page-promotions__types-section .page-promotions__section-description {
    color: var(--text-main);
}

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

.page-promotions__card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

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

.page-promotions__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-promotions__card-text {
    font-size: 0.95em;
    color: var(--text-main);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* How-to-Claim Section */
.page-promotions__how-to-claim-section .page-promotions__section-title,
.page-promotions__how-to-claim-section .page-promotions__section-description {
    color: #ffffff;
}

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

.page-promotions__step-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.page-promotions__step-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-promotions__step-text {
    font-size: 0.95em;
    color: var(--text-main);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Terms and Conditions Section */
.page-promotions__terms-section .page-promotions__section-title,
.page-promotions__terms-section .page-promotions__section-description {
    color: var(--text-main);
}

.page-promotions__terms-content {
    text-align: left;
    max-width: 900px;
    margin: 40px auto 0;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.page-promotions__sub-title {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-promotions__terms-content p {
    font-size: 1em;
    color: var(--text-main);
    margin-bottom: 20px;
}

.page-promotions__btn-full-width {
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

/* Benefits Section */
.page-promotions__benefits-section .page-promotions__section-title,
.page-promotions__benefits-section .page-promotions__section-description {
    color: var(--text-main);
}

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

.page-promotions__benefit-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

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

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

.page-promotions__benefit-text {
    font-size: 0.95em;
    color: var(--text-main);
}

.page-promotions__vip-promo-banner {
    margin-top: 60px;
    background-color: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    text-align: left;
}

.page-promotions__vip-promo-image {
    width: 50%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-promotions__vip-promo-content {
    width: 50%;
    padding: 30px;
    color: #ffffff;
}

.page-promotions__vip-promo-title {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-promotions__vip-promo-text {
    font-size: 1.1em;
    margin-bottom: 25px;
}

/* FAQ Section */
.page-promotions__faq-section .page-promotions__section-title {
    color: var(--text-main);
}

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

.page-promotions__faq-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.page-promotions__faq-item[open] {
    background-color: #f9f9f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    position: relative;
}

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    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: 0 25px 20px;
    font-size: 1em;
    color: var(--text-main);
    line-height: 1.5;
}

/* Bottom CTA Section */
.page-promotions__cta-bottom .page-promotions__section-title,
.page-promotions__cta-bottom .page-promotions__section-description {
    color: #ffffff;
}

/* Responsive Styles */

/* Tablet and Mobile */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 2.2em;
    }

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

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

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

    .page-promotions__vip-promo-banner {
        flex-direction: column;
    }

    .page-promotions__vip-promo-image,
    .page-promotions__vip-promo-content {
        width: 100%;
    }
    .page-promotions__vip-promo-content {
        padding: 20px;
    }
    .page-promotions__vip-promo-title {
        font-size: 1.8em;
    }
}

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

    .page-promotions__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-promotions__hero-content {
        padding: 20px 15px;
        margin-top: 10px;
    }

    .page-promotions__main-title {
        font-size: 1.8em;
        margin-bottom: 10px;
    }

    .page-promotions__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__btn-small {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-promotions__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    /* General images and containers for mobile */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-promotions__container,
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__step-item,
    .page-promotions__terms-content,
    .page-promotions__benefit-card,
    .page-promotions__vip-promo-banner,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-promotions__cards-grid,
    .page-promotions__steps-grid,
    .page-promotions__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .page-promotions__card-image,
    .page-promotions__step-image {
        height: 150px;
    }

    .page-promotions__card-title,
    .page-promotions__step-title,
    .page-promotions__benefit-title {
        font-size: 1.3em;
    }

    .page-promotions__sub-title {
        font-size: 1.5em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-promotions__vip-promo-title {
        font-size: 1.5em;
    }

    .page-promotions__vip-promo-text {
        font-size: 1em;
    }

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

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