/* 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 {
    background-color: var(--color-background);
    color: var(--color-text-main); /* Light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Add some padding at the bottom */
}

/* Ensure headings have good contrast */
.page-promotions h1,
.page-promotions h2,
.page-promotions h3,
.page-promotions h4 {
    color: var(--color-gold); /* Using gold for headings */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-promotions__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    padding-bottom: 40px;
    background: linear-gradient(180deg, var(--color-deep-green) 0%, var(--color-background) 100%);
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-promotions__hero-content {
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin-top: 20px;
}

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3em);
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--color-gold);
}

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

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

.page-promotions__cta-buttons--center {
    margin-top: 30px;
}

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

.page-promotions__btn-primary {
    background: var(--color-button-gradient-start);
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--color-button-gradient-start);
    border: 2px solid var(--color-button-gradient-start);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--color-button-gradient-start);
    color: var(--color-text-main);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--color-divider);
}

.page-promotions__section:last-of-type {
    border-bottom: none;
}

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

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

.page-promotions__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-gold);
}

.page-promotions__sub-title {
    font-size: clamp(1.4em, 2.5vw, 2em);
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.page-promotions__paragraph {
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.page-promotions__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    object-fit: cover;
}

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

.page-promotions__promo-card,
.page-promotions__feature-item {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__card-title,
.page-promotions__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--color-gold);
}

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

.page-promotions__list,
.page-promotions__ordered-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.page-promotions__ordered-list {
    list-style-type: decimal;
}

.page-promotions__list li,
.page-promotions__ordered-list li {
    margin-bottom: 10px;
}

.page-promotions__feature-description {
    color: var(--color-text-secondary);
    flex-grow: 1;
}

/* FAQ Section */
.page-promotions__faq-section {
    background-color: var(--color-background);
}

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

.page-promotions__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--color-gold);
    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(--color-deep-green);
}

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

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

.page-promotions__faq-answer {
    padding: 0 20px 20px 20px;
    color: var(--color-text-secondary);
    font-size: 0.95em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-promotions__faq-item[open] .page-promotions__faq-answer {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

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

.page-promotions__conclusion-section {
    background-color: var(--color-deep-green);
    text-align: center;
    padding: 80px 20px;
    border-radius: 15px;
    margin: 40px auto;
    max-width: 1200px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-promotions__hero-image-wrapper {
        max-height: 400px;
    }
    .page-promotions__hero-image {
        max-height: 400px;
    }
    .page-promotions__section {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-image-wrapper {
        max-height: 300px;
    }
    .page-promotions__hero-image {
        max-height: 300px;
    }
    .page-promotions__hero-content {
        padding: 15px;
        margin-top: 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-promotions__intro-text {
        font-size: 1em;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px !important;
    }

    .page-promotions__section {
        padding: 30px 15px;
    }
    .page-promotions__container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-promotions__section-title {
        font-size: clamp(1.6em, 6vw, 2em);
        margin-bottom: 30px;
    }
    .page-promotions__sub-title {
        font-size: clamp(1.2em, 5vw, 1.5em);
    }
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__promo-grid,
    .page-promotions__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__promo-card,
    .page-promotions__feature-item,
    .page-promotions__faq-item {
        padding: 20px;
    }
    .page-promotions__card-image {
        height: 180px;
    }
    .page-promotions__faq-item summary {
        font-size: 1em;
        padding: 15px;
    }
    .page-promotions__faq-answer {
        padding: 0 15px 15px 15px;
    }
    .page-promotions__conclusion-section {
        padding: 50px 15px;
    }
}

/* Ensure no filter on images */
.page-promotions img {
    filter: none !important;
}

/* Content area image size enforcement */
.page-promotions__image,
.page-promotions__card-image {
    min-width: 200px;
    min-height: 200px;
}
/* Specific override for hero image if it's smaller on mobile but still content */
@media (max-width: 768px) {
    .page-promotions__hero-image {
        min-width: unset;
        min-height: unset;
    }
}