/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Serif SC', serif;
    background-color: #faf3e0; /* 淡米色背景营造温暖感 */
    color: #2c2c2c;
    line-height: 1.6;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #8a1f2e; /* 中式红色 */
    color: #fff;
}
.logo {
    font-size: 1.8rem;
    font-weight: 600;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: #d4af37; /* 金色悬浮效果 */
}

/* Hero 区块 */
.hero {
    position: relative;
    background: linear-gradient(135deg, #8a1f2e 0%, #4e0f15 100%);
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
}
.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 通用 section 样式 */
.section {
    padding: 3rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.section h2 {
    font-size: 2rem;
    border-left: 5px solid #d4af37;
    padding-left: 0.75rem;
    margin-bottom: 1rem;
    color: #8a1f2e;
}
.section p {
    margin-bottom: 1rem;
}

/* 服务区块的卡片布局 */
.services .service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.service-item {
    background-color: #fff;
    border: 1px solid #e5d5c0;
    border-top: 4px solid #d4af37;
    padding: 1.5rem;
    flex: 1 1 280px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}
.service-item h3 {
    color: #8a1f2e;
    margin-top: 0;
}
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 联系方式列表 */
.contact ul {
    list-style: none;
    padding: 0;
}
.contact li {
    margin-bottom: 0.5rem;
}
.contact a {
    color: #8a1f2e;
    text-decoration: none;
}
.contact a:hover {
    text-decoration: underline;
}

/* 页脚 */
.footer {
    background-color: #4e0f15;
    color: #fff;
    text-align: center;
    padding: 1rem;
}
.footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .services .service-list {
        flex-direction: column;
    }
}