﻿/* ===================================================
   CONTACT INFORMATION STYLESHEET (contact.css)
   =================================================== */

/* Reset & Basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333333;
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===================================================
   1. 100vh HERO BANNER
   =================================================== */
.hero-banner {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #f7f9fa;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===================================================
   2. MAIN CONTAINER & HEADER
   =================================================== */
.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 90px 30px 120px 30px;
}

/* 头部主标题与居中渐变分割线 */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 300;
  color: #2b2b2b;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.center-gradient-divider {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #eaedf1;
  margin: 0 auto;
}

.center-gradient-divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1.5px;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #c81e3a 0%, #5b1a7d 50%, #1b2685 100%);
}

/* 公司黑字大标题 */
.company-main-title {
  text-align: center;
  margin-bottom: 40px;
}

.company-main-title h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #222222;
  letter-spacing: 0.8px;
}

/* ===================================================
   3. CONTACT INFO ROWS & ICONS
   =================================================== */
.contact-info-section {
  max-width: 900px;
  margin: 0 auto 90px auto;
  display: flex;
  flex-direction: column;
}

/* 行间浅灰色贯穿分割线 */
.info-divider {
  width: 100%;
  height: 1px;
  background-color: #eaedf1;
}

/* 单行通用容器 */
.contact-row {
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 图标容器 */
.contact-icon-box {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Row 1: 地址样式 */
.address-row {
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.address-text {
  font-size: 0.95rem;
  font-weight: 300;
  color: #444444;
  line-height: 1.65;
}

/* Row 2: 电话/传真/手机 (3 列) */
.three-cols-row {
  justify-content: space-around;
  gap: 20px;
}

/* Row 3: 网址/邮箱 (2 列) */
.two-cols-row {
  justify-content: space-around;
  gap: 40px;
}

/* 单个列项目 */
.contact-col-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact-text,
.contact-link {
  font-size: 0.92rem;
  font-weight: 300;
  color: #444444;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #c81e3a;
}

/* ===================================================
   4. BOTTOM GLOBAL PARTNERS CARD
   =================================================== */
.global-partners-section {
  width: 100%;
}

.partners-card {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 520px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #0b0d17;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 居中大字 */
.partners-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.partners-title {
  font-size: 2.8rem;
  font-weight: 200;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

/* ===================================================
   5. SITE FOOTER (渐变底栏)
   =================================================== */
.site-footer {
  width: 100%;
  color: #ffffff;
}

.footer-top-gradient {
  background: linear-gradient(90deg, #b01438 0%, #5b1a7d 45%, #18237d 100%);
  padding: 60px 0 50px 0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-company-info {
  flex: 0 0 34%;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
}

.company-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.company-addr,
.company-contact,
.company-links {
  font-size: 0.78rem;
  line-height: 1.7;
  opacity: 0.88;
  margin-bottom: 8px;
  font-weight: 300;
}

.footer-nav-columns {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-col h5 {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 14px;
}

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

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

.footer-col a {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.76rem;
  opacity: 0.8;
  font-weight: 300;
  transition: opacity 0.2s ease;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-qr-wrap {
  flex: 0 0 90px;
  display: flex;
  justify-content: flex-end;
}

.footer-qr-img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  background-color: #ffffff;
  padding: 4px;
  display: block;
}

/* 底部纯黑版权条 */
.footer-bottom-bar {
  background-color: #000000;
  padding: 16px 0;
  font-size: 0.75rem;
  color: #888888;
  font-weight: 300;
}

/* ===================================================
   RESPONSIVE DESIGN (响应式适配)
   =================================================== */
@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-company-info,
  .footer-nav-columns {
    width: 100%;
  }

  .footer-nav-columns {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 60vh;
  }

  .contact-container {
    padding: 50px 16px 80px 16px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .company-main-title h2 {
    font-size: 1.15rem;
  }

  .three-cols-row,
  .two-cols-row {
    flex-direction: column;
    gap: 20px;
  }

  .partners-title {
    font-size: 1.8rem;
  }

  .partners-card {
    aspect-ratio: 16 / 9;
  }
}