/* style/promotions.css */

/* Custom Colors */
: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;
    color: var(--color-text-main); /* Default text color for the page */
    background-color: var(--color-background); /* Default background for the page */
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body already handles header offset */
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-deep-green) 0%, var(--color-background) 100%);
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__hero-content {
    max-width: 900px;
    z-index: 1;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(17, 39, 27, 0.7); /* Card BG with transparency */
}

.page-promotions__main-title {
    color: var(--color-gold);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
    /* No fixed font-size, rely on responsive scaling and other properties */
}

.page-promotions__hero-description {
    color: var(--color-text-main);
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-promotions__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-tertiary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

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

.page-promotions__btn-tertiary {
    background-color: var(--color-primary);
    color: #ffffff;
    border: 1px solid var(--color-primary);
}

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

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

.page-promotions__introduction-section {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-promotions__featured-promotions-section {
    background-color: var(--color-card-bg);
    color: var(--color-text-main);
}

.page-promotions__how-to-claim-section {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-promotions__benefits-section {
    background-color: var(--color-card-bg);
    color: var(--color-text-main);
}

.page-promotions__faq-section {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-promotions__conclusion-section {
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
    padding-bottom: 80px;
}

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

.page-promotions__section-title {
    color: var(--color-gold);
    font-size: 2.5em;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-promotions__text-block {
    color: var(--color-text-main);
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__text-block a {
    color: var(--color-glow);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__text-block a:hover {
    text-decoration: underline;
}

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

.page-promotions__card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    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;
    height: 100%;
}

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

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.page-promotions__card-title {
    color: var(--color-gold);
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.3;
}

.page-promotions__card-title a {
    color: var(--color-gold);
    text-decoration: none;
}

.page-promotions__card-title a:hover {
    text-decoration: underline;
}

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

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

.page-promotions__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

.page-promotions__step-item:hover {
    transform: translateY(-3px);
}

.page-promotions__step-title {
    color: var(--color-primary);
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__step-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.page-promotions__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__benefits-item {
    background-color: rgba(46, 122, 78, 0.2); /* Deep Green with transparency */
    border-left: 5px solid var(--color-glow);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    color: var(--color-text-main);
    line-height: 1.6;
}

.page-promotions__benefits-item strong {
    color: var(--color-gold);
}

.page-promotions__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-deep-green);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-promotions__faq-question:hover {
    background-color: var(--color-primary);
}

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

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

.page-promotions__faq-answer {
    padding: 15px 25px 20px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    text-align: left;
    border-top: 1px solid var(--color-divider);
}

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

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

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

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

    .page-promotions__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-promotions__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-promotions__hero-content {
        padding: 15px;
    }

    .page-promotions__main-title {
        font-size: 2em; /* Adjusted for mobile */
        line-height: 1.3;
    }

    .page-promotions__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__btn-tertiary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        font-size: 0.95em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-promotions__container,
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__promotion-grid,
    .page-promotions__step-list,
    .page-promotions__benefits-list,
    .page-promotions__faq-list,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

    .page-promotions__text-block {
        font-size: 1em;
    }

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

    .page-promotions__card-image {
        height: 180px; /* Adjust height for mobile */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

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

    .page-promotions__benefits-item {
        padding: 12px 15px;
        font-size: 0.95em;
    }

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

    .page-promotions__faq-toggle {
        font-size: 1.3em;
    }

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