/* 全局样式文件 - 中性色调主题，响应式布局，现代简约设计风格 */

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

:root {
  --color-primary: #f5f5f0;
  --color-secondary: #e8e6e1;
  --color-text: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-border: #d4d2cd;
  --color-hover: #c8c6c1;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(245, 245, 240, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

.nav-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
}

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

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

.hero-section {
  height: 100vh;
  position: relative;
  margin-top: 70px;
}

.hero-slider {
  height: 100%;
  position: relative;
  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;
  object-position: center;
}

.hero-content {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  z-index: 10;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.btn-explore {
  display: inline-block;
  padding: 1rem 3rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-explore:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: #fff;
  width: 30px;
  border-radius: 5px;
}

.page-header {
  padding: 8rem 0 4rem;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
}

.page-intro {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.concept-section {
  padding: 4rem 0;
}

.concept-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
  align-items: center;
}

.concept-block:nth-child(even) {
  direction: rtl;
}

.concept-block:nth-child(even) > * {
  direction: ltr;
}

.concept-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.concept-content h3 {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.concept-content p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text-light);
}

.concept-summary {
  max-width: 800px;
  margin: 4rem auto;
  padding: 3rem;
  background: var(--color-secondary);
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--color-text-light);
}

footer {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-light);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

@media (max-width: 1024px) {
  .nav-links {
    gap: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  
  .concept-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .concept-block:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .nav-content {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .nav-links {
    gap: 1.5rem;
    font-size: 0.85rem;
  }
  
  .hero-title {
    font-size: 2rem;
    letter-spacing: 2px;
  }
  
  .hero-text {
    font-size: 0.95rem;
  }
  
  .page-header {
    padding: 6rem 0 3rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .concept-image {
    height: 300px;
  }
  
  .concept-summary {
    padding: 2rem;
  }
}