/* style/promotions.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-button-color: #C30808;
    --login-button-color: #C30808;
    --background-color: #FFFFFF;
    --register-login-font-color: #FFFF00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-light: #e0e0e0;
}

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

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

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--text-light);
}

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

.page-promotions__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

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

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-promotions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-promotions__btn-primary {
    display: inline-block;
    background-color: var(--register-button-color); /* Using register color for primary action */
    color: var(--register-login-font-color); /* Using register font color */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.page-promotions__btn-secondary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

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

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

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

.page-promotions__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--text-dark);
}

.page-promotions__current-promos,
.page-promotions__terms-highlights,
.page-promotions__faq-section {
    background-color: var(--background-color); /* Light background */
    color: var(--text-dark);
    padding: 80px 0;
}

.page-promotions__how-to-claim,
.page-promotions__vip-promos {
    background-color: var(--primary-color); /* Dark background */
    color: var(--text-light);
    padding: 80px 0;
}

.page-promotions__how-to-claim .page-promotions__section-title,
.page-promotions__how-to-claim .page-promotions__section-description,
.page-promotions__vip-promos .page-promotions__section-title,
.page-promotions__vip-promos .page-promotions__section-description {
    color: var(--text-light);
}

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

.page-promotions__promo-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-dark);
}

.page-promotions__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

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

.page-promotions__card-text {
    font-size: 1em;
    margin-bottom: 25px;
    flex-grow: 1;
    padding: 0 15px;
}

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

.page-promotions__step-item {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-light);
}

.page-promotions__step-icon {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--register-login-font-color); /* Highlight step numbers */
    margin-bottom: 15px;
}

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

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

.page-promotions__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

.page-promotions__terms-list {
    list-style: disc inside;
    max-width: 800px;
    margin: 30px auto 40px auto;
    font-size: 1.05em;
    color: var(--text-dark);
}

.page-promotions__terms-list li {
    margin-bottom: 10px;
}

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

.page-promotions__feature-item {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: var(--text-light);
}

.page-promotions__feature-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%; /* Make icons circular if desired */
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px;
}

.page-promotions__feature-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-promotions__feature-text {
    font-size: 1em;
    color: var(--text-light);
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
}

.page-promotions__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-dark);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

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

.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;
    color: var(--text-dark);
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__promo-grid,
    .page-promotions__steps-grid,
    .page-promotions__vip-features {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

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

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

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

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 20px;
        font-size: 0.9em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-promotions__cta-bottom {
        padding: 0 15px;
    }

    .page-promotions__promo-grid,
    .page-promotions__steps-grid,
    .page-promotions__vip-features {
        grid-template-columns: 1fr;
    }

    .page-promotions__container {
        padding: 30px 15px;
    }

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

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

    .page-promotions__promo-card,
    .page-promotions__step-item,
    .page-promotions__feature-item,
    .page-promotions__faq-item {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Image responsive */
    .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 {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Video responsive */
    .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;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__hero-description {
        font-size: 0.9em;
    }
    .page-promotions__btn-primary {
        font-size: 0.85em;
    }
}

/* Ensure content area images are not smaller than 200px */
.page-promotions img:not(.page-promotions__feature-icon) {
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__feature-icon {
    min-width: 100px; /* Specific size for small icons if they are part of content, but still > 200px if they are actual content images */
    min-height: 100px;
}

/* Adjust min-width/height for feature icons to meet 200px requirement if they are content images */
.page-promotions__feature-icon {
    min-width: 200px;
    min-height: 200px;
    width: 200px; /* Fixed size to ensure minimum */
    height: 200px; /* Fixed size to ensure minimum */
    margin: 0 auto 20px auto; /* Center the icon */
}

/* Ensure no filter is applied to images */
.page-promotions img {
    filter: none; /* Explicitly ensure no filter */
}