/* style/promo.css */
.page-promo {
    padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
    background-color: #f8f8f8; /* Light background for readability */
    color: #333333;
}

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

.page-promo__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff; /* White text on dark/rich background */
    text-align: center;
    padding: 0;
}

.page-promo__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.6); /* Darken image slightly for text contrast */
}

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

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

.page-promo__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-promo__hero-button,
.page-promo__main-cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #8B0000; /* Maroon text on gold button */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #FFD700;
}

.page-promo__hero-button:hover,
.page-promo__main-cta-button:hover {
    background-color: #e0b800; /* Darker gold on hover */
    transform: translateY(-3px);
}

.page-promo__section-title {
    font-size: 2.5em;
    color: #8B0000; /* Maroon for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-promo__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-promo__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promo__featured-promos-section {
    background-color: #ffffff;
    padding: 60px 0;
}

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

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

.page-promo__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

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

.page-promo__card-title {
    font-size: 1.6em;
    color: #8B0000; /* Maroon for card titles */
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promo__card-title a {
    color: #8B0000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promo__card-title a:hover {
    color: #FFD700; /* Gold on hover */
}

.page-promo__card-description {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promo__card-button {
    display: inline-block;
    background-color: #8B0000; /* Maroon button */
    color: #ffffff; /* White text on maroon button */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.page-promo__card-button:hover {
    background-color: #a30000; /* Darker maroon on hover */
}

.page-promo__how-to-claim-section {
    padding: 60px 0;
    background-color: #f0f0f0;
}

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

.page-promo__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

.page-promo__step-item::before {
    content: attr(data-step);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFD700;
    color: #8B0000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    border: 3px solid #8B0000;
}

.page-promo__step-item:nth-child(1)::before { content: '1'; }
.page-promo__step-item:nth-child(2)::before { content: '2'; }
.page-promo__step-item:nth-child(3)::before { content: '3'; }
.page-promo__step-item:nth-child(4)::before { content: '4'; }
.page-promo__step-item:nth-child(5)::before { content: '5'; }

.page-promo__step-title {
    font-size: 1.4em;
    color: #8B0000;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-promo__step-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #555555;
}

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

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

.page-promo__terms-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-promo__term-item {
    background-color: #fefefe;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    border-left: 5px solid #FFD700;
}

.page-promo__term-title {
    font-size: 1.5em;
    color: #8B0000;
    margin-bottom: 10px;
}

.page-promo__term-description {
    font-size: 1em;
    line-height: 1.7;
    color: #555555;
}

.page-promo__why-ph4444-section {
    padding: 60px 0;
    background-color: #f0f0f0;
}

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

.page-promo__why-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 5px solid #8B0000;
    transition: border-bottom-color 0.3s ease;
}

.page-promo__why-item:hover {
    border-bottom-color: #FFD700;
}

.page-promo__why-title {
    font-size: 1.5em;
    color: #8B0000;
    margin-bottom: 10px;
}

.page-promo__why-description {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

.page-promo__faq-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-promo__faq-item {
    background-color: #fefefe;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promo__faq-question {
    font-size: 1.3em;
    color: #8B0000;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-promo__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-promo__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-promo__faq-answer {
    font-size: 1em;
    line-height: 1.7;
    color: #555555;
    margin-top: 15px;
    display: none; /* Hidden by default, toggled by JS */
}

.page-promo__call-to-action-section {
    background-color: #8B0000; /* Maroon background for CTA */
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
}

.page-promo__call-to-action-section .page-promo__section-title {
    color: #FFD700; /* Gold title on maroon background */
}

.page-promo__call-to-action-section .page-promo__section-title::after {
    background-color: #ffffff;
}

.page-promo__call-to-action-section .page-promo__text-block {
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promo__hero-title {
        font-size: 3em;
    }
    .page-promo__hero-description {
        font-size: 1.1em;
    }
    .page-promo__section-title {
        font-size: 2em;
    }
    .page-promo__promo-card {
        height: auto;
    }
    .page-promo__card-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-promo__hero-title {
        font-size: 2.5em;
    }
    .page-promo__hero-description {
        font-size: 1em;
    }
    .page-promo__hero-content {
        padding: 30px 15px;
    }
    .page-promo__hero-button,
    .page-promo__main-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promo__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-promo__text-block {
        font-size: 0.95em;
    }
    .page-promo__promo-grid,
    .page-promo__claim-steps,
    .page-promo__terms-grid,
    .page-promo__why-list {
        grid-template-columns: 1fr;
    }
    .page-promo__card-image {
        height: 220px; /* Ensure content images are not too small */
        max-width: 100%;
    }
    .page-promo__promo-card img, 
    .page-promo__how-to-claim-section img, 
    .page-promo__terms-section img, 
    .page-promo__why-ph4444-section img, 
    .page-promo__faq-section img, 
    .page-promo__call-to-action-section img {
        max-width: 100%;
        height: auto;
    }
    /* Ensure no images in content area cause horizontal scroll */
    .page-promo img {
        max-width: 100%;
        height: auto;
    }
    .page-promo__faq-question {
        font-size: 1.1em;
    }
    .page-promo__faq-answer {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-promo__hero-title {
        font-size: 2em;
    }
    .page-promo__hero-description {
        font-size: 0.9em;
    }
    .page-promo__hero-content {
        padding: 20px 10px;
    }
    .page-promo__section-title {
        font-size: 1.5em;
    }
    .page-promo__card-title {
        font-size: 1.4em;
    }
    .page-promo__step-title {
        font-size: 1.2em;
    }
    .page-promo__term-title {
        font-size: 1.3em;
    }
    .page-promo__why-title {
        font-size: 1.3em;
    }
}