/* style/promotions.css */
:root {
    --primary-color: #007BFF;
    --secondary-color: #FFC107;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #002b5c; /* Slightly darker than primary for contrast */
    --border-color: #e0e0e0;
}

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

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

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

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

.page-promotions__section-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.page-promotions__section-title--light {
    color: var(--text-color-light);
}

.page-promotions__text-block {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}

.page-promotions__text-block--light {
    color: var(--text-color-light);
}

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

.page-promotions__center-text {
    text-align: center;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
}

.page-promotions__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-promotions__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.8); /* Slightly dim image for text readability */
}

.page-promotions__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    padding: 30px;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text contrast */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__main-title {
    font-size: 52px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 800;
}

.page-promotions__intro-text {
    font-size: 20px;
    color: var(--text-color-light);
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.7;
    font-weight: 300;
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--secondary-color);
    color: var(--text-color-dark);
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.4);
    border: none;
}

.page-promotions__cta-button:hover {
    background: #e0a800;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.6);
}

/* Overview Section */
.page-promotions__overview {
    background-color: var(--bg-light);
}

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

.page-promotions__feature-item {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--text-color-light);
}

.page-promotions__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__feature-icon {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-promotions__feature-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions__feature-description {
    font-size: 16px;
    color: var(--text-color-dark);
}

/* Featured Promotions Section */
.page-promotions__featured-promos {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

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

.page-promotions__promo-card {
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--text-color-light);
    color: var(--text-color-dark);
}

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

.page-promotions__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
}

.page-promotions__promo-content {
    padding: 25px;
}

.page-promotions__promo-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-promotions__promo-description {
    font-size: 16px;
    margin-bottom: 20px;
}

.page-promotions__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--text-color-dark);
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
}

.page-promotions__btn-primary:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    margin-left: 15px;
}

.page-promotions__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-color-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
}

.page-promotions__button-group {
    margin-top: 40px;
}

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

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

.page-promotions__step-item {
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background-color: var(--text-color-light);
    transition: transform 0.3s ease;
}

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

.page-promotions__step-icon {
    width: 100%;
    height: auto;
    max-width: 180px;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-promotions__step-description {
    font-size: 15px;
    color: #555;
}

.page-promotions__note {
    margin-top: 40px;
    font-size: 16px;
    color: #666;
}

/* Why Choose Section */
.page-promotions__why-choose {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

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

.page-promotions__why-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-color-light);
}

.page-promotions__list-icon {
    font-size: 24px;
    color: var(--secondary-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.page-promotions__list-strong {
    font-weight: 700;
    color: var(--text-color-light);
}

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

.page-promotions__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--text-color-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

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

.page-promotions__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-promotions__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

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

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
    padding: 0 25px;
    opacity: 0;
    text-align: left;
    background: #fefefe;
    color: #555;
    font-size: 16px;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
}

/* Final CTA Section */
.page-promotions__cta-final {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 44px;
    }
    .page-promotions__intro-text {
        font-size: 18px;
    }
    .page-promotions__section-title {
        font-size: 32px;
    }
    .page-promotions__promo-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__hero-content {
        width: 95%;
        padding: 20px;
    }
    .page-promotions__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-promotions__intro-text {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-promotions__cta-button {
        padding: 15px 30px;
        font-size: 18px;
        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: 40px 0;
    }
    .page-promotions__section-title {
        font-size: 28px;
    }
    .page-promotions__text-block {
        font-size: 16px;
        margin-bottom: 30px;
    }

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

    .page-promotions__feature-icon, 
    .page-promotions__step-icon {
        max-width: 150px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .page-promotions__btn-primary, 
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0;
        margin-bottom: 15px;
    }
    .page-promotions__button-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__button-group .page-promotions__btn-secondary {
        margin-left: 0;
    }

    .page-promotions__why-list {
        margin-top: 30px;
    }
    .page-promotions__why-list li {
        font-size: 16px;
    }
    .page-promotions__list-icon {
        font-size: 20px;
        margin-right: 10px;
    }

    .page-promotions__faq-question {
        padding: 15px 20px;
    }
    .page-promotions__faq-question h3 {
        font-size: 16px;
    }
    .page-promotions__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-promotions__faq-answer {
        padding: 0 20px;
        font-size: 15px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px 20px !important;
    }

    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: 28px;
    }
    .page-promotions__intro-text {
        font-size: 15px;
    }
    .page-promotions__section-title {
        font-size: 24px;
    }
    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
}