/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "微软雅黑", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

header {
  position: relative;
  height: 400px;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.header-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

nav {
  background: #004080;
  padding: 10px 0;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ffcc00;
}

main {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  margin-bottom: 40px;
  position: relative;
}

section h2 {
  border-bottom: 2px solid #004080;
  padding-bottom: 10px;
  margin-bottom: 20px;
  color: #004080;
}

.update-time {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.8em;
  color: #666;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.gallery figure {
  width: 300px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

.gallery figure img {
  width: 100%;
  height: auto;
}

.gallery figcaption {
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
}

.map-image {
  width: 100%;
  max-width: 1200px;
  display: block;
  margin: 0 auto;
  border: 1px solid #ddd;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

.contact {
  background: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  text-align: center;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

.phone-number {
  font-size: 1.5em;
  color: #004080;
  font-weight: bold;
}

footer {
  background: #004080;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

.qr-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  z-index: 1000;
}

.qr-contact img {
  width: 120px;
  height: 120px;
  margin-bottom: 10px;
}

.qr-contact p {
  margin: 5px 0;
  font-size: 0.9em;
  color: #333;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }
  .gallery {
    flex-direction: column;
    align-items: center;
  }
  .qr-contact {
    right: 10px;
    bottom: 10px;
  }
}