/* 推荐产品部分 */
.recommended-products {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.recommended-products .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.recommended-products .section-title h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.recommended-products .section-title p {
    color: #666;
    font-size: 1.1rem;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.product-card .card-text {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-card .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
    margin: 1rem 0;
    text-align: center;
}

/* 产品卡片按钮样式 */
.product-card .btn-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.product-card .btn-primary,
.product-card .btn-outline-primary {
    padding: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.product-card .btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
}

.product-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.product-card .btn-outline-primary {
    border: 2px solid #3498db;
    color: #3498db;
}

.product-card .btn-outline-primary:hover {
    background: #3498db;
    color: #fff;
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .recommended-products {
        padding: 3rem 0;
    }
    
    .recommended-products .section-title h2 {
        font-size: 1.75rem;
    }
    
    .product-card .btn-primary,
    .product-card .btn-outline-primary {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .product-card .card-img-top {
        height: 180px;
    }
}

@media (max-width: 767.98px) {
    .recommended-products {
        padding: 2rem 0;
    }
    
    .recommended-products .section-title h2 {
        font-size: 1.5rem;
    }
    
    .recommended-products .section-title p {
        font-size: 1rem;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .product-card .btn-group {
        gap: 0.3rem;
    }
    
    .product-card .btn-primary,
    .product-card .btn-outline-primary {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .product-card .card-img-top {
        height: 160px;
    }
    
    .product-card .card-title {
        font-size: 1.1rem;
    }
    
    .product-card .price {
        font-size: 1.25rem;
    }
}

/* Banner 部分 */
.banner-section {
    position: relative;
    /*height: 100vh;*/
    /*min-height: 600px;*/
    overflow: hidden;
}

.banner-section .carousel-item {
    /*height: 100vh;*/
    /*min-height: 600px;*/
}

.banner-section .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    z-index: 1;
}

.banner-section .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    z-index: 2;
    width: 100%;
    padding: 0;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.banner-subtitle {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.banner-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.banner-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1.1rem;
}

.banner-features .feature-item i {
    color: #ff6b6b;
    font-size: 1.2rem;
}

.banner-actions {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

.banner-actions .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.banner-actions .btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.banner-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.banner-actions .btn-outline-light {
    border: 2px solid #fff;
    background: transparent;
}

.banner-actions .btn-outline-light:hover {
    background: #fff;
    color: #333;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(0,0,0,0.2);
}

.carousel-indicators {
    bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #ff6b6b;
    border-color: #fff;
    transform: scale(1.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .banner-title {
        font-size: 2.5rem;
    }

    .banner-subtitle {
        font-size: 1.2rem;
    }

    .banner-features {
        flex-direction: column;
        gap: 1rem;
    }

    .banner-actions {
        flex-direction: column;
    }

    .banner-actions .btn {
        width: 100%;
    }
}

/* 产品列表部分 */
.products-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #ff6b6b, #ff8e8e);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.product-image {
    position: relative;
    /*height: 250px;*/
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

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

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay .btn {
    padding: 10px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.product-overlay .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.product-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.product-description {
    color: #666;
    margin-bottom: 1.5rem;
    flex: 1;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.product-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f8f9fa;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
}

.product-features i {
    color: #ff6b6b;
}

.product-price {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.price-label {
    color: #666;
    font-size: 0.9rem;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-left: 10px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .products-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .product-image {
        /*height: 200px;*/
    }

    .product-info {
        padding: 20px;
    }

    .product-title {
        font-size: 1.3rem;
    }

    .product-description {
        font-size: 0.9rem;
    }

    .product-features span {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
} 