/* 全局样式 */
:root {
    --primary-color: #d4af37; /* 金色 */
    --secondary-color: #f8f1e0; /* 浅金色 */
    --dark-color: #333;
    --light-color: #fff;
    --accent-color: #c19a49; /* 深金色 */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    background-color: var(--dark-color);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.golden-icon {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.golden-icon-lg {
    color: var(--primary-color);
    font-size: 4rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* 英雄区域样式 */
.hero-section {
    background: url('./banner.jpg') center/cover no-repeat;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--light-color);
    text-align: center;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

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

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* 祈福按钮样式 */
.blessing-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--light-color);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s;
}

.blessing-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #e5c158, #d4af37);
    color: var(--light-color);
}

.blessing-count {
    color: var(--light-color);
    font-size: 1.1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* 脉动动画 */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* 章节标题样式 */
.section-title h2 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.golden-divider {
    height: 3px;
    width: 70px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin-bottom: 2rem;
}

/* 信仰理念卡片 */
.belief-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.belief-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.belief-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.belief-card h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* 活动卡片 */
.event-card {
    display: flex;
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.event-date {
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    color: var(--light-color);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 100px;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

.event-details {
    padding: 1.5rem;
    flex-grow: 1;
}

.event-details h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-time {
    color: #777;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* 联系信息 */
.contact-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    min-width: 40px;
    text-align: center;
}

.contact-info h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* 联系表单 */
.contact-form {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s;
}

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

/* 页脚 */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* 祈福弹窗 */
.modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--light-color);
    border-bottom: none;
    padding: 1.5rem;
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 2rem;
}

.blessing-animation {
    margin-bottom: 1.5rem;
}

.blessing-message {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.blessing-number {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.blessing-wish {
    font-style: italic;
    color: #666;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: var(--light-color);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .hero-section {
        height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        padding: 1rem;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        min-width: auto;
    }
    
    .event-date .day {
        font-size: 1.5rem;
        margin-right: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .blessing-btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .belief-icon {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .contact-icon {
        font-size: 1.25rem;
    }
}