* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #fff;
  }
  
  /* ================================
     固定导航栏
     ================================ */
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
  }
  
  .navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
  }
  
  .navbar ul li {
    margin: 0 15px;
  }
  
  .navbar ul li a {
    display: block;
    padding: 15px 10px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
  }
  
  .navbar ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  /* 为避免内容被导航栏遮挡 */
  .content {
    padding-top: 60px; 
  }
  
  /* ================================
     顶部横幅
     ================================ */
  .banner {
    position: relative;
    width: 100%;
    height: 300px;
    background-image: url('<!-- 图片路径 -->');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  }
  
  .banner h1 {
    font-size: 2.5em;
  }
  
  /* ================================
     轮播图 / 内容预览区域
     ================================ */
  .carousel {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    overflow: hidden;
  }
  
  .carousel .slide {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
    position: relative;
    background-color: #d4d4d4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: #333;
    background-size: cover;
    background-position: center;
  }
  
  .slide1 {
    image-rendering: url('https://source.unsplash.com/1600x900/?ancient,chinese');
  }
  
  .slide2 {
    background-image: url('https://source.unsplash.com/1600x900/?ancient,chinese');
  }
  
  .slide3 {
    background-image: url('https://source.unsplash.com/1600x900/?ancient,chinese');
  }

  .slide4 {
    background-image: url('https://source.unsplash.com/1600x900/?ancient,chinese');
  }

  .slide5 {
    background-image: url('https://source.unsplash.com/1600x900/?ancient,chinese');
  }

  
  /* ================================
     搜索
     ================================ */
  .search-container {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
  }
  
  .search-container form {
    display: flex;
    justify-content: center;
  }
  
  .search-container input[type="text"] {
    width: 70%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    outline: none;
  }
  
  .search-container button {
    padding: 10px 20px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-left: none;
    background-color: #333;
    color: #fff;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .search-container button:hover {
    background-color: #555;
  }
  
  /* ================================
     页脚
     ================================ */
  footer {
    background-color: #222;
    color: #ccc;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
  }
  
  footer .footer-nav {
    margin-bottom: 10px;
  }
  
  footer .footer-nav a {
    color: #ccc;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
  }
  
  footer .footer-nav a:hover {
    color: #fff;
  }
  
  footer p {
    font-size: 0.9em;
  }
  