/* 卫衣美学展示网站 - 全局样式文件 */
/* 极简主义设计风格，黑白灰为主色调 */

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    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 #f0f0f0;
}

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

.nav-logo {
    font-weight: 300;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #000;
    text-decoration: none;
}

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

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #000;
}

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

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

/* 英雄区域样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #000;
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

/* 系列页面样式 */
.collection-section {
    padding: 5rem 0;
    background: #fff;
}

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

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

.hoodie-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.hoodie-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.hoodie-item:hover .hoodie-image {
    transform: scale(1.05);
}

.hoodie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hoodie-item:hover .hoodie-overlay {
    opacity: 1;
}

.view-details-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    background: #fff;
    color: #000;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background: #fff;
    margin: 2rem auto;
    max-width: 900px;
    border-radius: 8px;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #000;
    color: #fff;
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    font-size: 1.2rem;
}

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

.modal-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

.modal-info {
    padding: 2rem;
    background: #f8f8f8;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.modal-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
}

/* 理念页面样式 */
.philosophy-section {
    padding: 5rem 0;
    background: #f8f8f8;
}

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

.philosophy-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #555;
}

.philosophy-image {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    margin: 2rem 0;
    border-radius: 4px;
}

/* 型录页面样式 */
.lookbook-section {
    padding: 5rem 0;
    background: #fff;
}

.lookbook-gallery {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.lookbook-item {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lookbook-image {
    flex: 1;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.lookbook-info {
    flex: 1;
    padding: 2rem;
}

.lookbook-title {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.lookbook-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

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

/* 动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hoodie-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .modal-gallery {
        grid-template-columns: 1fr;
    }
    
    .lookbook-item {
        flex-direction: column;
    }
    
    .lookbook-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* 工具类 */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.opacity-0 {
    opacity: 0;
}

.opacity-1 {
    opacity: 1;
}

.transition-all {
    transition: all 0.3s ease;
}