/*
Theme Name: The Sanctuary Community
Theme URI: https://thesanctuarycommunity.org
Author: The Sanctuary Community
Description: A reverent, Christ-centered theme - Reconciling Generations in the Way of Christ
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: sanctuary
*/

:root {
    --deep-blue: #0D223F;
    --soft-gold: #D4B675;
    --white: #FFFFFF;
    --off-white: #FAF9F7;
    --cream: #F5F3EF;
    --warm-gray: #9A9590;
    --charcoal: #2D2A26;
    --font-primary: 'Cormorant Garamond', Georgia, serif;
    --font-secondary: 'Lato', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-secondary); line-height: 1.7; color: var(--charcoal); background: var(--off-white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: 0.3s; }
h1, h2, h3, h4 { font-family: var(--font-primary); color: var(--deep-blue); line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 1rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.text-center { text-align: center; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(13,34,63,0.95); transition: 0.3s; padding: 1rem 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.site-logo { display: flex; align-items: center; gap: 1rem; }
.logo-image { height: 60px; width: auto; }
.logo-text { font-family: var(--font-primary); font-size: 1.125rem; color: var(--white); font-weight: 500; }
.nav-menu { display: none; gap: 2rem; }
@media (min-width: 992px) { .nav-menu { display: flex; } }
.nav-menu a { font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); padding: 0.5rem 0; position: relative; }
.nav-menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--soft-gold); transition: 0.3s; }
.nav-menu a:hover::after { width: 100%; }
.mobile-toggle { display: block; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }
@media (min-width: 992px) { .mobile-toggle { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; padding: 1rem 2rem; border: 2px solid; cursor: pointer; transition: 0.3s; }
.btn-primary { background: var(--soft-gold); color: var(--deep-blue); border-color: var(--soft-gold); }
.btn-primary:hover { background: #e5cc96; transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--deep-blue); }
.btn-outline { background: transparent; color: var(--deep-blue); border-color: var(--deep-blue); }
.btn-outline:hover { background: var(--deep-blue); color: var(--white); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.hero-background img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(13,34,63,0.85), rgba(13,34,63,0.7), rgba(13,34,63,0.85)); }
.hero-content { position: relative; z-index: 1; max-width: 900px; padding: 2rem; }
.hero h1 { color: var(--white); margin-bottom: 1rem; animation: fadeInUp 1s ease 0.3s backwards; }
.hero-tagline { font-family: var(--font-primary); font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-style: italic; color: var(--soft-gold); margin-bottom: 2rem; animation: fadeInUp 1s ease 0.5s backwards; }
.hero-description { font-size: 1.125rem; color: rgba(255,255,255,0.85); max-width: 650px; margin: 0 auto 3rem; animation: fadeInUp 1s ease 0.7s backwards; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; animation: fadeInUp 1s ease 0.9s backwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Page Hero (smaller) */
.page-hero { min-height: 50vh; padding-top: 100px; }

/* Sections */
.who-we-are-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media (min-width: 992px) { .who-we-are-grid { grid-template-columns: 1fr 1fr; } }
.who-we-are-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: 0 16px 60px rgba(13,34,63,0.18); }

.pillars { background: var(--deep-blue); padding: 6rem 0; color: var(--white); }
.pillars h2, .pillars h3 { color: var(--white); }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.pillar-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(212,182,117,0.2); padding: 3rem 2rem; text-align: center; transition: 0.3s; }
.pillar-card:hover { background: rgba(255,255,255,0.08); border-color: var(--soft-gold); transform: translateY(-8px); }
.pillar-card p { color: rgba(255,255,255,0.7); }

.scripture-banner { background: var(--cream); padding: 4rem 0; text-align: center; }
.scripture-quote { font-family: var(--font-primary); font-size: clamp(1.25rem, 3vw, 1.75rem); font-style: italic; color: var(--deep-blue); line-height: 1.8; max-width: 700px; margin: 0 auto; }
.scripture-reference { display: block; margin-top: 2rem; font-family: var(--font-secondary); font-style: normal; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: #b89a5a; }

.initiatives-grid { background: var(--cream); padding: 4rem 0; }
.initiative-item { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; padding: 3rem 0; border-bottom: 1px solid rgba(13,34,63,0.1); }
@media (min-width: 992px) { .initiative-item { grid-template-columns: 1fr 1fr; } .initiative-item:nth-child(even) .initiative-image { order: 2; } }
.initiative-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.initiative-number { font-family: var(--font-primary); font-size: 3rem; color: var(--soft-gold); }

/* Donation Page */
.donation-methods { background: var(--white); padding: 6rem 0; }
.methods-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.method-card { background: var(--cream); padding: 2rem; text-align: center; }
.method-icon { font-size: 3rem; margin-bottom: 1rem; }
.method-card h3 { margin-bottom: 1rem; }
.method-details { background: var(--white); padding: 1.5rem; margin-top: 1rem; border-left: 3px solid var(--soft-gold); }
.method-details strong { display: block; color: var(--deep-blue); margin-bottom: 0.5rem; }
.crypto-address { word-break: break-all; font-family: monospace; font-size: 0.875rem; background: var(--off-white); padding: 1rem; margin-top: 0.5rem; }

.cta-section { background: linear-gradient(135deg, var(--deep-blue), #142d52); padding: 6rem 0; text-align: center; color: var(--white); }
.cta-section h2 { color: var(--white); }

/* Footer */
.site-footer { background: #091829; color: var(--white); padding: 4rem 0 2rem; }
.footer-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand h3 { color: var(--white); margin-bottom: 1rem; }
.footer-links h4 { color: var(--soft-gold); margin-bottom: 1.5rem; font-size: 0.875rem; text-transform: uppercase; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--soft-gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; flex-wrap: wrap; gap: 1rem; }
.footer-copyright { color: rgba(255,255,255,0.5); font-size: 0.875rem; }

.fade-in { opacity: 0; transform: translateY(20px); transition: 0.6s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Contact Form */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; border: 1px solid rgba(13,34,63,0.15); background: var(--off-white); font-family: inherit; }
.form-group textarea { min-height: 150px; }

@media (max-width: 991px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 280px; }
}
