/* layout.css - 页面布局相关样式 */

/* 页眉 */
.header {
  padding: min(100px, 10vh) 0;
  text-align: center;
  background: linear-gradient(180deg, var(--header-bg-start) 0%, var(--header-bg-end) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.background-svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .2;
  pointer-events: none;
}

.background-svg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-content {
  position: relative;
  z-index: 2;
}

.logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 节标题 */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

/* 服务图标 */
.service-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
}

.service-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 160px;
  text-align: center;
}

.service-icon svg {
  width: 48px;
  height: 48px;
  fill: var(--primary-color);
  margin-bottom: 15px;
}

/* 联系网格 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-color);
}

.contact-item a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--primary-color);
}

/* 页脚 */
.footer {
  padding: 30px 0;
  text-align: center;
  background: var(--header-bg-end);
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  font-weight: 300;
}

/* 响应式调整 */
@media(max-width:768px) {
  .container {
    padding: 0 15px;
  }
  
  .header {
    padding: 60px 0;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .service-icons {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .card {
    padding: 20px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .section-title h2.dual-lang .zh {
    font-size: 22px;
  }
  
  .section-title h2.dual-lang .en {
    font-size: 16px;
  }
}
