/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 主容器 */
.section-base {
    width: 1680px;
    height: 700px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    overflow: hidden;
    position: relative;
    background-image: url('/web/StarPolicy/static/image/map.png'); /* 背景图片 */
    background-size: cover;
    background-position: center;
}

/* 背景虚化效果 */
.section-base::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 1); /* 半透明层 */
    backdrop-filter: blur(8px); /* 背景虚化效果 */
    z-index: 1;
}

/* 标题区域 */
.section-heading-container {
    text-align: center;
    padding-top: 50px; /* 增加上方空隙 */
    margin-bottom: 15px;
    flex-shrink: 0;
    z-index: 2;
}

.section-heading {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 20px;
    color: #666;
    margin: 0 auto;
    max-width: 80%;
    line-height: 1.5;
}

/* 主要内容区域 */
.infrastructure-content {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 0 50px; /* 这设置了左右内边距 */
    margin-top: 20px; /* 向上移动 */
    flex-grow: 1;
    align-items: center;
    z-index: 2;
}

/* 地图容器 */
.map-container {
    width: 700px; /* 调小宽度 */
    height: 420px; /* 调小高度 */
    position: relative;
    background-color: transparent; /* 去除背景颜色 */
    border-radius: 0; /* 去除圆角 */
    box-shadow: none; /* 去除阴影 */
    margin: 20px 0 0;  /* 设置外边距 */
    padding: 0; /* 移除内边距 */
    filter: brightness(90%) contrast(120%); /* 调整亮度和对比度 */
}

/* 地图标记点 */
.map-marker {
    position: absolute;
    width: 16px; /* 调小标记点大小 */
    height: 16px; /* 调小标记点大小 */
    background-color: #2a5caa;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    border: 2px solid white;
}

.map-marker:hover {
    transform: translate(-50%, -50%) scale(1.4);
    box-shadow: 0 0 12px rgba(42, 92, 170, 0.8);
}

.map-marker.active {
    background-color: #ff6b00;
    transform: translate(-50%, -50%) scale(1.6);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.7);
}

.marker-label {
    position: absolute;
    white-space: nowrap;
    font-size: 14px; /* 调小字体 */
    color: #333;
    font-weight: bold;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.map-marker:hover .marker-label,
.map-marker.active .marker-label {
    opacity: 1;
}

/* 标记点定位 */
.marker-1 { top: 29%; left: 17%; } /* 北美 */
.marker-2 { top: 25%; left: 58%; } /* 欧洲 */
.marker-3 { top: 60%; left: 85%; } /* 大洋洲 */
.marker-4 { top: 28%; left: 80%; } /* 亚洲 */

/* 信息区域 */
.info-section {
    width: 450px; /* 调小信息区域宽度 */
    margin-top: -10px;
    background-color: transparent; /* 去除背景颜色 */
    padding: 25px;
    border-radius: 0; /* 去除圆角 */
    box-shadow: none; /* 去除阴影 */
    height: 420px; /* 调小高度 */
    z-index: 2;
}

.info-section h3 {
    font-size: 24px; /* 调小标题字体 */
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.info-section ul {
    list-style: none;
    padding-left: 0;
}

.info-section li {
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
    font-size: 15px; /* 调小字体 */
    line-height: 1.6;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.info-section li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: #2a5caa;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.info-section li:hover {
    color: #2a5caa;
    transform: translateX(5px);
}

.info-section li.active {
    color: #ff6b00;
    font-weight: bold;
}

.info-section li.active:before {
    background-color: #ff6b00;
    transform: scale(1.3);
}

@media (max-width: 768px) {
  .section-base {
    width: 100%;
    height: auto;
    padding: 20px 10px;
    background-position: center;
  }

  .section-heading {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 16px;
    max-width: 100%;
  }

  .infrastructure-content {
    flex-direction: column;
    gap: 30px;
    padding: 0;
    align-items: center;
  }

  .map-container {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .info-section {
    width: 100%;
    padding: 20px;
    height: auto;
  }

  .info-section h3 {
    font-size: 20px;
  }

  .info-section li {
    font-size: 14px;
  }

  .marker-label {
    font-size: 12px;
    padding: 2px 6px;
  }

  .map-marker {
    width: 12px;
    height: 12px;
  }
}
