/* style/promo.css */

/* Ensure the main content area has proper top padding to clear the fixed header */
.page-promo {
    color: #333333; /* Dark text on light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
    padding-top: var(--header-offset, 120px); /* Desktop padding to clear fixed header */
    background-color: #FFFFFF; /* Explicitly set for content area if needed, but body is already white */
}

/* Hero Section */
.page-promo__hero-section {
    position: relative;
    overflow: hidden;
    padding: 0; /* No padding here, content inside container */
    text-align: center;
    min-height: 500px; /* Minimum height for hero */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-promo__hero-container {
    position: relative;
    width: 100%;
    max-width: 1920px; /* Max width for hero content */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.page-promo__hero-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF; /* White text on dark hero image */
    padding: 60px 20px;
    max-width: 900px;
}

.page-promo__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FCBC45; /* Accent color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promo__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* General button style */
.page-promo__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
    min-width: 200px; /* Ensure buttons are not too small */
}

.page-promo__button--register {
    background-color: #FCBC45; /* Login color for register button */
    color: #000000; /* Dark text on light button */
    border: 2px solid #FCBC45;
}

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

.page-promo__button--login {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

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

/* Content Area */
.page-promo__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 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;
    color: #555555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
}

/* Promotions Grid */
.page-promo__overview-section {
    background-color: #f8f8f8;
    padding: 60px 0;
}

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

.page-promo__promo-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 500px; /* Minimum height for cards */
}

.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; /* Fixed height for consistent card images */
    object-fit: cover;
    display: block;
}

.page-promo__card-title {
    font-size: 1.6em;
    color: #000000;
    padding: 20px 25px 10px;
    font-weight: bold;
}

.page-promo__card-text {
    font-size: 1em;
    color: #666666;
    padding: 0 25px 20px;
    flex-grow: 1; /* Allows text to take up available space */
}

.page-promo__button--card {
    background-color: #FCBC45;
    color: #000000;
    border: none;
    width: calc(100% - 50px); /* Adjust width for padding */
    margin: 0 25px 25px;
    padding: 12px 20px;
    font-size: 1em;
    border: 2px solid #FCBC45;
}

.page-promo__button--card:hover {
    background-color: #FFD700;
}

/* How to Claim Section */
.page-promo__how-to-claim-section {
    padding: 60px 0;
}

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

.page-promo__step-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promo__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #000000; /* Main color for step numbers */
    color: #FFFFFF;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    border: 3px solid #FCBC45; /* Accent border */
}

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

.page-promo__step-text {
    font-size: 1em;
    color: #666666;
    line-height: 1.7;
}

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

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

/* Why Choose Section */
.page-promo__why-choose-section {
    background-color: #000000; /* Dark background */
    padding: 60px 0;
    color: #FFFFFF;
}

.page-promo__why-choose-section .page-promo__section-title {
    color: #FCBC45; /* Accent color on dark background */
}

.page-promo__why-choose-section .page-promo__section-description {
    color: #e0e0e0;
}

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

.page-promo__feature-card {
    background-color: #1a1a1a; /* Slightly lighter dark for card background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promo__feature-icon {
    width: 250px; 
    height: 200px; /* Adjusted to be >= 200px */
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promo__feature-title {
    font-size: 1.8em;
    color: #FCBC45; /* Accent color for titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promo__feature-text {
    font-size: 1em;
    color: #cccccc;
    line-height: 1.7;
}

/* FAQ Section */
.page-promo__faq-section {
    padding: 60px 0;
    background-color: #f0f0f0;
}

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

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

.page-promo__faq-question {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    font-weight: bold;
}

.page-promo__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #FCBC45;
}

/* For active FAQ item, could change to '-' */
/* .page-promo__faq-question.active::after {
    content: '-';
} */

.page-promo__faq-answer {
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
    /* display: none; */ /* Initially hidden, can be toggled by JS */
}

/* Call to Action Section */
.page-promo__cta-section {
    padding: 80px 0;
    background-color: #000000; /* Dark background */
    text-align: center;
    color: #FFFFFF;
}

.page-promo__cta-section .page-promo__section-title {
    color: #FCBC45;
    margin-bottom: 30px;
}

.page-promo__cta-section .page-promo__section-description {
    color: #e0e0e0;
    margin-bottom: 40px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promo__hero-title {
        font-size: 2.8em;
    }
    .page-promo__hero-description {
        font-size: 1.2em;
    }
    .page-promo__section-title {
        font-size: 2em;
    }
    .page-promo__card-title, .page-promo__step-title, .page-promo__feature-title {
        font-size: 1.5em;
    }
    .page-promo__promo-card, .page-promo__step-card, .page-promo__feature-card {
        min-height: auto; /* Allow height to adjust on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-promo {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-promo__hero-section {
        min-height: 400px;
        padding: 40px 15px;
    }
    .page-promo__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-promo__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-promo__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-promo__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-promo__button--card {
        width: calc(100% - 40px);
        margin: 0 20px 20px;
    }
    .page-promo__container {
        padding: 30px 15px;
    }
    .page-promo__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-promo__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-promo__promo-grid,
    .page-promo__steps-grid,
    .page-promo__features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-promo__promo-image {
        height: 200px;
    }
    .page-promo__card-title {
        font-size: 1.4em;
        padding: 15px 20px 8px;
    }
    .page-promo__card-text {
        padding: 0 20px 15px;
    }
    .page-promo__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }
    .page-promo__step-title {
        font-size: 1.5em;
    }
    .page-promo__feature-icon {
        width: 200px;
        height: 200px; /* Ensure mobile icons are also >= 200px */
    }
    .page-promo__feature-title {
        font-size: 1.5em;
    }
    .page-promo__faq-question {
        font-size: 1.2em;
    }
    .page-promo__cta-section {
        padding: 50px 0;
    }
    .page-promo__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-promo__button--large {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Mobile content image constraint */
    .page-promo img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure all images within .page-promo are at least 200px wide in desktop view */
/* This rule targets all img elements that are direct children or descendants of .page-promo. */
/* It ensures that no image in the content area is styled to be smaller than 200px. */
/* Hero image is handled by its own rules, but this ensures general content images comply. */
.page-promo img:not(.page-promo__hero-image) { /* Exclude hero image as it has specific full width handling */
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 200px; /* Enforce minimum height for content images */
    object-fit: cover; /* Maintain aspect ratio and fill space */
}

/* Overrides for specific elements, ensuring they still meet the 200px minimum */
.page-promo__feature-icon {
    width: 250px;
    height: 200px; /* Adjusted to be >= 200px */
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}