body { font-family: "Microsoft YaHei", sans-serif; background-color: #fdf6f0; color: #333; }
.navbar { background-color: #fff !important; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.navbar-brand { font-weight: bold; color: #d4af37 !important; letter-spacing: 2px; }
/* 封面区域 */
.hero-section {
    background: url('/static/images/tupian.jpg') center/cover;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 12px;
    overflow: hidden;
}

/* ⚠️ 最重要的一步：限制卡片图片高度，防止撑爆 */
.service-card img {
    width: 100%;          /* 宽度撑满卡片 */
    height: 220px;        /* 限制固定高度 */
    object-fit: cover;    /* 保持比例裁剪，防止变形 */
    display: block;       /* 消除图片下方默认间隙 */
}
/* 封面文字容器 */
.hero-text h1 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 5px;
    margin-bottom: 15px;
}

.hero-section h1 { font-size: 3rem; font-weight: 300; letter-spacing: 5px; }
.section-title { text-align: center; margin: 50px 0 30px; font-weight: 300; letter-spacing: 3px; }
.section-title::after { content: ''; display: block; width: 50px; height: 2px; background: #d4af37; margin: 15px auto 0; }
.service-card { background: #fff; border: none; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s; height: 100%; }
.service-card:hover { transform: translateY(-8px); }
.service-card img { height: 220px; object-fit: cover; width: 100%; }
.price { color: #d4af37; font-weight: bold; font-size: 1.1rem; }
footer { background-color: #1a1a1a; color: #999; padding: 40px 0; text-align: center; margin-top: 60px; }