/* 基础样式与vw单位设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

html {
    font-size:0.8vw;
}

body {
    background-color: #fff;
    color: #333;
    background: #fff;
    background-size: cover;
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: none;
}



/* 确保所有元素使用vw单位进行等比例缩放 */
* {
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #ff3b0d;
    text-decoration: none;
}

p {
    text-indent: 2em;
    margin-bottom: 1vw;
    line-height:2.2;
    font-size:0.8vw;
}

a:hover {
    color: #bd7205;
}

/* Banner样式 */
.banner {
    width: 100%;
    height: 47vw;
    overflow: hidden;
    position: relative;
    background: #fff;
    background: url('../images/bg1.png' ) no-repeat center;
    background-size: cover;
}

.banner-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banner-content img:first-child, .banner-content img:nth-child(2) {
    position: absolute;
    z-index: 2;
    animation: slideDown 1s ease forwards;
    opacity: 0;
}

.banner-content img:first-child {
    top: 4vw;
    animation-delay: 0.3s;
}

.banner-content img:nth-child(2) {
    top:18vw;
    animation-delay: 0.6s;
}


@keyframes slideDown {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 介绍部分样式 */


.intro-content {
    width: 100%;
    max-width: 52vw;
    padding: 2vw;
    position: absolute;
    top: 37vw;
}

.intro-content p {
    text-align: justify;
    color: #fff;
    font-size: 0.8vw;
    line-height: 2.2;
    margin-bottom: 0;
}

/* 容器样式 */
.container {
    max-width: 60vw;
    margin: 0 auto;
    width: 100%;
    background-color: #fff;
    padding: 0;

}


/* 区块通用样式 */
.section {


    margin:2vw 0 2vw 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5vw;

    border-radius: 0.4vw 0.4vw 0 0;
}

/* 区块标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 1vw;
    position: relative;
}

.section-title img {
    width:100%;
    margin: 0 auto;
}

/* 内容块样式 */
.content-block {
    width: 100%;
    background: url('../images/bg2.png' ) no-repeat center top;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2vw;
    padding: 4vw;
}

.content-block1{
    width: 100%;
    background: url('../images/bg3.png' ) no-repeat center top;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2vw;
    padding: 4vw;
}

.content-block2{
    width: 100%;
    background: url('../images/bg4.png' ) no-repeat center top;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2vw;
    padding: 4vw;
}

.content-item {
    display: flex;
    flex-direction: column;
    gap: 1vw;}


.content-item img {
    width:100%;
    height: auto;
    border-radius: 0.2vw;
    box-shadow: 0 0 1vw rgba(0, 0, 0, 0.1);
}

.content-text {
    margin-left: 0;
    width: 100%;
}



.content-text h3 {
    color: #4b342c;
    font-size: 1.1vw;
    margin-bottom: 0.6vw;
    text-align: center;
    font-weight: bold;
}

.content-text h3 a{ color: #4b342c;}
.content-text h3 a:hover{ color: #ff3b0d;}

.content-text ul {
    list-style: none;
    padding: 0;
}

/* 添加橙色圆点样式 */
.content-text li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}

.content-text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 0.5em;
    height: 0.5em;
    background-color: #fbcc1e;
    border-radius: 50%;
    transform: translateY(-50%);
}

.content-text li a{ color: #4b342c; font-weight: bold;}
.content-text li a:hover{ color: #ff3b0d;}

.content-text li::marker {
    content: none;
}




/* 画廊样式 */


/* 页脚样式 */
.foot {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background: #3367a7;
    padding: 3vw 0;
    margin-top: 4vw;
    position: relative;
    border-top:1vw solid #fbcc1e ;
}

.foot-content {
    max-width: 90vw;
    margin: 0 auto;
    text-align: center;
}

.foot p {
    font-size: 0.8vw;
    color: #fff;
    margin: 0;
    padding: 0;
    text-indent: 0 !important;
    line-height: 1.8;
}

.foot script {
    display: none;
    margin: 0 auto;
    text-align: center;
}

.inbox {
	width: 60vw;
	margin: 0 auto;
	overflow: hidden;
	box-sizing: border-box;
}

.imgslist {
	width: 100%;
	overflow: hidden;
}

.imgslist li {
	position: relative;
	margin-right: 0.5vw;
	margin-bottom: 0.5vw;
	overflow: hidden;
	float: left;
}

.imgslist li .img {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.imgslist li .img img {
	width: 100%;
	height: 100%;
	transition: all 0.5s;
	object-fit: cover;
}

.imgslist li .info {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(4, 4, 4, 0.5);
	padding: 0.5vw;
	box-sizing: border-box;
	transform: translateY(100%);
	transition: transform 0.5s ease;
}

.imgslist li .info h3 {
	line-height: 2vw;
	font-size:0.8vw;
	font-weight: normal;
	color: #fff;
	margin-bottom: 0.39vw;
}

.imgslist li .info h3 a{ color: #fff;}
.imgslist li .info h3 a:hover{ color: #fff7e2;}

.imgslist li .info p {
	display: none;
}

.imgslist li:hover .info {
	transform: translateY(0%);
}

.imgslist li:hover .img img {
	transform: scale(1.1);
}

.imgslist li:nth-child(1) {
	width:17vw;
	height: 25.1vw;
}

.imgslist li:nth-child(2),
.imgslist li:nth-child(3),
.imgslist li:nth-child(6) {
	width:20.7vw;
	/* height: 21.17vw; */
}

.imgslist li:nth-child(4),
.imgslist li:nth-child(5) {
	width: 20.7vw;
	/* height: 21.17vw; */
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    html {
        font-size: 1.5vw;
    }
    
    .banner {
        height: 60vw;
    }
    
    .banner-content img:first-child {
        top: 8vw;
        max-width: 76%;
    }
    
    .banner-content img:nth-child(2) {
        top: 46vw;
        max-width:76%;
    }
    
    .content-block,.content-block1,.content-block2 {
        grid-template-columns: 1fr;
        gap: 3vw;
        padding: 3vw;
    }
    
    .content-item {
        padding: 3vw;
    }
    .intro-content {
        top: 56vw;
        max-width: 90vw;
        padding: 3vw;
    }
    
    /* 调整inbox区域在平板上的显示 */
    .inbox {
        width: 92%;
    }
    
    /* 调整图片列表在平板上的布局 */
    .imgslist li {
        width: 48vw;
        height: 27vw;
        margin-right: 1vw;
        margin-bottom: 1vw;
    }
    
    .imgslist li:nth-child(1) {
        width: 100%;
        height: 45vw;
    }
    
    .imgslist li:nth-child(2),
    .imgslist li:nth-child(3),
    .imgslist li:nth-child(4),
    .imgslist li:nth-child(5),
    .imgslist li:nth-child(6) {
        width: 48vw;
        height: 30vw;
    }
    
    .imgslist li .info h3 {
        font-size: 1.5vw;
        line-height: 2.5vw;
    }
    
    .intro-content p {
        font-size: 1.5vw;
        line-height: 1.8;
    }
    
    .container,
    .foot-content {
        max-width: 95vw;
    }
    
    .foot p {
        font-size: 1.5vw;
        line-height: 1.8;
    }
    

 
    
    .section-title img {
        width: 100%;
    }
    
    .image-row {
        flex-direction: column;
        gap: 2vw;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        gap: 2vw;
    }
    
    .content-text h3 {
        font-size: 2vw;
    }
    
    .content-text p,
    .content-text li {
        font-size: 1.5vw;
    }
    
    .gallery-text p {
        font-size: 1.8vw;
    }
    
    .foot p {
        font-size: 1.3vw;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 2vw;
    }
    
    .banner {
        height: 80vw;
    }
    
    .banner-content img:first-child {
        top: 12vw;
        max-width: 76%;
    }
    
    .banner-content img:nth-child(2) {
        top: 46vw;
        max-width: 76%;
    }
    
    .intro-content {
        top: 60vw;
        max-width: 95vw;
        padding: 4vw;
    }
    
    .intro-content p {
        font-size: 2vw;
        line-height: 1.8;
    }
    
    /* 调整inbox区域在手机上的显示 */
    .inbox {
        width: 92%;
    }
    
    /* 调整图片列表在手机上的布局为单列 */
    .imgslist li {
        width: 100%;
        height: 50vw;
        margin-right: 0;
        margin-bottom: 2vw;
    }
    
    .imgslist li:nth-child(1),
    .imgslist li:nth-child(2),
    .imgslist li:nth-child(3),
    .imgslist li:nth-child(4),
    .imgslist li:nth-child(5),
    .imgslist li:nth-child(6) {
        width: 100%;
        height: 50vw;
    }
    
    /* 移动设备上默认显示信息区域，无需hover */
    .imgslist li .info {
        padding: 2vw;
        transform: translateY(0);
        /* 为触摸设备添加点击效果支持 */
        -webkit-tap-highlight-color: transparent;
    }
    
    .imgslist li .info h3 {
        font-size: 3vw;
        line-height: 4vw;
    }
    
    /* 简化移动设备上的动画效果 */
    .imgslist li .img img {
        transition: all 0.3s ease;
    }
    
    /* 移除移动设备上的hover缩放效果，使用更简单的触摸反馈 */
    .imgslist li:active .img img {
        transform: scale(1.05);
    }
    
    .content-block,.content-block1,.content-block2 {
        grid-template-columns: 1fr;
        gap: 4vw;
        padding: 4vw;
        background: #fff;
    }
    
    .content-item {
        padding: 4vw;
         background: #f0f0f0;
    }
    
    .container,
    .foot-content {
        max-width: 98vw;
    }
    
    .foot p {
        font-size: 2vw;
        line-height: 1.8;
    }
    
    .section {
        overflow: hidden;
    }
    

    
    .content-text h3 {
        font-size: 2.5vw;
    }
    
    .content-text p,
    .content-text li {
        font-size: 2vw;
    }
    
    .gallery-text p {
        font-size: 2.2vw;
    }
    
    .foot p {
        font-size: 1.8vw;
    }
}

