/* 重置与全局 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  background-color: #f9f9f9;
  color: #222;
  line-height: 1.8;
  font-size: 18px; /* 基础字号放大 */
}

h1, h2, h3 {
  font-weight: 700;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* 顶部紧急横幅 */
.top-banner {
  background: #d32f2f;
  color: white;
  text-align: center;
  padding: 12px 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  animation: blink 2s infinite;
}

@keyframes blink {
  50% { opacity: 0.7; }
}

/* 导航栏 */
.navbar {
  background: #0d3b66;
  padding: 18px 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 32px;
  font-weight: 700;
  color: #ffd700; /* 金色，显贵气 */
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  color: white;
  font-size: 22px;
  font-weight: 600;
  padding: 8px 0;
}

.nav-menu a:hover {
  color: #ffd700;
}

.btn-outline, .btn-primary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline {
  border: 3px solid #ffd700;
  color: #ffd700;
  background: transparent;
}

.btn-outline:hover {
  background: #ffd700;
  color: #0d3b66;
}

.btn-primary {
  background: #ffd700;
  color: #0d3b66;
  border: 3px solid #ffd700;
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
  background: #ffcc00;
  transform: translateY(-3px);
}

.nav-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* 英雄区域 */
.hero {
  background: linear-gradient(135deg, #0d3b66 0%, #1a5f9e 100%);
  padding: 80px 0 60px;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero h1 span {
  color: #ffd700;
}

.subtitle {
  font-size: 26px;
  margin-bottom: 40px;
  font-weight: 500;
}

.search-bar {
  display: flex;
  max-width: 800px;
  margin: 0 auto 40px;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

select, button {
  height: 60px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 22px;
  border: 2px solid #ffd700;
  background: white;
  color: #0d3b66;
  font-weight: 600;
}

select:focus, button:focus {
  outline: 3px solid #ffd700;
}

.quick-links {
  margin-top: 30px;
}

.quick-links a {
  display: inline-block;
  margin: 0 12px;
  padding: 12px 28px;
  background: rgba(255,255,255,0.2);
  border-radius: 50px;
  color: #ffd700;
  font-weight: 600;
  font-size: 20px;
  border: 2px solid transparent;
}

.quick-links a:hover {
  background: #ffd700;
  color: #0d3b66;
  border-color: #ffd700;
}

/* 岗位列表 */
.featured-jobs {
  padding: 70px 0;
  background: white;
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  color: #0d3b66;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 6px;
  background: #ffd700;
  margin: 16px auto 0;
  border-radius: 3px;
}

.jobs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.job-item {
  background: #f0f7ff;
  border: 3px solid #cce5ff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.job-item h3 {
  font-size: 26px;
  color: #0d3b66;
  margin: 0;
  line-height: 1.4;
}

.tag {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
}

.tag.urgent {
  background: #ffebee;
  color: #c62828;
  border: 2px solid #ef9a9a;
}

.salary {
  font-size: 28px;
  color: #d32f2f;
  margin: 16px 0;
  font-weight: 700;
}

.info {
  font-size: 20px;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* 按地区 */
.local-section {
  padding: 60px 0;
  background: #f0f9ff;
  text-align: center;
}

.region-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.region-grid a {
  display: block;
  width: 160px;
  padding: 24px 16px;
  background: white;
  border: 2px solid #0d3b66;
  border-radius: 16px;
  font-size: 24px;
  font-weight: 600;
  color: #0d3b66;
  transition: all 0.3s;
}

.region-grid a:hover {
  background: #0d3b66;
  color: white;
  transform: scale(1.05);
}

/* 温馨提示 */
.tips-section {
  padding: 50px 0;
  background: #fff8e1;
  border-top: 6px solid #ffc107;
  border-bottom: 6px solid #ffc107;
}

.tip-box {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tip-box h3 {
  font-size: 32px;
  color: #d32f2f;
  margin-bottom: 20px;
  text-align: center;
}

.tip-box ul {
  list-style: none;
}

.tip-box li {
  font-size: 22px;
  margin: 16px 0;
  padding-left: 40px;
  position: relative;
}

.tip-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #388e3c;
  font-weight: bold;
  font-size: 26px;
}

/* 页脚 */
.footer {
  background: #0d3b66;
  color: #e0e0e0;
  padding: 60px 0 30px;
  font-size: 18px;
}

.footer-logo {
  font-size: 28px;
  color: #ffd700;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px 0;
}

.footer-links a {
  font-size: 20px;
  padding: 8px 20px;
  border-radius: 8px;
  transition: background 0.3s;
}

.footer-links a:hover {
  background: rgba(255,215,0,0.2);
  color: #ffd700;
}

.footer-copyright {
  text-align: center;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid #1a5f9e;
}

.footer-copyright p {
  margin: 8px 0;
}

/* 响应式适配 */
@media (max-width: 768px) {
  body {
    font-size: 20px;
  }

  .logo {
    font-size: 28px;
  }

  .nav-menu {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-menu a {
    font-size: 20px;
  }

  .btn-primary, .btn-outline {
    padding: 16px 24px;
    font-size: 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .subtitle {
    font-size: 22px;
  }

  .search-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .job-item h3 {
    font-size: 24px;
  }

  .salary {
    font-size: 26px;
  }

  .info {
    font-size: 20px;
  }

  .region-grid a {
    width: 140px;
    padding: 20px 12px;
    font-size: 22px;
  }

  .tip-box li {
    font-size: 20px;
  }
}