/**
 * Page Sections - Football IQ Score
 * Styles for homepage sections (hero, wonderlic, stats)
 */

/* ===================================
   HERO SECTION (Quiz CTAs)
   =================================== */

.home-ctas {
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.home-bg {
    background: #f6f6f6 url('/assets/images/bg-for-web.jpg') center center no-repeat;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.home-ctas .container {
    position: relative;
    z-index: 1;
}

.home-ctas h1 {
    text-align: center;
    font-size: 14px;
    line-height: 28px;
    color: #fff;
    font-weight: 100;
    font-family: 'redzone', sans-serif;
    text-shadow: 2px 2px 7px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.5rem;
}

.quiz-cta-container {
    display: flex;
    justify-content: space-between;
    padding: 2.5rem 1rem 2rem;
    gap: 2rem;
}

.ad-container {
    flex: 0 0 336px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.disclaimer {
    position: relative;
    text-align: center;
    color: #fff;
    font-size: 10px;
    margin-top: 1.5rem;
    z-index: 1;
}

.leaderboard-ad {
    position: relative;
    z-index: 1;
    max-width: 970px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===================================
   WONDERLIC SECTION
   =================================== */

.about-the-test {
    border-top: 5px solid #fff;
    background: url('/assets/images/grass-pattern-sm.jpg') top left repeat;
    padding: 5rem 2rem;
    position: relative;
}

.about-the-test__content {
    background: rgba(0, 0, 0, 0.6);
    padding: 4rem 6rem;
    text-align: center;
    max-width: 970px;
    margin: 0 auto;
}

.about-the-test__content h2 {
    font-family: 'colleged', Georgia, serif;
    color: #fff;
    font-size: 52px;
    text-align: center;
    margin-bottom: 2.5rem;
    margin-top: 0;
    font-weight: normal;
}

.about-the-test__content p {
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ===================================
   STATS SECTION
   =================================== */

.stats {
    padding: 5rem 2rem;
    background: url('/assets/images/stats-bg.jpg') center center no-repeat;
    background-size: cover;
    border-top: 5px solid #fff;
    position: relative;
}

.stats__content {
    color: #fff;
    max-width: 970px;
    margin: 0 auto;
    padding: 0 15px;
}

.stats__content h3 {
    font-family: 'colleged', Georgia, serif;
    font-size: 32px;
    margin-top: 4rem;
    font-weight: normal;
}

.stats__content h3:first-of-type {
    margin-top: 0;
}

.stats__content p {
    font-size: 15px;
    line-height: 1.6;
    margin: 1rem 0;
}

.stats__content em {
    font-style: italic;
}

/* ===================================
   RESPONSIVE ADJUSTMENTS
   =================================== */

@media (max-width: 991px) {
    /* Hero Mobile */
    .quiz-cta-container {
        flex-wrap: wrap;
    }

    .quiz-cta:first-of-type {
        order: 2;
    }

    .quiz-cta:last-of-type {
        order: 3;
    }

    .ad-container {
        order: 1;
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }

    /* Wonderlic Mobile */
    .about-the-test {
        padding: 4rem 1rem;
    }

    .about-the-test__content {
        padding: 4rem 2rem;
    }

    .about-the-test__content h2 {
        font-size: 32px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    /* Stats Mobile */
    .stats {
        padding: 4rem 1rem;
    }

    .stats__content h3 {
        font-size: 24px;
        margin-top: 4rem;
    }

    .stats__content h3:first-of-type {
        margin-top: 0;
    }

    .stats__content p {
        font-size: 14px;
    }

    /* Wonderlic Mobile */
    .about-the-test__content {
        padding: 3rem 1.5rem;
    }

    .about-the-test__content p {
        font-size: 14px;
    }
}

@media (max-width: 615px) {
    /* Hero Mobile */
    .home-ctas {
        padding: 4rem 1rem;
    }

    .quiz-cta-container {
        padding: 2rem 0;
    }
}
