/* 鞋子展示网站 - 全局样式文件 */
/* 极简主义设计，响应式布局 */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 字体设置 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 容器布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #333;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #333;
}

.nav-links a.active {
    color: #333;
    font-weight: 400;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 精选鞋款区域 */
.featured-shoes {
    padding: 100px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.shoe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.shoe-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.shoe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.shoe-image {
    width: 100%;
    height: 300px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.shoe-card:hover .shoe-image img {
    transform: scale(1.05);
}

.shoe-info {
    padding: 25px;
    text-align: center;
}

.shoe-info h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.shoe-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 设计哲学页面样式 */
.philosophy-section {
    padding: 120px 0 80px;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-item {
    margin-bottom: 80px;
}

.philosophy-item h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-align: center;
}

.philosophy-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
    text-align: justify;
}

.detail-image {
    width: 100%;
    height: 400px;
    background: #f8f8f8;
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品展示页面样式 */
.gallery-section {
    padding: 120px 0 80px;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.filter-tab {
    padding: 12px 30px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.filter-tab:hover, .filter-tab.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

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

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-images {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-image.active {
    opacity: 1;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.image-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.image-dot.active {
    background: #fff;
}

.gallery-info {
    padding: 25px;
}

.gallery-info h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.gallery-info p {
    color: #666;
    line-height: 1.6;
}

/* 寻找我们页面样式 */
.find-us-section {
    padding: 120px 0 80px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
}

.find-us-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.find-us-content h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.find-us-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.atmosphere-image {
    width: 100%;
    height: 400px;
    background: #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 50px;
}

.atmosphere-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 页脚样式 */
footer {
    background: #f8f8f8;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer p {
    color: #666;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .shoe-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        flex-wrap: wrap;
    }
    
    .philosophy-item h2 {
        font-size: 1.5rem;
    }
    
    .philosophy-item p {
        font-size: 1rem;
    }
    
    .find-us-content h1 {
        font-size: 2rem;
    }
    
    .find-us-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .shoe-info, .gallery-info {
        padding: 20px;
    }
}

/* 加载动画 */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

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

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

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

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

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