body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #002b5c; /* 主色，可根据需求调整 */
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #002b5c; /* 标题颜色统一 */
  margin: 0 0 10px 0;
}

/* 顶部窄条 */
.topbar {
  position: relative;          /* 相对定位容器 */
  background: #002b5c;
  color: white;
  font-size: 14px;
  padding: 5px 20px;
  box-sizing: border-box;
  height: 30px;
}

.topbar .slogan {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  white-space: nowrap;
}

.topbar .contact-info {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.topbar .contact-info a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
}

/* 菜单栏 */
.navbar {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  width: 100%;
  padding: 20px 30px;
  box-sizing: border-box;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #002b5c;
  margin-left: 40px;
}

.navbar nav {
  margin-left: auto;
  margin-right: 20px;
}

nav ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul.menu li {
  position: relative;
}

nav ul.menu li a {
  color: #002b5c;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
}

nav ul.menu li:hover > a {
  background: #e0e0e0;
  border-radius: 8px;
  transition: background 0.3s ease;
}

nav ul.menu .dropdown {
  display: none;
  position: absolute;
  background: #ffffff;
  list-style: none;
  margin: 0;
  padding: 0;
  top: 100%;
  left: 0;
  border: 1px solid #ccc;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

nav ul.menu li:hover .dropdown {
  display: block;
}

.dropdown li a {
  padding: 10px 20px;
  color: #002b5c;
  white-space: nowrap;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.dropdown li a:hover {
  background: #e0e0e0;
}

/* 语言切换 */
.lang-switch {
  margin-left: 20px;
}

.lang-switch button {
  background: none;
  border: 1px solid #002b5c;
  color: #002b5c;
  font-weight: bold;
  padding: 3px 8px;
  cursor: pointer;
  border-radius: 4px;
  margin-left: 5px;
  transition: all 0.2s ease-in-out;
}

.lang-switch button.active {
  background: #002b5c;
  color: white;
  border-color: #002b5c;
}

.lang-switch button:hover {
  background: rgba(0,43,92,0.1);
}

/* 轮播 */
.carousel {
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  overflow: hidden;
}

.carousel .slides {
  display: flex;
  transition: transform 1.5s ease-in-out;
  position: relative;
}

.carousel .slide {
  position: relative;
  min-width: 100%;
}

.carousel .slide a img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

.carousel .slide-text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 30px;
  border-radius: 6px;
  max-width: 60%;
}

.carousel .slide-text h2,
.carousel .slide-text p {
  color: white;    
}
.carousel .slide-text h2 {
  margin: 0 0 15px 0;
  font-size: 28px;
}

.carousel .slide-text p {
  margin: 0;
  font-size: 18px;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.carousel .prev { left: 10px; }
.carousel .next { right: 10px; }

/* 内容区整体 */
.content {
  display: flex;
  padding: 20px;
  gap: 20px;
}

.sidebar {
  width: 33.33%;
  padding: 10px;
  background: #f4f4f4;
  border-radius: 6px;
  box-sizing: border-box;
}

.sidebar img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: contain;
}

.company-info {
  flex: 1;
  padding: 20px;
}

.company-text h2 {
  color: #333333;  /* 深灰 */
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.company-text h3 {
  color: #666666;  /* 中灰 */
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}

.company-text p {
  color: #888888;  /* 浅灰 */
  font-size: 20px;
  line-height: 1.7;
}
/* 地图 */
.company-banner-container {
  display: flex;
  justify-content: center; /* 水平居中 */
  margin: 40px 0;          /* 上下空白 */
  background-color:#f9f9f9;
}

.company-banner-content {
  text-align: center;      /* 文字居中 */
  width: 100%;
}

.company-banner-content img {
  width: 90%;             /* 图片自适应容器宽度 */
  height: auto;
  border-radius: 8px;      /* 圆角 */
  margin-bottom: 20px;     /* 图片和文字间距 */
}

.company-banner-content h2 {
  font-family: 'Lora', serif; /* 艺术感衬线字体 */
  font-weight: 300; /* 细字体 */
  font-size: 45px;
  color: #333333;          /* 深灰 */
  margin-top: 30px;
  margin-bottom:20px ;
}

.company-banner-content p {
  font-size: 18px;
  color: #333333;          /* 中灰 */
  width: 70%;
  text-align: center;
  margin: 0 auto;
  margin-bottom:20px
}

/* 产品区容器 */
.product-info {
  flex: 1;
  padding: 20px;
  width: 80%;
  max-width: 1200px; /* 最大宽度，可根据需求调整 */
  margin: 0 auto;    /* 水平居中 */
  box-sizing: border-box; /* 确保 padding 不影响宽度 */
}

.product-info h2 {
  font-size: 40px;
  color: #002b5c;
  margin-bottom: 10px;
  text-align: left; 
}

.product-info p {
  font-size: 20px;
  color: #555;
  margin-bottom: 50px;
  text-align: left;
}

/* 产品行 */
.product-row {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* 单个产品 */
.product-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* 产品图 */
.product-img {
  position: relative;
  flex: 1;
  max-width: 50%;
  aspect-ratio: 4/3; /* 保持宽高比，比如4:3，可以改 */
}

.product-img img {
  width: 100%;
  border-radius: 6px;
  transition: opacity 0.3s ease;
  position: absolute; /* 图片重叠 */
  top: 0;
  left: 0;
}

.product-img .product-back {
  opacity: 0; /* 默认隐藏背面 */
}

.product-img:hover .product-front {
  opacity: 0; /* 悬停时隐藏正面 */
}

.product-img:hover .product-back {
  opacity: 1; /* 悬停时显示背面 */
}


/* 产品文字 */
.product-text {
  flex: 1;
  max-width: 50%;
}

.product-text h3 {
  color: #222;
  margin-bottom: 10px;
  font-size: 32px;
  margin-left: 30px;
}

.product-text h4 {
  color: #555;
  margin-bottom: 10px;
}

.product-text ul {
  padding-left: 20px;
  color: #555;
  margin: 0 0 10px 30px;
}

.product-text ul li {
  margin-bottom: 5px;
}

/* Learn More 按钮 */
.btn {
  display: inline-block;
  background: #002b5c;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
  margin-top: auto;
  margin-left: 30px;
}

.btn:hover {
  background: #004080;
}

.carousel {
  border-bottom: 1px solid #ddd; /* 浅灰横线 */
  padding-bottom: 40px;         /* 横线和轮播之间留白 */
  margin-bottom: 30px;          /* 横线和下面内容之间留白 */
 }

.contact-section {
  background-color: #f9f9f9;
  padding: 40px 20px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 左侧表单 */
.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-form h2 {
  font-size: 32px;
  color: #002b5c;
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  margin-top: 10px;
  display: inline-block;
  background: #002b5c;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
}

.contact-form .btn:hover {
  background: #004080;
}

/* 右侧联系信息 */
.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  font-size: 32px;
  color: #002b5c;
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 10px;
  color: #333;
  line-height: 1.5;
}

/* 地图 */
.map-container {
  margin-top: 60px;
  border-radius: 8px;
  overflow: hidden;
}

/* 项目轮播容器 */
.project-carousel-container {
  background-color: #f9f9f9;
  padding: 40px 0;
  color: #002b5c;
}

.project-carousel-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 10px; /* 左右留白 */
}

.project-carousel-content h2 {
  font-size: 36px;
  color: #333333; /* 深灰标题 */
  margin-bottom: 10px;
}

.project-carousel-content h3 {
  font-size: 18px;
  color: #666666; /* 中灰副标题 */
  margin-bottom: 30px;
}

/* 轮播行 */
.project-carousel {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.project-slide {
  flex: 0 0 calc((100% - 45px) / 4);
  height: 200px;                      /* 固定高度 */
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.project-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 自动裁切相同大小 */
  display: block;
  transition: transform 0.3s ease;
}

.project-slide img:hover {
  transform: scale(1.05);
}

/* 隐藏滚动条（可选） */
.project-carousel::-webkit-scrollbar {
  display: none;
}
.project-carousel {
  -ms-overflow-style: none;  /* IE 10+ */
  scrollbar-width: none;     /* Firefox */
}

/* 页脚 */
footer {
  background: #002b5c;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 30px;
}

.footer-links {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.news-section {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* news.html页面 */
.news-section-container h2{
  padding-top: 30px;
  padding-left: 50px;
}
.news-item {
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 30px;
}

.news-item:nth-child(even) {
  flex-direction: row-reverse; /* 可选：让每条新闻左右交错 */
}

.news-image img {
  height: 200px;      /* 固定高度 */
  width: auto;        /* 宽度自适应，保持比例 */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: block;     /* 去掉默认行内间隙 */
}

.news-content {
  flex: 1;
  text-align: left;
  padding-left: 10px;
  box-sizing: border-box;
}

/* 偶数条新闻文字容器调整 */
.news-item:nth-child(even) .news-content {
  padding-left: 0;      /* 左侧间距去掉 */
  padding-right: 10px;  /* 改用右侧间距，保证图片和文字有间距 */
}

.news-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #222;
  text-align: left;
}

.news-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 8px;
  white-space: pre-wrap;
  text-align: left;   
  padding-left: 50px;
}

.news-date {
  font-size: 0.9rem;
  color: #888;
  padding-left: 50px;
}

/* Privacy页面 */
.privacy-section {
  padding: 50px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.privacy-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: left;
}

.privacy-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
  text-align: left;
}

.privacy-item {
  margin-bottom: 30px;
}

.privacy-item-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: left;
}

.privacy-item-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  text-align: left;
}

/* Impressum 页面 */
.impressum-section {
  padding: 50px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.impressum-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: left;
}

.impressum-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
  text-align: left;
}

.impressum-item {
  margin-bottom: 30px;
}

.impressum-item-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: left;
}

.impressum-item-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  text-align: left;
}

/* Company页面 */

.company-section {
  padding: 40px 20px;
  text-align: center;
}

/* 顶部横幅 16:9 图片 */
.company-banner img {
  width: 100%;
  height: 300px;  
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 40px;
}

.company-text{
  text-align: left;
  font-size: 2rem;
  padding-bottom: 20px;
}

/* 员工容器布局 */
.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-items: center;
}

/* 员工卡片样式 */
.team-member {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  max-width: 300px;
  text-align: center;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.team-name {
  font-size: 1.3rem;
  color: #222;
  margin-bottom: 5px;
}

.team-position {
  font-size: 1rem;
  color: #666;
  margin-bottom: 10px;
}

.team-contact a {
  color: #0077cc;
  text-decoration: none;
}

.team-contact a:hover {
  text-decoration: underline;
}

.team-languages {
  font-size: 0.95rem;
  color: #555;
  margin-top: 10px;
}

/* product页面 */

/* 产品区整体布局 */
.product-section {
  padding: 60px 10%;
}

/* 每个产品模块左右布局 */
.product-item {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

/* 产品图片容器 */
.product-image-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* 图片动画：进入时从左滑入 */
.product-image {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateX(-100px);
  animation: slideIn 1s ease-out forwards;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 产品信息部分 */
.product-info {
  flex: 1;
  padding-bottom: 1px;
}

/* 标题：靠上与图片平齐 */
.product-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  position: relative;
  top: 0;
  text-align: left;
}

/* 小点特征列表 */
.product-features {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 25px;
}

.product-features li {
  margin-bottom: 6px;
  line-height: 1.5;
}

/* 参数表格 */
.product-specs-container {
  width: 80%;          /* 占屏幕宽度的 80% */
  margin: 0 auto;      /* 居中对齐 */
  display: flex;
  justify-content: center;
}
.product-specs {
  width: 100%;
  border-collapse: collapse;
}

.product-specs tr {
  transition: background-color 0.3s;
}

.product-specs td {
  border-bottom: 1px solid #ddd;
  padding: 10px 15px;
  text-align: left;
}

/* 悬停灰色高亮效果 */
.product-specs tr:hover {
  background-color: rgba(0,0,0,0.15);
}

/* 下载按钮 */
.download-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0077cc;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.download-btn:hover {
  background-color: #005fa3;
}
