/* src/assets/css/style.css */

/* Define custom properties in :root for global access */
:root {
    /* Colors */
    --background-color: #f9f6f1;
    --section-alt-bg: #f4ede4;
    --section-alt-text: #2a2a2a;
    --section-break-bg: #e3e9e8;
    --accent-soft: #d6e2d5;
    --highlight-color: #a89c80;
    --text-color: #1d1d1b;
    --link-color: #6e2c3a;
    --link-hover-color: #a89c80;
    --site-title-color: #1e2c40;
    --subtitle-color: #578c7d;
    --footer-color: #578c7d;
    --footnote-color: #444;
    --footnote-border-color: #ccc;
    --footnote-backref-color: #770505;
    --active-nav-color: #007bff;
    --paintbrush-color: #578c7d;

    /* Typography */
    --font-size-base: 18px;
    --font-size-small: 0.85rem;
    --font-size-nav: 0.95rem;
    --font-size-title: 2rem;
    --font-size-subtitle: 0.9rem;

    /* Spacing */
    --line-height: 1.75;
    --spacing-small: 0.25rem;
    --spacing-medium: 1rem;
    --spacing-large: 2rem;
    --spacing-xlarge: 3rem;
    --spacing-xxlarge: 4rem;
    --spacing-nav-mobile: 0.5rem;

    /* Fonts */
    --font-body: "Open Sans", sans-serif;
    --font-title: "EB Garamond", serif;
    --font-mono: "IBM Plex Mono", monospace;
}

/* Reset and base styles */
body {
    background-color: var(--background-color);
    background-image: url("/assets/images/coffee-ring.png");
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 200px auto;
    background-blend-mode: multiply;
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: var(--line-height);
    font-size: var(--font-size-base);
    margin: 0;
    padding: 0;
    opacity: 0.97;
}
/* Base font settings */
body {
    font-family: "Crimson Pro", serif;
    font-weight: 300;
    font-size: 1.125rem; /* Slightly larger for readability */
    line-height: 1.85;
    letter-spacing: 0.01em;
    color: #2a2a2a;
    background-color: #ffffff;
    margin: 0;
    padding: 0 1.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
strong,
b {
    font-weight: 700; /* or 'bold' */
}
/* Title / Logo */
.site-title,
h1.site-title {
    font-family: "EB Garamond", serif;
    font-weight: 600;
    font-size: 3rem;
    line-height: 1.2;
    letter-spacing: -0.3px;
    color: #111;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}
.site-title {
    font-family: "EB Garamond", serif;
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 1.5rem 0 0.25rem;
    color: #1a2a3a;
}

/* Subheading (e.g. tagline) */
.site-subtitle,
.tagline {
    font-family: "Crimson Pro", serif;
    font-weight: 300;
    font-size: 1.375rem;
    line-height: 1.6;
    color: #666666;
    margin-top: -1rem;
    margin-bottom: 2rem;
}
.site-subtitle {
    font-family: "Crimson Pro", serif;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #578c7d;
    margin-top: 0.25rem;
    margin-bottom: 2rem;
}
/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "EB Garamond", serif;
    font-weight: 500;
    line-height: 1.6;
    color: #1a1a1a;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
}

/* Heading scale */
h1 {
    font-size: 2.5rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.625rem;
}
h4 {
    font-size: 1.375rem;
}
h5 {
    font-size: 1.125rem;
}
h6 {
    font-size: 1rem;
    font-weight: 400;
    color: #777;
}

/* Paragraphs and links */
p {
    margin-bottom: 1.5rem;
}

a {
    color: #3b6cb0;
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: #1a4d8f;
}

/* Buttons or small accents */
button {
    font-family: "Crimson Pro", serif;
    font-size: 1rem;
    letter-spacing: 0.03em;
    padding: 0.5em 1.2em;
    border: none;
    background-color: #f3f3f3;
    color: #333;
    border-radius: 0.25em;
    cursor: pointer;
}
button:hover {
    background-color: #e2e2e2;
}
/* Links */
a {
    color: var(--subtitle-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: var(--link-hover-color);
}

/* Container */
.container {
    max-width: 720px;
    margin: 0 auto;
    padding: var(--spacing-large);
}

/* Header */
header {
    margin-bottom: var(--spacing-xlarge);
}

/* Centered elements */
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}
.text-center {
    text-align: center;
}

/* Site title */
.site-title a {
    font-family: var(--font-title);
    font-size: var(--font-size-title);
    color: var(--site-title-color);
}

/* Subtitle */
.subtitle {
    display: block;
    font-size: var(--font-size-subtitle);
    color: var(--subtitle-color);
    margin-top: var(--spacing-small);
    text-align: center;
}
@media (max-width: 640px) {
    body {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .container,
    .section-alt,
    .section-alt2,
    .section-gray1,
    .section-gray2,
    .section-break,
    .section-accent {
        padding-left: 1rem;
        padding-right: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Navigation */
nav {
    margin-top: var(--spacing-medium);
}

nav.main-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1.8em;
}

nav.main-nav a {
    margin-right: var(--spacing-medium);
    font-size: var(--font-size-nav);
    text-transform: uppercase;
    color: var(--text-color);
    position: relative;
    padding-bottom: 0.2em;
}

nav.main-nav a:hover {
    color: var(--link-hover-color);
}

nav.main-nav a.active {
    /* color: var(--active-nav-color); */
    color: var(--text-color);
}

nav.main-nav a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    /*background-image: url('/assets/images/brushstroke.png');
  */
    background-size: cover;
    background-repeat: no-repeat;
    /* Fallback gradient */
    background: linear-gradient(
        to right,
        transparent,
        var(--paintbrush-color) 20%,
        var(--paintbrush-color) 80%,
        transparent
    );
}
/* Navigation container - sunday morning */
nav.main-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

/* Navigation list */
nav.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Navigation links */
nav.main-nav a {
    font-family: "EB Garamond", serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2e2e2e;
    text-decoration: none;
    position: relative;
    padding-bottom: 0.25rem;
    transition: color 0.3s;
}

nav.main-nav a:hover {
    color: #578c7d; /* your brand teal */
}

/* Subtle underline on hover */
nav.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #578c7d;
    transition: width 0.3s ease;
}

nav.main-nav a:hover::after {
    width: 100%;
}

/* Active nav styling */
nav.main-nav a.active {
    color: #1a1a1a;
    font-weight: 600;
}

nav.main-nav a.active::after {
    width: 100%;
}
@media (max-width: 768px) {
    nav.main-nav ul {
        align-items: center;
        gap: 1rem;
    }

    nav.main-nav {
        padding: 0.5rem 1rem;
    }
}
.nav-cta {
    background-color: #578c7d;
    color: white;
    padding: 0.4em 1em;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.nav-cta:hover {
    background-color: #3e6f63;
}
nav.main-nav a {
    position: relative;
    text-decoration: none;
    padding-bottom: 0.3rem;
    font-size: 1rem;
    font-family: "Crimson Pro", serif;
    color: #333;
    transition: color 0.3s ease;
}

nav.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, #578c7d, #a3cbb7);
    transition: width 0.4s ease;
    border-radius: 2px;
}

nav.main-nav a:hover::after,
nav.main-nav a.active::after {
    width: 100%;
}

nav.main-nav a.active {
    font-weight: 600;
    color: #222;
}

/* Footer */
footer {
    margin-top: var(--spacing-xxlarge);
    font-size: var(--font-size-small);
    color: var(--footer-color);
    text-align: center;
}

/* Quote */
.quote {
    font-style: italic;
    margin-bottom: var(--spacing-medium);
}

/* Footnotes */
.footnotes {
    margin-top: var(--spacing-xlarge);
    font-size: var(--font-size-small);
    color: var(--footnote-color);
    border-top: 1px solid var(--footnote-border-color);
    padding-top: var(--spacing-medium);
}

.footnotes ol {
    padding-left: 1.2rem;
}

.footnotes li {
    margin-bottom: 0.5rem;
}

.footnotes a.footnote-backref {
    text-decoration: none;
    margin-left: var(--spacing-small);
    font-size: var(--font-size-small);
    color: var(--footnote-backref-color);
}

/* Responsive navigation */

/* Mobile navigation adjustments */
@media (max-width: 600px) {
    nav.main-nav ul {
        display: flex; /* Keep horizontal layout */
        flex-wrap: wrap; /* Allow wrapping if needed */
        gap: var(--spacing-nav-mobile); /* Reduced spacing (0.5rem) */
    }

    nav.main-nav a {
        margin-right: 0; /* Remove extra margin, rely on gap */
        font-size: calc(
            var(--font-size-nav) * 0.9
        ); /* Slightly smaller font on mobile */
    }
}

/* added for mr-bultitude */

.section-title {
    font-family: "Georgia", serif;
    font-size: 1.8rem;
    color: #2c2c2c;
    border-bottom: 1px solid #aaa;
    margin-bottom: 1rem;
}

.subhead {
    font-size: 1.3rem;
    font-weight: 600;
    color: #3a3a3a;
    margin-top: 1.5rem;
}

.blockquote-epigraph {
    font-style: italic;
    color: #555;
    border-left: 4px solid #999;
    padding-left: 1rem;
    margin-left: 0;
}

.highlight-phrase {
    background-color: #ffffe0;
    font-weight: bold;
}

.intuitive {
    color: #5a3e8d;
    font-style: italic;
}

.numinous {
    font-variant: small-caps;
    letter-spacing: 0.05em;
    color: #445;
}

.depth-quote {
    font-style: italic;
    color: #2b2b2b;
    padding-left: 1rem;
    border-left: 2px solid #ccc;
}

.warmth-dimness {
    color: #733;
    font-style: italic;
}

.sufficiency {
    color: #0a4;
    font-weight: bold;
}

.union-knowledge {
    color: #0c5;
    text-decoration: underline dotted;
}

.sacramental {
    font-style: italic;
    color: #5d3d23;
}

.creaturely {
    font-family: "Palatino Linotype", serif;
    font-size: 1.05rem;
    color: #225;
}

.truth-silence {
    font-style: italic;
    color: #111;
    background-color: #f9f9f9;
}

.eschaton {
    color: #4b0082;
    font-variant: small-caps;
    letter-spacing: 0.04em;
}

.centered-knowing {
    font-weight: bold;
    color: #336666;
}
.ransom-intro {
    font-family: "EB Garamond", "Georgia", serif;
    font-size: 1.1rem;
    line-height: 1.75;
    background-color: #fdf7e3; /* parchment tone */
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(
            to bottom,
            rgba(230, 200, 150, 0.1),
            rgba(230, 200, 150, 0.2)
        );
    background-size:
        3px 3px,
        100% 100%;
    border: 1px solid #d4cbb8;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 720px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    color: #2e2b24;
}

.ransom-intro h2 {
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
    text-align: center;
    color: #3e3a2f;
    font-variant: small-caps;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 0 #e8d9b8;
}

.ransom-intro .signature {
    text-align: right;
    font-size: 1rem;
    color: #5a4b3b;
    font-style: italic;
    border-top: 1px solid #c7b693;
    padding-top: 1rem;
}

/* =====================================
     About Page
     ===================================== */
.about-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.about-container p {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.about-container p:last-of-type {
    margin-bottom: 0;
}

.about-image.wp-block-image {
    text-align: center;
    margin: 2rem auto;
}

.about-image.wp-block-image img {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 6px 14px var(--shadow);
}

/* =====================================
     Contact Page
     ===================================== */
.contact-photo {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    object-fit: cover;
    max-height: 250px;
}

.map-container {
    margin-top: 1rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/* =====================================
     Buttons
  .button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    background-color: var(--link);
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
  }

  .button:hover {
    background-color: var(--link-hover);
  }
     ===================================== */

.site-title {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.site-title,
.site-subtitle {
    text-align: center;
}
/* =====================================
section stylings
     ===================================== */

.section-alt {
    background-color: var(--section-alt-bg);
    color: var(--section-alt-text);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.section-alt2 {
    background-color: #edf1f0; /* soft gray-green tone */
    color: #2a2a2a;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.section-break {
    background-color: var(--section-break-bg);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 2.5rem 0;
}

.section-accent {
    background-color: var(--accent-soft);
    padding: 1.5rem;
    border-left: 4px solid var(--subtitle-color);
    margin: 2rem 0;
}

.section-gray1 {
    background-color: #f5f5f5; /* light gray */
    color: #2a2a2a;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.section-gray2 {
    background-color: #e0e0e0; /* medium soft gray */
    color: #2a2a2a;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    margin: 3rem 0;
}
