/* Custom styles for Kingdom of God Blog */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
}

/* Cards */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}

/* Post Content Styling */
.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
}

.post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: #1a1a1a;
    font-weight: 600;
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2a2a2a;
    font-weight: 600;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.25rem;
}

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
}

/* Footer - Sticky at bottom */
footer {
    margin-top: auto;
    flex-shrink: 0;
}

main {
    flex: 1 0 auto;
}

main section {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Dashboard Stats */
.card-body i.fs-1 {
    font-size: 3rem !important;
}

/* Scripture References */
.scripture-ref {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0.25rem;
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-overlay.show {
    display: flex;
}

/* AI Panel */
.ai-panel {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .post-content {
        font-size: 1rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }
}

/* Print Styles */
@media print {
    nav, footer, .ai-panel, .btn {
        display: none !important;
    }

    .post-content {
        font-size: 12pt;
    }
}
