/* style/promotions.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --card-bg-color: #11271B;
    --background-color: #08160F;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --light-text-on-dark: #f8f9fa;
    --dark-text-on-light: #333333;
}

.page-promotions {
    color: var(--dark-text-on-light); /* Body background is light (#fff), so text should be dark */
    background-color: #ffffff; /* Explicitly set for content area for contrast */
}

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

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

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

.page-promotions__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: var(--gold-color);
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-promotions__tagline {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-secondary-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main-color);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

.page-promotions__intro-section,
.page-promotions__how-to-claim-section,
.page-promotions__terms-section,
.page-promotions__faq-section,
.page-promotions__cta-final-section {
    padding: 60px 0;
    background-color: #ffffff; /* Light background for contrast with dark text */
    color: var(--dark-text-on-light);
}

.page-promotions__types-section {
    padding: 60px 0;
    background-color: var(--background-color);
    color: var(--text-main-color);
}

.page-promotions__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-promotions__types-section .page-promotions__section-title,
.page-promotions__cta-final-section .page-promotions__section-title {
    color: var(--gold-color);
}

.page-promotions__text-content {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--dark-text-on-light);
}

.page-promotions__types-section .page-promotions__text-content {
    color: var(--text-secondary-color);
}

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

.page-promotions__promo-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-main-color);
}

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

.page-promotions__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-promotions__promo-card h3,
.page-promotions__promo-card p {
    padding: 0 20px;
}

.page-promotions__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 20px 0 10px;
    color: var(--gold-color);
}

.page-promotions__card-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__card-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main-color);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin: 0 20px 20px;
    text-align: center;
    border: none;
    cursor: pointer;
}

.page-promotions__card-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-promotions__step-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
    border-left: 2px solid var(--primary-color);
}

.page-promotions__step-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: -20px; /* Adjust to align with border */
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--text-main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-promotions__step-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-text-on-light);
}

.page-promotions__cta-button--bottom {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__terms-list {
    list-style: disc;
    padding-left: 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-text-on-light);
}

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

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

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    list-style: none; /* For details/summary */
}

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

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom: 1px solid #e0e0e0;
}

.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: 15px 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-text-on-light);
}

.page-promotions__cta-final-section {
    text-align: center;
    background-color: var(--deep-green-color);
    color: var(--text-main-color);
    padding: 80px 0;
}

.page-promotions__cta-final-section .page-promotions__text-content {
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-secondary-color);
}

.page-promotions__cta-button--final {
    padding: 18px 40px;
    font-size: 1.2rem;
    border-radius: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

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

    .page-promotions__promo-card {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 10px 0 40px 0;
    }

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

    .page-promotions__tagline {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-promotions__intro-section,
    .page-promotions__types-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__cta-final-section {
        padding: 40px 0;
    }

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

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

    .page-promotions__step-item {
        padding-left: 50px;
        margin-bottom: 25px;
    }

    .page-promotions__step-item::before {
        left: -18px;
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .page-promotions__step-title {
        font-size: 1.4rem;
    }

    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-promotions__faq-answer {
        padding: 12px 20px 15px;
    }

    /* Mobile specific image, video, button responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !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__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-promotions__cta-button,
    .page-promotions__card-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__hero-content .page-promotions__cta-button {
        margin: 0 auto; /* Center button on mobile */
    }

    .page-promotions__cta-button--bottom {
        margin-top: 30px;
    }

    .page-promotions__promo-card {
        padding-bottom: 0;
    }
    .page-promotions__card-button {
        margin: 20px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: clamp(1.6rem, 9vw, 2.2rem);
    }

    .page-promotions__section-title {
        font-size: 1.6rem;
    }

    .page-promotions__step-title {
        font-size: 1.2rem;
    }

    .page-promotions__step-item {
        padding-left: 45px;
    }

    .page-promotions__step-item::before {
        left: -15px;
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}