/* 高跟鞋 - 新娘高跟鞋婚礼服务平台 */
/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #d4a5a5;
  --primary-dark: #b88888;
  --accent-color: #00bcd4;
  --text-color: #333;
  --text-light: #666;
  --text-muted: #999;
  --bg-color: #fff;
  --bg-light: #faf8f8;
  --border-color: #e8e0e0;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --header-height: 70px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 容器 */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部 */
.header {
  height: var(--header-height);
  background: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.logo-text h1 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.2;
}

.logo-text span {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
}

.lang-switch a {
  color: var(--text-light);
  transition: color 0.3s;
}

.lang-switch a:hover,
.lang-switch a.active {
  color: var(--primary-dark);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 15px;
  color: var(--text-color);
  transition: color 0.3s;
  position: relative;
}

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

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
  border-radius: 1px;
}

/* Hero 区域 */
.hero {
  background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
  padding: 80px 0;
  text-align: center;
}

.hero-title {
  font-size: 42px;
  font-weight: 300;
  color: var(--text-color);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.hero-title-en {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-desc-en {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  font-style: italic;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
}

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

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: #fff;
}

/* 区块标题 */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 28px;
  font-weight: 400;
  color: var(--text-color);
  margin-bottom: 8px;
}

.section-title-en {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* 特色内容 */
.featured {
  padding: 80px 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.featured-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

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

.featured-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-light), var(--border-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--primary-color);
}

.featured-card-body {
  padding: 24px;
}

.featured-card h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

.featured-card h3 span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}

.featured-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 12px;
  line-height: 1.7;
}

/* 文章列表 */
.articles-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--bg-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.article-card:hover {
  box-shadow: var(--shadow-hover);
}

.article-card-img {
  height: 180px;
  background: linear-gradient(135deg, #f5e6e6, var(--border-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.article-card-body {
  padding: 20px;
}

.article-card h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.article-card h4 span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

.article-card p {
  font-size: 14px;
  color: var(--text-light);
  margin: 12px 0;
  line-height: 1.6;
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* 三栏推荐 */
.recommend {
  padding: 60px 0;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.recommend-col h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-color);
}

.recommend-col h4 span {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
  font-weight: 400;
}

.recommend-list {
  list-style: none;
}

.recommend-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.recommend-list li:last-child {
  border-bottom: none;
}

.recommend-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: color 0.3s;
}

.recommend-list a:hover {
  color: var(--primary-dark);
}

.recommend-list .title {
  font-size: 14px;
  color: var(--text-color);
}

.recommend-list .title-en {
  font-size: 12px;
  color: var(--text-muted);
}

/* 面包屑 */
.breadcrumb {
  padding: 20px 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.breadcrumb-separator {
  color: var(--text-muted);
}

.breadcrumb-current {
  color: var(--text-color);
}

/* 分类页 */
.category-header {
  padding: 60px 0 40px;
  text-align: center;
}

.category-title {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 8px;
}

.category-title-en {
  font-size: 16px;
  color: var(--text-muted);
}

.category-desc {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--text-light);
  font-size: 15px;
}

.category-content {
  padding: 40px 0 80px;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 24px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.article-item:hover {
  box-shadow: var(--shadow-hover);
}

.article-item-img {
  height: 160px;
  background: linear-gradient(135deg, var(--bg-light), var(--border-color));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.article-item-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-item h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 4px;
}

.article-item h3 span {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 4px;
}

.article-item p {
  color: var(--text-light);
  margin: 12px 0;
  line-height: 1.7;
}

.article-item p span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 4px;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-size: 14px;
  transition: all 0.3s;
}

.pagination a {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

.pagination a:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.pagination .current {
  background: var(--primary-color);
  color: #fff;
}

.pagination .disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}

/* 文章详情页 */
.article-header {
  padding: 60px 0 40px;
  text-align: center;
  background: var(--bg-light);
}

.article-title {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-title-en {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 400;
}

.article-info {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-light);
}

.article-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-main {
  padding: 60px 0;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content .featured-img {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #f5e6e6, var(--border-color));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  margin-bottom: 48px;
}

.bilingual-block {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.bilingual-block:last-child {
  border-bottom: none;
}

.bilingual-block h2 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
}

.bilingual-block h2 span {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

.bilingual-block p {
  color: var(--text-light);
  line-height: 1.8;
  margin-top: 16px;
}

.bilingual-block p span {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 8px;
}

/* 相关文章 */
.related {
  padding: 60px 0;
  background: var(--bg-light);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.related-card {
  background: var(--bg-color);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.related-card:hover {
  box-shadow: var(--shadow-hover);
}

.related-card h5 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}

.related-card h5 span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

.related-card p {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 8px;
}

/* 404 页面 */
.error-page {
  min-height: calc(100vh - var(--header-height) - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.error-code {
  font-size: 120px;
  font-weight: 300;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 24px;
}

.error-title {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
}

.error-title-en {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.error-desc {
  color: var(--text-light);
  margin-bottom: 32px;
}

.error-desc-en {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 32px;
}

/* 页脚 */
.footer {
  background: #2d2d2d;
  color: #fff;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-text h1 {
  color: #fff;
}

.footer-brand p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #aaa;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #888;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a:hover {
  color: #fff;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .featured-grid,
  .articles-grid,
  .recommend-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-title-en {
    font-size: 14px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .featured-grid,
  .articles-grid,
  .recommend-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .article-item {
    grid-template-columns: 1fr;
  }

  .article-item-img {
    height: 200px;
  }

  .article-title {
    font-size: 24px;
  }

  .article-info {
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .error-code {
    font-size: 80px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .btn {
    padding: 10px 24px;
    font-size: 14px;
  }
}
