/* 全局变量 - 中性色调配色方案 */
:root {
  --color-ivory: #FDFCF8;
  --color-light-gray: #E8E8E8;
  --color-oatmeal: #D4C5B9;
  --color-haze-blue: #A8B5C7;
  --color-charcoal: #3A3A3A;
  --color-soft-gray: #F5F5F5;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-ivory);
  color: var(--color-charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

.nav-highlight {
  position: relative;
  color: var(--color-haze-blue) !important;
}

.nav-highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-haze-blue);
}

.hero-slide {
  position: relative;
  min-height: 85vh;
  display: none;
  animation: fadeIn 0.8s ease-in-out;
}

.hero-slide.active {
  display: flex;
}

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

.card-hover {
  transition: var(--transition-smooth);
  cursor: pointer;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.img-lazy {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.img-lazy.loaded {
  opacity: 1;
}

.quote-section {
  background: linear-gradient(135deg, var(--color-soft-gray) 0%, var(--color-light-gray) 100%);
  padding: 100px 20px;
}

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

.detail-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow-subtle);
}

.detail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.detail-card:hover img {
  transform: scale(1.05);
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-oatmeal);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-haze-blue);
  border: 3px solid var(--color-ivory);
}

.value-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  border-top: 4px solid var(--color-oatmeal);
}

.value-card:hover {
  box-shadow: var(--shadow-hover);
  border-top-color: var(--color-haze-blue);
}

@media (max-width: 768px) {
  .hero-slide {
    min-height: 60vh;
  }
  
  .grid-masonry {
    grid-template-columns: 1fr;
  }
  
  .timeline {
    padding-left: 30px;
  }
  
  .value-card {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .quote-section {
    padding: 60px 15px;
  }
}

.fade-enter {
  opacity: 0;
  transform: translateY(20px);
}

.fade-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: var(--transition-smooth);
}