/* style/promotions.css */

/* Custom properties for colors (based on provided palette) */
:root {
    --page-promotions-primary-color: #11A84E;
    --page-promotions-secondary-color: #22C768;
    --page-promotions-button-gradient-start: #2AD16F;
    --page-promotions-button-gradient-end: #13994A;
    --page-promotions-card-bg: #11271B;
    --page-promotions-background: #08160F;
    --page-promotions-text-main: #F2FFF6;
    --page-promotions-text-secondary: #A7D9B8;
    --page-promotions-border: #2E7A4E;
    --page-promotions-glow: #57E38D;
    --page-promotions-gold: #F2C14E;
    --page-promotions-divider: #1E3A2A;
    --page-promotions-deep-green: #0A4B2C;
}

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

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 10px 0 40px; /* Small top padding, more bottom padding */
    text-align: center;
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px;
    filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    margin-top: -150px; /* Overlap with image slightly for visual appeal */
    background: rgba(17, 40, 27, 0.7); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    color: var(--page-promotions-gold);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-promotions__btn-primary {
    background: var(--page-promotions-button-gradient-start); /* fallback */
    background: linear-gradient(180deg, var(--page-promotions-button-gradient-start) 0%, var(--page-promotions-button-gradient-end) 100%);
    color: var(--page-promotions-text-main);
    border: 2px solid var(--page-promotions-button-gradient-start);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__btn-secondary {
    background: var(--page-promotions-card-bg);
    color: var(--page-promotions-secondary-color);
    border: 2px solid var(--page-promotions-secondary-color);
}

.page-promotions__btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--page-promotions-secondary-color);
    color: var(--page-promotions-background);
}

.page-promotions__button-inline {
    margin-top: 15px;
    margin-bottom: 15px;
    min-width: 200px;
}

.page-promotions__content-section {
    background-color: var(--page-promotions-background);
    padding: 60px 0;
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--page-promotions-gold);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-promotions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--page-promotions-gold), var(--page-promotions-primary-color));
    border-radius: 2px;
}

.page-promotions__text-block {
    background-color: var(--page-promotions-card-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--page-promotions-border);
    color: var(--page-promotions-text-secondary); /* Text color for text blocks */
}

.page-promotions__text-block p {
    margin-bottom: 15px;
    color: var(--page-promotions-text-secondary);
}

.page-promotions__text-block strong {
    color: var(--page-promotions-text-main);
}

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

.page-promotions__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    min-height: 200px; /* Minimum size requirement */
}

.page-promotions__faq-list {
    margin-top: 40px;
    margin-bottom: 40px;
}

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

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

.page-promotions__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--page-promotions-gold);
    transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-promotions__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: var(--page-promotions-text-secondary);
    border-top: 1px solid var(--page-promotions-divider);
    background-color: var(--page-promotions-card-bg);
}

.page-promotions__cta-section {
    text-align: center;
    background-color: var(--page-promotions-deep-green);
    padding: 40px 20px;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-promotions-border);
}

.page-promotions__cta-text {
    font-size: 1.5em;
    color: var(--page-promotions-text-main);
    margin-bottom: 25px;
    font-weight: bold;
}

.page-promotions__conclusion-section {
    background-color: var(--page-promotions-background);
    padding: 60px 0;
    text-align: center;
}

.page-promotions__conclusion-text {
    font-size: 1.1em;
    color: var(--page-promotions-text-secondary);
    max-width: 900px;
    margin: 0 auto 30px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        margin-top: -100px;
        padding: 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-promotions__description-text {
        font-size: 1.1em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        min-height: 400px;
        padding: 10px 0 20px;
    }
    .page-promotions__hero-content {
        margin-top: -80px;
        padding: 15px;
        width: calc(100% - 30px); /* Adjust for padding on sides */
    }
    .page-promotions__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }
    .page-promotions__description-text {
        font-size: 1em;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
    }
    .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;
    }
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__text-block {
        padding: 20px;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__sub-title {
        font-size: 1.4em;
    }
    .page-promotions__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__cta-section,
    .page-promotions__conclusion-section,
    .page-promotions__hero-section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important; /* Ensure no overflow for sections */
    }
    /* Specific padding-top for sections */
    .page-promotions__hero-section {
        padding-top: 10px !important;
    }
    .page-promotions__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-promotions__faq-answer {
        padding: 15px;
    }
    .page-promotions__cta-text {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-content {
        margin-top: -60px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.2em, 7vw, 2em);
    }
    .page-promotions__description-text {
        font-size: 0.9em;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
}

/* Color contrast enforcement (already handled by specific color definitions and dark/light bg classes) */
.page-promotions__dark-bg {
    background-color: var(--page-promotions-background);
    color: var(--page-promotions-text-main);
}
.page-promotions__light-bg {
    background-color: var(--page-promotions-background); /* Using same dark background for consistency, but if it were light, text would be dark */
    color: var(--page-promotions-text-secondary); /* Using secondary text for general content blocks for subtle contrast */
}
/* Ensure text in card-like elements is readable */
.page-promotions__text-block,
.page-promotions__faq-item,
.page-promotions__faq-answer {
    background-color: var(--page-promotions-card-bg);
    color: var(--page-promotions-text-secondary);
}
.page-promotions__text-block strong {
    color: var(--page-promotions-text-main);
}
.page-promotions__faq-question {
    color: var(--page-promotions-text-main);
}
.page-promotions__btn-primary {
    color: var(--page-promotions-text-main); /* White-ish text on green gradient */
}
.page-promotions__btn-secondary {
    color: var(--page-promotions-secondary-color); /* Green text on dark background for secondary */
}
.page-promotions__btn-secondary:hover {
    color: var(--page-promotions-background); /* Dark text on green background for hover */
}