/* ===== 全局重置 & 基础 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #0f172a;
    color: #1e293b;
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== 背景图片（全屏铺满，固定在容器上） ===== */
.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    /* 暖光典雅蒙版：柔和的米白色与金色光晕 */
    background: linear-gradient(135deg, rgba(253, 252, 248, 0.88) 0%, rgba(245, 238, 226, 0.82) 100%);
    backdrop-filter: blur(2px);
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
}

/* ===== 布局容器 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ===== 导航栏 ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.65);
    border-radius: 0 0 24px 24px;
    padding-left: 28px;
    padding-right: 28px;
    margin-top: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.logo i {
    color: #b45309; /* 暖金色/琥珀色 */
    font-size: 1.6rem;
}

.logo span {
    font-family: 'Cinzel', serif, sans-serif;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a {
    text-decoration: none;
    color: #334155;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #b45309;
    border-radius: 4px;
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: #b45309;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #b45309;
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}

/* ===== 英雄区 (教会标语/经文) ===== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 56px 24px 48px;
    margin-top: 28px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(180, 83, 9, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef3c7;
    color: #b45309;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 40px;
    letter-spacing: 0.3px;
    margin-bottom: 20px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 800px;
    color: #1e293b;
    margin-bottom: 16px;
    font-family: 'Cinzel', serif, system-ui;
}

.hero .scripture {
    font-size: 1.15rem;
    color: #475569;
    max-width: 620px;
    margin-bottom: 32px;
    font-style: italic;
    position: relative;
    line-height: 1.8;
}

.hero .scripture-ref {
    display: block;
    font-style: normal;
    font-size: 0.9rem;
    font-weight: 600;
    color: #b45309;
    margin-top: 6px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    background: white;
    color: #1e293b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background: #b45309;
    color: white;
    box-shadow: 0 8px 20px rgba(180, 83, 9, 0.25);
}

.btn-primary:hover {
    background: #92400e;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(180, 83, 9, 0.35);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.8);
    border: 1.5px solid #cbd5e1;
    color: #334155;
}

.btn-outline:hover {
    border-color: #b45309;
    color: #b45309;
    background: white;
    transform: translateY(-2px);
}

/* ===== 公告区域 ===== */
.announcements {
    margin: 48px 0 30px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header h2 i {
    color: #b45309;
    font-size: 1.5rem;
}

.section-header .tag {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 26px 26px 22px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(180, 83, 9, 0.08);
    background: rgba(255, 255, 255, 0.95);
}

.card-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #b45309;
    background: #fef3c7;
    padding: 4px 14px;
    border-radius: 40px;
    align-self: flex-start;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card p {
    color: #475569;
    font-size: 0.95rem;
    flex: 1;
    margin-bottom: 18px;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #94a3b8;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 14px;
    margin-top: 4px;
}

.card-footer .date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-footer .badge-new {
    background: #10b981;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 40px;
    text-transform: uppercase;
}

/* ===== 底部 ===== */
.footer {
    margin: 60px 0 30px;
    padding: 32px 0 20px;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.40);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    color: #475569;
    font-size: 0.9rem;
}

.footer .church-info {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.footer .socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
}

.footer .socials a {
    color: #64748b;
    font-size: 1.3rem;
    transition: color 0.2s, transform 0.2s;
}

.footer .socials a:hover {
    color: #b45309;
    transform: scale(1.1);
}

.footer small {
    opacity: 0.8;
    display: block;
    font-size: 0.85rem;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 14px;
        padding: 16px 20px;
    }

    .nav-links {
        gap: 20px;
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .scripture {
        font-size: 1rem;
    }

    .hero-actions .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 36px 16px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 16px;
    }
}