/* style/promotions.css */

:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

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

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

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

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

.page-promotions__dark-text {
    color: #333333;
}

.page-promotions__section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

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

/* Hero Section */
.page-promotions__hero-section {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Maintain aspect ratio */
    overflow: hidden;
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 15px;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly for visual effect */
    background-color: rgba(17, 39, 27, 0.9); /* Card BG with slight transparency */
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-gold);
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
}

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--color-gold);
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-promotions__text-block {
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: 2px solid var(--color-button-gradient-start);
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-promotions__btn-secondary {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-promotions__btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-background);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

/* Cards */
.page-promotions__card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: var(--color-text-main);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    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 20px var(--color-glow);
}

.page-promotions__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-promotions__card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--color-gold);
}

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

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

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

.page-promotions__feature-description {
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

.page-promotions__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.page-promotions__feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.page-promotions__feature-list li::before {
    content: '✅';
    margin-right: 10px;
    color: var(--color-glow);
}

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

.page-promotions__promotion-card {
    text-align: center;
    align-items: center;
}

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

.page-promotions__step-title {
    font-size: 1.6rem;
    color: var(--color-glow);
    margin-bottom: 15px;
}

.page-promotions__step-description {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

/* Terms and Conditions */
.page-promotions__terms-conditions ul {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 900px;
    margin: 50px auto 0 auto;
}

.page-promotions__terms-conditions li {
    background-color: #f8f9fa;
    border-left: 5px solid var(--color-primary);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    color: #333333;
    font-size: 1rem;
    line-height: 1.6;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.page-promotions__terms-subtitle {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-deep-green);
    margin-bottom: 10px;
}

/* FAQ Section */
.page-promotions__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
    text-align: left;
}

.page-promotions__faq-item {
    margin-bottom: 15px;
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-promotions__faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--color-glow);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--color-gold);
    cursor: pointer;
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
}

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

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

.page-promotions__faq-qtext {
    flex-grow: 1;
}

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

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    content: '−';
}

.page-promotions__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

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

.page-promotions__faq-answer .page-promotions__btn-secondary {
    margin-top: 15px;
    display: inline-flex;
    padding: 10px 20px;
    font-size: 1rem;
}

/* Conclusion CTA */
.page-promotions__conclusion-cta {
    padding-bottom: 80px;
}

/* --- Responsive Styles --- */

/* All images base responsive style */
.page-promotions img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* All video base responsive style */
.page-promotions video,
.page-promotions__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

/* Video container base responsive style */
.page-promotions__video-section,
.page-promotions__video-container,
.page-promotions__video-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* All button base responsive style */
.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%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

/* Button container base responsive style */
.page-promotions__cta-buttons,
.page-promotions__button-group,
.page-promotions__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

    .page-promotions__hero-content {
        margin-top: -60px;
        padding: 30px 15px;
    }

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

    .page-promotions__description {
        font-size: 1rem;
    }

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

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .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;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-promotions__card {
        padding: 25px;
    }

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

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

    .page-promotions__feature-grid,
    .page-promotions__promotion-grid,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-promotions__terms-conditions li {
        padding: 15px;
        font-size: 0.95rem;
    }

    .page-promotions__terms-subtitle {
        font-size: 1.1rem;
    }

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

    .page-promotions__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95rem;
    }

    /* Mobile image responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-section,
    .page-promotions__hero-content {
        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;
    }

    /* Mobile video responsiveness */
    .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;
    }

    /* Mobile button container responsiveness */
    .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;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
    }
}