/* 高级感服装展示网站 - 全局样式文件 */
/* 定义极简风格、字体和动画效果 */

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

/* 字体定义 - 思源黑体 */
@font-face {
    font-family: 'Source Han Sans CN';
    font-weight: 300;
    src: local('Source Han Sans CN Light'), local('PingFang SC Light'), local('Microsoft YaHei Light');
}

@font-face {
    font-family: 'Source Han Sans CN';
    font-weight: 400;
    src: local('Source Han Sans CN Normal'), local('PingFang SC'), local('Microsoft YaHei');
}

@font-face {
    font-family: 'Source Han Sans CN';
    font-weight: 500;
    src: local('Source Han Sans CN Medium'), local('PingFang SC Medium'), local('Microsoft YaHei');
}

/* 全局样式 */
body {
    font-family: 'Source Han Sans CN', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* 容器样式 */
.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;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #333;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 页面内容样式 */
.page-content {
    min-height: 100vh;
    padding-top: 80px;
}

/* 全屏图片容器 */
.fullscreen-image {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.fullscreen-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 图片网格布局 */
.image-grid {
    display: grid;
    gap: 2rem;
    padding: 4rem 2rem;
}

.grid-2-col {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3-col {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4-col {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* 图片卡片样式 */
.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    background: #f8f8f8;
}

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

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

/* 文字内容样式 */
.text-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.main-title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    color: #333;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.supporting-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

/* 页脚样式 */
.footer {
    text-align: center;
    padding: 3rem 0;
    color: #999;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

.slide-in {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInRight 0.8s ease forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 图片加载动画 */
.image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 1rem;
    }
    
    .text-content {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .main-title {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 1.3rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

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

/* 选择文本样式 */
::selection {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}