/* style/promotions.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark-bg: #FFFFFF;
    --text-color-light-bg: #333333;
    --button-register-bg: #C30808;
    --button-login-bg: #C30808;
    --button-font-color: #FFFF00;
    --body-bg: #FFFFFF;
    --card-bg-light: #FFFFFF;
    --card-bg-dark: rgba(255, 255, 255, 0.1);
}

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

.page-promotions__hero-section {
    padding-top: var(--header-offset, 120px);
}

.page-promotions__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    color: var(--text-color-dark-bg);
    overflow: hidden;
    text-align: center;
    background-color: var(--primary-color);
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3;
}

.page-promotions__hero-section .page-promotions__container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.page-promotions__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-color-dark-bg);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-promotions__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-color-dark-bg);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-card {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background-color: var(--button-register-bg);
    color: var(--button-font-color);
    border: 2px solid var(--button-register-bg);
}

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

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

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

.page-promotions__overview-section,
.page-promotions__how-to-claim,
.page-promotions__faq-section {
    background-color: var(--body-bg);
    color: var(--text-color-light-bg);
    padding: 60px 20px;
}

.page-promotions__promotion-types,
.page-promotions__terms-conditions,
.page-promotions__cta-bottom {
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
    padding: 60px 20px;
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: inherit;
}

.page-promotions__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: inherit;
}

.page-promotions__text-block a {
    color: #4CAF50;
    text-decoration: underline;
}

.page-promotions__text-block a:hover {
    color: #3d8f41;
}

.page-promotions__promotion-types .page-promotions__text-block a,
.page-promotions__terms-conditions .page-promotions__text-block a {
    color: var(--secondary-color);
}

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

.page-promotions__card {
    background-color: var(--card-bg-light);
    color: var(--text-color-light-bg);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s ease;
}

.page-promotions__promotion-types .page-promotions__card {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color-dark-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-promotions__card-title {
    font-size: 1.5em;
    padding: 20px 20px 10px;
    color: inherit;
}

.page-promotions__card-title a {
    color: inherit;
    text-decoration: none;
}

.page-promotions__card-title a:hover {
    text-decoration: underline;
}

.page-promotions__card-text {
    padding: 0 20px 20px;
    flex-grow: 1;
    color: inherit;
}

.page-promotions__card-text a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-promotions__promotion-types .page-promotions__card-text a {
    color: var(--secondary-color);
}

.page-promotions__btn-card {
    margin: 0 20px 20px;
    text-align: center;
    background-color: var(--button-register-bg);
    color: var(--button-font-color);
    border: 2px solid var(--button-register-bg);
}

.page-promotions__btn-card:hover {
    background-color: #a40707;
    border-color: #a40707;
}

.page-promotions__step-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions__step-list .page-promotions__list-item {
    background-color: var(--card-bg-light);
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: var(--text-color-light-bg);
}

.page-promotions__step-list .page-promotions__list-item strong {
    color: var(--primary-color);
}

.page-promotions__step-list .page-promotions__list-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions__checklist {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions__checklist .page-promotions__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid var(--secondary-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.1em;
    color: var(--text-color-dark-bg);
}

.page-promotions__checklist .page-promotions__list-item strong {
    color: var(--secondary-color);
}

.page-promotions__checklist .page-promotions__list-item a {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

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

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

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

.page-promotions__faq-question span {
    color: inherit;
}

.page-promotions__faq-question a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

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

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: var(--card-bg-light);
    color: var(--text-color-light-bg);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important;
    padding: 15px 20px;
}

.page-promotions__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
    color: inherit;
}

.page-promotions__faq-answer p a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 3em;
    }
}

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

    .page-promotions__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

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

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__btn-card {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

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

    .page-promotions__card-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .page-promotions__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__card-image {
        height: 180px;
    }

    .page-promotions__overview-section,
    .page-promotions__promotion-types,
    .page-promotions__how-to-claim,
    .page-promotions__terms-conditions,
    .page-promotions__faq-section,
    .page-promotions__cta-bottom {
        padding: 40px 0;
    }

    .page-promotions__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-promotions__content-image {
        margin: 20px auto;
        padding: 0 15px;
    }

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

    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-promotions__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-promotions__faq-answer {
        padding: 10px 15px;
    }
}