/* 轮播图样式 */
.banner {
    margin-top: 80px;
    background-color: #000;
}

.banner-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 500px;
    overflow: hidden;
}

.banner-slides {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #fff;
}

/* 家具分类样式 */
.furniture-category {
    padding: 50px 0;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.category-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-item h3 {
    font-size: 20px;
    color: #8B4513;
    margin: 15px;
}

.category-item p {
    color: #666;
    margin: 0 15px 15px;
}

/* 精品推荐样式 */
.featured {
    padding: 50px 0;
    background-color: #fff;
}

.featured-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.featured-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.featured-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-item:hover img {
    transform: scale(1.05);
}

.featured-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
}

.featured-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .banner-inner {
        height: 300px;
    }

    .category-list {
        grid-template-columns: 1fr;
    }

    .featured-list {
        grid-template-columns: 1fr;
    }

    .featured-item {
        height: 250px;
    }
} 