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

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

:root {
  --primary-black: #000000;
  --primary-white: #ffffff;
  --neutral-gray: #6b7280;
  --light-gray: #f3f4f6;
  --dark-gray: #1f2937;
  --accent-navy: #1e3a5f;
  --accent-brown: #4a3728;
  --border-light: #e5e7eb;
}

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

body {
  font-family: 'Noto Sans SC', sans-serif;
  background-color: var(--primary-white);
  color: var(--primary-black);
  overflow-x: hidden;
}

/* 导航栏样式 */
.nav-container {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

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

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

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
}

/* 侧边菜单 */
.side-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.side-menu.active {
  transform: translateX(0);
}

/* 图片悬停效果 */
.image-hover {
  transition: transform 0.3s ease;
}

.image-hover:hover {
  transform: scale(1.03);
}

/* 按钮样式 */
.btn-primary {
  background-color: var(--primary-black);
  color: var(--primary-white);
  padding: 12px 32px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--dark-gray);
  transform: translateY(-2px);
}

/* 页脚样式 */
.footer {
  background-color: var(--primary-white);
  border-top: 1px solid var(--border-light);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
  }
  
  .side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
  }
  
  .side-menu.active {
    display: flex;
  }
}

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

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

/* 加载动画 */
.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}