/* style/promotions.css */
/* Base styles for the page content, assuming a dark body background from shared.css */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--text-main, #F2FFF6); /* Default text color for dark background */
    line-height: 1.6;
    background-color: var(--background, #08160F); /* Ensure main content background matches overall theme */
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Stacks image and content vertically */
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    padding-bottom: 60px; /* Padding for content below the image */
    background-color: var(--background, #08160F); /* Dark background for hero section */
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for the hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px; /* Space between image and text content */
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    padding: 0 15px;
    max-width: 900px;
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size */
    color: var(--text-main, #F2FFF6);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-promotions__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    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: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--glow, #57E38D);
    border: 2px solid var(--glow, #57E38D);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--glow, #57E38D);
    color: #11271B;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
}

/* General Section Styles */
.page-promotions__intro-section,
.page-promotions__how-to-claim-section,
.page-promotions__faq-section {
    background-color: var(--background, #08160F);
    padding: 60px 0;
    color: var(--text-main, #F2FFF6);
}

.page-promotions__dark-bg {
    background-color: var(--card-bg, #11271B);
    padding: 60px 0;
    color: var(--text-main, #F2FFF6);
}

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

.page-promotions__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--gold, #F2C14E);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-promotions__paragraph {
    font-size: 1.05rem;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions__highlight {
    color: var(--glow, #57E38D);
    font-weight: bold;
}

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

.page-promotions__promo-card {
    background-color: var(--card-bg, #11271B);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border, #2E7A4E);
}

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

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

.page-promotions__card-title {
    font-size: 1.5rem;
    color: var(--text-main, #F2FFF6);
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-promotions__card-text {
    font-size: 0.95rem;
    color: var(--text-secondary, #A7D9B8);
    padding: 0 15px;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-promotions__card-list {
    list-style: none;
    padding: 0 20px;
    margin-bottom: 20px;
    text-align: left;
    color: var(--text-secondary, #A7D9B8);
}

.page-promotions__card-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.page-promotions__card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--glow, #57E38D);
    font-weight: bold;
}

.page-promotions__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin: 0 15px 20px;
    align-self: center;
}

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

.page-promotions__step-card {
    background-color: var(--card-bg, #11271B);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border, #2E7A4E);
}

.page-promotions__step-title {
    font-size: 1.6rem;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__ordered-list {
    list-style-type: decimal;
    padding-left: 20px;
    color: var(--text-secondary, #A7D9B8);
}

.page-promotions__ordered-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

/* Benefits Section */
.page-promotions__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-promotions__benefit-item {
    background-color: var(--card-bg, #11271B);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border, #2E7A4E);
}

.page-promotions__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__benefit-title {
    font-size: 1.4rem;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 15px;
    font-weight: bold;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 40px;
}

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
    color: var(--text-main, #F2FFF6);
    font-weight: bold;
    cursor: pointer;
    background-color: var(--deep-green, #0A4B2C);
    border-bottom: 1px solid var(--divider, #1E3A2A);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom: 1px solid var(--divider, #1E3A2A);
}

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

.page-promotions__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold, #F2C14E);
}

.page-promotions__faq-item summary {
    list-style: none;
}

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

.page-promotions__faq-answer {
    padding: 20px;
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8);
    background-color: var(--card-bg, #11271B);
}

/* CTA Section at the bottom */
.page-promotions__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--deep-green, #0A4B2C);
}

.page-promotions__cta-container {
    max-width: 900px;
}

.page-promotions__cta-section .page-promotions__section-title {
    color: var(--gold, #F2C14E);
    margin-bottom: 30px;
}

.page-promotions__cta-section .page-promotions__paragraph {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-main, #F2FFF6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-section {
        min-height: 400px;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-promotions__subtitle {
        font-size: clamp(0.9rem, 2.8vw, 1.2rem);
    }
    .page-promotions__promo-grid,
    .page-promotions__steps-grid,
    .page-promotions__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions__container,
    .page-promotions__hero-content,
    .page-promotions__promo-card,
    .page-promotions__step-card,
    .page-promotions__benefit-item,
    .page-promotions__faq-item,
    .page-promotions__cta-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__hero-section {
        padding-bottom: 40px;
        min-height: unset;
        padding-top: 10px !important;
    }

    .page-promotions__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-promotions__subtitle {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
        margin-bottom: 20px;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .page-promotions__section-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }

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

    .page-promotions__promo-card,
    .page-promotions__step-card,
    .page-promotions__benefit-item {
        padding: 20px;
    }

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

    .page-promotions__card-title {
        font-size: 1.3rem;
        margin-top: 15px;
        margin-bottom: 8px;
    }

    .page-promotions__card-text, .page-promotions__card-list li {
        font-size: 0.9rem;
    }

    .page-promotions__faq-question {
        font-size: 1.05rem;
        padding: 15px;
    }

    .page-promotions__faq-toggle {
        font-size: 1.5rem;
    }

    .page-promotions__faq-answer {
        padding: 15px;
        font-size: 0.95rem;
    }

    /* Images responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* All containers that might hold images or text */
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__promo-card,
    .page-promotions__step-card,
    .page-promotions__benefit-item,
    .page-promotions__faq-item,
    .page-promotions__cta-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-section {
        padding-bottom: 30px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.5rem, 9vw, 2.2rem);
    }
    .page-promotions__subtitle {
        font-size: clamp(0.8rem, 4vw, 0.95rem);
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    .page-promotions__section-title {
        font-size: clamp(1.3rem, 8vw, 2rem);
    }
    .page-promotions__paragraph {
        font-size: 0.95rem;
    }
    .page-promotions__card-title {
        font-size: 1.2rem;
    }
    .page-promotions__card-text, .page-promotions__card-list li {
        font-size: 0.9rem;
    }
    .page-promotions__faq-question {
        font-size: 1rem;
    }
    .page-promotions__faq-answer {
        font-size: 0.9rem;
    }
}