/* 顶部导航模块css */

.headerBox-right-menus li .a:hover {
  color: #fff;
  cursor: pointer;
  border-bottom: none;
  background-color: #9b141a;
}
.headerBox-right-menus li .a{
  display: block;
  color: #000;
  font-size: 15px;
  font-weight: 700;
}
.headerBox {
  height: 120px;
  width: 90%;
  margin: 0 auto;
  position: absolute;
  /* background-color: pink; */
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
}
.headerBox-left {
  width: 100px;
  height: 100px;
}
.headerBox-right {
  display: flex;
  justify-content: space-between;
}
.headerBox-right-menus {
  display: flex;
  height: 30px;
  align-items: center;
}
.headerBox-right-menus li {
  margin-right: 30px;
  color: #000;
  font-size: 15px;

  width: 60px;
  text-align: center;
  font-weight: 700;
  border-bottom: 2px solid #9b141a;
  padding: 3px;
}
.headerBox-right-menus li:hover {
  color: #fff;
  cursor: pointer;
  border-bottom: none;
  background-color: #9b141a;
}
.li-posit {
  position: absolute;
  display: none;
  top: 24px;
  background-color: #548589;
  left: 0;
  z-index: 999;
  right: 0;
  opacity: 0.7;
}

.li-posit-box {
  justify-content: space-between;
  padding: 5px;

  display: flex;
}

.li-posit-box a {
  font-size: 12px;
  width: 22px;
  color: #ffff4d;
  min-height: 200px;
}
.li-posit-box a:focus {
  color: yellow;
}

.headerBox-right-btn {
  font-size: 15px;

  border-radius: 15px 0 15px 0;
  width: 80px;
  text-align: center;
  height: 30px;
  color: #fff;
  font-weight: 700;
  line-height: 30px;
  background-color: #9b141a;
}

/* 轮播图模块css */
.carousel {
  position: relative;
  width: 100%;
  height: 650px;
  margin: auto;
}
.carousel-inner {
  width: 100%;
  height: 100%;
  position: absolute;
  transition: transform 0.5s ease-in-out;
}
.carousel-image {
  width: 100%;
  height: 100%;
  display: none;
}
.carousel-image.active {
  display: block;
}
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.carousel-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 5px;
  cursor: pointer;
}
.carousel-dot.active {
  background-color: #000;
}

/*百草园部分*/
.GardenBox{
  width: 980px;
  margin: 0 auto;
  margin-top: 50px;
}
.GardenBox-title{
  font-size: 18px;
  padding:  15px 0;
  color: #000;
  margin-bottom: 10px;
  border-bottom: 1px solid #000;

}









/* 容器优化 */
.articleBox {
  max-width: 980px;        /* 改为最大宽度 */
  width: 100%;            /* 自适应宽度 */
  margin: 0 auto 50px;
  padding: 0 15px;        /* 防止触边 */
}
.articleBox-top{
  color: #000;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  line-height: 40px;
}

/* 网格布局升级 */
.articleBox-menus {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;              /* 统一间距控制 */
  justify-content: center;
}

/* 列表项优化 */
.articleBox-menus-list {
  width: 100%;            /* 充满网格单元格 */
  position: relative;
  transition: transform 0.3s;
  border-radius: 8px;
  overflow: hidden;       /* 圆角溢出处理 */
}

/* 图片容器增强 */
.articleBox-menus-list-img {
  width: 100%;            /* 关键修改：充满容器 */
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  background: #f5f5f5;    /* 加载占位背景 */
}


.articleBox-menus-list-title{
  font-size: 14px;
  font-weight: 700;
  color: #000;
  margin-top: 15px;
  text-align: center;
  line-height: 30px;
  background-color: rgb(251, 198, 99);
} 

/* 悬停交互效果 
.articleBox-menus-list:hover {
  transform: translateY(-5px);
}

.articleBox-menus-list:hover .articleBox-menus-list-img {
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.articleBox-menus-list:hover .articleBox-menus-list-title {
  transform: translateY(0);
 */}

/* 响应式适配
@media (max-width: 1024px) {
  .articleBox-menus {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .articleBox-menus-list-img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .articleBox-menus {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .articleBox-menus-list-img {
    height: 160px;
  }
  
  .articleBox-menus-list-title {
    font-size: 14px;
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .articleBox-menus {
    grid-template-columns: 1fr;
  }
  
  .articleBox-menus-list-img {
    height: 200px;
  }
}




/* 新增模块 */

.content {
            padding: 40px;
        }
        
        .gallery-section {
            margin-bottom: 50px;
        }
        
        .section-title {
            color: #2c3e50;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 3px solid #3498db;
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.8rem;
        }
        
        .section-title i {
            color: #e74c3c;
        }
        
        .gallery-grid {
            display: grid;
            gap: 25px;
        }
        
        /* 第一部分：两行，每行三个（横向图片） */
        .landscape-gallery {
            grid-template-columns: repeat(3, 1fr);
        }
        
        /* 第二部分：三行，每行四个（纵向图片） */
        .portrait-gallery {
            grid-template-columns: repeat(4, 1fr);
        }
        
        .gallery-item {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
            transition: all 0.4s ease;
            cursor: pointer;
        }
        
        .gallery-item:hover {
            transform: translateY(-10px) scale(1.03);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
        }
        
        /* 横向图片（宽 > 高） */
        .landscape-item {
            aspect-ratio: 4 / 3;
        }
        
        /* 纵向图片（高 > 宽） */
        .portrait-item {
            aspect-ratio: 3 / 4;
        }
        
        .gallery-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .gallery-item:hover .gallery-img {
            transform: scale(1.1);
        }
        
        .image-overlay {
          position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            padding: 25px 20px 15px;
            color: white;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.4s ease;
		/* 	position: relative;
			padding: 15px;
			            background: white;
			            border-top: 1px solid #eee;
						font-size: 14px;
						font-weight: 700;
						color: #000;
						margin-top: 15px;
						text-align: center;
						line-height: 30px;
						background-color: rgb(251, 198, 99); */
        }
        
        .gallery-item:hover .image-overlay {
            opacity: 1;
            transform: translateY(0);
        }
        
        .image-title {
            font-size: 1.3rem;
            font-weight: 600;
           /* margin-bottom: 5px; */
			font-size: 14px;
			font-weight: 700;
			color: #000;
			margin-top: 15px;
			text-align: center;
			line-height: 30px;
			background-color: rgb(251, 198, 99);
        }
        
        .image-description {
            font-size: 0.95rem;
            opacity: 0.9;
        }
        
        .gallery-info {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 25px;
            margin-top: 30px;
            border: 1px solid #eaeaea;
        }
        
        .gallery-info h3 {
            color: #2c3e50;
            margin-bottom: 15px;
            font-size: 1.5rem;
        }
        
        .gallery-info p {
            line-height: 1.8;
            margin-bottom: 15px;
        }
        
        .info-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 20px;
        }
        
        .info-item {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .info-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #3498db, #2c3e50);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.3rem;
        }
        
/* f分页 */
.pageBox {
}
.pageBox-box {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pageBox-box div {
  width: 30px;
  cursor: pointer;
  height: 30px;
  border: 1px solid #ccc;
  margin-right: 15px;
  text-align: center;
  line-height: 30px;
}
.pageBox-box-left img {
  width: 25px;
}
.pageBox-box-right {
  background-color: #90683c;
}
.pageBox-box-right img {
  width: 25px;
}


/* 底部模块 */
.footerBox {
  padding-top: 50px;
  position: relative;
  background-image: url("../images/baicao_images/bottom的透明图（叠加在底图bottom之上.png");
  width: 100%;
  height: 320px;
  background-size: cover;
  z-index: 2;
}
.btmOp{
  position: absolute;
  top: 0;
  width: 100%;
  height: 370px;
  left: 0;
  right: 0;
  z-index: 3;
  opacity: .6;
}
.footerBox-container {
  position: relative;
z-index: 9;
  width: 980px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}
.footerBox-item {
}
.footerBox-right-topBox-imgBox-img {
  width: 80px;
  height: 80px;
}
.footerBox-right-topBox-imgBox-title {
  font-size: 14px;
  color: #ddd;
  margin-top: 5px;
}
.footerBox-item-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 40px;
  opacity: 0;
}
.footerBox-item-info {
  font-size: 12px;
  color: #ddd;
  line-height: 30px;
  opacity: 0;
}

.footerBox-right-topBox {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}
.footerBox-right-topBox-imgBox {
  margin-right: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.footerBox-right-footer-one {
  font-size: 16px;
  color: #ddd;
  line-height: 35px;
}

.footerBox-right-footer-two {
  font-size: 12px;
  color: #ddd;
  line-height: 35px;
}
.footerBox-right-footer-three {
  font-size: 12px;
  color: #ddd;
  line-height: 35px;
}

/* 回到顶部 */
.backTop {
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  background-color: #abbf47;
  position: absolute;
  bottom: 60px;
  cursor: pointer;
  right: 150px;
  z-index: 99;
}
