/* 导航栏样式 */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}
.dropdown-menu {
  transition: all 0.3s ease;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: #f5f7fa;
  color: #333;
}
.navbar {
  background-color: #002b5e;
}
.navbar-brand {
  font-weight: bold;
}
.navbar-nav .nav-link {
  color: #fff !important;
}

/* 横幅样式 */
.banner {
  width: 100%;
  height: 400px;
  background: url("../images/9933.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
}

.banner-text {
  color: white;
  padding-left: 80px;
}

.banner-text h2 {
  font-size: 24px;
  margin: 0;
  letter-spacing: 2px;
}

.banner-text h1 {
  font-size: 48px;
  margin: 10px 0 0;
  font-weight: bold;
  line-height: 1.2;
}

/* 地图区域样式 */
.map-section {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 1rem;
  position: relative;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  border-left: 6px solid #007bff;
  padding-left: 1rem;
  color: #333;
  margin-bottom: 2rem;
}

.map-container {
  position: relative;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* 左上角地址导航框 */
.address-box {
  position: absolute;
  top: 15px;
  left: 15px;
  background: white;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  max-width: 300px;
}

.address-box .address {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}

.address-box .links {
  display: flex;
  gap: 15px;
}

.address-box .links a {
  color: #1a73e8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.address-box .links a:hover {
  text-decoration: underline;
}

.map-info {
  background: #fff;
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  color: #333;
  line-height: 2;
}

.map-info i {
  color: #007bff;
  margin-right: 0.5rem;
  min-width: 20px;
}

/* 页脚样式 */
footer {
  background-color: white;
  color: black;
  padding: 2rem 0;
}

footer a {
  color: black;
  text-decoration: none;
}

footer a:hover {
  color: blue;
}

footer h5 {
  color: rgb(64, 64, 195);
  font-weight: bold;
  margin-bottom: 1rem;
  position: relative;
}

footer .col-md-3 {
  border-right: 1px solid #ccc;
  padding-right: 1rem;
  margin-bottom: 1rem;
}

footer .col-md-3:last-child {
  border-right: none;
}

footer ul {
  padding-left: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

.footer-logo img {
  width: 100px;
  height: auto;
}

#footer {
  background-color: #2e5980;
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  font-family: Arial, sans-serif;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .banner-text {
    padding-left: 20px;
  }

  .banner-text h1 {
    font-size: 36px;
  }

  .map-container {
    height: 400px;
  }

  .address-box {
    max-width: 200px;
    padding: 8px 12px;
  }
}

@media (max-width: 576px) {
  .map-container {
    height: 300px;
  }

  .address-box {
    max-width: 180px;
    font-size: 12px;
  }

  .address-box .links a {
    font-size: 12px;
  }
}
