/* style/promotions.css */
/* Base styles for the page promotions */
.page-promotions {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text-main); /* Light text for dark body background */
    background-color: var(--color-background); /* Deep green background */
}

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

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

/* Section styling */
.page-promotions__section {
    padding: 40px 0;
    text-align: center;
}

.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(--color-gold);
    margin-bottom: 30px;
    font-weight: bold;
    letter-spacing: 1px;
}

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

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

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Slightly transparent to allow text to stand out */
}

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

.page-promotions__main-title {
    font-size: clamp(2.2em, 5vw, 3.8em); /* Responsive font size */
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
    font-size: clamp(1em, 2vw, 1.3em);
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #ffffff;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%; /* For responsive buttons */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* Card Grid for Promotion Types */
.page-promotions__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__card {
    background-color: var(--color-card-bg); /* Darker green for cards */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

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

.page-promotions__card-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows description to take available space */
}

.page-promotions__card-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__card-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    text-decoration: none;
}

/* Steps Grid for How to Claim */
.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__step {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    text-align: left;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

.page-promotions__step-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-promotions__step-description {
    font-size: 0.95em;
}

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

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

/* Terms and Conditions */
.page-promotions__terms-list {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-promotions__term-item {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

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

.page-promotions__term-description {
    font-size: 0.9em;
}

/* Benefits Section */
.page-promotions__benefits .page-promotions__image-full-width {
    width: 100%;
    max-width: 800px; /* Constrain image width slightly for better flow */
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin: 30px auto 0 auto;
    display: block;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 30px;
    text-align: left;
}

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

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

.page-promotions__faq-question:hover {
    background-color: var(--color-deep-green); /* Slightly darker on hover */
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    color: var(--color-gold);
}

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

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

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

/* Conclusion Section */
.page-promotions__conclusion {
    padding-bottom: 60px;
}

.page-promotions__cta-button--final {
    margin-top: 30px;
    padding: 18px 45px;
    font-size: 1.3em;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        padding: 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(2em, 4.5vw, 3.5em);
    }
    .page-promotions__hero-description {
        font-size: clamp(0.9em, 1.8vw, 1.2em);
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__card-grid,
    .page-promotions__steps-grid,
    .page-promotions__terms-list {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        min-height: 400px;
        padding-top: 10px !important; /* Ensure small padding */
    }
    .page-promotions__hero-content {
        padding: 10px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-promotions__hero-description {
        font-size: clamp(0.85em, 3.5vw, 1em);
        margin-bottom: 25px;
    }
    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__section {
        padding: 30px 0;
    }
    .page-promotions__container {
        padding: 0 15px; /* Add padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-promotions__text-block {
        font-size: 1em;
    }
    .page-promotions__card-grid,
    .page-promotions__steps-grid,
    .page-promotions__terms-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__card-image,
    .page-promotions__step-image,
    .page-promotions__image-full-width {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containing elements for images/videos/buttons on mobile */
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__step,
    .page-promotions__term-item,
    .page-promotions__faq-item {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      /* padding-left and padding-right are handled by .page-promotions__container for sections */
    }

    .page-promotions__cta-button--large,
    .page-promotions__cta-button--final {
        padding: 15px 30px;
        font-size: 1.1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    /* Button specific mobile adjustments */
    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Added for button containers */
        padding-right: 15px; /* Added for button containers */
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex; /* Ensure flex behavior for wrapping */
        flex-direction: column; /* Stack buttons vertically on mobile */
    }
}

/* Custom Color Variables */
:root {
    --color-primary: #11A84E; /* Main color */
    --color-secondary: #22C768; /* Auxiliary color */
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --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;
}

/* General Link Color */
.page-promotions a {
    color: var(--color-gold); /* Use gold for links */
}
.page-promotions a:hover {
    color: var(--color-glow); /* Lighter gold/green on hover */
}