/* style/promo.css */

/* Base styles for the promo page content */
.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); /* Account for fixed header on desktop */
}

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

/* Hero Section */
.page-promo__hero-section {
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a; /* Dark background for hero content over image */
    color: #ffffff; /* Light text for dark background */
    padding-bottom: 60px; /* Space below content before next section */
    text-align: center;
}

.page-promo__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the hero section area */
    z-index: 0; /* Behind text content */
    opacity: 0.3; /* Make it subtle */
}

.page-promo__hero-container {
    position: relative;
    z-index: 1; /* Above the image */
    max-width: 900px; /* Constrain hero content width */
    margin: 0 auto;
    padding: 80px 20px; /* Padding for hero content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has a minimum height */
}

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

.page-promo__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    color: #f0f0f0;
}

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

/* General Section Styling */
.page-promo__section {
    padding: 60px 0;
    background-color: #ffffff; /* Default light background for sections */
}

.page-promo__section:nth-of-type(even) {
    background-color: #f9f9f9; /* Alternate background for readability */
}

.page-promo__section-title {
    font-size: 2.5em;
    color: #1E90FF; /* Secondary royal blue color */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Buttons */
.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.2s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap; /* Prevent text wrapping */
}

.page-promo__button--primary {
    background-color: #FFD700; /* Primary gold */
    color: #1a1a1a; /* Dark text for gold button */
    border: 2px solid #FFD700;
}

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

.page-promo__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Primary gold text */
    border: 2px solid #FFD700;
}

.page-promo__button--secondary:hover {
    background-color: #FFD700;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.page-promo__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 6px;
    background-color: #1E90FF; /* Secondary blue */
    color: #ffffff;
    border: 2px solid #1E90FF;
}

.page-promo__button--small:hover {
    background-color: #1565b3;
    border-color: #1565b3;
    transform: translateY(-1px);
}

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

.page-promo__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-promo__feature-item:hover {
    transform: translateY(-5px);
}

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

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

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

.page-promo__promo-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 25px 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(-7px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.page-promo__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for promo images */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Ensure image is not too small */
    min-height: 200px; /* Ensure image is not too small */
}

.page-promo__promo-card-title {
    font-size: 1.6em;
    color: #1E90FF;
    padding: 20px 20px 10px 20px;
    font-weight: bold;
}

.page-promo__promo-card-title a {
    color: inherit; /* Maintain blue color */
    text-decoration: none;
}

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

.page-promo__promo-card-description {
    font-size: 0.95em;
    color: #666666;
    padding: 0 20px 20px 20px;
    flex-grow: 1; /* Allows description to take available space */
}

.page-promo__promo-card .page-promo__button--small {
    margin: 0 20px 20px 20px;
    align-self: flex-start; /* Align button to start */
    width: auto;
}

/* How to Claim Steps */
.page-promo__claim-steps {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promo__claim-step-item {
    background-color: #ffffff;
    border-left: 5px solid #FFD700;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-promo__claim-step-item:hover {
    transform: translateX(5px);
}

.page-promo__claim-step-title {
    font-size: 1.5em;
    color: #1E90FF;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promo__claim-step-text {
    color: #555555;
}

.page-promo__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Terms and Conditions List */
.page-promo__terms-list {
    list-style: disc;
    padding-left: 25px;
    max-width: 900px;
    margin: 40px auto 0 auto;
    color: #555555;
}

.page-promo__terms-item {
    margin-bottom: 15px;
    line-height: 1.8;
}

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

/* FAQ Accordion */
.page-promo__faq-accordion {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-promo__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promo__faq-question {
    font-size: 1.3em;
    color: #1E90FF;
    padding: 20px 25px;
    cursor: pointer;
    position: relative;
    margin: 0;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-promo__faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-promo__faq-item.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.5s ease-out, padding 0.5s ease-out;
    color: #555555;
}

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

/* Final Call to Action */
.page-promo__section--final-cta {
    background-color: #1E90FF; /* Secondary blue background */
    color: #ffffff; /* Light text */
    text-align: center;
}

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

.page-promo__section--final-cta .page-promo__section-intro {
    color: #f0f0f0;
}

.page-promo__section--final-cta .page-promo__button--primary {
    background-color: #FFD700;
    color: #1a1a1a;
    border-color: #FFD700;
}

.page-promo__section--final-cta .page-promo__button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-promo__section--final-cta .page-promo__button--secondary {
    background-color: transparent;
    color: #ffffff; /* White text for blue background */
    border-color: #ffffff;
}

.page-promo__section--final-cta .page-promo__button--secondary:hover {
    background-color: #ffffff;
    color: #1E90FF;
}

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

@media (max-width: 768px) {
    .page-promo {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    }
    .page-promo__hero-container {
        padding: 60px 15px;
        min-height: 400px;
    }
    .page-promo__hero-title {
        font-size: 2.2em;
    }
    .page-promo__hero-description {
        font-size: 1em;
    }
    .page-promo__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-promo__button {
        width: 100%;
        max-width: 300px;
    }
    .page-promo__section {
        padding: 40px 0;
    }
    .page-promo__section-title {
        font-size: 1.8em;
    }
    .page-promo__section-intro {
        margin-bottom: 30px;
    }
    .page-promo__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-promo__feature-grid {
        grid-template-columns: 1fr;
    }
    .page-promo__promo-image {
        height: 200px; /* Adjust height for mobile */
        max-width: 100%; /* Mobile image responsiveness */
        height: auto; /* Maintain aspect ratio */
    }
    /* Ensure all content area images are responsive and not too small */
    .page-promo img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum width even on mobile */
        min-height: 200px; /* Enforce minimum height even on mobile */
        object-fit: cover; /* Ensure images fill their space nicely */
    }
    /* Specific override for hero image if needed to ensure it covers */
    .page-promo__hero-image {
        min-width: unset; /* Allow hero image to expand beyond 200px for full cover */
        min-height: unset;
        width: 100%;
        height: 100%;
    }
    .page-promo__faq-item.page-promo__faq-item--active .page-promo__faq-answer {
        max-height: 300px; /* Adjust for more content on mobile */
    }
}

@media (max-width: 480px) {
    .page-promo__hero-title {
        font-size: 1.8em;
    }
    .page-promo__section-title {
        font-size: 1.5em;
    }
    .page-promo__faq-question {
        font-size: 1.1em;
    }
    .page-promo__promo-card-title {
        font-size: 1.4em;
    }
}