/* 列表页特定样式 */

/* 页面头部 */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.header-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.header-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb i {
    font-size: 12px;
}

/* 筛选器 */
.filters {
    padding: 40px 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    background: white;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-tab:hover {
    border-color: #06b6d4;
    color: #06b6d4;
}

.filter-tab.active {
    background: #06b6d4;
    border-color: #06b6d4;
    color: white;
}

.filter-controls {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-box input:focus {
    border-color: #06b6d4;
}

.sort-select select {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #64748b;
    cursor: pointer;
    outline: none;
}

/* 服务列表 */
.services-list {
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    opacity: 1;
}

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

.service-item.hidden {
    display: none;
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.service-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #f59e0b;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.service-badge:contains("推荐") {
    background: #10b981;
}

.service-badge:contains("新品") {
    background: #8b5cf6;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-item:hover .service-overlay {
    opacity: 1;
}

.view-details {
    background: white;
    color: #1e293b;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.view-details:hover {
    background: #06b6d4;
    color: white;
}

.service-content {
    padding: 25px;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.service-header h3 {
    font-size: 20px;
    color: #1e293b;
    margin-bottom: 5px;
}

.service-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
}

.service-rating i {
    color: #fbbf24;
}

.service-rating span {
    color: #6b7280;
    margin-left: 5px;
}

.service-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

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

.feature-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: #f59e0b;
}

.price-unit {
    color: #6b7280;
    font-size: 14px;
}

.btn-contact {
    background: #06b6d4;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

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

/* 加载更多 */
.load-more {
    text-align: center;
}

.btn-load-more {
    background: transparent;
    border: 2px solid #06b6d4;
    color: #06b6d4;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-load-more:hover {
    background: #06b6d4;
    color: white;
}

/* 联系咨询区域 */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    width: 40px;
    height: 40px;
    background: rgba(79, 70, 229, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06b6d4;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #06b6d4;
}

.btn-submit {
    background: #06b6d4;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #3730a3;
    transform: translateY(-2px);
}

/* 活动状态 */
.nav-menu a.active {
    color: #06b6d4;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 32px;
    }
    
    .header-content p {
        font-size: 16px;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box {
        max-width: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .input-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 0 50px;
    }
    
    .header-content h1 {
        font-size: 28px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .contact-info h2 {
        font-size: 28px;
    }
} 