.container {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

/* 主内容区 */
.main-content {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
}

/* 左侧图片区 */
.service-images {
    width: 50%;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-image {
    width: 100%;
    height: 400px;
    background-color: #f9f9f9;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background-color: #f9f9f9;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.thumbnail img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnail.active {
    border-color: #2E5BFF;
}

.thumbnail:hover {
    border-color: #2E5BFF;
}

/* 右侧信息区 */
.service-info {
    width: 50%;
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.service-tags span {
    color: #2E5BFF;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.service-price {
    background-color: #fff8f5;
    border-left: 4px solid #FF5722;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 0 4px 4px 0;
}

.price-label {
    color: #666;
    margin-bottom: 8px;
    font-size: 13px;
}

.price-value {
    font-size: 28px;
    font-weight: bold;
    color: #FF5722;
}

.price-value span {
    font-size: 16px;
}

.price-note {
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

.service-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background-color: #FF5722;
    color: white;
    flex: 2;
}

.btn-primary:hover {
    background-color: #E64A19;
}

.btn-secondary {
    background-color: #2E5BFF;
    color: white;
    flex: 1;
}

.btn-secondary:hover {
    background-color: #1E47CC;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #2E5BFF;
    color: #2E5BFF;
    flex: 1;
}

.btn-outline:hover {
    background-color: #f0f5ff;
}

.publisher {
    border-top: 1px dashed #eee;
    padding-top: 20px;
}

.publisher-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.publisher-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.publisher-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f0f0f0;
    overflow: hidden;
}

.publisher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.publisher-details {
    flex: 1;
}

.publisher-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.publisher-level {
    display: inline-block;
    background-color: #FFF3CD;
    color: #D39E00;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 10px;
}

.publisher-rating {
    color: #666;
    font-size: 13px;
}

.publisher-stats {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    font-size: 13px;
}

.publisher-stat {
    color: #666;
}

.publisher-stat span {
    color: #2E5BFF;
    font-weight: 600;
}

.publisher-actions {
    display: flex;
    gap: 10px;
}

.publisher-btn {
    padding: 6px 15px;
    font-size: 14px;
}

/* 服务详情区 */
.service-details {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.detail-section {
    margin-bottom: 35px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    color: #333;
}

.section-content {
    line-height: 1.8;
}

.overview-content {
    font-size: 15px;
    color: #555;
}

.overview-content p {
    margin-bottom: 15px;
}

.service-includes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.include-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 6px;
}

.include-icon {
    color: #2E5BFF;
    margin-top: 3px;
}

.include-text h4 {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 15px;
}

.include-text p {
    color: #666;
    font-size: 14px;
}

.work-samples {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.sample-item {
    height: 180px;
    background-color: #f9f9f9;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.sample-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sample-item:hover {
    transform: scale(1.03);
}

/* 交付标准 */
.delivery-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.delivery-table th, .delivery-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.delivery-table th {
    background-color: #f9f9f9;
    font-weight: 600;
    width: 200px;
}

/* 相关服务推荐 */
.related-services {
    margin-bottom: 50px;
}

.related-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.related-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-image {
    height: 180px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.related-info {
    padding: 15px;
}

.related-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.related-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
}

.related-tag {
    background-color: #f0f5ff;
    color: #2E5BFF;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.related-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.related-price {
    color: #FF5722;
    font-weight: bold;
    font-size: 16px;
}

.related-publisher {
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #f0f0f0;
    overflow: hidden;
}

.related-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-publisher-name {
    font-size: 13px;
    color: #666;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #ccc;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }
    
    .service-images, .service-info {
        width: 100%;
    }
    
    .main-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        margin: 15px 0 0;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a:not(.btn) span {
        display: none;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .publisher-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .publisher-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .work-samples, .service-includes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .main-image {
        height: 250px;
    }
    
    .thumbnail {
        width: 70px;
        height: 70px;
    }
    
    .service-title {
        font-size: 18px;
    }
    
    .price-value {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}