/* 产品页面样式 */

/* 产品页头部 */
.products-header {
    background: linear-gradient(to right, #2c3e50, #4ca1af);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.products-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.products-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 产品分类 */
.products-categories {
    background-color: #f7f7f7;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.category-tabs {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-tabs li {
    margin: 0 15px;
}

.category-tabs li a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 25px;
    display: block;
    transition: all 0.3s;
}

.category-tabs li a:hover {
    color: #1e88e5;
}

.category-tabs li.active a {
    background-color: #1e88e5;
    color: #fff;
}

/* 产品列表 */
.products-listing {
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-image {
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 1.3rem;
}

.product-desc {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.product-price {
    color: #1e88e5;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.product-info .btn {
    display: inline-block;
    background-color: #1e88e5;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.product-info .btn:hover {
    background-color: #1565c0;
}

/* 套餐推荐 */
.product-packages {
    background-color: #f5f7fa;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #333;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.package-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s;
}

.package-item:hover {
    transform: translateY(-10px);
}

.package-item.featured {
    position: relative;
    border: 2px solid #1e88e5;
    transform: scale(1.05);
}

.package-item.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-header {
    background-color: #1e88e5;
    color: white;
    padding: 25px 20px;
    text-align: center;
}

.package-item.featured .package-header {
    background-color: #1565c0;
}

.package-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0 0;
}

.package-content {
    padding: 30px 20px;
}

.package-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.package-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: #555;
}

.package-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1e88e5;
    font-weight: bold;
}

.package-content .btn {
    display: block;
    text-align: center;
    background-color: #1e88e5;
    color: white;
    padding: 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.package-content .btn:hover {
    background-color: #1565c0;
}

/* 定制化服务 */
.custom-service {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/custom-service-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.custom-content {
    max-width: 800px;
    margin: 0 auto;
}

.custom-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.custom-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-large {
    display: inline-block;
    background-color: #1e88e5;
    color: white;
    padding: 15px 35px;
    font-size: 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-large:hover {
    background-color: #1565c0;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .products-header {
        padding: 50px 0;
    }
    
    .products-header h2 {
        font-size: 2rem;
    }
    
    .category-tabs {
        flex-wrap: wrap;
    }
    
    .category-tabs li {
        margin: 5px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .package-item.featured {
        transform: scale(1);
        margin: 20px 0;
    }
    
    .package-item.featured:hover {
        transform: translateY(-10px);
    }
    
    .custom-content h2 {
        font-size: 1.8rem;
    }
} 