/* style/promo.css */
.page-promo {
    color: #ffffff; /* Light text on dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-promo__hero-section {
    position: relative;
    width: 100%;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

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

.page-promo__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-promo__hero-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold main color */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

/* Buttons */
.page-promo__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-promo__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #000080; /* Dark blue text */
    font-size: 1.1em;
}

.page-promo__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-promo__btn--secondary {
    background-color: #000080; /* Dark blue */
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
    font-size: 1em;
    padding: 10px 20px;
}

.page-promo__btn--secondary:hover {
    background-color: #000066;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-promo__btn--large {
    font-size: 1.3em;
    padding: 18px 35px;
}

/* Section Titles & Descriptions */
.page-promo__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
}

.page-promo__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
}

.page-promo__text-content {
    font-size: 1.05em;
    color: #e0e0e0;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promo__text-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-promo__text-link:hover {
    text-decoration: underline;
}

/* Overview Section */
.page-promo__overview-section {
    padding: 60px 0;
    background-color: rgba(0, 0, 0, 0.4); /* Slightly lighter dark background */
}

.page-promo__overview-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Featured Promotions Section */
.page-promo__featured-promos-section {
    padding: 80px 0;
}

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

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

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

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

.page-promo__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promo__card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promo__card-link {
    color: #FFD700;
    text-decoration: none;
}

.page-promo__card-link:hover {
    text-decoration: underline;
}

.page-promo__card-description {
    font-size: 0.95em;
    color: #cccccc;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* How to Claim Section */
.page-promo__how-to-claim-section {
    padding: 80px 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.page-promo__claim-steps {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promo__claim-step {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-left: 5px solid #FFD700;
}

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

.page-promo__step-description {
    font-size: 1em;
    color: #e0e0e0;
}

.page-promo__cta-button-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* Terms Section */
.page-promo__terms-section {
    padding: 80px 0;
}

.page-promo__terms-list {
    list-style: disc;
    color: #e0e0e0;
    margin-top: 30px;
    padding-left: 25px;
}

.page-promo__terms-item {
    margin-bottom: 10px;
    font-size: 1em;
}

.page-promo__terms-item strong {
    color: #FFD700;
}

/* Why Choose Section */
.page-promo__why-choose-section {
    padding: 80px 0;
    background-color: rgba(0, 0, 0, 0.4);
}

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

.page-promo__why-item {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-promo__why-description {
    font-size: 1em;
    color: #e0e0e0;
}

/* Bottom CTA Section */
.page-promo__cta-section-bottom {
    padding: 80px 0;
    background-color: #000080; /* Dark blue background for strong CTA */
    text-align: center;
}

.page-promo__cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.page-promo__cta-content {
    max-width: 800px;
}

.page-promo__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
}

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

.page-promo__cta-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* FAQ Section */
.page-promo__faq-section {
    padding: 80px 0;
}

.page-promo__faq-list {
    margin-top: 40px;
}

.page-promo__faq-item {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-promo__faq-question {
    font-size: 1.4em;
    color: #FFD700;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promo__faq-question::after {
    content: '+';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-promo__faq-item--active .page-promo__faq-question::after {
    transform: rotate(45deg);
}

.page-promo__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-promo__faq-item--active .page-promo__faq-answer {
    max-height: 300px; /* Adjust as needed */
    padding: 15px 25px 25px;
}

.page-promo__faq-answer p {
    color: #e0e0e0;
    font-size: 1em;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promo__hero-title {
        font-size: 2.8em;
    }
    .page-promo__section-title {
        font-size: 2.2em;
    }
    .page-promo__cta-title {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-promo__hero-section {
        min-height: 400px;
    }
    .page-promo__hero-content {
        padding: 30px;
    }
    .page-promo__hero-title {
        font-size: 2.2em;
    }
    .page-promo__hero-description {
        font-size: 1em;
    }
    .page-promo__btn--large {
        font-size: 1.1em;
        padding: 15px 30px;
    }
    .page-promo__section-title {
        font-size: 1.8em;
    }
    .page-promo__section-description {
        font-size: 0.9em;
    }
    .page-promo__text-content {
        font-size: 0.95em;
    }
    .page-promo__promo-cards-grid {
        grid-template-columns: 1fr;
    }
    .page-promo__claim-steps {
        grid-template-columns: 1fr;
    }
    .page-promo__why-list {
        grid-template-columns: 1fr;
    }
    .page-promo__cta-title {
        font-size: 2em;
    }
    .page-promo__cta-description {
        font-size: 1em;
    }
    .page-promo__cta-section-bottom .page-promo__cta-image {
        max-width: 400px;
    }
    /* Mobile image overflow prevention */
    .page-promo img {
        max-width: 100%;
        height: auto;
    }
    .page-promo__hero-image {
        max-width: 100%;
        height: auto;
    }
    .page-promo__overview-image {
        max-width: 100%;
        height: auto;
    }
    .page-promo__card-image {
        max-width: 100%;
        height: auto;
    }
    .page-promo__cta-image {
        max-width: 100%;
        height: auto;
    }
    .page-promo__hero-section {
        padding-top: var(--header-offset, 120px);
    }
    /* Ensure content area images are not smaller than 200px */
    .page-promo__overview-image,
    .page-promo__card-image,
    .page-promo__cta-image {
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-promo__hero-section {
        padding: 20px;
        min-height: 350px;
    }
    .page-promo__hero-content {
        padding: 20px;
    }
    .page-promo__hero-title {
        font-size: 1.8em;
    }
    .page-promo__hero-description {
        font-size: 0.9em;
    }
    .page-promo__btn--primary {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    .page-promo__section-title {
        font-size: 1.5em;
    }
    .page-promo__cta-title {
        font-size: 1.8em;
    }
    .page-promo__faq-question {
        font-size: 1.2em;
    }
}

/* Ensure no image filter is used */
.page-promo img {
    filter: none; /* Explicitly disable any potential filters */
}

/* Minimum size for content images */
.page-promo__overview-image,
.page-promo__card-image,
.page-promo__cta-image {
    min-width: 200px;
    min-height: 200px;
}