/* style/promotions.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #FFFFFF;
    --login-button-color: #EA7C07;
    --background-color: #FFFFFF;
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--text-color-dark); /* Default text color for light background */
    background-color: var(--background-color);
}

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

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

.page-promotions__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px);
    padding-bottom: 80px;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-align: left;
    overflow: hidden;
}

.page-promotions__hero-section .page-promotions__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-promotions__hero-content {
    flex: 1;
    max-width: 60%;
    z-index: 1;
}

.page-promotions__hero-title {
    font-size: 3.2em;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-promotions__hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-promotions__hero-image-wrapper {
    flex: 1;
    max-width: 40%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 0;
}

.page-promotions__hero-image {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    height: auto;
    display: block;
}

.page-promotions__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-promotions__dark-bg .page-promotions__section-title,
.page-promotions__dark-bg .page-promotions__text-block {
    color: var(--text-color-light);
}

.page-promotions__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.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: var(--secondary-color);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-color-dark);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-promotions__card-description {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.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;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    text-align: center;
}

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

.page-promotions__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.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(--text-color-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.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: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: var(--text-color-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-promotions__step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin: 0 auto 20px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__step-description {
    font-size: 1em;
    line-height: 1.6;
}

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

.page-promotions__step-description a:hover {
    color: lighten(var(--secondary-color), 10%);
}

.page-promotions__image-guide-wrapper {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.page-promotions__image-guide {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: block;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
    text-align: left;
}

.page-promotions__list-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-color-dark);
}

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

.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: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-color-dark);
}

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

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

.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 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-color-dark);
}

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

.page-promotions__call-to-action {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 80px 0;
}

.page-promotions__call-to-action .page-promotions__section-title {
    color: var(--text-color-light);
    margin-bottom: 25px;
}

.page-promotions__call-to-action .page-promotions__text-block {
    color: var(--text-color-light);
    opacity: 0.9;
    margin-bottom: 40px;
}

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

.page-promotions__btn-lg {
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-promotions__cta-buttons .page-promotions__btn-primary {
    background-color: var(--login-button-color);
    border-color: var(--login-button-color);
}

.page-promotions__cta-buttons .page-promotions__btn-primary:hover {
    background-color: darken(var(--login-button-color), 10%);
    border-color: darken(var(--login-button-color), 10%);
}

.page-promotions__cta-buttons .page-promotions__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.page-promotions__cta-buttons .page-promotions__btn-secondary:hover {
    background-color: lighten(var(--secondary-color), 5%);
    color: var(--primary-color);
    border-color: lighten(var(--secondary-color), 5%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__hero-section .page-promotions__container {
        flex-direction: column;
        text-align: center;
    }
    .page-promotions__hero-content,
    .page-promotions__hero-image-wrapper {
        max-width: 100%;
    }
    .page-promotions__hero-image-wrapper {
        justify-content: center;
        margin-top: 40px;
    }
    .page-promotions__hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__section {
        padding: 40px 0;
    }
    .page-promotions__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 60px;
    }
    .page-promotions__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-promotions__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-promotions__text-block {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-promotions__promo-grid,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__promo-card,
    .page-promotions__step-item,
    .page-promotions__list-item,
    .page-promotions__faq-item {
        padding: 20px;
    }
    .page-promotions__card-title {
        font-size: 1.4em;
    }
    .page-promotions__step-title {
        font-size: 1.2em;
    }
    .page-promotions__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 0 20px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px 20px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__hero-buttons,
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-promotions__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Mobile image responsive */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__hero-image-wrapper,
    .page-promotions__image-guide-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-promotions__video-section {
        padding-top: var(--header-offset, 120px) !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 video,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__section-title {
        font-size: 1.6em;
    }
    .page-promotions__cta-buttons {
        gap: 10px;
    }
}