/* 全局样式定义 */
:root {
  --primary-color: #1a1a1a;
  --secondary-color: #f5f5f5;
  --accent-color: #8b7355;
  --text-color: #333;
  --light-text: #666;
  --border-color: #e0e0e0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--secondary-color);
  line-height: 1.6;
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏样式 */
nav {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
}

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

/* 主视觉区域 */
.hero {
  height: 90vh;
  min-height: 600px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

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

/* 网格布局 */
.grid {
  display: grid;
  gap: 40px;
  margin: 60px 0;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* 产品卡片 */
.product-card {
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 5px;
  color: var(--text-color);
}

.product-category {
  color: var(--light-text);
  font-size: 0.9rem;
}

/* 型录样式 */
.lookbook-item {
  position: relative;
  overflow: hidden;
}

.lookbook-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.lookbook-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  padding: 30px;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.lookbook-item:hover .lookbook-overlay {
  transform: translateY(0);
}

/* 关于页面样式 */
.about-section {
  padding: 80px 0;
}

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

.about-image {
  margin: 40px 0;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* 页脚 */
footer {
  text-align: center;
  padding: 20px;
  color: var(--light-text);
  font-size: 0.9rem;
  background: #fff;
  border-top: 1px solid var(--border-color);
}

/* 标题样式 */
.page-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 300;
  margin: 60px 0;
  color: var(--text-color);
}

/* 次要展示区 */
.secondary-showcase {
  padding: 40px 0;
}

.secondary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.secondary-item {
  background: #fff;
  overflow: hidden;
}

.secondary-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}