/* style/promotions.css */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #FFFFFF); /* Use shared background, default to white */
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-promotions__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: -1;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-promotions__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
}

.page-promotions__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

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

.page-promotions__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a7fb3;
    border-color: #1a7fb3;
}

.page-promotions__btn-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-promotions__btn-link:hover {
    color: #1a7fb3;
    text-decoration: underline;
}

/* General Section Styles */
.page-promotions__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-promotions__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-promotions__why-choose-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Dark background for this section */
    color: #FFFFFF;
}

.page-promotions__why-choose-section .page-promotions__section-title {
    color: #FFFFFF; /* White title on dark background */
}

.page-promotions__why-choose-section .page-promotions__section-description {
    color: #f0f0f0; /* Light description on dark background */
}

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

.page-promotions__feature-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark bg */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #FFFFFF;
}

.page-promotions__feature-item:hover {
    transform: translateY(-10px);
}

.page-promotions__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px; /* Ensure images are not tiny icons */
}

.page-promotions__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-promotions__feature-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Promotions Grid */
.page-promotions__types-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

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

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

.page-promotions__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

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

.page-promotions__promo-title {
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-promotions__promo-title a {
    color: #26A9E0;
    text-decoration: none;
}

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

.page-promotions__promo-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    padding: 80px 0;
    background-color: #eaf8ff; /* Light blue background */
}

.page-promotions__how-to-claim-section .page-promotions__section-title {
    color: #26A9E0;
}

.page-promotions__how-to-claim-section .page-promotions__section-description {
    color: #555555;
}

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

.page-promotions__step-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    color: #333333;
}

.page-promotions__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-promotions__step-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333333;
}

.page-promotions__step-text {
    font-size: 1em;
    color: #555555;
}

.page-promotions__step-text a {
    color: #EA7C07; /* Login color for register link */
    text-decoration: none;
    font-weight: bold;
}

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

/* Terms and Conditions Section */
.page-promotions__terms-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__terms-item {
    background-color: #f0f0f0;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.05em;
    color: #333333;
    line-height: 1.8;
}

.page-promotions__terms-item a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

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

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Brand color dark background */
    color: #FFFFFF;
}

.page-promotions__faq-section .page-promotions__section-title {
    color: #FFFFFF;
}

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

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark bg */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFFFFF;
}

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

.page-promotions__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.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;
}

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

.page-promotions__faq-answer p {
    margin-bottom: 0;
    color: #f0f0f0;
}

/* Call to Action Section */
.page-promotions__cta-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}

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

.page-promotions__cta-section .page-promotions__section-title {
    color: #26A9E0;
}

.page-promotions__cta-section .page-promotions__section-description {
    color: #555555;
    margin-bottom: 40px;
}

.page-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

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

@media (max-width: 768px) {
    .page-promotions__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header spacing */
    }

    .page-promotions__hero-title {
        font-size: 2.2em;
    }

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

    .page-promotions__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .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;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-promotions__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

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

    .page-promotions__feature-item,
    .page-promotions__promo-card,
    .page-promotions__step-item,
    .page-promotions__faq-item {
        margin-left: 0;
        margin-right: 0;
    }

    /* Images responsive */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Containers responsive */
    .page-promotions__container,
    .page-promotions__hero-section,
    .page-promotions__why-choose-section,
    .page-promotions__types-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__cta-section,
    .page-promotions__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    .page-promotions__promo-image {
        height: auto !important; /* Allow height to adjust for mobile */
    }
}