/* Base Styles */
:root {
    --primary: #2c5282;
    --primary-dark: #1a365d;
    --primary-light: #4299e1;
    --accent: #ed8936;
    --accent-dark: #c05621;
    --text: #1a202c;
    --text-light: #4a5568;
    --text-muted: #718096;
    --bg: #ffffff;
    --bg-alt: #f7fafc;
    --bg-dark: #1a202c;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

/* Utility Classes */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.intro-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

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

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

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

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-outline:hover {
    background: var(--bg-alt);
    border-color: var(--primary);
    color: var(--primary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text);
    left: 0;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 8rem 1.5rem 4rem;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.125rem;
    font-style: italic;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn-primary {
    background: var(--accent);
    border-color: var(--accent);
}

.hero-cta .btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.hero-cta .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

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

/* About Preview Section */
.about-preview {
    background: var(--bg);
}

/* Calling Section */
.calling {
    background: var(--bg-alt);
}

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

.calling-card {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.calling-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.calling-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Current Series Section */
.current-series {
    background: var(--bg);
}

.series-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.series-card h3 {
    color: white;
    margin-bottom: 1rem;
}

.series-card p {
    color: rgba(255, 255, 255, 0.9);
}

.series-question {
    margin: 1.5rem 0;
    font-size: 1.125rem;
}

.series-card .btn-primary {
    background: var(--accent);
    border-color: var(--accent);
}

.series-card .btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

/* Learning Section */
.learning {
    background: var(--bg-alt);
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.quote-card {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow);
}

.quote-card p {
    font-style: italic;
    margin-bottom: 0;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-copyright {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 6rem 1.5rem 3rem;
    text-align: center;
    margin-top: 60px;
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
}

/* Content Pages */
.content-page {
    padding: 3rem 0;
}

.content-page h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-page h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-page h4 {
    font-size: 1.125rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.content-page ul, .content-page ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-page li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.content-page blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-light);
}

/* Family Section */
.family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.family-card {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.family-card h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.family-card p {
    margin-bottom: 0;
}

/* Beliefs Section */
.beliefs-list {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.belief-item {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.belief-item h3 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

/* Sermon Series */
.series-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.series-table th,
.series-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.series-table th {
    background: var(--bg-alt);
    font-weight: 600;
    color: var(--primary-dark);
}

.series-table tr:hover {
    background: var(--bg-alt);
}

.series-table .current {
    background: rgba(237, 137, 54, 0.1);
}

/* Sermon Card */
.sermon-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.sermon-card h3 {
    margin-bottom: 0.5rem;
}

.sermon-card .scripture {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.sermon-card blockquote {
    background: var(--bg);
    padding: 1rem;
    border-radius: var(--radius);
    margin: 1rem 0;
}

/* Connect Page */
.connect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.connect-card {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.connect-card h3 {
    margin-bottom: 1rem;
}

.connect-card p {
    margin-bottom: 0.5rem;
}

.connect-card .btn {
    margin-top: 1rem;
}

/* Learning Journal */
.learning-journal {
    margin-top: 2rem;
}

.journal-entry {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
}

.journal-entry h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.journal-entry p {
    margin-bottom: 1rem;
}

.journal-entry blockquote {
    background: var(--bg);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin: 1rem 0 0 0;
    font-style: italic;
    color: var(--text);
    border-left: 3px solid var(--accent);
}

/* Projects Timeline */
.projects-timeline {
    margin-top: 2rem;
}

.timeline-item {
    background: var(--bg-alt);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid var(--bg);
}

.timeline-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.timeline-item h3 {
    color: var(--primary-dark);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.timeline-item p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        box-shadow: var(--shadow-lg);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        display: block;
        padding: 0.75rem 0;
        border-bottom: none;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section {
        padding: 3rem 0;
    }

    .page-header {
        padding: 5rem 1.5rem 2.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .series-card {
        padding: 1.5rem;
    }

    .series-table {
        font-size: 0.875rem;
    }

    .series-table th,
    .series-table td {
        padding: 0.75rem 0.5rem;
    }
}