/* style/promotions.css */

:root {
    --k9cc-primary: #113B7A;
    --k9cc-secondary: #1D5FD1;
    --k9cc-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --k9cc-card-bg: #10233F;
    --k9cc-text-main: #F3F8FF;
    --k9cc-text-secondary: #AFC4E8;
    --k9cc-border: #244D84;
    --k9cc-glow: #4FA8FF;
    --k9cc-gold: #F2C14E;
    --k9cc-divider: #1B3357;
    --k9cc-deep-navy: #08162B;
    --text-color-light-bg: #333333;
    --text-color-dark-bg: #ffffff;
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light-bg); /* Default text color for light body background */
    background-color: #f8f9fa; /* Assuming a light background from shared.css */
}

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

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 80px;
    color: var(--k9cc-text-main);
    overflow: hidden;
    background: var(--k9cc-deep-navy);
}

.page-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

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

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--k9cc-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-promotions__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--k9cc-text-secondary);
    margin-bottom: 40px;
}

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

.page-promotions__cta-buttons--center {
    margin-top: 40px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    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(--k9cc-button-gradient);
    color: var(--k9cc-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
}

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

.page-promotions__btn-secondary:hover {
    background: var(--k9cc-gold);
    color: var(--k9cc-deep-navy);
    transform: translateY(-3px);
}

.page-promotions__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--k9cc-primary);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    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: var(--k9cc-gold);
    border-radius: 2px;
}

.page-promotions__intro-section,
.page-promotions__how-to-claim,
.page-promotions__why-choose,
.page-promotions__final-cta {
    padding: 80px 0;
    background-color: var(--k9cc-text-main); /* Light background for these sections */
    color: var(--text-color-light-bg);
}

.page-promotions__promotion-types,
.page-promotions__terms-section,
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: var(--k9cc-card-bg); /* Dark background for these sections */
    color: var(--k9cc-text-main);
}

.page-promotions__promotion-types .page-promotions__section-title,
.page-promotions__terms-section .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-title {
    color: var(--k9cc-gold);
}

.page-promotions__content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

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

.page-promotions__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__card {
    background: var(--k9cc-deep-navy);
    border: 1px solid var(--k9cc-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--k9cc-text-main);
}

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

.page-promotions__card-title {
    font-size: 1.5rem;
    color: var(--k9cc-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__card-text {
    font-size: 1rem;
    color: var(--k9cc-text-secondary);
    margin-bottom: 25px;
}

.page-promotions__card-link {
    display: inline-block;
    background: var(--k9cc-button-gradient);
    color: var(--k9cc-text-main);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.page-promotions__card-link:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions__step-item {
    background-color: var(--k9cc-text-main);
    border: 1px solid var(--k9cc-border);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.page-promotions__step-item:hover {
    transform: translateY(-3px);
}

.page-promotions__step-title {
    font-size: 1.4rem;
    color: var(--k9cc-primary);
    margin-bottom: 10px;
}

.page-promotions__step-description {
    font-size: 1rem;
    color: var(--text-color-light-bg);
}

.page-promotions__step-description a {
    color: var(--k9cc-secondary);
    text-decoration: none;
    font-weight: bold;
}

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

.page-promotions__terms-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 30px;
    font-size: 1.05rem;
    color: var(--k9cc-text-secondary);
}

.page-promotions__terms-item {
    margin-bottom: 15px;
}

.page-promotions__feature-icon {
    width: 250px;
    height: 250px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-promotions__feature-item {
    padding: 25px;
    background-color: var(--k9cc-text-main);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-color-light-bg);
}

.page-promotions__feature-title {
    font-size: 1.3rem;
    color: var(--k9cc-primary);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__feature-description {
    font-size: 0.95rem;
    color: var(--text-color-light-bg);
}

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

.page-promotions__faq-item {
    background-color: var(--k9cc-deep-navy);
    border: 1px solid var(--k9cc-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--k9cc-text-main);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--k9cc-card-bg);
    color: var(--k9cc-text-main);
    transition: background-color 0.3s ease;
    list-style: none;
}

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

.page-promotions__faq-question:hover {
    background-color: var(--k9cc-border);
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    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: 1rem;
    color: var(--k9cc-text-secondary);
}

.page-promotions__answer-text {
    margin-top: 15px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-promotions__container {
        padding: 0 15px;
    }

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

    .page-promotions__main-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

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

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

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

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

    .page-promotions__intro-section,
    .page-promotions__how-to-claim,
    .page-promotions__why-choose,
    .page-promotions__final-cta,
    .page-promotions__promotion-types,
    .page-promotions__terms-section,
    .page-promotions__faq-section {
        padding: 50px 0;
    }

    .page-promotions__content-text,
    .page-promotions__card-text,
    .page-promotions__step-description,
    .page-promotions__terms-item,
    .page-promotions__feature-description,
    .page-promotions__answer-text {
        font-size: 0.95rem;
    }

    .page-promotions__grid,
    .page-promotions__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__card,
    .page-promotions__step-item,
    .page-promotions__feature-item,
    .page-promotions__faq-item {
        padding: 20px;
    }

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

    .page-promotions__faq-question {
        font-size: 1.1rem;
        padding: 15px 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-section,
    .page-promotions__promotion-types,
    .page-promotions__how-to-claim,
    .page-promotions__terms-section,
    .page-promotions__why-choose,
    .page-promotions__faq-section,
    .page-promotions__final-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-promotions__video-section {
        padding-top: 10px !important;
    }
}