/* Fashion Showcase - Minimalist & High-End Style */
/* 视觉设计: 现代极简, 黑白灰, 视觉叙事 */

/* 1. 字体与基础设置 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500&display=swap');

:root {
    /* 极简配色系统 - 2026趋势 */
    --color-bg: #f7f7f7;       /* 极浅灰背景，柔和护眼 */
    --color-text: #1a1a1a;     /* 近黑色文字 */
    --color-text-mute: #6e6e6e;/* 次级文字 */
    --color-line: #e0e0e0;     /* 分割线 */
    
    /* 字体系统 */
    --font-cn: 'Noto Sans SC', 'Source Han Sans CN', sans-serif;
    --font-en: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    
    /* 动效参数 */
    --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
    --duration-base: 0.6s;
}

/* 全局重置与排版 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-en), var(--font-cn);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* 防止横向滚动 */
    opacity: 0;
    transition: opacity 0.8s ease-in;
}

/* 页面加载完成状态 */
body.loaded {
    opacity: 1;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 2. 导航栏 (固定顶部) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    mix-blend-mode: difference; /* 关键：在黑白背景下均可见 */
    color: #ffffff;
    pointer-events: none; /* 允许点击穿透空白处 */
}

.nav-menu {
    display: flex;
    gap: 4rem;
    pointer-events: auto; /* 链接可点 */
}

.nav-link {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    padding-bottom: 4px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.4s var(--ease-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* 3. 通用组件 */
/* 图片容器：悬停放大+遮罩 */
.visual-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #e5e5e5; /* 图片加载前的占位色 */
}

.visual-wrapper img {
    transition: transform 1.2s var(--ease-smooth), filter 0.5s ease;
    will-change: transform;
}

.visual-wrapper:hover img {
    transform: scale(1.03);
}

.visual-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0);
    transition: background-color 0.4s ease;
    pointer-events: none;
}

.visual-wrapper:hover::after {
    background-color: rgba(0,0,0,0.1);
}

/* 渐入动画类 */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 4. 首页 (INDEX) 样式 */
/* 全屏轮播 */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide-item.active {
    opacity: 1;
    z-index: 2;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 极简风偏好稍微冷一点的色调，这里保持原图 */
}

.slide-text {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    color: #ffffff;
    font-size: 1.125rem;
    letter-spacing: 0.2em;
    z-index: 3;
    opacity: 0;
    transform: translateY(10px);
    transition: all 1s ease 0.5s;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.slide-item.active .slide-text {
    opacity: 1;
    transform: translateY(0);
}

/* 导语模块 */
.intro-section {
    padding: 10rem 1.5rem 6rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: 0.1em;
}

.intro-desc {
    font-size: 1rem;
    color: var(--color-text-mute);
    line-height: 2;
    text-align: justify;
    text-align-last: center; /* 最后一行居中 */
    margin-bottom: 0;
}

/* 入口卡片 */
.nav-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 8rem;
    padding: 0 2rem;
}

.card-link {
    display: block;
}

.card-visual {
    aspect-ratio: 4/5;
    width: 100%;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    letter-spacing: 0.15em;
    font-weight: 400;
    color: var(--color-text);
}

/* 5. 系列展示 (COLLECTIONS) 样式 */
.collections-page {
    padding-top: 8rem;
    max-width: 1600px;
    margin: 0 auto;
}

.collection-group {
    margin-bottom: 10rem;
    padding: 0 2rem;
}

.group-header {
    margin-bottom: 3rem;
    padding-left: 1rem;
    border-left: 2px solid var(--color-text);
}

.group-title {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.group-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item figure {
    margin: 0;
}

.gallery-img {
    aspect-ratio: 4/5;
}

.img-caption {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-mute);
    letter-spacing: 0.05em;
}

.bottom-nav-hint {
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 4rem;
}

.hint-link {
    color: var(--color-text-mute);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.hint-link:hover {
    color: var(--color-text);
    border-bottom-color: var(--color-text);
}

/* 6. 风格故事 (STORY) 样式 */
.story-page {
    padding-top: 6rem;
}

.story-unit {
    display: flex;
    align-items: center;
    min-height: 85vh;
    padding: 4rem 8%;
    gap: 6rem;
}

.story-unit:nth-child(even) {
    flex-direction: row-reverse;
}

.story-visual-wrap {
    flex: 1;
    height: 75vh;
}

.story-visual-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    flex: 0.8;
    padding: 0 2rem;
}

.story-heading {
    font-size: 1.75rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.story-body {
    font-size: 1rem;
    color: var(--color-text-mute);
    line-height: 2;
    text-align: justify;
}

.story-epilogue {
    max-width: 680px;
    margin: 4rem auto 8rem;
    padding: 0 1.5rem;
    text-align: center;
}

.epilogue-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-mute);
    line-height: 2;
}

/* 7. 页脚 */
.site-footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid transparent; /* 保持空间但不可见 */
}

.copyright {
    font-size: 0.75rem;
    color: #b0b0b0; /* 浅灰色 */
    letter-spacing: 0.1em;
}

/* 8. 响应式布局 */
@media (max-width: 1024px) {
    .story-unit {
        gap: 3rem;
        padding: 4rem 4%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem 0;
    }
    
    .nav-menu {
        gap: 2rem;
    }
    
    .intro-title {
        font-size: 2rem;
    }
    
    .nav-cards {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .group-gallery {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .story-unit, .story-unit:nth-child(even) {
        flex-direction: column;
        padding: 4rem 1.5rem;
        height: auto;
    }
    
    .story-visual-wrap {
        width: 100%;
        height: 60vh;
        margin-bottom: 2rem;
    }
    
    .story-content {
        padding: 0;
        text-align: left;
    }
    
    .story-heading {
        margin-bottom: 1rem;
    }
}