/* 全局CSS变量与字体导入 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400&family=Cormorant+Garamond:wght@300&display=swap');

:root {
  --color-white: #FAF9F6;
  --color-gray-light: #E8E8E8;
  --color-oat: #F5F0E8;
  --color-charcoal: #3A3A3A;
  --color-text-muted: #AAAAAA;
  --font-cn: 'Noto Sans SC', sans-serif;
  --font-en: 'Cormorant Garamond', serif;
  --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-cn);
  font-weight: 300;
  background-color: var(--color-white);
  color: var(--color-charcoal);
  line-height: 1.8;
  overflow-x: hidden;
}

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(58, 58, 58, 0.08);
  transition: var(--transition-smooth);
}

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

.nav-logo {
  font-family: var(--font-en);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--color-charcoal);
  text-decoration: none;
  font-weight: 300;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--color-charcoal);
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition-smooth);
}

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

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

.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-oat) 0%, var(--color-gray-light) 100%);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: fadeIn 1.8s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  background: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 2px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-charcoal);
  opacity: 0.9;
  line-height: 2;
}

.gallery-grid {
  max-width: 1400px;
  margin: 6rem auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: var(--color-white);
  padding: 2rem 1.5rem 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

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

.insight-container {
  max-width: 900px;
  margin: 8rem auto;
  padding: 0 3rem;
}

.insight-header {
  text-align: center;
  margin-bottom: 4rem;
}

.insight-title {
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.insight-subtitle {
  font-family: var(--font-en);
  font-size: 1.2rem;
  color: var(--color-text-muted);
}

.insight-image {
  width: 100%;
  height: auto;
  margin: 3rem 0;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.insight-image.visible {
  opacity: 1;
  transform: translateY(0);
}

.insight-text {
  font-size: 1.05rem;
  line-height: 2.2;
  margin-bottom: 2rem;
  text-align: justify;
}

.footer {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  border-top: 1px solid rgba(58, 58, 58, 0.08);
  margin-top: 6rem;
}

@media (max-width: 768px) {
  .nav-container {
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1.5rem;
    font-size: 0.9rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
    margin: 4rem auto;
  }

  .insight-container {
    padding: 0 1.5rem;
    margin: 5rem auto;
  }

  .insight-title {
    font-size: 1.6rem;
  }
}