@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100;300;400;500;700&display=swap');

@import url('https://cdn.tailwindcss.com');

:root {
  --color-primary: #f5f5f0;
  --color-secondary: #e8e8e3;
  --color-accent: #d4d4cf;
  --color-text-primary: #333333;
  --color-text-secondary: #666666;
  --color-text-light: #999999;
  --font-family-primary: 'Noto Sans SC', sans-serif;
}

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

body {
  font-family: var(--font-family-primary);
  background-color: var(--color-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* 首页轮播图样式 */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

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

.hero-caption {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-caption h2 {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.hero-caption p {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.hero-caption a {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: white;
  text-decoration: none;
  font-weight: 300;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.hero-caption a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* 导航栏样式 */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navigation.scrolled {
  background-color: rgba(245, 245, 240, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--color-text-primary);
}

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

.nav-item {
  margin-left: 30px;
}

.nav-link {
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: 300;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

/* 系列页面瀑布流样式 */
.series-grid {
  column-count: 3;
  column-gap: 20px;
  padding: 40px 0;
}

.series-item {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.series-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.series-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.series-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.series-title {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.series-description {
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  max-width: 80%;
  text-align: center;
}

/* 美学页面样式 */
.aesthetics-hero {
  height: 70vh;
  position: relative;
  overflow: hidden;
}

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

.aesthetics-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

.aesthetics-title {
  color: white;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-align: center;
}

.aesthetics-content {
  padding: 80px 0;
}

.aesthetics-section {
  margin-bottom: 100px;
}

.aesthetics-section h2 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  text-align: center;
}

.aesthetics-section p {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.05em;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 2rem;
}

.aesthetics-image {
  width: 100%;
  margin: 40px 0;
}

.aesthetics-image img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

/* 页脚样式 */
.footer {
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid var(--color-accent);
}

.copyright {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero-caption h2 {
    font-size: 2.5rem;
  }
  
  .series-grid {
    column-count: 2;
  }
  
  .aesthetics-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-caption h2 {
    font-size: 2rem;
  }
  
  .hero-caption p {
    font-size: 1rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--color-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 1001;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    margin: 0;
    margin-bottom: 30px;
  }
  
  .hamburger {
    display: block;
    cursor: pointer;
  }
  
  .hamburger span {
    display: block;
    width: 25px;
    height: 1px;
    background-color: var(--color-text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
  }
  
  .series-grid {
    column-count: 1;
  }
  
  .aesthetics-title {
    font-size: 2rem;
  }
  
  .aesthetics-section {
    margin-bottom: 60px;
  }
}

@media (max-width: 480px) {
  .hero-caption {
    bottom: 30px;
  }
  
  .hero-caption h2 {
    font-size: 1.8rem;
  }
  
  .hero-caption p {
    font-size: 0.9rem;
  }
  
  .aesthetics-title {
    font-size: 1.8rem;
  }
  
  .aesthetics-section h2 {
    font-size: 1.5rem;
  }
  
  .aesthetics-section p {
    font-size: 1rem;
  }
}