/* CrossLife Ministry Website - Main Stylesheet */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #1f2937;
    --primary-dark: #111827;
    --secondary-color: #ec4899;
    --accent-color: #374151;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Inter', sans-serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Inter', sans-serif;
    
    --max-width: 1280px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; }

p {
    margin-bottom: var(--spacing-sm);
}

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

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

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

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Navigation ===== */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.03em;
}

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

#nav-logged-in {
    display: none;
}

.nav-links li {
    transition: none;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.625rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.donate-btn {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f97316 100%) !important;
    color: var(--bg-white) !important;
    padding: 0.625rem 1.25rem !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3) !important;
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4) !important;
}

.login-btn {
    background: var(--primary-color) !important;
    color: var(--bg-white) !important;
    padding: 0.625rem 1.25rem !important;
    font-weight: 700;
    border: none;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-secondary);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.3);
}

.login-btn:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    color: var(--bg-white);
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero-content p {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    font-weight: 400;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f97316 100%);
    color: var(--bg-white);
    box-shadow: 0 4px 14px 0 rgba(236, 72, 153, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px 0 rgba(236, 72, 153, 0.45);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    box-shadow: 0 4px 14px 0 rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px 0 rgba(255, 255, 255, 0.35);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-download {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: var(--bg-white);
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.35);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.45);
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e0e7ff 100%);
    padding: 3.5rem 0;
    text-align: center;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--secondary-color) 100%);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* ===== Features Section ===== */
.features {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-white);
}

.features h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 2.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    filter: grayscale(0);
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.feature-card a {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.feature-card a:hover {
    color: var(--accent-color);
}

/* ===== Mission Section ===== */
.mission {
    background-color: var(--bg-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.mission h2 {
    margin-bottom: var(--spacing-md);
}

.mission p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.8;
}

/* ===== Content Grid ===== */
.content-grid,
.studies-grid,
.teachings-list,
.resources-grid,
.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.content-card,
.study-card,
.series-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.content-card:hover,
.study-card:hover,
.series-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.content-image,
.study-image,
.series-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.content-image::after,
.study-image::after,
.series-image::after {
    content: '📖';
    position: absolute;
    font-size: 4rem;
    opacity: 0.2;
}

.content-image img,
.study-image img,
.series-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-info,
.study-content,
.series-info {
    padding: 1.5rem;
}

.content-type,
.study-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.813rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.study-meta,
.series-count {
    display: flex;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 1rem 0;
    font-weight: 600;
}

/* ===== Filter Bar ===== */
.filter-bar {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.filter-group label {
    font-weight: 600;
}

.filter-group select,
.search-group input {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.search-group input {
    width: 250px;
}

/* ===== Study Tags and Status Badges ===== */
.study-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.study-tags .tag {
    background: #f0f4ff;
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.status-badge.in-progress {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: white;
}

.status-badge.planned {
    background: linear-gradient(135deg, #FF9800, #FFC107);
    color: white;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===== Video & Teachings ===== */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
}

.teaching-info {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
}

.teaching-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.teaching-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.teaching-item {
    display: flex;
    gap: var(--spacing-md);
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: var(--spacing-md);
}

.teaching-thumbnail {
    position: relative;
    width: 200px;
    flex-shrink: 0;
}

.format-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.teaching-details {
    flex: 1;
}

.teaching-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.teaching-links a {
    color: var(--secondary-color);
    font-weight: 600;
}

/* ===== Resources ===== */
.resource-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: var(--spacing-md);
}

.resource-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.resource-info {
    flex: 1;
}

.resource-meta {
    display: flex;
    gap: var(--spacing-sm);
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: var(--spacing-xs);
}

.resource-notice {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    margin-top: var(--spacing-lg);
}

/* ===== Donate Page ===== */
.donate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.donate-box {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.donation-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.donate-method-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-md);
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.donate-method-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.method-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.method-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.method-description {
    font-size: 0.9rem;
    color: var(--text-light);
}

.impact-stats {
    margin: var(--spacing-md) 0;
}

.stat-item {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm);
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.stat-icon {
    font-size: 1.5rem;
}

.usage-breakdown {
    display: flex;
    justify-content: space-around;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.usage-item {
    text-align: center;
}

.usage-percent {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.usage-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== Contact Page ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.contact-method {
    padding: var(--spacing-md);
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.social-links-vertical {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.contact-form-container {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-secondary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-light);
}

.form-response {
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-sm);
}

.form-response.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-response.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== About Page ===== */
.content-section {
    margin-bottom: var(--spacing-lg);
}

.beliefs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.belief-item {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.leader-card {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    text-align: center;
}

.leader-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--spacing-sm);
    background-color: var(--border-color);
}

.leader-title {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== CTA Section ===== */
.cta-section,
.subscribe-section,
.thank-you-section {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.cta-section h2,
.subscribe-section h2,
.thank-you-section h2 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
}

.cta-buttons,
.subscribe-options {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.scripture {
    font-style: italic;
    font-size: 1.1rem;
    margin-top: var(--spacing-md);
    opacity: 0.9;
}

/* ===== Footer ===== */
footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

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

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-sm);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* ===== Sections with consistent spacing ===== */
.studies-section,
.teachings-section,
.resources-section,
.donate-section,
.contact-section,
.about-content,
.latest-content,
.study-features,
.teachings-archive,
.teaching-series,
.resource-categories,
.transparency-section,
.prayer-request-section {
    padding: var(--spacing-xl) 0;
}

.category-section {
    margin-bottom: var(--spacing-lg);
}

.small-text {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .donate-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .teaching-item {
        flex-direction: column;
    }
    
    .teaching-thumbnail {
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-lg: 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .feature-grid,
    .content-grid,
    .studies-grid {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-group input {
        width: 100%;
    }
    
    .resource-item {
        flex-direction: column;
        text-align: center;
    }
    
    .usage-breakdown {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        width: 100%;
    }
}
/* ===== Auth Modal Styles ===== */
.auth-modal {
    display: block;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.auth-modal-content {
    background-color: var(--bg-white);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 450px;
    box-shadow: var(--box-shadow-lg);
    animation: slideDown 0.3s ease;
    position: relative;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.auth-modal-close {
    color: var(--text-light);
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
}

.auth-modal-close:hover,
.auth-modal-close:focus {
    color: var(--text-dark);
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.auth-tab:hover {
    color: var(--text-dark);
}

.auth-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
}

.auth-form {
    padding: 2rem;
}

.auth-form h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.auth-form input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: var(--transition);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.auth-form .btn {
    width: 100%;
    margin-top: 1rem;
}

.auth-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: var(--border-radius-sm);
    text-align: center;
    font-size: 0.9rem;
}

.auth-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.auth-link a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}
/* ===== Form Message Styles ===== */
.form-message {
    padding: 1rem;
    margin-top: 1rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-message-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 2px solid var(--success-color);
}

.form-message-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 2px solid var(--error-color);
}
