/* style/promo.css */

/* Base styles for the promo page */
.page-promo {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: #FFFFFF; /* Page background color */
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

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

.page-promo__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Hero Section */
.page-promo__hero-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0; /* Adjust padding as needed, padding-top handled by main */
    background-color: #000000; /* Dark background for hero to contrast with image */
    color: #FFFFFF;
    text-align: center;
}

.page-promo__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Slightly dim the background image */
    z-index: 1;
}

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

.page-promo__hero-content {
    position: relative;
    z-index: 2;
}

.page-promo__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
    font-weight: bold;
    line-height: 1.2;
}

.page-promo__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #FFFFFF;
    line-height: 1.5;
}

.page-promo__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-promo__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    min-width: 200px;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-promo__button--register {
    background-color: #FFFFFF; /* Custom color */
    color: #000000; /* Text color for register button */
}

.page-promo__button--register:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.page-promo__button--login {
    background-color: #FCBC45; /* Custom color */
    color: #000000; /* Text color for login button */
}

.page-promo__button--login:hover {
    background-color: #e6a735;
    transform: translateY(-2px);
}

/* Featured Promotions Section */
.page-promo__featured-promotions {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

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

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

.page-promo__promo-image {
    width: 100%;
    height: 250px; /* Ensure images are not too small */
    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.8em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-promo__button--claim,
.page-promo__button--details {
    margin-top: 10px;
    background-color: #FCBC45;
    color: #000000;
    border: 1px solid #FCBC45;
    width: 100%;
    box-sizing: border-box;
    font-size: 0.95em;
    padding: 12px 20px;
}

.page-promo__button--details {
    background-color: #FFFFFF;
    color: #000000;
    border: 1px solid #000000;
}
.page-promo__button--details:hover {
    background-color: #FCBC45;
    border-color: #FCBC45;
    color: #000000;
}

/* Why Choose EEJL Section */
.page-promo__why-choose-eejl {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-promo__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-promo__feature-item {
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promo__feature-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* How to Claim Section */
.page-promo__how-to-claim {
    padding: 80px 0;
    background-color: #000000; /* Dark background */
    color: #FFFFFF;
}

.page-promo__how-to-claim .page-promo__section-title {
    color: #FCBC45; /* Emphasize title */
}

.page-promo__how-to-claim .page-promo__section-description {
    color: #e0e0e0;
}

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

.page-promo__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: background-color 0.3s ease;
}

.page-promo__step-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-promo__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #FCBC45;
    color: #000000;
    border-radius: 50%;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promo__step-title {
    font-size: 1.8em;
    color: #FFFFFF;
    margin-bottom: 15px;
    font-weight: bold;
}

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

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

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

.page-promo__how-to-claim-cta {
    text-align: center;
    margin-top: 60px;
}

.page-promo__button--large {
    padding: 18px 40px;
    font-size: 1.2em;
    min-width: 250px;
}

/* Related Details Section */
.page-promo__related-details {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.page-promo__detail-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promo__detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.page-promo__detail-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promo__detail-title a {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease;
}

.page-promo__detail-title a:hover {
    color: #FCBC45;
}

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

.page-promo__button--view-details {
    background-color: #FCBC45;
    color: #000000;
    border: 1px solid #FCBC45;
    width: 100%;
    box-sizing: border-box;
    font-size: 0.95em;
    padding: 12px 20px;
}

.page-promo__button--view-details:hover {
    background-color: #e6a735;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-promo__faq {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-promo__faq-item {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promo__faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.page-promo__faq-question {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promo__faq-answer {
    font-size: 1em;
    color: #555555;
}

/* Final CTA Section */
.page-promo__cta-final {
    padding: 80px 0;
    background-color: #000000; /* Dark background */
    color: #FFFFFF;
    text-align: center;
}

.page-promo__cta-final .page-promo__section-title {
    color: #FCBC45;
}

.page-promo__cta-final .page-promo__section-description {
    color: #e0e0e0;
}

.page-promo__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

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

@media (max-width: 768px) {
    .page-promo {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    }
    .page-promo__hero-section {
        padding: 60px 0;
    }
    .page-promo__hero-title {
        font-size: 2.5em;
    }
    .page-promo__hero-description {
        font-size: 1.1em;
    }
    .page-promo__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-promo__button {
        width: 100%;
        min-width: unset;
    }
    .page-promo__section-title {
        font-size: 1.8em;
    }
    .page-promo__section-description {
        font-size: 1em;
    }
    .page-promo__promo-image {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto; /* Maintain aspect ratio */
        min-height: 200px; /* Minimum height for cards */
    }
    .page-promo__promo-card {
        max-width: 100%;
    }
    .page-promo__how-to-claim .page-promo__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }
    .page-promo__button--large {
        width: 100%;
    }
    /* Ensure all images in content area are responsive and not too small */
    .page-promo img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum width */
        min-height: 200px; /* Enforce minimum height */
        object-fit: cover; /* Maintain aspect ratio and cover area */
    }
    .page-promo__promo-image,
    .page-promo__hero-image {
        min-width: unset; /* Allow hero image to be full width */
        min-height: unset; /* Allow hero image to be full height */
    }
}

@media (max-width: 480px) {
    .page-promo__hero-title {
        font-size: 2em;
    }
    .page-promo__hero-description {
        font-size: 0.95em;
    }
    .page-promo__section-title {
        font-size: 1.5em;
    }
    .page-promo__card-title,
    .page-promo__feature-title,
    .page-promo__step-title,
    .page-promo__detail-title,
    .page-promo__faq-question {
        font-size: 1.3em;
    }
}