/* style/promotions.css */
:root {
    --primary-color: #1A2B5B;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1A2B5B;
    --border-color: #e0e0e0;
}

.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

.page-promotions__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-promotions__dark-bg .page-promotions__section-title,
.page-promotions__dark-bg .page-promotions__section-intro,
.page-promotions__dark-bg .page-promotions__text-block {
    color: var(--text-light);
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-promotions__section-intro,
.page-promotions__text-block {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-promotions__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

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

.page-promotions__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    text-align: center;
    overflow: hidden;
    padding: 60px 20px;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    z-index: 1;
}

.page-promotions__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.page-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

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

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--text-light);
}

.page-promotions__hero-content .page-promotions__btn-primary {
    font-size: 1.2em;
    padding: 15px 35px;
}

/* Featured Promotions */
.page-promotions__featured-promos {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.page-promotions__promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

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

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

.page-promotions__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

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

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

.page-promotions__promo-card .page-promotions__btn-secondary {
    align-self: flex-start;
    margin-top: auto;
}

/* Benefits Section */
.page-promotions__benefits {
    padding: 80px 0;
    text-align: center;
}

.page-promotions__benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
}

.page-promotions__benefit-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__benefit-heading {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-promotions__benefit-item p {
    color: var(--text-light);
    font-size: 1em;
}

/* How to Claim Section */
.page-promotions__how-to-claim {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.page-promotions__step-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__step-icon {
    font-size: 2.5em;
    color: var(--secondary-color);
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-promotions__step-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

.page-promotions__cta-bottom {
    text-align: center;
    margin-top: 40px;
}

/* Terms Section */
.page-promotions__terms {
    padding: 80px 0;
    text-align: center;
}

.page-promotions__terms .page-promotions__btn-secondary {
    margin-top: 30px;
}

/* FAQ Section */
.page-promotions__faq {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: #f0f0f0;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: 15px 25px;
}

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

/* Final CTA Section */
.page-promotions__cta-final {
    padding: 80px 0;
    text-align: center;
}

.page-promotions__cta-final .page-promotions__btn-primary {
    font-size: 1.2em;
    padding: 15px 35px;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 3em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__hero-content .page-promotions__btn-primary {
        font-size: 1em;
        padding: 12px 25px;
    }

    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__section-intro,
    .page-promotions__text-block {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-promotions__container,
    .page-promotions__promo-grid,
    .page-promotions__benefits-list,
    .page-promotions__steps-grid,
    .page-promotions__faq-list,
    .page-promotions__hero-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-promotions__card-image {
        height: 200px; /* Adjust height for mobile cards */
    }

    /* Buttons */
    .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__cta-bottom,
    .page-promotions__cta-final .page-promotions__btn-primary {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .page-promotions__cta-bottom .page-promotions__btn-primary {
        width: auto;
    }

    .page-promotions__promo-card,
    .page-promotions__benefit-item,
    .page-promotions__step-card,
    .page-promotions__faq-item {
        margin-bottom: 15px;
    }

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

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__step-icon {
        width: 60px;
        height: 60px;
        font-size: 2em;
    }
    .page-promotions__step-title {
        font-size: 1.3em;
    }
}