/* Logo 部分样式 */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px; /* 增加间距 */
}

/* WhatsApp Section */
.whatsapp-section {
  display: flex;
  align-items: center;
  gap: 10px; /* 调整间距 */
  margin-left: 30px; /* 向右移动 */
}

.whatsapp-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px; /* 减少间隔 */
}

.whatsapp-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; /* 缩小字体 */
  font-weight: bold;
  color: #e74c3c; /* 红色字体 */
}

.whatsapp-email {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px; /* 缩小字体 */
  font-style: italic;
  color: #2c3e50; /* 深蓝色 */
}

.whatsapp-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25d366;
  width: 35px; /* 缩小图标容器 */
  height: 35px; /* 缩小图标容器 */
  border-radius: 50%;
  cursor: pointer;
}

.whatsapp-icon-container img {
  width: 20px; /* 缩小图标 */
  height: 20px;
}

/* 右上角图片样式 */
.right-img-container {
  position: absolute;
  top: 10px; /* 距离顶部 */
  right: 10px; /* 距离右侧 */
  z-index: 1; /* 确保图片在其他元素之上 */
}

.right-img-container img {
  width: 80px; /* 调整图片宽度 */
  height: auto; /* 自动调整高度 */
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 左上角标题样式 */
.logo-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  letter-spacing: 1px;
}

.logo-subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-style: italic;
  color: #16a085;
  margin: 0;
  letter-spacing: 0.5px;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #ffffff;
  color: black;
  border-bottom: 1px solid #ddd;
  position: relative; /* 确保图片相对于 header 定位 */
}

header .logo h1 {
  font-size: 1.5em;
  margin: 0;
  color: black;
}

header .logo p {
  font-size: 0.9em;
  margin: 0;
  color: #666;
}

nav {
  background-color: #ffffff;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #ddd;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0 auto;
  padding: 0;
  justify-content: center;
}

nav ul li {
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  padding: 10px 15px;
  font-size: 1.2em;
  border-radius: 5px;
}

nav ul li a:hover {
  background-color: #f8f9fa;
  color: black;
}

/* 英雄区样式 */
.hero {
  position: relative;
  text-align: center;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-content {
  margin-top: 20px;
  text-align: center;
}

.hero-content h2 {
  font-size: 2em;
  color: black;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2em;
  color: #555;
}

/* 页面内容样式 */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px auto;
  max-width: 1200px;
}

.contact-info {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.map iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
}

.about-company, .services, .contact-info {
  padding: 20px;
  background-color: #ffffff;
  margin: 20px auto;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.about-company h3, .services h3, .contact-info h3 {
  color: black;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.about-company p, .services ul, .contact-info p {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
}

.services ul {
  list-style-type: disc;
  padding-left: 20px;
}

.services ul li {
  margin-bottom: 10px;
}

/* 页脚样式 */
footer {
  text-align: center;
  padding: 20px;
  background-color: #f8f9fa;
  color: black;
  font-size: 0.9em;
}

footer a {
  color: black;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 10px 0;
  }

  header {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    padding: 30px 10px;
  }

  .right-img-container {
    display: none; /* 小屏幕时隐藏右上角图片 */
  }
}

