/* =========================================================
   THE TRUTH SERIES
   mykindlebooks.net/the-truth/
   style.css
   ========================================================= */

/* ---------- RESET ---------- */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

:root {
    --navy: #101b2b;
    --navy-light: #1b2b42;
    --navy-soft: #243954;
    --gold: #c6a15b;
    --gold-light: #e1c382;
    --cream: #f7f3e9;
    --paper: #fffdf8;
    --white: #ffffff;
    --text: #252525;
    --muted: #666666;
    --border: #ded7c8;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
    --max-width: 1180px;
    --reading-width: 820px;
}


/* ---------- BASE ---------- */

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    font-size: 17px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #73571f;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p {
    margin-bottom: 1.25rem;
}

ul,
ol {
    margin: 0 0 1.5rem 1.5rem;
}

li {
    margin-bottom: 0.55rem;
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--navy);
    line-height: 1.25;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
}

h2 {
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

strong {
    color: #111;
}


/* ---------- CONTAINERS ---------- */

.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}

.reading-width {
    width: min(92%, var(--reading-width));
    margin: 0 auto;
}

.section {
    padding: 70px 0;
}

.section-white {
    background: var(--paper);
}

.section-dark {
    background: var(--navy);
    color: var(--white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--gold-light);
}


/* ---------- HEADER ---------- */

.site-header {
    background: var(--navy);
    color: var(--white);
    border-bottom: 3px solid var(--gold);
}

.header-inner {
    width: min(94%, var(--max-width));
    margin: 0 auto;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.site-logo {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--white);
    font-weight: bold;
    font-size: 1.35rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.site-logo span {
    color: var(--gold-light);
}

.site-logo:hover {
    text-decoration: none;
}


/* ---------- NAVIGATION ---------- */

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #f5f5f5;
    font-size: 0.95rem;
    font-weight: bold;
}

.main-nav a:hover {
    color: var(--gold-light);
    text-decoration: none;
}


/* ---------- HERO ---------- */

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(10, 20, 34, 0.98),
            rgba(28, 45, 67, 0.94)
        );
    color: var(--white);
    padding: 90px 0;
}

.hero-inner {
    width: min(92%, var(--max-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 55px;
    align-items: center;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.hero .eyebrow {
    display: inline-block;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--gold-light);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: 22px;
}

.hero p {
    color: #ececec;
    font-size: 1.08rem;
    max-width: 720px;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-height: 520px;
    width: auto;
    border-radius: 5px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.38);
}


/* ---------- BUTTONS ---------- */

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold);
    color: #111;
}

.btn-gold:hover {
    background: var(--gold-light);
}

.btn-light {
    background: var(--white);
    color: var(--navy);
}

.btn-outline {
    border: 2px solid var(--gold-light);
    color: var(--gold-light);
}

.btn-outline:hover {
    background: var(--gold-light);
    color: var(--navy);
}


/* ---------- PROMOTION BANNER ---------- */

.promo-banner {
    background: #efe3c3;
    border-top: 1px solid #d5bd82;
    border-bottom: 1px solid #d5bd82;
    padding: 18px 20px;
    text-align: center;
}

.promo-banner strong {
    color: var(--navy);
}

.promo-banner a {
    font-weight: bold;
}


/* ---------- INTRO / LEAD ---------- */

.lead {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    line-height: 1.75;
    color: #3a3a3a;
}

.center {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 12px;
}

.section-intro {
    max-width: 780px;
    margin: 0 auto 38px;
    text-align: center;
    color: var(--muted);
    font-size: 1.05rem;
}


/* ---------- THREE BOOK SERIES ---------- */

.book-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 35px;
}

.book-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 28px;
    box-shadow: var(--shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.book-card img {
    max-height: 370px;
    width: auto;
    margin: 0 auto 22px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.book-card h3 {
    color: var(--navy);
}

.book-number {
    color: #876927;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.book-card p {
    color: #555;
}

.book-card .btn {
    margin-top: auto;
}


/* ---------- QUESTION / TOPIC CARDS ---------- */

.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 35px;
}

.topic-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-top: 4px solid var(--gold);
    border-radius: 5px;
    padding: 25px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.topic-card h3 {
    font-size: 1.25rem;
}

.topic-card p {
    color: #606060;
    margin-bottom: 12px;
}

.topic-card a {
    font-weight: bold;
}


/* ---------- ARTICLE PAGES ---------- */

.article-header {
    background: var(--navy);
    color: var(--white);
    padding: 65px 0;
    text-align: center;
}

.article-header h1 {
    color: var(--white);
    max-width: 900px;
    margin: 0 auto 18px;
}

.article-header p {
    max-width: 760px;
    margin: 0 auto;
    color: #e4e4e4;
    font-size: 1.08rem;
}

.article {
    background: var(--paper);
    padding: 55px 0 75px;
}

.article-content {
    width: min(92%, var(--reading-width));
    margin: 0 auto;
}

.article-content h2 {
    margin-top: 2.5rem;
}

.article-content h3 {
    margin-top: 2rem;
}

.article-content blockquote {
    margin: 30px 0;
    padding: 22px 28px;
    background: #f3ecdc;
    border-left: 5px solid var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    color: #333;
}

.article-content hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 40px 0;
}


/* ---------- EVIDENCE BOX ---------- */

.evidence-box {
    background: #f2ede1;
    border: 1px solid #d8caa8;
    border-left: 5px solid var(--gold);
    padding: 25px 28px;
    margin: 30px 0;
    border-radius: 4px;
}

.evidence-box h3 {
    margin-top: 0;
}


/* ---------- QUESTION BOX ---------- */

.question-box {
    background: var(--navy);
    color: var(--white);
    padding: 32px;
    margin: 38px 0;
    border-radius: 6px;
    text-align: center;
}

.question-box h2,
.question-box h3 {
    color: var(--gold-light);
}

.question-box p:last-child {
    margin-bottom: 0;
}


/* ---------- SCRIPTURE / QUOTE ---------- */

.scripture {
    font-family: Georgia, "Times New Roman", serif;
    background: #faf7ef;
    border-left: 4px solid var(--gold);
    padding: 20px 25px;
    margin: 28px 0;
    font-size: 1.05rem;
}

.scripture cite {
    display: block;
    margin-top: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--muted);
}


/* ---------- SERIES STATEMENT ---------- */

.series-statement {
    background: var(--navy);
    color: var(--white);
    padding: 65px 20px;
    text-align: center;
}

.series-statement h2 {
    color: var(--gold-light);
}

.series-statement p {
    max-width: 760px;
    margin: 0 auto 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
}

.series-statement .truth-line {
    margin-top: 25px;
    font-size: 1.4rem;
    color: var(--gold-light);
    font-weight: bold;
}


/* ---------- BREADCRUMBS ---------- */

.breadcrumbs {
    padding: 14px 0;
    background: #ece6d8;
    font-size: 0.9rem;
}

.breadcrumbs .container {
    color: #666;
}

.breadcrumbs a {
    font-weight: bold;
}


/* ---------- RELATED PAGES ---------- */

.related-pages {
    margin-top: 55px;
    padding-top: 35px;
    border-top: 1px solid var(--border);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.related-link {
    display: block;
    background: #f5f0e4;
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: 4px;
    color: var(--navy);
    font-weight: bold;
}

.related-link:hover {
    background: #ece2cb;
    text-decoration: none;
}


/* ---------- AUTHOR ---------- */

.author-box {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 28px;
    align-items: center;
    background: #f3eee3;
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: 6px;
    margin: 45px 0;
}

.author-box img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}


/* ---------- FOOTER ---------- */

.site-footer {
    background: #09121f;
    color: #d8d8d8;
    padding: 45px 0 25px;
    border-top: 3px solid var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.site-footer h3 {
    color: var(--gold-light);
    font-size: 1.1rem;
}

.site-footer a {
    color: #eeeeee;
}

.site-footer a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #2b3542;
    text-align: center;
    font-size: 0.88rem;
    color: #aaaaaa;
}


/* ---------- MOBILE ---------- */

@media (max-width: 900px) {

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .button-row {
        justify-content: center;
    }

    .hero-image img {
        max-height: 430px;
    }

    .book-grid,
    .topic-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 650px) {

    body {
        font-size: 16px;
    }

    .header-inner {
        flex-direction: column;
        padding: 18px 0;
    }

    .main-nav {
        justify-content: center;
        gap: 14px;
    }

    .hero {
        padding: 60px 0;
    }

    .section {
        padding: 50px 0;
    }

    .book-grid,
    .topic-grid,
    .related-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .book-card {
        padding: 22px;
    }

    .author-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .author-box img {
        margin: 0 auto;
    }

    .article-header {
        padding: 45px 0;
    }

    .article {
        padding-top: 40px;
    }
}