/* 现代宠物托运网站样式表 */
/* 基于小旋风站群程序模板规范 */

/* CSS变量定义 */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #dc2626;
  --success-color: #059669;
  --warning-color: #d97706;
  --danger-color: #dc2626;
  --dark-color: #1f2937;
  --light-color: #f9fafb;
  --text-color: #374151;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --bg-color: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-gradient: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --border-radius: 0.5rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-gradient);
  background-attachment: fixed;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 现代按钮样式 */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

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

.btn-secondary {
  background: var(--light-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

/* 现代卡片样式 */
.card {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

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

/* 现代标题样式 */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* 现代网格布局 */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* 现代服务卡片 */
.service-card {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* 现代特色展示 */
.feature-showcase {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin: 45px 0px;
}

.feature-showcase .showcase-header {
background: linear-gradient(135deg, #5b8fff, #1555e8);
  color: white;
  padding: 2rem;
  text-align: center;
}
.feature-showcase .showcase-header h2{color:#FFF;}
.feature-showcase .showcase-header p{color:#FFF;}
.feature-showcase .showcase-content {
  padding: 2rem;
}

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-tab {
  padding: 0.75rem 1.5rem;
  background: var(--light-color);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.feature-tab.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.feature-content {
  display: none;
}

.feature-content.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

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

/* 现代FAQ样式 */
.faq-container {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  padding: 1.5rem;
  background: var(--bg-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-color);
}

.faq-question:hover {
  background: #e9ecef;
}

.faq-answer {
  padding: 1.5rem;
  display: none;
  background: var(--bg-color);
  color: var(--text-color);
}

.faq-answer.active {
  display: block;
}

/* 现代流程时间线 */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) {
  text-align: right;
  padding-right: calc(50% + 2rem);
}

.timeline-item:nth-child(even) {
  text-align: left;
  padding-left: calc(50% + 2rem);
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: var(--shadow-md);
}

.timeline-content {
  background: var(--bg-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 2rem;
  }
  
  .timeline-item {
    text-align: left !important;
    padding-left: 4rem !important;
    padding-right: 0 !important;
  }
  
  .timeline-marker {
    left: 2rem;
  }
  
  .feature-tabs {
    flex-direction: column;
  }
  
  .service-card {
    padding: 1.5rem;
  }
   
  /* 移动端适配 */
  .process-steps {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .process-steps::before {
    display: none;
  }
  
  .process-step {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 1rem;
    padding: 0;
  }
  
  .step-number {
    width: 3rem;
    height: 3rem;
    font-size: 1.2rem;
    margin: 0;
    flex-shrink: 0;
  }
  
  .step-content {
    flex: 1;
  }
  
  .process-step h3 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
  }
  
  .process-step p {
    font-size: 0.85rem;
  }
  
  /* 移动端内容布局 */
  .content-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .sidebar {
    position: static;
    order: 2;
  }
  
  .main-content {
    order: 1;
  }
}

@media (max-width: 480px) {
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  /* 移动端颜色优化 */
  body {
    background: var(--bg-color);
  }
  
  .service-item,
  .card,
  .widget,
  .timeline-content,
  .faq-container {
    box-shadow: var(--shadow-sm);
  }
}

/* 保留原有service-grid样式 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.service-item {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-item:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.service-content p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* 现代动画效果 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 加载动画 */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 增强文字对比度 */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark-color);
  font-weight: 600;
}

p, li, span {
  color: var(--text-color);
}

/* 链接颜色优化 */
a {

  text-decoration: none;
  transition: var(--transition);
  color: #1c1c1c;
  
}

a:hover {
  color: var(--secondary-color);
   text-decoration: none;
  
}

/* 按钮文字颜色优化 */
.btn-primary {
  color: white;
  font-weight: 500;
}

.btn-secondary {
  color: var(--primary-color);
  font-weight: 500;
}

/* 页面标题区域背景优化 */
.page-header {
  background: var(--bg-secondary);
  padding: 2rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.header-content h1 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

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

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

/* 文章内容优化 */
.article-title {
  color: var(--dark-color);
  font-weight: 700;
  line-height: 1.3;
}

.article-meta {
  color: var(--text-muted);
}

.article-content {
  color: var(--text-color);
  line-height: 1.8;
}

/* 侧边栏优化 */
.widget {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.widget-title {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

/* 服务项内容颜色优化 */
.service-content h3 {
  color: var(--dark-color);
  font-weight: 600;
}

.service-content p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* 时间线内容颜色优化 */
.timeline-content h3 {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-color);
  line-height: 1.6;
}

/* 特色标签页颜色优化 */
.feature-tab {
  color: var(--text-muted);
  background: var(--bg-secondary);
}

.feature-tab.active {
  color: white;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.feature-content h2 {
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-content p {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.feature-content strong {
  color: var(--primary-color);
}

/* 列表页颜色优化 */
.article-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
}

.article-title {
  color: var(--dark-color);
  font-weight: 600;
}

.article-excerpt {
  color: var(--text-muted);
  line-height: 1.6;
}

.article-meta {
  color: var(--text-muted);
}

/* 详情页颜色优化 */
.article-detail {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
}

.article-header {
  border-bottom: 1px solid var(--border-color);text-align: center;
  padding: 25px;
}

.article-body {
  color: var(--text-color);
  line-height: 1.8;
  line-height: 35px;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  color: var(--dark-color);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* 相关推荐颜色优化 */
.related-item {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
}

.related-content h4 a {
  color: var(--dark-color);
  font-weight: 600;
}

.related-excerpt {
  color: var(--text-muted);
}

.related-date {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 导航颜色优化 */
.article-navigation {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.nav-item .nav-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.nav-item .nav-title {
  color: var(--text-color);
  font-weight: 500;
}

.nav-item a:hover .nav-title {
  color: var(--primary-color);
}
/* 简洁流程步骤样式 */
.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  counter-reset: step-counter;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 4rem;
  right: 4rem;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  z-index: 1;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 0.5rem;
}

.step-number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-md);
  counter-increment: step-counter;
  position: relative;
}

.step-number::after {
  content: counter(step-counter);
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* 内容布局样式 */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

.main-content {
  min-width: 0;
}

.sidebar {
  position: sticky;
  top: 2rem;
  line-height: 35px;
}
.breadcrumbnav {
padding: 15px 0 0px 25px;
  font-size: 0.9rem;
  color: var(--apple-gray);
  margin-top: 20px;
}

.breadcrumbnav a {
  color: var(--apple-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbnav a:hover {
  color: var(--apple-dark-blue);
}
#articlenext a{
  padding: 10px;
  color: #0612c4;
}