/* ===== 自定义命名空间避免污染Water.css ===== */
.fvc-root {
  /* ===== CSS变量定义 ===== */
  --color-primary: #FFFFFF;
  --color-secondary: #F5F5F7;
  --color-dark: #1A1A1A;
  --color-morandi-pink: #E8D5D2;
  --color-morandi-blue: #D2E0E8;
  --color-morandi-beige: #E8E2D5;
  --font-chinese: "Source Han Sans CN", "Noto Sans SC", sans-serif;
  --font-english: "Inter", "Helvetica Neue", sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 全局样式重置 ===== */
.fvc-root * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.fvc-root body {
  font-family: var(--font-chinese), var(--font-english);
  background-color: var(--color-primary);
  color: var(--color-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.fvc-nav-link {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 300;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
}

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

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

/* ===== 主内容区域 ===== */
.fvc-main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

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

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

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

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

/* ===== 灵感精选区 ===== */
.fvc-inspiration {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.fvc-section-title {
  font-size: 2rem;
  font-weight: 200;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
}

.fvc-waterfall {
  column-count: 4;
  column-gap: 1.5rem;
}

.fvc-waterfall-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.fvc-waterfall-item:hover {
  transform: translateY(-5px);
}

.fvc-waterfall-img {
  width: 100%;
  display: block;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.fvc-waterfall-item:hover .fvc-waterfall-img {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.fvc-item-label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #666;
  font-weight: 300;
}

/* ===== Lookbook页面 ===== */
.fvc-tags {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.fvc-tag {
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--color-dark);
  background: transparent;
  color: var(--color-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-weight: 300;
  font-size: 0.9rem;
}

.fvc-tag:hover,
.fvc-tag.active {
  background: var(--color-dark);
  color: var(--color-primary);
}

.fvc-looks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.fvc-look-card {
  cursor: pointer;
  transition: var(--transition-smooth);
  background: var(--color-secondary);
  overflow: hidden;
}

.fvc-look-card:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.fvc-look-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.fvc-look-description {
  padding: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-dark);
  font-weight: 300;
  line-height: 1.6;
}

/* ===== 型录志页面 ===== */
.fvc-catalog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
}

.fvc-catalog-main {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fvc-catalog-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.fvc-catalog-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-dark);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.fvc-catalog-nav:hover {
  background: var(--color-dark);
  color: var(--color-primary);
}

.fvc-catalog-prev {
  left: -25px;
}

.fvc-catalog-next {
  right: -25px;
}

.fvc-catalog-detail {
  margin-top: 2rem;
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  font-weight: 300;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 关于美学页面 ===== */
.fvc-about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.fvc-about-text {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--color-dark);
  font-weight: 300;
}

.fvc-about-text p {
  margin-bottom: 1.5rem;
}

.fvc-about-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== 页脚 ===== */
.fvc-footer {
  text-align: center;
  padding: 2rem;
  background: var(--color-secondary);
  color: var(--color-dark);
  font-size: 0.9rem;
  font-weight: 300;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
  .fvc-waterfall {
    column-count: 3;
  }
  
  .fvc-about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .fvc-nav-menu {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .fvc-waterfall {
    column-count: 2;
  }
  
  .fvc-looks-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .fvc-nav {
    padding: 1rem;
  }
  
  .fvc-nav-menu {
    gap: 1rem;
    font-size: 0.85rem;
  }
  
  .fvc-section-title {
    font-size: 1.5rem;
  }
  
  .fvc-tags {
    gap: 1rem;
  }
  
  .fvc-tag {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
  
  .fvc-catalog-nav {
    width: 40px;
    height: 40px;
  }
  
  .fvc-catalog-prev {
    left: -20px;
  }
  
  .fvc-catalog-next {
    right: -20px;
  }
}

@media (max-width: 480px) {
  .fvc-waterfall {
    column-count: 1;
  }
  
  .fvc-nav-menu {
    gap: 0.5rem;
  }
  
  .fvc-nav-link {
    font-size: 0.75rem;
  }
  
  .fvc-hero {
    height: 70vh;
  }
  
  .fvc-about-container {
    padding: 2rem 1rem;
  }
}

/* ===== 动画效果 ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fvc-fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* ===== 图片加载优化 ===== */
.fvc-lazy {
  opacity: 0;
  transition: opacity 0.5s;
}

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

/* ===== 毛玻璃效果增强 ===== */
.fvc-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}