/* 全局样式 - 黄菊水彩个人网站 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-beige: #F7F6F4;
  --bg-beige-light: #FBFAF8;
  --bg-cream: #FEFDFB;
  --text-dark: #2C2C2E;
  --text-brown: #68686C;
  --text-light: rgba(44, 44, 46, 0.5);
  --platinum-light: #F0EFEB;
  --platinum: #D4D2CC;
  --platinum-dark: #B0AEA8;
  --metal-light: #EDEAE4;
  --metal-mid: #C4C0B8;
  --metal-dark: #9A958C;
  --platinum-gradient: linear-gradient(135deg, #FAFAF6 0%, #E0DDD5 30%, #C8C4BC 55%, #EDEAE4 80%, #F5F3EF 100%);
  --platinum-shine: linear-gradient(135deg, #FFFFFF 0%, #E8E5DF 40%, #D0CCC4 60%, #F2F0EC 100%);
  --metal-btn: linear-gradient(135deg, #F5F3EF 0%, #D4D0C8 25%, #B8B4AC 50%, #D4D0C8 75%, #F0EEE8 100%);
  --metal-btn-dark: linear-gradient(135deg, #C4C0B8 0%, #9A958C 30%, #807C74 50%, #A09B92 70%, #C4C0B8 100%);
  --emboss-light: inset 0 1px 2px rgba(255, 255, 255, 0.8), inset 0 -1px 2px rgba(0, 0, 0, 0.08);
  --emboss-strong: inset 0 2px 4px rgba(255, 255, 255, 0.9), inset 0 -2px 4px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
  --card-bg: rgba(255, 255, 255, 0.7);
  --card-border: rgba(176, 174, 168, 0.12);
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);
  --shadow-metal: 0 4px 15px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Serif SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  background: var(--bg-beige);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(247, 246, 244, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(176, 174, 168, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 14px 50px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.logo {
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 3px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--platinum);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.8), inset 0 -1px 2px rgba(0, 0, 0, 0.06);
  background: var(--platinum-gradient);
  flex-shrink: 0;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-brown);
  font-size: 15px;
  letter-spacing: 2px;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--platinum-dark);
  transition: all 0.3s;
  transform: translateX(-50%);
  border-radius: 2px;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 20px;
}

.nav-contact {
  padding: 10px 24px;
  background: var(--metal-btn-dark);
  color: white !important;
  border-radius: 50px;
  font-size: 14px !important;
  letter-spacing: 2px;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(128, 124, 116, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.25), inset 0 -1px 1px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-contact::after {
  display: none !important;
}

.nav-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(128, 124, 116, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.3), inset 0 -1px 1px rgba(0, 0, 0, 0.2) !important;
}

/* 主要内容区 */
main {
  padding-top: 80px;
}

/* 页脚 */
.footer {
  background: linear-gradient(180deg, #E8E5DF, #D8D5CE);
  padding: 50px;
  text-align: center;
  border-top: 1px solid rgba(176, 174, 168, 0.12);
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.footer-desc {
  color: var(--text-light);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-copyright {
  color: rgba(44, 44, 46, 0.4);
  font-size: 12px;
  letter-spacing: 1px;
}

.footer-icp {
  color: rgba(44, 44, 46, 0.35);
  font-size: 11px;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.footer-beian {
  margin-top: 6px;
}

.footer-beian a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(44, 44, 46, 0.35);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-beian a:hover {
  color: rgba(44, 44, 46, 0.6);
}

.footer-beian img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* 装饰光斑 */
.watercolor-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 15px;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--metal-btn-dark);
  color: white;
  box-shadow: 0 6px 20px rgba(128, 124, 116, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.25), inset 0 -1px 1px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(128, 124, 116, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.3), inset 0 -1px 1px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: var(--metal-btn);
  color: var(--text-dark);
  border: 1px solid var(--platinum);
  box-shadow: var(--emboss-light), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-outline:hover {
  background: var(--platinum-gradient);
  box-shadow: var(--emboss-strong), 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

/* 响应式 */
@media (max-width: 768px) {
  .navbar {
    padding: 14px 20px;
  }
  
  .nav-links {
    gap: 20px;
  }
  
  .nav-links a {
    font-size: 13px;
  }
  
  .nav-contact {
    padding: 8px 16px;
    font-size: 12px !important;
  }
  
  .logo {
    font-size: 18px;
  }
  
  .footer {
    padding: 40px 20px;
  }
}
