<template>
  <div class="atmosphere-flux-container">
    <div class="map-title">大气通量分布图</div>
    <div class="map-image-container">
      <img 
        src="/大气通量.jpg" 
        alt="大气通量分布图" 
        class="map-image"
      >
    </div>
  </div>
</template>

<script>
export default {
  name: 'AtmosphereFluxMap',
};
</script>

<style scoped>
.atmosphere-flux-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

.map-title {
  background: linear-gradient(to right, #1a5fad, #2c8fd1);
  color: white;
  text-align: center;
  padding: 18px 0;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.map-image-container {
  padding: 25px;
  background: #f8fafc;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.map-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 1px solid #e0e7ff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.map-image:hover {
  transform: scale(1.02);
}

.map-footer {
  background: #f1f5f9;
  padding: 15px 0;
  text-align: center;
  font-size: 0.95rem;
  color: #4b5563;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
  .map-title {
    font-size: 1.5rem;
    padding: 15px 0;
  }
  
  .map-image-container {
    padding: 15px;
    min-height: 350px;
  }
  
  .map-footer {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .map-title {
    font-size: 1.3rem;
  }
  
  .map-image-container {
    min-height: 280px;
  }
}
</style>