/*
Theme Name: The Agents Chapel
Theme URI: https://theagentschapel.com
Author: The Agents Chapel Team
Author URI: https://theagentschapel.com
Description: A custom WordPress theme for The Agents Chapel - providing encouragement, prayer, and faith for real estate professionals in Southern California.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agents-chapel
Tags: one-column, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* --- CSS Variables & Reset --- */
:root {
    /* Palette: Calming, Professional, Southern California Warmth */
    --primary-dark: #2C3E50; 
    --primary-light: #546E7A; 
    --accent-gold: #D4AF37; 
    --accent-green: #6B9080; 
    --bg-sand: #F9F7F2; 
    --bg-white: #FFFFFF;
    --text-main: #333333;
    --text-light: #666666;
    
    --spacing-section: 5rem;
    --radius: 8px;
    --shadow: 0 4px 20px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-sand);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Components --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: white;
    border: 2px solid var(--primary-dark);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* New specific style for the Nav Button - Lighter/White */
.btn-nav-light {
    background-color: #FFFFFF;
    color: var(--primary-dark);
    border: 1px solid var(--primary-dark);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-nav-light:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* --- Header / Nav --- */
header {
    background-color: rgba(249, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-dark);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent-green);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(44, 62, 80, 0.65), rgba(44, 62, 80, 0.4));
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* --- Introduction / Mission --- */
.mission {
    padding: var(--spacing-section) 0;
    background-color: var(--bg-white);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.mission-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.mission-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* --- The Reality / Pain Points --- */
.reality {
    padding: var(--spacing-section) 0;
    background-color: var(--bg-sand);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top-color: var(--accent-green);
}

.card-icon {
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 1.5rem;
    display: block;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* --- The Solution --- */
.solution {
    padding: var(--spacing-section) 0;
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
}

.solution h2 {
    color: white;
    margin-bottom: 1rem;
}

.solution p.section-subtitle {
    color: rgba(255,255,255,0.7);
}

.features-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    flex: 1 1 300px;
    max-width: 350px;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    backdrop-filter: blur(5px);
}

.feature-item h3 {
    color: var(--accent-gold);
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* --- Quote Break --- */
.quote-section {
    padding: 6rem 0;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.quote-overlay {
    background: rgba(255,255,255,0.9);
    padding: 3rem;
    border-radius: var(--radius);
    max-width: 800px;
    margin: 0 1rem;
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-style: italic;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.quote-author {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--accent-green);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* --- CTA Section --- */
.cta-section {
    padding: var(--spacing-section) 0;
    text-align: center;
    background-color: var(--bg-white);
}

.cta-box {
    background: linear-gradient(135deg, #fdfbf7 0%, #fff 100%);
    border: 1px solid #eee;
    padding: 4rem 2rem;
    border-radius: var(--radius);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.form-group {
    margin-top: 2rem;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.input-field {
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    width: 300px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-dark);
}

/* --- Footer --- */
footer {
    background-color: var(--primary-dark);
    color: #ccc;
    padding: 3rem 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    color: white;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-links a {
    margin-left: 20px;
    transition: color 0.2s;
    color: #ccc;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    margin-top: 2rem;
    text-align: center;
    color: #999;
}

/* --- Media Queries --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .mission-grid { grid-template-columns: 1fr; gap: 2rem; }
    .nav-links { display: none; } 
    .mobile-menu-btn { display: block; }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .input-field { width: 100%; }
}
