/* ==========================================================================
   1. DESIGN SYSTEM VARIABLES & FONTS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Lora:ital,wght@0,500;0,700;1,500&display=swap');

:root {
    /* Color Palette */
    --paraments-red: #B22222;      /* Firebrick: Liturgical Sacrifice/Passion */
    --christmas-blue: #0F4C81;     /* Deep Sky Blue: Contemplative Hope */
    --off-white: #FAF9F6;          /* Clean, warm paper background */
    --white: #ffffff;
    --text-main: #1A202C;          /* Readable near-black */
    --text-muted: #5A6270;
    
    /* Layout Tokens */
    --container-width: 1100px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition-smooth: all 0.3s ease;
}

/* ==========================================================================
   2. BASE RESETS & TYPOGRAPHY
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Lora', serif;
    color: var(--christmas-blue);
    font-weight: 700;
}

/* ==========================================================================
   3. GLOBAL LAYOUT COMPONENTS
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--paraments-red);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: #8B0000;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid var(--christmas-blue);
    color: var(--christmas-blue);
}

.btn-secondary:hover {
    background-color: rgba(15, 76, 129, 0.05);
    transform: translateY(-2px);
}

/* ==========================================================================
   4. NAVIGATION HEADER
   ========================================================================== */
.site-header {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-symbol {
    font-size: 2.2rem;
    color: var(--paraments-red);
    line-height: 1;
}

.logo-branding {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Lora', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--christmas-blue);
    line-height: 1;
}

.brand-subline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--christmas-blue);
    opacity: 0.8;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 25px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

nav a:hover {
    color: var(--paraments-red);
}

/* ==========================================================================
   5. HOMEPAGE HERO SECTION
   ========================================================================== */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-muted);
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ==========================================================================
   6. IMPACT & CARDS MODULE
   ========================================================================== */
.impact-grid {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    padding: 40px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid #eee;
    transition: var(--transition-smooth);
}

.card:hover {
    border-color: var(--paraments-red);
    transform: translateY(-5px);
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card .card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   7. PAGE CLOSER BANNER
   ========================================================================== */
.page-closer {
    background-color: var(--off-white);
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.page-closer h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.page-closer p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* ==========================================================================
   8. GLOBAL SITE FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--christmas-blue);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.mission-statement {
    font-size: 0.95rem;
    opacity: 0.8;
    max-width: 320px;
    margin: 20px 0;
}

.charity-num {
    font-size: 0.85rem;
    border-left: 3px solid var(--paraments-red);
    padding-left: 12px;
}

.site-footer h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a, .footer-contact a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.footer-links a:hover, .footer-contact a:hover {
    opacity: 1;
    color: var(--white);
    padding-left: 4px;
}

.legal-links {
    margin-top: 20px;
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ==========================================================================
   9. MEDIA QUERIES (RESPONSIVE RESETS)
   ========================================================================== */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .cta-group { flex-direction: column; gap: 15px; max-width: 300px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .mission-statement { max-width: 100%; }
    .charity-num { border-left: none; border-top: 2px solid var(--paraments-red); padding-top: 15px; }
    nav { display: none; } /* Mobile Menu Toggle framework would go here */
}
/* ==========================================================================
   10. INLINE STYLE REFRACTORING (CLEAN OVERRIDES)
   ========================================================================== */

/* Navigation Button Override */
.btn-nav {
    color: var(--white) !important;
    padding: 8px 20px;
}

/* Footer Specific Branding Enhancements */
.logo-symbol-footer {
    color: var(--white);
}

.brand-name-footer {
    color: var(--white);
}

.brand-subline-footer {
    color: var(--white);
    opacity: 0.7;
}

/* Contact Block Spacing Utility */
.footer-contact p:first-of-type {
    opacity: 0.8;
    margin-bottom: 10px;
}
/* Contact Block Polish */
.footer-location {
    opacity: 0.8;
    margin-bottom: 10px;
}

.form-label {
    color: var(--white); 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600;
} 