/*
Theme Name: The Bible for Smart People
Theme URI: https://thebibleforsmartpeople.com
Author: The Bible for Smart People
Description: Custom theme for The Bible for Smart People.
Version: 1.0.0
Text Domain: bible-for-smart-people
*/

:root {
    --black: #07090d;
    --dark: #0d1117;
    --dark-blue: #111a27;
    --gold: #d5ad57;
    --gold-light: #f1d58b;
    --white: #ffffff;
    --muted: #aeb6c2;
    --border: rgba(255,255,255,.1);
    --max-width: 1250px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}


/* HEADER */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.8),
        transparent
    );
}

.header-inner {
    max-width: var(--max-width);
    margin: auto;
    padding: 22px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.brand-name {
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.main-navigation a {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    transition: color .2s;
}

.main-navigation a:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;
}


/* HERO */

.hero {
    min-height: 820px;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;

    background-image:
        url("https://thebibleforsmartpeople.com/wp-content/uploads/2026/08/013a1e0e-e688-4250-9956-0bef0cf57238.png");

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4,7,12,.88),
            rgba(4,7,12,.35),
            rgba(4,7,12,.88)
        ),
        linear-gradient(
            0deg,
            var(--black),
            transparent 35%,
            rgba(0,0,0,.3)
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 900px;
    padding: 160px 25px 100px;
}

.hero-eyebrow,
.section-label {
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold);
}

.hero h1 {
    margin: 15px 0;

    font-size: clamp(48px, 7vw, 96px);
    line-height: .95;
    letter-spacing: -2px;
}

.hero-tagline {
    font-size: clamp(20px, 3vw, 30px);
    margin: 30px auto;
    color: #e4e6ea;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* BUTTONS */

.button {
    display: inline-block;

    padding: 15px 28px;

    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;

    border: 1px solid var(--gold);

    transition: all .25s;
}

.button-primary {
    background: var(--gold);
    color: #090909;
}

.button-primary:hover {
    background: var(--gold-light);
}

.button-secondary:hover {
    background: rgba(255,255,255,.1);
}


/* GENERAL */

.content-container {
    width: min(var(--max-width), calc(100% - 50px));
    margin: auto;
}

.intro,
.pillars,
.featured,
.philosophy,
.membership {
    padding: 110px 0;
}

.intro {
    background: var(--dark);
    text-align: center;
}

.intro h2,
.pillars h2,
.featured h2,
.membership h2 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.1;
    margin: 15px 0 25px;
}

.intro-text {
    max-width: 800px;
    margin: 20px auto;
    color: var(--muted);
    font-size: 19px;
}


/* PILLARS */

.pillars {
    background: var(--black);
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 55px;
}

.pillar {
    padding: 40px;
    background: var(--dark);
    border: 1px solid var(--border);
    transition: transform .25s, border-color .25s;
}

.pillar:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
}

.pillar-icon {
    font-size: 42px;
}

.pillar h3 {
    font-size: 28px;
}

.pillar p {
    color: var(--muted);
}

.pillar a {
    display: inline-block;
    margin-top: 15px;

    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
}


/* FEATURED */

.featured {
    background: var(--dark-blue);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.featured p {
    color: var(--muted);
    font-size: 18px;
}

.featured-card {
    min-height: 380px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    border: 1px solid var(--gold);

    background:
        radial-gradient(
            circle at center,
            rgba(213,173,87,.18),
            transparent 60%
        );
}

.featured-card span {
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gold);
}

.featured-card strong {
    font-size: 65px;
    margin: 15px 0;
}

.featured-card small {
    color: var(--muted);
}


/* PHILOSOPHY */

.philosophy {
    background: #080b10;
    text-align: center;
}

.philosophy blockquote {
    max-width: 950px;
    margin: 30px auto 0;

    font-size: clamp(30px, 5vw, 55px);
    line-height: 1.2;
}


/* MEMBERSHIP */

.membership {
    text-align: center;
    background:
        radial-gradient(
            circle at center,
            #1b2432,
            var(--black)
        );
}

.membership p:not(.section-label) {
    max-width: 700px;
    margin: 0 auto 35px;
    color: var(--muted);
    font-size: 18px;
}


/* FOOTER */

.site-footer {
    padding: 45px 0;
    background: #040507;
    border-top: 1px solid var(--border);
}

.footer-inner {
    width: min(var(--max-width), calc(100% - 50px));
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-brand img {
    width: 55px;
    height: 55px;
}

.footer-brand div {
    display: flex;
    flex-direction: column;
}

.footer-brand span,
.footer-copy {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 12px;
}


/* MOBILE */

@media (max-width: 900px) {

    .main-navigation {
        display: none;
    }

    .menu-toggle {
        display: block;

        background: none;
        border: 0;

        color: white;
        font-size: 28px;
    }

    .brand-name {
        display: none;
    }

    .hero {
        min-height: 720px;
    }

    .pillar-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid {
        gap: 50px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }
}


@media (max-width: 600px) {

    .header-inner {
        padding: 15px 18px;
    }

    .brand-logo {
        width: 55px;
        height: 55px;
    }

    .hero {
        min-height: 680px;
    }

    .hero-content {
        padding-top: 130px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .content-container {
        width: min(100% - 35px, var(--max-width));
    }

    .intro,
    .pillars,
    .featured,
    .philosophy,
    .membership {
        padding: 75px 0;
    }

    .pillar {
        padding: 30px;
    }

}