/* style/promotions.css */

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

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

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

.page-promotions__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--gold-color);
    line-height: 1.2;
}

.page-promotions__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--deep-green);
    min-height: 500px;
}

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

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

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 15px;
    margin-top: 80px; /* Push content down to avoid overlapping the visual top */
    margin-bottom: 80px;
}

.page-promotions__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-promotions__description {
    font-size: 1.2em;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-promotions__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 10px var(--glow-color);
}

/* Why Choose Section */
.page-promotions__why-choose-section {
    background-color: var(--body-bg);
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-promotions__feature-title {
    font-size: 1.8em;
    color: var(--gold-color);
    margin-bottom: 15px;
    text-align: center;
}

.page-promotions__feature-item p {
    color: var(--text-secondary);
    font-size: 1em;
    text-align: justify;
}

/* Types of Promotions Section */
.page-promotions__types-section {
    background-color: var(--deep-green);
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-promotions__promo-card {
    text-align: center;
}

.page-promotions__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

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

.page-promotions__promo-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95em;
}

.page-promotions__btn-secondary {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-promotions__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(17, 168, 78, 0.4);
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    background-color: var(--body-bg);
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-promotions__step-title {
    font-size: 1.8em;
    color: var(--gold-color);
    margin-bottom: 15px;
    text-align: center;
}

.page-promotions__step-item p {
    color: var(--text-secondary);
    font-size: 1em;
    text-align: justify;
    margin-bottom: 20px;
}

/* Tips Section */
.page-promotions__tips-section {
    background-color: var(--deep-green);
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-promotions__tip-title {
    font-size: 1.8em;
    color: var(--gold-color);
    margin-bottom: 15px;
    text-align: center;
}

.page-promotions__tip-item p {
    color: var(--text-secondary);
    font-size: 1em;
    text-align: justify;
}

/* FAQ Section */
.page-promotions__faq-section {
    background-color: var(--body-bg);
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-promotions__faq-item {
    cursor: pointer;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-item[open] {
    background-color: var(--card-bg);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--text-main);
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--divider-color);
    list-style: none; /* For details/summary */
}

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

.page-promotions__faq-qtext {
    flex-grow: 1;
    color: var(--text-main);
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-promotions__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.5;
    background-color: #0A1C15; /* Slightly lighter than card-bg for contrast */
    border-top: 1px solid var(--divider-color);
}

.page-promotions__faq-answer p {
    margin: 0;
}

/* Final CTA Section */
.page-promotions__final-cta-section {
    background-color: var(--deep-green);
    padding: 80px 20px;
    text-align: center;
    margin-top: 60px;
}

.page-promotions__final-cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__final-cta-content .page-promotions__section-title {
    color: var(--gold-color);
}

.page-promotions__final-cta-content .page-promotions__description {
    color: var(--text-main);
    margin-bottom: 40px;
}

/* Color Contrast Fixes (as per instructions) */
.page-promotions__dark-bg {
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-promotions__light-bg {
    background-color: var(--body-bg);
    color: var(--text-main);
}

.page-promotions__text-contrast-fix {
    color: var(--text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        padding: 40px 15px;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        min-height: 400px;
    }
    .page-promotions__hero-content {
        padding: 30px 15px;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-promotions__description {
        font-size: 1em;
    }
    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-promotions__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-promotions__content-area {
        padding: 30px 15px;
    }
    .page-promotions__features-grid,
    .page-promotions__promotions-grid,
    .page-promotions__steps-grid,
    .page-promotions__tips-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__feature-title,
    .page-promotions__promo-title,
    .page-promotions__step-title,
    .page-promotions__tip-title {
        font-size: 1.5em;
    }
    .page-promotions__promo-image {
        height: 180px;
    }
    .page-promotions__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-promotions__faq-answer {
        padding: 15px;
    }

    /* Mobile specific image, video, button adaptations */
    .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,
    .page-promotions__hero-section,
    .page-promotions__why-choose-section,
    .page-promotions__types-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__tips-section,
    .page-promotions__faq-section,
    .page-promotions__final-cta-section {
        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;
    }

    .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__video-section {
        padding-top: 10px !important;
    }
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__cta-button,
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions a[class*="btn"] {
        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;
        text-align: center;
    }
    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column;
    }
}