/* style/promotions.css */
.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: var(--background-color, #FFFFFF);
}

.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #017439, #005a2e);
    color: #ffffff;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-promotions__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #FFFF00; /* Register/Login Font Color */
}

.page-promotions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-promotions__hero-cta-group {
    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: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background-color: #C30808; /* Register/Login Color */
    color: #FFFF00; /* Register/Login Font Color */
    border: 2px solid #C30808;
}

.page-promotions__btn-primary:hover {
    background-color: #e01010;
    transform: translateY(-3px);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

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

.page-promotions__intro-section,
.page-promotions__how-to-claim,
.page-promotions__terms-conditions,
.page-promotions__faq-section {
    padding: 60px 20px;
    background-color: #ffffff;
    color: #333333;
}

.page-promotions__dark-bg {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 20px;
}

.page-promotions__light-bg {
    background-color: #ffffff;
    color: #333333;
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #017439;
    font-weight: bold;
}

.page-promotions__section-title--white {
    color: #ffffff;
}

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

.page-promotions__text-block--white {
    color: #ffffff;
}

.page-promotions__text-link {
    color: #FFFF00;
    text-decoration: underline;
}

.page-promotions__text-link:hover {
    color: #ff0;
}

.page-promotions__featured-promos {
    padding: 60px 20px;
}

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

.page-promotions__promo-card {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #333333;
}

.page-promotions__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.page-promotions__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.page-promotions__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin: 20px 20px 10px;
    color: #017439;
}

.page-promotions__card-text {
    font-size: 1em;
    margin: 0 20px 20px;
    flex-grow: 1;
}

.page-promotions__promo-card .page-promotions__btn-primary {
    margin: 0 20px 20px;
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-promotions__list-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
}

.page-promotions__list-item strong {
    color: #017439;
}

.page-promotions__list-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #017439;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.page-promotions__list-item a {
    color: #017439;
    text-decoration: underline;
}

.page-promotions__list-item a:hover {
    color: #005a2e;
}

.page-promotions__video-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #017439;
    color: #ffffff;
}

.page-promotions__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 10px;
}

.page-promotions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    max-width: 100%;
    display: block;
    cursor: pointer;
}

.page-promotions__video-cta {
    margin-top: 30px;
}

.page-promotions__terms-list {
    list-style: disc;
    padding-left: 25px;
    font-size: 1.1em;
}

.page-promotions__terms-list .page-promotions__list-item {
    padding-left: 0;
    position: static;
}

.page-promotions__terms-list .page-promotions__list-item::before {
    content: '';
    display: none;
}

.page-promotions__terms-list .page-promotions__list-item a {
    color: #017439;
    text-decoration: underline;
}

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

.page-promotions__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #eaf7ed;
    transition: background-color 0.3s ease;
}

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

.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;
    color: #555555;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 20px;
    padding-top: 0;
}

.page-promotions__faq-answer p {
    margin-bottom: 15px;
}

.page-promotions__faq-answer a {
    color: #017439;
    text-decoration: underline;
}

.page-promotions__cta-bottom {
    text-align: center;
    padding: 80px 20px;
    background-color: #017439;
    color: #ffffff;
}

.page-promotions__cta-bottom .page-promotions__section-title {
    color: #ffffff;
}

.page-promotions__cta-bottom .page-promotions__cta-group {
    margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }

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

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 60px 15px;
    }

    .page-promotions__hero-title {
        font-size: 2.2em;
    }

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

    .page-promotions__hero-cta-group {
        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: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-promotions__hero-cta-group, 
    .page-promotions__cta-bottom .page-promotions__cta-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-promotions__intro-section,
    .page-promotions__featured-promos,
    .page-promotions__how-to-claim,
    .page-promotions__video-section,
    .page-promotions__terms-conditions,
    .page-promotions__faq-section,
    .page-promotions__cta-bottom {
        padding: 40px 15px;
    }

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

    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions__promo-image {
        height: 200px;
    }

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

    .page-promotions__list-item {
        font-size: 1em;
        padding-left: 35px;
    }

    .page-promotions__list-item::before {
        width: 25px;
        height: 25px;
        font-size: 0.8em;
    }

    .page-promotions__video-wrapper {
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

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

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

    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .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;
    }
}