/* style/promotions.css */

:root {
    --main-color: #11A84E;
    --auxiliary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #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;
}

/* Base styles for the page content */
.page-promotions {
    font-family: 'Arial', sans-serif;
    background-color: var(--background-color);
    color: var(--text-main-color);
    line-height: 1.6;
}

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

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

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

.page-promotions__sub-title {
    font-size: 1.8em;
    color: var(--text-main-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions__text-block {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 20px;
}

.page-promotions__text-block--center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    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 {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

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

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    max-height: 500px; /* Limit height for aesthetic */
}

.page-promotions__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    z-index: 1;
}

.page-promotions__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions__subtitle {
    font-size: 1.2em;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Backgrounds */
.page-promotions__dark-bg {
    background-color: var(--background-color);
    color: var(--text-main-color);
    padding: 60px 0;
}

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

/* Intro Section */
.page-promotions__intro-section {
    text-align: center;
}

/* Promotion Types Section */
.page-promotions__types-section {
    padding: 80px 0;
}

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

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

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

.page-promotions__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-promotions__promo-card .page-promotions__card-title {
    font-size: 1.5em;
    color: var(--gold-color);
    padding: 20px 25px 10px;
    margin: 0;
    font-weight: 700;
}

.page-promotions__promo-card .page-promotions__card-text {
    padding: 0 25px 20px;
    color: var(--text-secondary-color);
    flex-grow: 1;
}

.page-promotions__promo-card .page-promotions__card-button {
    display: block;
    text-align: center;
    background: var(--button-gradient);
    color: var(--text-main-color);
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0 0 12px 12px;
    transition: background-color 0.3s ease;
}

.page-promotions__promo-card .page-promotions__card-button:hover {
    opacity: 0.9;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    padding: 80px 0;
}

.page-promotions__flex-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-promotions__content-block {
    flex: 2;
}

.page-promotions__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promotions__content-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__ordered-list,
.page-promotions__unordered-list {
    list-style-position: inside;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-promotions__ordered-list li,
.page-promotions__unordered-list li {
    margin-bottom: 10px;
    color: var(--text-secondary-color);
    font-size: 1.05em;
}

.page-promotions__ordered-list li strong {
    color: var(--text-main-color);
}

/* Why Choose Section */
.page-promotions__why-choose-section {
    padding: 80px 0;
}

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

.page-promotions__feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    text-align: center;
}

.page-promotions__feature-card .page-promotions__card-title {
    font-size: 1.6em;
    color: var(--glow-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-promotions__feature-card .page-promotions__card-text {
    color: var(--text-secondary-color);
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
}

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

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

.page-promotions__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

.page-promotions__faq-item summary:hover {
    background-color: var(--deep-green-color);
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--glow-color);
}

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

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    color: var(--text-secondary-color);
    font-size: 1.05em;
}

/* CTA Bottom Section */
.page-promotions__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
}

.page-promotions__flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-promotions__flex-container {
        flex-direction: column;
        align-items: center;
    }

    .page-promotions__content-block,
    .page-promotions__image-block {
        flex: none;
        width: 100%;
    }

    .page-promotions__image-block {
        order: -1; /* Image appears before text on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-promotions__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

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

    .page-promotions__sub-title {
        font-size: 1.5em;
    }

    .page-promotions__text-block,
    .page-promotions__ordered-list li,
    .page-promotions__unordered-list li {
        font-size: 1em;
    }

    .page-promotions__cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-promotions__hero-image {
        max-height: 300px;
    }

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

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

    .page-promotions__subtitle {
        font-size: 1.1em;
    }

    .page-promotions__promo-grid,
    .page-promotions__feature-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions__dark-bg,
    .page-promotions__light-bg,
    .page-promotions__how-to-claim-section,
    .page-promotions__why-choose-section,
    .page-promotions__faq-section,
    .page-promotions__cta-bottom-section {
        padding: 40px 0;
    }

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

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

    .page-promotions__hero-image {
        height: auto !important;
        max-height: none !important;
    }

    .page-promotions__promo-card,
    .page-promotions__feature-card,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__cta-button,
    .page-promotions__cta-button--small,
    .page-promotions__cta-button--large {
        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__cta-bottom-section .page-promotions__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__promo-card .page-promotions__card-button {
        border-radius: 0 0 12px 12px !important;
    }

    .page-promotions__flex-container {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .page-promotions__section-title {
        font-size: 1.8em;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8em, 9vw, 2.2em);
    }

    .page-promotions__subtitle {
        font-size: 1em;
    }

    .page-promotions__promo-card .page-promotions__card-title,
    .page-promotions__feature-card .page-promotions__card-title {
        font-size: 1.3em;
    }

    .page-promotions__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }

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