/* 详情页专用样式 */

/* 详情头部 */
.detail-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 200"><path d="M0,100 C150,200 350,0 500,100 C650,200 850,0 1000,100 L1000,00 L0,0 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb i {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb span {
    color: white;
    font-weight: 500;
}

.detail-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.service-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.detail-info h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.service-meta {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating i {
    color: #ffd700;
    font-size: 14px;
}

.rating span {
    color: white;
    font-weight: 500;
    margin-left: 5px;
}

.reviews {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.views {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.service-intro {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.price-info {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #ffd700;
}

.price-unit {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.price-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.btn-favorite {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-favorite:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.detail-image {
    position: relative;
}

.detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.image-gallery {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 详情内容 */
.detail-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.main-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-section {
    margin-bottom: 50px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.detail-item {
    margin-bottom: 30px;
}

.detail-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 15px;
}

.detail-item p {
    font-size: 16px;
    line-height: 1.8;
    color: #5a6c7d;
    margin-bottom: 15px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    font-size: 16px;
    color: #5a6c7d;
}

.feature-list li i {
    color: #27ae60;
    margin-right: 15px;
    font-size: 14px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
}

.process-steps {
    display: grid;
    gap: 25px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.step:hover {
    background: #e9ecef;
    transform: translateX(10px);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.step-content p {
    color: #5a6c7d;
    line-height: 1.6;
}

/* 案例展示 */
.case-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.case-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-info {
    padding: 20px;
}

.case-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.case-info p {
    color: #5a6c7d;
    font-size: 14px;
}

/* 客户评价 */
.reviews-list {
    display: grid;
    gap: 25px;
}

.review-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.reviewer-info p {
    color: #7f8c8d;
    font-size: 14px;
}

.review-rating i {
    color: #ffd700;
    font-size: 14px;
}

.review-content {
    font-size: 16px;
    line-height: 1.7;
    color: #5a6c7d;
    margin-bottom: 15px;
}

.review-date {
    color: #95a5a6;
    font-size: 14px;
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sidebar-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
}

/* 发布人信息 */
.publisher-card {
    text-align: center;
}

.publisher-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    text-align: left;
}

.publisher-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.publisher-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.publisher-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.publisher-rating i {
    color: #ffd700;
    font-size: 12px;
}

.publisher-rating span {
    color: #5a6c7d;
    font-size: 14px;
    font-weight: 500;
}

.publisher-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #7f8c8d;
}

.contact-info {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: #5a6c7d;
}

.contact-item i {
    color: #667eea;
    width: 16px;
}

.contact-buttons {
    display: grid;
    gap: 10px;
}

.btn-contact-phone,
.btn-contact-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-contact-phone {
    background: #27ae60;
    color: white;
}

.btn-contact-phone:hover {
    background: #2ecc71;
    transform: translateY(-2px);
}

.btn-contact-form {
    background: #667eea;
    color: white;
}

.btn-contact-form:hover {
    background: #764ba2;
    transform: translateY(-2px);
}

/* 相关服务 */
.related-list {
    display: grid;
    gap: 15px;
}

.related-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.related-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.related-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.related-price {
    color: #667eea;
    font-weight: 600;
    font-size: 14px;
}

/* 服务保障 */
.guarantee-list {
    display: grid;
    gap: 15px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.guarantee-item i {
    color: #27ae60;
    font-size: 18px;
}

.guarantee-item span {
    color: #5a6c7d;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .detail-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .detail-info h1 {
        font-size: 2.5rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .detail-header {
        padding: 100px 0 40px;
    }
    
    .detail-info h1 {
        font-size: 2rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .service-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .price-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .action-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .main-content {
        padding: 30px 20px;
    }
    
    .sidebar-section {
        padding: 25px 20px;
    }
    
    .case-gallery {
        grid-template-columns: 1fr;
    }
    
    .publisher-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .detail-info h1 {
        font-size: 1.8rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .publisher-header {
        flex-direction: column;
        text-align: center;
    }
} 