:root {
  --primary-color: #000000;
  --secondary-color: #ffffff;
  --accent-color: #D4AF37;
  --text-color: #ffffff;
  --gray-light: rgba(255, 255, 255, 0.1);
  --gray-medium: rgba(255, 255, 255, 0.2);
  --gray-dark: rgba(255, 255, 255, 0.05);
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  --border-radius: 8px;
  --card-width: min(100%, 350px);
}

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

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--primary-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent-color);
}

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

/* Hero Section */
.hero-breadcrumbs {
  margin-top: 70px;
}

.parallax-container {
  position: relative;
  height: 65vh;
  min-height: 500px;
  background-attachment: scroll;
  background-image: url('assets/index-hero.jpg');
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

/* 懒加载样式 */
.lazy {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.lazy.loaded {
  opacity: 1;
}

/* 图片加载占位符 */
.image-placeholder {
  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;
  }
}

.parallax-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.breadcrumbs-custom-body {
  width: 100%;
  padding: 15rem 0 1rem 0;
}

.breadcrumbs-custom-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
}

.breadcrumbs-custom-footer {
  background: rgba(0,0,0,0.7);
  padding: 1rem 0 5rem 0;
}

.breadcrumbs-custom-path {
  justify-content: center;
  list-style: none;
  display: flex;
  gap: 0.5rem;
  color: #fff;
  font-size: 1rem;
  margin: 0;
  padding: 0;
}

.breadcrumbs-custom-path li {
  color: #fff;
}

.breadcrumbs-custom-path li a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs-custom-path li a:hover {
  color: #fff;
}

.breadcrumbs-custom-path li.active {
  color: #fff;
  font-weight: bold;
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 ;
}

/* 统一卡片样式 */
.feature-card,
.news-item {
  width: var(--card-width);
  min-width: 280px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  transition: var(--transition);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* 特征卡片 */
.feature-card {
  background: #ffffffdc;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.feature-card h5 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #666;
  font-size: 1rem;
}

/* 新闻卡片 */
.news-item {
  background: rgba(255, 255, 255, 0.1);
}

.news-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-item h3 {
  padding: 1rem 1rem 0;
  color: var(--accent-color);
}

.news-item p {
  padding: 0 1rem 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* 网格布局 */
.features-cards-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-items: center;
  gap: 1rem;
  padding: 0 1rem;
  max-width: 1200px;
  margin: 4rem auto;
}

.features-header {
  text-align: center;
  margin-bottom: 2rem;
}

.features-header h2 {
  font-size: 2.2rem;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.features-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-color);
}

/* 悬停效果 */
.feature-card:hover,
.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
  background: linear-gradient(to right, #000000, #1a1a1a);
  padding: 4rem 2rem 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-color), transparent);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-section h3 {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent-color);
  margin-top: 0.5rem;
}

.footer-section a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* 响应式设计 */
/* 汉堡菜单按钮 */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--text-color);
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
  .header {
    padding: 1rem;
    position: relative;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links a {
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }
  
  .nav-links a:last-child {
    border-bottom: none;
  }

  .features-cards-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .news-item {
    max-width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* 手机版hero按钮优化 */
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .hero-buttons .cta-button {
    width: 80%;
    text-align: center;
  }
  
  /* 手机版内容区域优化 */
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  /* 手机版logo优化 */
  .logo {
    font-size: 1.5rem;
  }
  
  /* 手机版汉堡菜单优化 */
  .hamburger {
    z-index: 1001;
  }
  
  /* 手机版导航菜单优化 */
  .nav-links.active {
    z-index: 1000;
  }
}

/* 其他保留样式 */
.hero-buttons {
  margin-top: 4rem;
  display: flex;
  gap: 3rem;
  justify-content: center;
}

.hero-buttons .cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: var(--transition);
}

.hero-buttons .cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info i {
  color: var(--accent-color);
}

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

.fade-in {
  animation: fadeIn 1s ease forwards;
}

/* 新闻稿链接样式 */
.news-links-section {
  margin: 3rem 0;
  padding: 2rem 0;
}

.news-links-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-color);
  font-size: 2rem;
}

.news-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.news-link-item {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent-color);
}

.news-link-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.news-date {
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.news-link-item h3 {
  color: #000000;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.news-link-item p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.news-link-btn {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.news-link-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 86, 179, 0.3);
}

.news-more {
  text-align: center;
  margin-top: 2rem;
}

.view-all-news-btn {
  display: inline-block;
  background: transparent;
  color: var(--accent-color);
  padding: 1rem 2rem;
  border: 2px solid var(--accent-color);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.view-all-news-btn:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
}

/* 移动端新闻稿样式 */
@media (max-width: 768px) {
  .news-links-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .news-link-item {
    padding: 1rem;
  }
  
  .news-link-item h3 {
    font-size: 1.1rem;
  }
  
  .news-links-section h2 {
    font-size: 1.5rem;
  }
}

/* 新闻加载状态样式 */
.loading-news {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-style: italic;
}

.loading-news p {
  margin: 0;
  font-size: 1rem;
}

/* 新闻页面样式 */
.news-content {
  padding: 3rem 0;
  background: #f8f9fa;
}

.news-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.category-btn {
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--accent-color);
  background: transparent;
  color: var(--accent-color);
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.category-btn:hover,
.category-btn.active {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
}

.news-list {
  max-width: 800px;
  margin: 0 auto;
}

.news-article {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: #333 !important;
}

.news-article:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.news-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: center;
}

.news-date {
  color: var(--accent-color) !important;
  font-weight: 600;
  font-size: 0.9rem;
}

.news-category {
  background: #e9ecef;
  color: #495057 !important;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.news-article h2 {
  color: #333 !important;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.news-content-text {
  line-height: 1.8;
  color: #333 !important;
  margin-bottom: 1.5rem;
}

.news-content-text h3 {
  color: #333 !important;
  font-size: 1.2rem;
  margin: 1.5rem 0 1rem 0;
}

.news-content-text ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.news-content-text li {
  margin-bottom: 0.5rem;
}

.news-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: #f8f9fa;
  color: #6c757d;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid #dee2e6;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.page-btn {
  padding: 0.8rem 1.5rem;
  border: 1px solid #dee2e6;
  background: white;
  color: #495057;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-btn:hover:not(.disabled) {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

.page-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-info {
  color: #6c757d;
  font-size: 0.9rem;
}

/* 移动端新闻页面样式 */
@media (max-width: 768px) {
  .news-categories {
    gap: 0.5rem;
  }
  
  .category-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  .news-article {
    padding: 1.5rem;
  }
  
  .news-article h2 {
    font-size: 1.3rem;
  }
  
  .news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .pagination {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* 新闻管理后台样式 */
.admin-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.admin-modal-content {
  background: white;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
  border-radius: 10px 10px 0 0;
}

.admin-header h2 {
  margin: 0;
  color: var(--text-color);
  font-size: 1.5rem;
}

.close-admin {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-admin:hover {
  background: #e9ecef;
  color: #333;
}

.admin-body {
  padding: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 5px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
  line-height: 1.5;
}

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 14px;
}

.btn-primary {
  background: var(--accent-color);
  color: white;
}

.btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

/* 移动端管理后台样式 */
@media (max-width: 768px) {
  .admin-modal {
    padding: 10px;
  }
  
  .admin-modal-content {
    max-height: 95vh;
  }
  
  .admin-header,
  .admin-body {
    padding: 15px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}