/* ============================================================
   Services Page Styles - Optimized for Sogou SEO
   天均安洁家政服务 - 服务列表页专用样式
   ============================================================ */

/* 页面头部 */
.services-hero {
    background: linear-gradient(135deg, #fff8f3 0%, #fff0e6 50%, #ffe8d6 100%);
    color: #2c3e50;
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(232, 120, 58, 0.08), transparent);
    border-radius: 50%;
}

.services-hero .breadcrumb a {
    color: #e8783a;
    text-decoration: none;
}

.services-hero h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.services-hero .lead {
    color: #6a7a8a;
    font-size: 16px;
}

.services-hero .btn-contact {
    background: #e8783a;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 32px;
    font-weight: 500;
    transition: all 0.3s;
}

.services-hero .btn-contact:hover {
    background: #d5683a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 120, 58, 0.3);
}

/* 分类筛选 */
.services-filter {
    background: white;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 32px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.services-filter-title {
    font-weight: 700;
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 12px;
}

.services-filter-title i {
    color: #e8783a;
}

.filter-btn {
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 14px;
    transition: all 0.2s;
    border: 1px solid #f5dcc8;
    color: #6a7a8a;
    background: #fff8f3;
}

.filter-btn:hover,
.filter-btn.active {
    background: #e8783a;
    color: white;
    border-color: #e8783a;
}

/* 服务卡片 */
.service-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
}

.service-item:hover {
    border-color: #f5dcc8;
    box-shadow: 0 8px 28px rgba(232, 120, 58, 0.1);
    transform: translateY(-4px);
}

.service-item-img-wrapper {
    position: relative;
    overflow: hidden;
}

.service-item-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-item:hover .service-item-img {
    transform: scale(1.05);
}

.service-item-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #e8783a;
    border-radius: 15px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-item-body {
    padding: 24px;
}

.service-item-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-item-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s;
}

.service-item-title a:hover {
    color: #e8783a;
}

.service-item-desc {
    color: #7a8a9a;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-item-features {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.service-feature-tag {
    background: #f8f9fa;
    color: #6a7a8a;
    border-radius: 12px;
    padding: 4px 12px;
    font-size: 12px;
}

.service-feature-tag i {
    color: #28a745;
    margin-right: 3px;
}

.service-item-price {
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    margin-bottom: 16px;
}

.service-item-price .price {
    color: #e8783a;
    font-size: 24px;
    font-weight: 700;
}

.service-item-price .unit {
    color: #b0b8c4;
    font-size: 13px;
}

.service-item-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-item-actions .btn {
    border-radius: 20px;
    font-size: 14px;
    padding: 8px 0;
    transition: all 0.2s;
}

.service-item-actions .btn-detail {
    border: 1px solid #e8783a;
    color: #e8783a;
    background: transparent;
}

.service-item-actions .btn-detail:hover {
    background: #fff5ed;
}

.service-item-actions .btn-book {
    background: #e8783a;
    border: 1px solid #e8783a;
    color: white;
}

.service-item-actions .btn-book:hover {
    background: #d5683a;
    border-color: #d5683a;
}

/* 服务优势 */
.services-advantages {
    background: linear-gradient(135deg, #fff8f3, #fff0e6);
    padding: 56px 0;
}

.advantage-card {
    text-align: center;
    padding: 24px 16px;
}

.advantage-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
    color: white;
}

.advantage-icon.bg-orange { background: linear-gradient(135deg, #e8783a, #f0a060); }
.advantage-icon.bg-green { background: linear-gradient(135deg, #28a745, #48c778); }
.advantage-icon.bg-yellow { background: linear-gradient(135deg, #ffa726, #ffb74d); }
.advantage-icon.bg-blue { background: linear-gradient(135deg, #26c6da, #4dd0e1); }

.advantage-card h5 {
    font-weight: 700;
    margin-bottom: 8px;
    color: #2c3e50;
}

.advantage-card p {
    color: #7a8a9a;
    font-size: 14px;
    margin: 0;
}

/* CTA区域 */
.services-cta {
    background: linear-gradient(135deg, #e8783a, #f0a060);
    color: white;
    padding: 48px 0;
}

.services-cta h2 {
    font-weight: 700;
    margin-bottom: 12px;
}

.services-cta .btn {
    background: white;
    color: #e8783a;
    border: none;
    border-radius: 25px;
    padding: 12px 40px;
    font-weight: 600;
    transition: all 0.3s;
}

.services-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* 空状态 */
.empty-services {
    text-align: center;
    padding: 80px 20px;
    color: #b0b8c4;
}

.empty-services i {
    font-size: 56px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

/* 响应式 */
@media (max-width: 768px) {
    .services-hero {
        padding: 32px 0;
        text-align: center;
    }

    .services-hero h1 {
        font-size: 24px;
    }

    .service-item-actions {
        grid-template-columns: 1fr;
    }
}
