/* Modern Typography Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-primary: #fbfaf8;       /* Sophisticated off-white */
    --bg-secondary: #f4f1ec;     /* Subtle warm structural grey */
    --text-main: #2c2a29;        /* High-contrast soft black */
    --text-muted: #65615e;       /* Readable mid-tone grey */
    --accent: #8b263e;           /* Elegant Deep Crimson Burgundy */
    --accent-light: #f3e6e9;     /* Soft burgundy tint for tags */
    --border-color: #e5dfd8;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-primary);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Global Text Components */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 12px;
}

.section-badge.text-left {
    text-align: left;
}

/* Brand Header */
.brand-header {
    text-align: center;
    padding: 60px 24px 30px;
    background-color: var(--bg-primary);
}

.brand-header h1 {
    font-size: 2.8rem;
    color: var(--text-main);
}

.brand-header .divider {
    width: 60px;
    height: 2px;
    background-color: var(--accent);
    margin: 24px auto 0;
}

/* Hero Section Frame */
.hero-showcase {
    padding-bottom: 40px;
}

.hero-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-image-frame {
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Scriptures Resource Section */
.scriptures-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.scriptures-section h2 {
    font-size: 2.4rem;
    margin-bottom: 6px;
}

.scriptures-section .subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 48px;
}

.scriptures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.scripture-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-main);
    text-align: left;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.scripture-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(139, 38, 62, 0.08);
}

.card-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #eee;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.scripture-card:hover .card-img-wrapper img {
    transform: scale(1.04);
}

.card-meta {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.card-meta h3 {
    font-size: 1.35rem;
    font-weight: 400;
}

.lang-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.8rem;
    background-color: var(--accent-light);
    color: var(--accent);
    padding: 2px 10px;
    font-weight: 500;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.bible-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.bible-link:hover {
    text-decoration: underline;
}

.about-focus-box {
    background-color: #ffffff;
    border-left: 3px solid var(--accent);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-focus-box h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.about-focus-box ul {
    list-style: none;
}

.about-focus-box li {
    font-size: 1.1rem;
    margin-bottom: 14px;
    position: relative;
    padding-left: 24px;
    font-weight: 400;
}

.about-focus-box li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 1.3rem;
    top: -2px;
}

/* Foundations Section (Mission & Statement of Faith) */
.foundations-section {
    padding: 100px 0;
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
}

.foundations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.foundation-column .column-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.column-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--accent);
}

.foundation-column h2 {
    font-size: 2rem;
}

.styled-list {
    list-style: none;
}

.styled-list li {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.65;
    position: relative;
    padding-left: 20px;
}

.styled-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.inline-link {
    color: var(--accent);
    text-decoration: none;
}

/* Modern Minimal Footer Contact */
.modern-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    text-align: center;
}

.modern-footer h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.modern-footer p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.action-email-card {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 16px 32px;
    text-decoration: none;
    color: var(--text-main);
    gap: 20px;
    text-align: left;
    transition: box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.action-email-card:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(139, 38, 62, 0.05);
}

.action-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--accent);
    display: block;
}

.action-details {
    display: flex;
    flex-direction: column;
}

.action-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.action-address {
    font-size: 1.15rem;
    font-weight: 500;
}

.footer-copyright {
    margin-top: 64px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 960px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .foundations-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 600px) {
    .brand-header h1 {
        font-size: 2.2rem;
    }
    .scriptures-section h2, 
    .about-text h2, 
    .foundation-column h2, 
    .modern-footer h2 {
        font-size: 1.8rem;
    }
    .action-email-card {
        padding: 12px 20px;
        gap: 14px;
        width: 100%;
        max-width: 320px;
    }
    .action-address {
        font-size: 1rem;
    }
}