.logo {
  height: 30px;       /* 控制 logo 高度 */
  width: auto;        /* 保持比例 */
  vertical-align: middle; /* 让文字和图标对齐 */
  margin-right: 8px;  /* 图标和文字之间留点空隙 */
}

.back-home {
  display: inline-block;
  background: #0a3d62;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background 0.3s;
}

.back-home:hover {
  background: #145a8d;
}

/* ====== Global Reset ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
  background: #cddee9;
  color: #222;
  line-height: 1.6;
}

/* ====== Header ====== */
.header {
  text-align: center;
  padding: 60px 20px 20px;
}

.header h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #0a3d62;
}

.header p {
  font-size: 1.2rem;
  color: #555;
}

body {
  font-family: 'Syne', sans-serif;
}


/* ====== Gallery Grid ====== */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ====== Gallery Items ====== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  background: #262836;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.caption {
  padding: 15px;
  font-size: 1rem;
  color: #333;
  text-align: center;
  background: #fff;
}

/* ====== Responsive ====== */
@media (max-width: 600px) {
  .header h1 {
    font-size: 2rem;
  }

  .gallery-item img {
    height: 180px;
  }
}
