/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: #333;
  line-height: 1.6;
}
a {
  text-decoration: none;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #2c6ecb;
}
/* 导航栏样式 */
header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 15px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #666;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #2c6ecb;
}

/* 主横幅样式 */
.hero {
  color: white;
  padding: 60px 0;
  text-align: center;
  background-color: #2c6ecb;
}

.hero h2 {
  font-size: 40px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 16px;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0.9;
}

.products-section {
  padding: 60px 0;
}

.products-card-pro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.text-center p {
  font-size: 18px;
  font-weight: bold;
  margin: 10px;
}
.products-card-pro:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 10px;
  overflow: hidden;
}
.products-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}
.but_prvnex {
  display: flex;
  justify-content: center;
  align-items: center;
}
.load-more-prv {
  margin: 40px;
  padding: 10px 30px;
  border-radius: 30px;
  border: 1px solid #2c6ecb;
  background-color: white;
  color: #2c6ecb;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-prv:hover {
  background-color: #2c6ecb;
  color: white;
}
.load-more-nex {
  margin: 40px;
  padding: 10px 30px;
  border-radius: 30px;
  border: 1px solid #2c6ecb;
  background-color: white;
  color: #2c6ecb;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-nex:hover {
  background-color: #2c6ecb;
  color: white;
}
.carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60%;
  height: 100%;
  overflow: hidden;
}

.products-card-pro:hover .product-image {
  transform: scale(1.05);
}

.product-title {
  font-size: 18px;
  color: #333;
  margin: 0;
}
.text-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.load-more {
  display: block;
  margin: 40px;
  padding: 10px 30px;
  border-radius: 30px;
  border: 1px solid #2c6ecb;
  background-color: white;
  color: #2c6ecb;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more:hover {
  background-color: #2c6ecb;
  color: white;
}

/* 页脚样式 */
footer {
  background-color: #333;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 100px;
  gap: 40px;
}

.footer-column {
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #fff;
}

.footer-column p,
.footer-column ul {
  padding-top: 10px;
  color: #bbb;
}

.footer-column ul {
  list-style: none;
}

.footer-item {
  margin-bottom: 10px;
}

.footer-link {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #444;
  color: #888;
  font-size: 14px;
}
