/* ==========================================
   页脚样式 - 使用统一的CSS变量和具体值
   ========================================== */

.footer {
  background: linear-gradient(135deg, #2C3E35 0%, #1C2820 100%);
  color: rgba(255,255,255,0.9);
  padding: 80px 0 32px;
  margin-top: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, transparent 100%);
  border-radius: 2px;
}

.footer-section p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-section a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 15px;
  position: relative;
}

.footer-section a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--color-accent);
}

.footer-section a:hover {
  color: var(--color-accent);
  padding-left: 8px;
}

.footer-section a:hover::before {
  opacity: 1;
  left: -15px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.8;
}

.footer-contact-item strong {
  min-width: 70px;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  flex-shrink: 0;
}

.footer-contact-item span {
  color: rgba(255,255,255,0.75);
  flex: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 32px;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-bottom a {
  color: var(--color-accent);
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0 8px;
}

.footer-bottom a:hover {
  color: var(--color-primary-light);
  text-decoration: underline;
}

/* 响应式 */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 24px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-section h3 {
    font-size: 18px;
  }
  
  .footer-section p,
  .footer-section a,
  .footer-contact-item {
    font-size: 14px;
  }
  
  .footer-bottom p {
    font-size: 13px;
  }
}

