/*
 * ============================================================
 * Theme Name: New Dawn Ministry Lite
 * File Name: assets/css/theme.css
 * Author: Rick G. Williams
 * Author URI: https://newdawndigital.com/
 * Ministry Site: Christian Discipleship Life Center
 * Site URI: https://christian-discipleship.org/
 * Version: 0.1.8
 * Last Updated: 2026-06-29
 * Text Domain: new-dawn-ministry-lite
 * ============================================================
 *
 * Purpose:
 * Provides the primary frontend styling for Christian
 * Discipleship Life Center. This stylesheet creates a clean,
 * professional Christian teaching site using warm neutral
 * backgrounds, navy structure, restrained gold accents,
 * readable typography, homepage sections, feature cards,
 * callout panels, standard page styling, header navigation,
 * and footer layout.
 *
 * Notes:
 * Parchment imagery should be used only as a subtle accent,
 * not as the dominant full-site design. The visual direction
 * is professional, readable, biblical, and ministry-focused.
 *
 * ============================================================
 */

/* ------------------------------------------------------------
   Root Variables
------------------------------------------------------------ */

:root {
    --ndml-navy: #082033;
    --ndml-navy-dark: #061725;
    --ndml-navy-soft: #102f47;

    --ndml-gold: #c99524;
    --ndml-gold-dark: #9f7418;
    --ndml-gold-soft: #f3e1b5;

    --ndml-cream: #f7f2e8;
    --ndml-cream-light: #fbf8f1;
    --ndml-white: #ffffff;

    --ndml-text: #2d2418;
    --ndml-muted: #665c50;
    --ndml-border: #e5dac8;

    --ndml-max-width: 1120px;
    --ndml-radius: 14px;
    --ndml-shadow: 0 18px 40px rgba(8, 32, 51, 0.08);
}

/* ------------------------------------------------------------
   Base
------------------------------------------------------------ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ndml-text);
    background: var(--ndml-cream-light);
    line-height: 1.65;
    font-size: 16px;
}

a {
    color: var(--ndml-navy);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover,
a:focus {
    color: var(--ndml-gold-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.site-main {
    background: var(--ndml-cream-light);
}

/* ------------------------------------------------------------
   Header
------------------------------------------------------------ */

.site-header {
    background: var(--ndml-navy);
    color: var(--ndml-white);
    border-bottom: 4px solid var(--ndml-gold);
}

.site-header__inner {
    max-width: var(--ndml-max-width);
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-branding {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.site-title {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.site-title a {
    color: var(--ndml-white);
    text-decoration: none;
}

.site-description {
    margin: 0.15rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.main-navigation a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a {
    color: var(--ndml-gold-soft);
}

/* ------------------------------------------------------------
   Buttons
------------------------------------------------------------ */

.button-primary,
.button-secondary,
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.72rem 1.2rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.16s ease-in-out;
}

.button-primary,
.wp-block-button__link {
    background: var(--ndml-gold);
    color: #201507;
    border-color: var(--ndml-gold);
}

.button-primary:hover,
.button-primary:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
    background: var(--ndml-gold-dark);
    border-color: var(--ndml-gold-dark);
    color: #ffffff;
}

.button-secondary {
    background: transparent;
    color: var(--ndml-navy);
    border-color: rgba(8, 32, 51, 0.28);
}

.button-secondary:hover,
.button-secondary:focus {
    background: var(--ndml-navy);
    color: #ffffff;
    border-color: var(--ndml-navy);
}

/* ------------------------------------------------------------
   Homepage Hero
------------------------------------------------------------ */

.home-hero {
    background:
        linear-gradient(90deg, rgba(251, 248, 241, 0.98), rgba(251, 248, 241, 0.94)),
        radial-gradient(circle at top right, rgba(201, 149, 36, 0.15), transparent 36%);
    border-bottom: 1px solid var(--ndml-border);
}

.home-hero__inner {
    max-width: var(--ndml-max-width);
    margin: 0 auto;
    padding: 5.2rem 1.25rem 4.8rem;
}

.home-hero__content {
    max-width: 760px;
}

.section-kicker {
    margin: 0 0 0.8rem;
    color: var(--ndml-gold-dark);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-hero h1 {
    margin: 0;
    color: var(--ndml-text);
    font-size: clamp(2.35rem, 5vw, 4.15rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    max-width: 760px;
}

.home-hero__lead {
    margin: 1.35rem 0 0;
    color: var(--ndml-muted);
    font-size: clamp(1.06rem, 2vw, 1.22rem);
    max-width: 680px;
}

.home-hero__actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* ------------------------------------------------------------
   Homepage Sections
------------------------------------------------------------ */

.home-section {
    padding: 4.3rem 1.25rem;
}

.home-section--white {
    background: var(--ndml-white);
}

.home-section--soft {
    background: var(--ndml-cream);
}

.section-grid {
    max-width: var(--ndml-max-width);
    margin: 0 auto;
    display: grid;
    gap: 3rem;
}

.section-grid--two {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: start;
}

.home-section h2 {
    margin: 0;
    color: var(--ndml-text);
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.16;
    letter-spacing: -0.035em;
}

.section-copy p,
.support-block p {
    margin: 0 0 1rem;
    color: var(--ndml-muted);
    font-size: 1.02rem;
}

.section-copy p:last-child,
.support-block p:last-child {
    margin-bottom: 0;
}

.section-heading {
    max-width: var(--ndml-max-width);
    margin: 0 auto 2rem;
}

.section-heading h2 {
    max-width: 760px;
}

.section-heading p:not(.section-kicker) {
    margin: 1rem 0 0;
    color: var(--ndml-muted);
    max-width: 720px;
    font-size: 1.02rem;
}

/* ------------------------------------------------------------
   Feature Cards
------------------------------------------------------------ */

.feature-grid {
    max-width: var(--ndml-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: var(--ndml-white);
    border: 1px solid var(--ndml-border);
    border-radius: var(--ndml-radius);
    padding: 1.65rem;
    box-shadow: var(--ndml-shadow);
}

.feature-card h3 {
    margin: 0 0 0.75rem;
    color: var(--ndml-navy);
    font-size: 1.28rem;
    line-height: 1.2;
}

.feature-card p {
    margin: 0 0 1.15rem;
    color: var(--ndml-muted);
}

.feature-card a {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--ndml-gold-dark);
    text-decoration: none;
}

.feature-card a:hover,
.feature-card a:focus {
    color: var(--ndml-navy);
    text-decoration: underline;
}

/* ------------------------------------------------------------
   Callout
------------------------------------------------------------ */

.callout-panel {
    max-width: var(--ndml-max-width);
    margin: 0 auto;
    padding: 3.5rem 2rem;
    text-align: center;
    background:
        linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
        url("../images/parchment-bg.jpg") center center / cover no-repeat;
    border: 1px solid var(--ndml-border);
    border-radius: 22px;
    box-shadow: var(--ndml-shadow);
}

.callout-panel h2 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.callout-panel p:not(.section-kicker) {
    margin: 1rem auto 1.6rem;
    color: var(--ndml-muted);
    max-width: 720px;
    font-size: 1.02rem;
}

/* ------------------------------------------------------------
   Support / Contact
------------------------------------------------------------ */

.support-block {
    background: var(--ndml-white);
    border: 1px solid var(--ndml-border);
    border-radius: var(--ndml-radius);
    padding: 2rem;
    box-shadow: var(--ndml-shadow);
}

.support-block h2 {
    margin-bottom: 0.95rem;
}

.support-block .button-primary,
.support-block .button-secondary {
    margin-top: 0.5rem;
}

/* ------------------------------------------------------------
   Standard Pages
------------------------------------------------------------ */

.standard-page-hero {
    background: var(--ndml-cream);
    border-bottom: 1px solid var(--ndml-border);
}

.standard-page-hero__inner {
    max-width: var(--ndml-max-width);
    margin: 0 auto;
    padding: 4rem 1.25rem 3.5rem;
}

.standard-page-hero h1 {
    margin: 0;
    color: var(--ndml-text);
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.standard-page-content {
    background: var(--ndml-white);
    padding: 3.5rem 1.25rem;
}

.standard-page-content__inner {
    max-width: 860px;
    margin: 0 auto;
}

.parchment-panel {
    background: #ffffff;
    border: 1px solid var(--ndml-border);
    border-radius: var(--ndml-radius);
    padding: 2rem;
    box-shadow: var(--ndml-shadow);
}

/* ------------------------------------------------------------
   Footer
------------------------------------------------------------ */

.site-footer {
    background: var(--ndml-navy-dark);
    color: rgba(255, 255, 255, 0.82);
}

.site-footer__inner {
    max-width: var(--ndml-max-width);
    margin: 0 auto;
    padding: 2.1rem 1.25rem;
    text-align: center;
}

.footer-brand {
    margin: 0;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.03em;
}

.footer-tagline {
    margin: 0.45rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.94rem;
}

.footer-credit {
    margin: 1.5rem 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.88rem;
}

.footer-navigation ul {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-navigation a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-navigation a:hover,
.footer-navigation a:focus {
    color: var(--ndml-gold-soft);
}

/* ------------------------------------------------------------
   WordPress Alignment Helpers
------------------------------------------------------------ */

.alignwide {
    max-width: var(--ndml-max-width);
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* ------------------------------------------------------------
   Responsive
------------------------------------------------------------ */

@media (max-width: 900px) {
    .site-header__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .main-navigation ul {
        flex-wrap: wrap;
        gap: 0.85rem 1.1rem;
    }

    .section-grid--two {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .home-hero__inner {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 15px;
    }

    .home-section {
        padding: 3.2rem 1rem;
    }

    .home-hero__inner {
        padding: 3.5rem 1rem;
    }

    .site-header__inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .home-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button-primary,
    .button-secondary,
    .wp-block-button__link {
        width: 100%;
    }

    .callout-panel {
        padding: 2.5rem 1.25rem;
    }

    .support-block,
    .feature-card,
    .parchment-panel {
        padding: 1.45rem;
    }
}

/*
 * ============================================================
 * End of File: assets/css/theme.css
 * Theme: New Dawn Ministry Lite
 * Author: Rick G. Williams
 * ============================================================
 */