@charset "utf-8";
/* CSS Document */

* {
	margin:0;
	padding:0;
	border:0;
}
body {
	background-color: #FFF;
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
	color:#2b3f78;
	}
 .boxs {
  padding: 10px;
  position: relative; /* 为右下角图片定位做准备 */
  width: 80%;
  display: flex;
  flex-wrap: wrap; /* 内容随窗口变化自动换行 */
  margin: 0 auto;
}

.left-content {
  display: flex;
  align-items: center;
}

.left-content img {
  width: 90px;
  height: 90px; /* 正方形图片尺寸，可调整 */
  margin-right: 10px;
}

.company-name {
  text-align: center;
  font-family:"华文行楷";
  font-size:35px;
}

.bottom-right-img {
  position: absolute;
  bottom: 10px;
  right: 10px;
  max-width: 25%;
  max-height: 90px;
  width: auto;
  height: auto;
}

/* 媒体查询实现响应式布局 */
@media (max-width: 768px) {
 .left-content img {
    width: 40px;
    height: 40px;
  }
 .company-name {
    font-size: 14px;
  }
 .bottom-right-img {
    max-width: 60px;
    max-height: 60px;
  }
}

@media (max-width: 480px) {
 .left-content img {
    width: 30px;
    height: 30px;
  }
 .company-name {
    font-size: 12px;
  }
 .bottom-right-img {
    max-width: 40px;
    max-height: 40px;
  }
}


/**
*首行导航栏
*/	
.run {
			background-color:#2b3f78;
			width:100%;
		}
        nav {
            background-color: #2b3f78;
			width:100%;
			margin: 0 auto;
			position: relative; /* 必须加 */
    		z-index: 9999;      /* 必须加，让导航永远在最上层 */         
		}

        nav ul {
            list-style-type: none;
            display: flex;
            justify-content: space-around;
            flex-wrap: nowrap; /*强制不换行*/
			font-size:24px;
			padding: 0;
			margin: 0;
        }

        nav ul li {
            flex: 1; /* 让所有 li 等分剩余空间，自动缩小 */
            min-width: 0; /* 允许内容被压缩 */
            text-align: center;
        }

        nav ul li a {
            display: block;
            color: white;
            text-align: center;
            padding: 14px 8px;
            text-decoration: none;
            white-space: nowrap; /* 文字不换行 */
            overflow: hidden; /* 防止文字溢出 */
        }

        nav ul li a:hover {
            background-color: #ddd;
            color: black;
        }
		
		/* 新增：下拉菜单容器样式 */
        .dropdown {
            position: relative;
        }
        .dropdown-content {
            display: none; /* 默认隐藏 */
            position: absolute;
            top: 100%; /* 紧贴导航栏下方 */
            left: 0;
            width: 100%; /* 宽度和导航栏li一致 */
            background-color: #2b3f78;
            z-index: 999999; /* 确保在最上层 */
        }
        .dropdown-content a {
            font-size: 1.2vw; /* 下拉菜单文字比导航栏小 */
            padding: 10px 4px; /* 内边距适配 */
			overflow: hidden;   
			text-overflow: ellipsis; /* 极端情况才显示省略号，一般不会触发 */
            white-space: nowrap;
            text-align: center;
            border-bottom: 1px solid rgba(255,255,255,0.1); /* 可选：分隔线 */
        }
        /* 鼠标悬浮显示下拉菜单 */
        .dropdown:hover .dropdown-content {
            display: block;
        }
        /* 下拉菜单hover效果 */
        .dropdown-content a:hover {
            background-color: #ddd;
            color: black;
        }

        /* 滑动效果的样式 */
       .slider {
            position: relative;
            height: 4px;
            background-color: white;
            transition: left 0.2s ease;
        }
        @media (max-width: 768px) {
          nav ul {
            font-size: 14px; /* 移动端缩小字体 */
          }
          nav ul li a {
            padding: 12px 4px; /* 进一步减小内边距 */
          }
		  /* 下拉菜单移动端文字大小 */
          .dropdown-content a {
            font-size: 1.0vw; /* 比导航栏文字小 */
            padding: 8px 3px;
          }
        }
        
        @media (max-width: 480px) {
          nav ul {
            font-size: 12px; /* 更小屏幕再缩小 */
          }
		  /* 下拉菜单超小屏文字大小 */
          .dropdown-content a {
            font-size: 0.9vw;
            padding: 6px 2px;
          }
        }
        
.pro {
	width:100%;
	height:500px;
	margin-bottom:20px;
	background-color:#F8F8F8;
	background: url(../image/%E5%B7%A5%E7%A8%8B%E6%A1%88%E4%BE%8B/%E7%8E%BB%E7%92%83%E9%92%A2%E7%AE%A1%E9%81%93.jpg)   no-repeat;
	background-size: cover; /*将元素填满同时保证图片尺寸不变形*/
	background-position: 50%;
}




/**
*当前位置
*/
.toptitle .place {
	font-size:14px;
	color:#333;
	width:80%;
	height:35px;
	margin-left:150px; 
	margin-top: 10px;
	margin-bottom:10px;
	float:left;
	border-bottom:1px  dashed #ccc;
	padding-top:8px; 
	padding-left:5px;
	box-sizing: border-box;
}
.toptitle .place a:link,.toptitle .place a:visited {
	color:#333;
	text-decoration:none;
}
.toptitle .place a:hover,.toptitle .place a:active {
	color:#333;
	text-decoration:none;
}




/**
*工程案例
*/ 
     /**
*工程案例（修复后）
*/ 
.body {
    font-family: "Microsoft Yahei", sans-serif;
    padding: 20px 0;
    width: 100%;
    height: 100%;
}

/* 案例总容器：确保全屏宽度，内部内容居中 */
.body .case-container {
    width: 100%; /* 铺满父元素 */
    max-width: 1400px; /* 适当增大最大宽度，避免3列拥挤 */
    margin: 0 auto; /* 水平居中 */
    padding: 0 20px;
    box-sizing: border-box;
}

/* 网格布局：强制一行3列，窗口缩小时自动等比例缩小 */
.case-grid {
    display: grid;
    /* 关键：固定3列，每列等宽，窗口缩小时列宽同步缩小 */
    grid-template-columns: repeat(3, 1fr);
    gap: 25px; /* 图片间距，避免拥挤 */
    justify-items: center; /* 网格内元素水平居中 */
    width: 100%; /* 铺满容器 */
}

/* 案例项：限制最大宽度，确保3列布局稳定 */
.case-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    width: 100%;
    max-width: 380px; /* 缩小最大宽度，适配3列布局 */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 图片自适应：宽度铺满，高度按比例缩放 */
.case-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* 保持图片比例，裁剪多余部分（可选，根据需求调整） */
}

.case-item p {
    padding: 12px;
    background-color: #fff;
    font-size: 18px;
    color: #333;
    margin: 0;
}

/* 全屏预览样式保持不变 */
.preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.preview-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.preview-img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.nav-arrow:hover {
    background-color: rgba(255,255,255,0.4);
}

.prev-arrow {
    left: -60px;
}

.next-arrow {
    right: -60px;
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ddd;
}

/* 响应式适配：小屏幕自动调整列数 */
@media (max-width: 1200px) {
    .case-grid {
        gap: 20px;
    }
    .case-item {
        max-width: 320px;
    }
}

@media (max-width: 992px) {
    /* 中等屏幕：一行2列 */
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* 小屏幕：一行1列 */
    .case-grid {
        grid-template-columns: 1fr;
    }
    .case-item {
        max-width: 350px;
    }
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .prev-arrow {
        left: -20px;
    }
    .next-arrow {
        right: -20px;
    }
}

@media (max-width: 480px) {
    .preview-overlay {
        padding: 10px;
    }
    .prev-arrow {
        left: 10px;
    }
    .next-arrow {
        right: 10px;
    }
}
/**
*底栏一
*/
 .contact-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #009; /* 蓝色背景色 */
    color: white;
    padding: 20px;
}
.info-item {
    display: flex;
    align-items: center;
}
.icon-location,
.icon-phone,
.icon-mail {
    font-size: 24px; /* 图标大小 */
    margin-right: 10px;
}
.info-text span {
    margin-right: 5px;
	font-size:18px;
}
.info-text p {
    margin-right: 5px;
	color:#FFF;
	font-size:20px;
}

/* 媒体查询实现响应式 */
@media (max-width: 768px) {
   .contact-info {
        flex-direction: column; /* 小屏幕时垂直排列 */
    }
   .info-item {
        margin-bottom: 10px;
    }
}


/**
*底栏二
*/
 
.toptitle .dlh {
	width: 100%;
	height:80px;
	padding-top: 40px;
	background-color:#333; 
	float:left;
	text-align:center;
	margin-top:0px;
}
.dle .menuitems { 
	height: 60px;
	text-align:center;
	font-weight:bold;
	}
ul {
	list-style-type:none;
	}
.dlh .menuitems li {
	padding:0px 22px;
	font-size:25px;
	display:inline;
	}
.dlh .menuitems li a:link,.dlh .menuitems li a:visited {
	color:#FFF;
	text-decoration:none;
	}
.dlh .menuitems li a:hover,.dlh .menuitems li a:active {
	color:#fff;
	text-decoration:none;
	}



/**
*底栏三
*/
.footer {
	 
	height:70px;
	background-color:#999;
	padding-top:40px;
	padding-left:34px;
	font-size:16px;
	color:#333;
	text-align:center;
	border-top:2px solid #000;
	clear:both;
}

        /* 悬浮按钮容器：固定在右侧，可拖动 */
        .floating-container {
            position: fixed;
            right: 20px;
            bottom: 50px;
            z-index: 9999; /* 确保在最上层 */
            cursor: move; /* 长按拖动时的鼠标样式 */
        }

        /* 圆形触发按钮 */
        .floating-btn {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #0066ff;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }

        /* 悬浮展开的客服面板 */
        .service-panel {
            width: 280px;
            background-color: #0066ff;
            color: #fff;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            position: absolute;
            right: 70px; /* 面板在按钮左侧展开 */
            bottom: 0;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            transform-origin: right bottom;
            transform: scale(0.8);
        }

        /* 鼠标悬浮时展开面板 */
        .floating-container:hover .service-panel {
            opacity: 1;
            visibility: visible;
            transform: scale(1);
        }

        /* 面板内样式 */
        .panel-title {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 8px;
        }
        .panel-english {
            font-size: 14px;
            opacity: 0.8;
            margin-bottom: 15px;
        }
        .qr-code {
            width: 100%;
            margin-bottom: 10px;
        }
        .qr-desc {
            text-align: center;
            font-size: 14px;
            margin-bottom: 15px;
        }
        .service-phone {
            font-size: 16px;
            text-align: center;
            margin-bottom: 15px;
        }
        .online-btn {
            display: block;
            width: 100%;
            padding: 10px;
            background-color: #28a745;
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        .online-btn:hover {
            background-color: #218838;
        }
        .up-arrow {
            text-align: center;
            margin-top: 10px;
            font-size: 14px;
            cursor: pointer;
        }
