/* style/promo.css */

/* Base styles for the promotions page */
.page-promo {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-promo__container--centered {
    text-align: center;
}

/* Hero Section */
.page-promo__hero-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background-color: #000080; /* Auxiliary color for a rich background */
    color: #ffffff;
    text-align: center;
}

.page-promo__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Slightly transparent to let content stand out */
    z-index: 1;
}

.page-promo__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-promo__main-heading {
    font-size: 3.2em;
    color: #FFD700; /* Gold for prominence */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promo__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promo__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #000080; /* Dark blue text for contrast */
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-promo__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

/* General Section Styling */
.page-promo__promotions-overview,
.page-promo__how-to-claim,
.page-promo__featured-promotions,
.page-promo__terms-conditions,
.page-promo__faq,
.page-promo__final-cta {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-promo__promotions-overview,
.page-promo__featured-promotions,
.page-promo__faq {
    background-color: #ffffff;
}

.page-promo__section-title {
    font-size: 2.5em;
    color: #000080; /* Auxiliary color for titles */
    text-align: center;
    margin-bottom: 20px;
}

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

/* Promo Grid */
.page-promo__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

.page-promo__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-promo__card-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 3px solid #FFD700;
}

.page-promo__card-title {
    font-size: 1.5em;
    color: #000080;
    padding: 15px 20px 10px;
}

.page-promo__card-description {
    padding: 0 20px 15px;
    color: #555555;
    flex-grow: 1;
}

.page-promo__card-button {
    display: block;
    background-color: #000080; /* Dark blue button */
    color: #FFD700; /* Gold text */
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-radius: 0 0 10px 10px;
}

.page-promo__card-button:hover {
    background-color: #000066;
}

/* How to Claim Section */
.page-promo__claim-steps {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    counter-reset: step-counter;
}

.page-promo__step-item {
    background-color: #f0f8ff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    padding-left: 70px; /* Space for counter */
}

.page-promo__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 25px;
    background-color: #FFD700;
    color: #000080;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3em;
}

.page-promo__step-title {
    font-size: 1.4em;
    color: #000080;
    margin-bottom: 10px;
}

.page-promo__step-description a {
    color: #000080;
    text-decoration: underline;
}

.page-promo__step-description a:hover {
    color: #FFD700;
}

.page-promo__bottom-cta-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0 auto;
    background-color: #FFD700;
    color: #000080;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-promo__bottom-cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* Featured Promotions List */
.page-promo__promo-list {
    display: grid;
    gap: 30px;
}

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

.page-promo__list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-promo__list-image {
    width: 300px; /* Fixed width for list image */
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
    border-right: 3px solid #FFD700;
}

.page-promo__list-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-promo__list-title {
    font-size: 1.6em;
    color: #000080;
    margin-bottom: 10px;
}

.page-promo__list-title a {
    color: #000080;
    text-decoration: none;
}

.page-promo__list-title a:hover {
    color: #FFD700;
}

.page-promo__list-description {
    color: #555555;
    margin-bottom: 15px;
}

.page-promo__list-button {
    display: inline-block;
    background-color: #FFD700;
    color: #000080;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-promo__list-button:hover {
    background-color: #e6c200;
}

/* Terms & Conditions Section */
.page-promo__terms-content {
    background-color: #f0f8ff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-promo__terms-subtitle {
    font-size: 1.6em;
    color: #000080;
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-promo__terms-list {
    list-style: disc inside;
    padding-left: 20px;
    color: #555555;
    margin-bottom: 20px;
}

.page-promo__terms-item {
    margin-bottom: 10px;
}

.page-promo__terms-text {
    color: #555555;
    margin-bottom: 20px;
}

.page-promo__terms-link {
    display: inline-block;
    margin-top: 20px;
    color: #000080;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-promo__terms-link:hover {
    color: #FFD700;
}

/* FAQ Section */
.page-promo__faq-item {
    background-color: #f0f8ff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promo__faq-question {
    font-size: 1.3em;
    color: #000080;
    margin-bottom: 10px;
}

.page-promo__faq-answer {
    color: #555555;
}

/* Final CTA Section */
.page-promo__final-cta {
    background-color: #000080; /* Dark blue background */
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.page-promo__final-cta .page-promo__section-title {
    color: #FFD700; /* Gold title */
}

.page-promo__final-cta .page-promo__section-description {
    color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-promo__main-heading {
        font-size: 2.5em;
    }
    .page-promo__hero-description {
        font-size: 1.1em;
    }
    .page-promo__list-item {
        flex-direction: column;
    }
    .page-promo__list-image {
        width: 100%;
        height: 250px;
        border-right: none;
        border-bottom: 3px solid #FFD700;
    }
}

@media (max-width: 768px) {
    .page-promo__hero-section {
        padding: 60px 0;
    }
    .page-promo__main-heading {
        font-size: 2em;
    }
    .page-promo__section-title {
        font-size: 2em;
    }
    .page-promo__promo-grid,
    .page-promo__claim-steps {
        grid-template-columns: 1fr;
    }
    .page-promo__list-item {
        flex-direction: column;
    }
    .page-promo__list-image {
        width: 100%;
        height: 200px;
    }
    .page-promo__promo-card,
    .page-promo__list-item,
    .page-promo__step-item,
    .page-promo__terms-content,
    .page-promo__faq-item {
        margin: 0 10px;
    }

    /* Ensure content images do not overflow on mobile */
    .page-promo img {
        max-width: 100%;
        height: auto;
    }
    .page-promo__hero-image,
    .page-promo__card-image,
    .page-promo__list-image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-promo__main-heading {
        font-size: 1.8em;
    }
    .page-promo__hero-description {
        font-size: 1em;
    }
    .page-promo__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promo__section-title {
        font-size: 1.8em;
    }
    .page-promo__section-description {
        font-size: 0.95em;
    }
    .page-promo__list-image {
        height: 180px;
    }
}