/* 
 * Fashion Showcase Website - Global Styles
 * Theme: Modern, Minimalist, Elegant
 * Version: 1.0.0
 * Copyright: HAISNAP @2025
 */

:root {
    /* Color Palette - Neutral & Morandi Tones */
    --color-bg-body: #FAFAFA;       /* 米白 */
    --color-bg-section: #F5F5F5;    /* 高级灰 */
    --color-bg-accent: #F0EAD6;     /* 浅杏色 */
    
    --color-text-primary: #2C2C2C;  /* 深灰黑 */
    --color-text-secondary: #666666;/* 中灰 */
    --color-text-light: #999999;    /* 浅灰 */
    
    --color-accent-gold: #C5A080;   /* 香槟金/燕麦色混合 */
    --color-accent-blue: #B0C4DE;   /* 雾霾蓝 */
    --color-accent-pink: #E6C3C3;   /* 豆沙粉 */
    
    /* Typography */
    --font-primary: "Helvetica Neue", Helvetica, "PingFang SC", "Source Han Sans CN", "Microsoft YaHei", Arial, sans-serif;
    --font-serif: "Times New Roman", Times, serif; /* 用于强调或引语 */
    
    /* Spacing & Layout */
    --spacing-unit: 8px;
    --container-width: 1200px;
    --header-height: 70px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-body);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-gold);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; text-transform: uppercase; letter-spacing: 0.1em; text-align: center; margin-top: 4rem; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: var(--color-text-secondary); }

.text-center { text-align: center; }
.text-serif { font-family: var(--font-serif); font-style: italic; }
.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--color-accent-gold);
    margin: 1rem auto 0;
}

/* --- Layout Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light { background-color: var(--color-bg-section); }
.bg-white { background-color: #FFFFFF; }

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    transition: all var(--transition-fast);
}

.navbar-brand {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

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

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-text-primary);
    transition: width var(--transition-fast);
}

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

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: absolute;
    bottom: 15%;
    left: 10%;
    color: #FFF;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 10;
    max-width: 600px;
}

.hero-content h2 {
    text-align: left;
    margin: 0 0 1rem 0;
    font-size: 3rem;
    color: #FFF;
}

.hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

/* --- Collections & Grid --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.collection-item {
    position: relative;
    overflow: hidden;
    group: hover;
}

.img-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 4/5; /* Portrait ratio */
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.collection-info {
    margin-top: 15px;
    text-align: center;
}

.collection-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.collection-info p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* --- Styles Classification --- */
.style-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.style-tag {
    padding: 8px 24px;
    border: 1px solid #E0E0E0;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.style-tag:hover, .style-tag.active {
    background-color: var(--color-text-primary);
    color: #FFF;
    border-color: var(--color-text-primary);
}

/* --- Sustainability Section --- */
.sus-card {
    background: #FFF;
    padding: 40px;
    text-align: center;
    transition: transform var(--transition-fast);
}

.sus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* --- Footer --- */
.site-footer {
    background-color: #FAFAFA;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #EEE;
    font-size: 12px;
    color: #999;
}

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

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-content h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .navbar { padding: 0 20px; }
    .nav-links { display: none; } /* Mobile menu simplified for now */
    
    /* Simple Mobile Menu Trigger (Visual only for CSS) */
    .mobile-menu-btn { display: block; }
    
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .hero-content { left: 5%; bottom: 10%; width: 90%; }
    .hero-content h2 { font-size: 2rem; }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .container { padding: 0 15px; }
}