/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo img {
  height: 60px;
  object-fit: contain;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

nav a:hover {
  color: #4a90e2;
}

.hero {
  background: linear-gradient(135deg, #1e3c72, #4a90e2);
  color: white;
  text-align: center;
  padding: 140px 20px 80px;
  margin-top: 80px;
}

.hero h1 {
  font-size: 2.8em;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background: #fff;
  color: #1e3c72;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.btn:hover {
  background: #f0f0f0;
  transform: scale(1.05);
}

.section {
  padding: 80px 0;
  background: #fff;
  text-align: center;
}

.section h2 {
  font-size: 2.2em;
  margin-bottom: 40px;
  color: #333;
  border-bottom: 2px solid #4a90e2;
  padding-bottom: 10px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  flex: 1;
  min-width: 250px;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card h3 {
  color: #4a90e2;
  margin-bottom: 15px;
  font-size: 1.3em;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.item {
  height: 150px;
  background: #eee;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  color: #666;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

footer {
  text-align: center;
  padding: 40px 0;
  background: #333;
  color: #fff;
}