/* 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);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

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

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

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

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px 60px;
    color: var(--color-text-main);
    text-align: center;
}

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    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-primary);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

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

.page-promotions__btn-secondary:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--color-gold);
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.page-promotions__text-block {
    font-size: 1.05em;
    color: var(--color-text-secondary);
    max-width: 900px;
    margin: 0 auto 20px;
    text-align: left;
}

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

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

.page-promotions__highlight {
    color: var(--color-secondary);
    font-weight: 600;
}

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

.page-promotions__promotion-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

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

.page-promotions__promotion-card .page-promotions__btn-primary {
    width: auto;
    align-self: flex-end;
    margin-top: auto;
}

.page-promotions__text-block--full-width {
    max-width: 100%;
    margin-top: 40px;
    text-align: center;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin: 30px auto 40px;
    max-width: 800px;
    text-align: left;
}

.page-promotions__terms-item {
    background-color: var(--color-card-bg);
    border-left: 4px solid var(--color-primary);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: var(--color-text-main);
    font-size: 1em;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

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

.page-promotions__step-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-promotions__step-card:hover {
    transform: translateY(-5px);
}

.page-promotions__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: #ffffff;
    border-radius: 50%;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(17, 168, 78, 0.5);
}

.page-promotions__step-title {
    font-size: 1.6em;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions__step-description {
    color: var(--color-text-secondary);
    font-size: 0.95em;
}

.page-promotions__step-description a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
}

.page-promotions__step-description a:hover {
    text-decoration: underline;
}

.page-promotions__cta-bottom {
    margin-top: 50px;
}

.page-promotions__benefits-list {
    list-style: none;
    padding: 0;
    margin: 30px auto 40px;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    text-align: left;
}

.page-promotions__benefits-item {
    background-color: var(--color-card-bg);
    border-left: 4px solid var(--color-secondary);
    padding: 15px 20px;
    border-radius: 8px;
    color: var(--color-text-main);
    font-size: 1em;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.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;
    text-align: left;
}

.page-promotions__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--color-gold);
    cursor: pointer;
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
    transition: background-color 0.3s ease;
    list-style: none; /* For <summary> tag */
}

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

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

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

.page-promotions__faq-answer {
    padding: 15px 25px 20px;
    color: var(--color-text-secondary);
    font-size: 1em;
    line-height: 1.7;
    background-color: var(--color-card-bg);
}

.page-promotions__faq-answer p {
    margin: 0;
    text-align: left;
}

.page-promotions__faq-answer a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
}

.page-promotions__faq-answer a:hover {
    text-decoration: underline;
}

.page-promotions__faq-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-promotions__contact-section {
    background-color: var(--color-deep-green);
    padding: 80px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-image {
        max-height: 500px;
    }

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

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

@media (max-width: 768px) {
    .page-promotions__hero-image {
        max-height: 400px;
    }

    .page-promotions__hero-content {
        padding-bottom: 40px;
    }

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

    .page-promotions__hero-description {
        font-size: 1em;
    }

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

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

    .page-promotions__section {
        padding: 40px 0;
    }

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

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

    .page-promotions__promotion-grid,
    .page-promotions__steps-grid,
    .page-promotions__benefits-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

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

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

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

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

    .page-promotions__hero-section {
        padding-top: 10px !important; /* body handles --header-offset */
        padding-left: 0;
        padding-right: 0;
    }

    .page-promotions__hero-image {
        padding-left: 0;
        padding-right: 0;
    }

    .page-promotions__cta-group {
        padding-left: 0;
        padding-right: 0;
    }

    .page-promotions__faq-image {
        padding-left: 0;
        padding-right: 0;
    }
}

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