/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

/* 导航栏样式 */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #000;
}

/* 主内容区域 */
main {
    margin-top: 80px;
    min-height: calc(100vh - 140px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 轮播图样式 */
.banner {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-bottom: 4rem;
}

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 精选系列网格 */
.featured {
    margin-bottom: 4rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: #333;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.featured-item {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.featured-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-item:hover img {
    transform: scale(1.05);
}

.featured-info {
    padding: 1.5rem;
    text-align: center;
}

.featured-info h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.featured-info p {
    font-size: 0.9rem;
    color: #666;
}

/* 服饰系列页面样式 */
.series-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 25px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.series-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.series-item:hover {
    transform: translateY(-3px);
}

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

.series-info {
    padding: 1rem;
    text-align: center;
}

/* 穿搭灵感页面样式 */
.inspiration-grid {
    display: grid;
    gap: 4rem;
}

.inspiration-theme {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.inspiration-main {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.inspiration-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inspiration-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 3rem 2rem 2rem;
    color: #fff;
}

.inspiration-title {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.inspiration-desc {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.inspiration-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 2rem;
}

.detail-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* 关于我们页面样式 */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #333;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

/* 页脚样式 */
footer {
    background: #000;
    color: #999;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer p {
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        padding: 0 1rem;
    }
    
    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .banner {
        height: 400px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .series-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .inspiration-main {
        height: 350px;
    }
    
    .inspiration-title {
        font-size: 1.4rem;
    }
    
    .about-content {
        padding: 2rem 1rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    main {
        margin-top: 120px;
    }
    
    .banner {
        height: 300px;
    }
    
    .featured-item img {
        height: 250px;
    }
    
    .series-item img {
        height: 200px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.featured-item,
.series-item,
.inspiration-theme {
    animation: fadeIn 0.6s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}