/* --- 顶部Banner区域 --- */
.hero-section {
    background: linear-gradient(135deg, #1ca4e5 0%, #2f80ff 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
}

.hero-text h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-text p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* 搜索框样式 */
.hero-search input {
    width: 50%;
    padding: 15px 20px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 16px;
}

.hero-search button {
    width: 15%;
    padding: 15px;
    background: #ff5722;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.hero-search button:hover {
    background: #e64a19;
}

/* --- 通用板块样式 --- */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    color: #333;
    margin: 0;
}

.section-header p {
    color: #999;
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 14px;
}

/* --- 分类网格 --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列布局 */
    gap: 30px;
}

.category-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.category-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: #1ca4e5;
}

.cat-icon {
    width: 60px;
    height: 60px;
    background: #e3f2fd;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1ca4e5;
    font-size: 24px;
}

.category-item h3 {
    font-size: 18px;
    color: #333;
    margin: 15px 0;
}

.category-item span {
    color: #1ca4e5;
    font-size: 14px;
}

/* --- 优势板块 --- */
.advantage-section {
    background: #f9f9f9;
}

.advantage-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.adv-item {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.adv-item img {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.adv-item h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.adv-item p {
    color: #666;
    font-size: 14px;
}

/* --- 服务列表卡片 --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5列布局 */
    gap: 20px;
}

.service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .card-img img {
    transform: scale(1.1);
}

.tag-price {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(255, 87, 34, 0.9);
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 4px 0 0 0;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-size: 16px;
    margin: 0 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-body h3 a {
    color: #333;
    text-decoration: none;
}

.desc {
    color: #999;
    font-size: 13px;
    margin-bottom: 15px;
    height: 40px;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 12px;
}

.location i, .views i {
    margin-right: 4px;
}

/* --- 响应式适配 --- */
@media (max-width: 1200px) {
    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .service-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .service-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .hero-section { padding: 40px 0; }
    .hero-search input { width: 65%; }
    .hero-search button { width: 30%; }
    .category-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
    .advantage-grid { flex-direction: column; }
}