body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background-color: #f9f9f9;
    padding: 0;
            box-sizing: border-box;
}

/* 顶部导航栏 */

.logo-img {
	height: 80px;    /* 原来是 40px，根据需要再调小或调大 */
  width: auto;
  display: block;
  margin-right: 6px;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  border-bottom: 1px solid #eee;
  position: relative;
}

.right {
  position: absolute;
  right: 32px;
}

.login-button {
  background-color: #438C76;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.login-button:hover {
  background-color: #366c5c;
}


.left a {
  font-weight: bold;
  font-size: 20px;
  color: #333;
  text-decoration: none;
}

.center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
}

.center a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.center a:hover {
  color: #007aff;
}

.navbar span {
  font-weight: 600;
  font-size: 20px;
  margin-right: 60px;
}

/* 信息条 */
.info-bar {
    background-color: #438C76;
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    gap: 14px;
}

.info-bar span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 内容主体 */
.main-content {
    background-image: url('back.jpeg'); /* 背景图片路径 */
    background-size: cover;             /* 图片自动适应容器 */
    background-position: center;        /* 居中对齐 */
    background-repeat: no-repeat;
    
    display: flex;
    flex-direction: column;
    align-items: center;                /* 水平居中 */
    justify-content: center;

    padding: 60px 20px;
    border-radius: 20px;
    color: #fff;

    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}


.main-content h1 {
    color: #333;
}

/* 按钮区域 */
.button-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.button-section form {
    display: inline-block;
}

.button-section button {
    background-color: #438C76;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.button-section button:hover {
    background-color: #366c5c;
}

/* 服务和价格区块 */
.service-info {
    margin-top: 40px;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.service-info h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.service-info p {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.6;
}

.service-info a {
    color: #3e8570;
    font-weight: bold;
    text-decoration: none;
}

/* 服务列表 */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 20px auto 60px;
}

.location-section {
    text-align: center;
    padding: 60px 20px;
}

.location-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: bold;
    color: #333;
}

.cards {
    display: flex;
    justify-content: center;    /* 水平居中 */
    align-items: stretch;
    flex-wrap: wrap;            /* 换行显示 */
    gap: 32px;                  /* 卡片间距 */
    max-width: 1000px;
    margin: 0 auto;             /* 居中容器 */
}

.card {
    background-color: #f7fbfd;
    border-radius: 32px;
    padding: 32px;
    width: 220px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-icon {
    font-size: 40px;
    color: #3e8570;
    margin-bottom: 16px;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
}

.service-card {
    background-color: #f7fbfd;
    border-radius: 20px;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-card .name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.service-card .member {
    font-size: 14px;
    color: #666;
}

.service-card .price {
    font-size: 24px;
    font-weight: bold;
    color: #3e8570;
}









@media (max-width: 768px) {
  .about-container {
    flex-direction: column; /* 小屏幕下图片和文字上下排列 */
    text-align: center;
  }

  .about-image {
    height: 350px;  /* 小屏幕下调整图片高度 */
  }

  .about-text {
    height: auto;  /* 小屏幕下自动调整文字区域高度 */
    padding: 10px;
  }

  .about-image img {
    width: 100%;  /* 小屏幕下图片宽度100% */
  }
}


















/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }
    
    .center {
        position: static;
        transform: none;
        margin-top: 20px;
        gap: 20px;
    }
    
    .service-card {
        padding: 15px 20px;
    }
    
    .service-list {
        gap: 15px;
    }
}



.about-section {
  padding: 40px 20px;
}

.about-container {
  display: flex;
  flex-direction: column; /* 让标题单独一行 */
  align-items: center;
  gap: 40px; /* 让标题与内容之间有间距 */
  max-width: 1200px;
  margin: 0 auto;
}

.about-title {
  font-size: 28px; /* 调整标题字体大小 */
  margin: 0;
  text-align: center; /* 让标题居中对齐 */
}

.about-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.about-image {
  flex: 1;
  height: 500px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  flex: 1;
  font-size: 16px; /* 保持字体大小为18px */
  line-height: 1.8; /* 增大行高，改善可读性 */
  letter-spacing: 0.5px; /* 适当增加字母间距，使文字不显得紧凑 */
  color: #333; /* 保持文字颜色 */
  font-family: 'Arial', sans-serif; /* 使用更易读的字体 */
 
  height: 500px; /* 确保文本区域和图片区域一致 */
  padding: 10px 20px;
  margin-top: -10px
}

.about-text p {
  margin: 12px 0; /* 给段落添加适当间距，使内容看起来更整齐 */
}





















.media-gallery {
    display: flex;
    flex-direction: column; /* 纵向排列视频块 */
    gap: 20px;
}

.media-row {
    display: flex;
    gap: 20px; /* 让视频之间有间距 */
    justify-content: center; /* 居中对齐每一行 */
}

.media-item {
    width: 80%;
}

.horizontal video {
    width: 80%;  /* 横向视频全宽 */
    height: auto;
}

.vertical video {
    width: auto;
    height: 80%; /* 竖向视频高度填满容器 */
}

/* 调整视频项的尺寸使其适应布局 */
.media-gallery .horizontal {
    flex: 1;
}

@media (max-width: 768px) {
    /* 移动端：修改布局为单列 */
    .media-gallery {
        flex-direction: column;
    }

    .media-row {
        flex-direction: column; /* 小屏幕时将横屏视频堆叠 */
    }

    .media-item {
        width: 80%;
    }

    .horizontal video {
        width: 80%;
        height: auto;
    }

    .vertical video {
        width: auto;
        height: 80%;
    }
}



