

/* 服务详情主体 */
.service-detail {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.service-gallery {
    flex: 1;
}

.main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.thumb-img-list {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumb-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.thumb-img:hover, .thumb-img.active {
    opacity: 1;
    border: 2px solid #3498db;
}

.service-info {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.service-title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #7f8c8d;
}

svg{
    width: auto;
    height: 16px;
}

.btn-group>.btn:first-child{
    display: flex;
    align-items: anchor-center;
}

.btn{
    width: 200px;
    height: 50px;
    font-size: 20px !important;
}


.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
}

.meta-item i {
    color: #3498db;
    margin-right: 5px;
}

.service-price {
    font-size: 28px;
    color: #e74c3c;
    font-weight: bold;
    margin: 20px 0;
}

.service-price span {
    font-size: 16px;
    color: #7f8c8d;
    font-weight: normal;
    text-decoration: line-through;
    margin-left: 10px;
}

.btn-group {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.btn {
    padding: 12px 30px;
    border-radius: 4px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #f5f7fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #eee;
}

/* 服务详情与包含项 */
.service-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: 30px;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #3498db;
}

.service-desc {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.service-desc div{
    font-size: 16px;
}

.service-include {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.include-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}

.include-item i {
    color: #2ecc71;
    margin-right: 10px;
    font-size: 20px;
}

/* 作者信息 */
.author-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f6f9fc 0%, #eef2f7 100%);
    border-radius: 8px;
    margin-top: 20px;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.author-info h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.author-rating {
    color: #f39c12;
    margin: 5px 0;
}

.author-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.author-tag {
    font-size: 12px;
    padding: 3px 10px;
    background: #3498db;
    color: white;
    border-radius: 20px;
}

/* 相关推荐 */
.related-services {
    margin-top: 40px;
}

.related-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.related-card {
    width: calc(25% - 20px);
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-content {
    padding: 15px;
}

.related-title {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 8px;
}

.related-price {
    color: #e74c3c;
    font-weight: bold;
}

/* 页脚样式（复用首页） */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .service-detail {
        flex-direction: column;
    }
    .related-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        margin-top: 15px;
    }
    nav li {
        margin: 0 15px;
    }
    .main-img {
        height: 280px;
    }
    .btn-group {
        flex-direction: column;
    }
    .author-card {
        flex-direction: column;
        text-align: center;
    }
    .related-card {
        width: 100%;
    }
}
