/* 极简现代风格全局样式 */
:root {
  --primary-color: #000000;
  --secondary-color: #ffffff;
  --accent-color: #f5f5f5;
  --text-color: #333333;
  --light-text: #666666;
  --border-color: #e5e5e5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

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

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

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

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* 主容器样式 */
.main-container {
  margin-top: 60px;
  min-height: calc(100vh - 60px);
}

/* 页脚样式 */
.footer {
  text-align: center;
  padding: 2rem;
  color: var(--light-text);
  font-size: 0.85rem;
}

/* 标题样式 */
.title {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--light-text);
  margin-bottom: 2rem;
}

/* 图片容器 */
.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

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

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

/* 网格布局 */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

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

/* 卡片样式 */
.card {
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card-image {
  height: 400px;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--light-text);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border: none;
  border-radius: 2px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #333333;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }

  .nav-menu {
    gap: 1rem;
    font-size: 0.8rem;
  }

  .title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 1rem;
  }

  .nav-menu {
    gap: 0.5rem;
  }

  .nav-link {
    font-size: 0.75rem;
  }
}

/* 轮播图样式 */
.carousel {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.carousel-item {
  min-width: 100%;
  height: 100%;
  position: relative;
}

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

.carousel-caption {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--secondary-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-title {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.carousel-text {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
}

/* 详情页样式 */
.detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.detail-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.detail-main-image {
  grid-column: span 2;
  height: 500px;
}

.detail-image {
  height: 250px;
}

.detail-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.detail-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--light-text);
  margin-bottom: 2rem;
}

/* 型录页面样式 */
.lookbook-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.lookbook-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.lookbook-main-image {
  height: 600px;
}

.lookbook-detail-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.lookbook-detail-image {
  height: 190px;
}

/* 关于页面样式 */
.about-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.about-image {
  height: 400px;
  margin-bottom: 3rem;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto;
}

/* 隐藏滚动条但保持功能 */
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* 加载动画 */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 渐入动画 */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

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