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

html {
    font-size: 1vw;
}

body {
    background-color: #0c3962;
    color: #fff;
    background: url("../images/bg1.png") no-repeat center top #0c3962;
}

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

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

a:hover {
    color: #ffe4b2;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.banner{ width: 100%; height: 45vw; overflow: hidden;}



/* 响应式调整 */
@media (max-width: 768px) {
    html,
    body {
        min-width: 1200px;
        overflow-x: auto;
    }


    .history-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
    .history-item img {
        height: 25vw;
    }
}

/* 标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 3vw;
}

.section-title h2 {
    font-size: 2.5vw;
    color: #ffd700;
    display: inline-block;
    padding: 0.5vw 2vw;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3vw;
    margin-bottom: 1vw;
}

/* 内容区域通用样式 */

.section {
    padding: 0 3vw 3vw 3vw;
    position: relative;
    width: 62vw;
    margin: 0 auto;
    overflow: hidden;
}


.section-desc {
    max-width: 80vw;
    margin: 0 auto;
    text-align: center;
    font-size: 0.8vw;
    line-height: 1.8vw;
    color: #e0e0e0;
    text-align: left;
    text-indent: 2em;
}

/* 历史文化部分样式 */
.history-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2vw;
    max-width: 80vw;
    margin: 0 auto 4vw;
}

.history-item {
    text-align: center;
}

.history-item img {
    width: 100%;
    height: 18vw;
    object-fit: cover;
}

.history-item p {
    font-size: 1.2vw;
    color: #fff;
    margin-top: 1vw;
}

/* 文化活动部分样式 */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5vw;
    max-width: 80vw;
    margin: 0 auto 1vw;
    width: 46%;
}

.section-desc1 {
    width: 50%;
    margin: 0 auto;
    text-align: center;
    font-size: 0.8vw;
    line-height: 1.8vw;
    color: #e0e0e0;
    text-align: left;
    text-indent: 2em;
}

.section-desc1 h1 {
    width: 100%;
    text-align: center;
	height: 3vw;
	font-size:1.1vw;
}

.m1 {
    overflow: hidden;
}

.line {
    width: 100%;
    border-bottom: 0.08vw dashed #fff;
    margin: 2vw auto 2vw;
    overflow: hidden;
    opacity: 0.6;
}

.activity-item img {
    width: 12vw;
    height: 12vw;
    object-fit: cover;
    border-radius: 0.8vw;
    transition: transform 0.3s ease;
    border-radius: 20vw;
}

.activity-item img:hover {
    transform: scale(1.01);
}

/* 特色体验部分样式 */
.experience-container {
    display: flex;
    max-width: 80vw;
    margin: 0 auto 4vw;
    gap: 1vw;
}

.experience-gallery {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1vw;
}

.experience-gallery img {
    width: 100%;
    height:8vw;
    object-fit: cover;
}

.experience-desc {
    flex: 1;
    padding: 2vw;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 1vw;
}

.experience-desc h3 {
    font-size: 1.8vw;
    color: #ffffff;
    margin-bottom: 1.5vw;
    width: 100%;
    text-align: center;
}

.experience-desc p {
    font-size: 0.8vw;
    line-height: 1.8vw;
    color: #e0e0e0;
    text-align: left;
    text-indent: 2em;
}

/* 篝火晚会部分样式 */

/* 千人舞蹈部分样式 */
.inbox {
    width:100%;
    margin: 0 auto;
    overflow: hidden;
}

.imgslist {
    width: 62vw;
    overflow: hidden;
}

.imgslist li {
    position: relative;
    width: 400px;
    height: 225px;
    margin-right: 10px;
    margin-bottom: 10px;
    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;
}

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

.imgslist li .info h3 {
    line-height: 26px;
    font-size: 16px;
    font-weight: normal;
    color: #fff;
    margin-bottom: 5px;
    text-align: center;
    width: 100%;
}

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

.imgslist li:hover .info {
    transform: translateY(0%);
    transition: all 0.5s;
}

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

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

.imgslist li:nth-child(2),
.imgslist li:nth-child(3),
.imgslist li:nth-child(6) {
    width: 20vw;
    height:12.4vw;
}

.imgslist li:nth-child(4),
.imgslist li:nth-child(5) {
    width: 20vw;
    height: 12.4vw;
}

.foot { text-align: center;}

.foot p {
    text-align: center;
    font-size: 0.8rem;
    margin: 4vw 0 0 0;
	line-height: 2;
}

.container {
    width: 55vw;
    border-radius: 1vw;
    overflow: hidden;
    margin:1vw auto 2vw;
}

.party-container {
    display: flex;
    flex-wrap: wrap;
    padding: 2vw;
    gap: 17%;
    background: url("../images/bg2.png") no-repeat left;
}

.party-info {
    width: 36%;
    display: flex;
    flex-direction: column;
    gap: 2vw;
}

.party-image {
    width: 46%;
    position: relative;
    height: 17vw;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* 单选框隐藏 */
input[type="radio"] {
    display: none;
}

/* 标签样式 - 切换按钮 */
.tab-label {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.6vw;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid transparent;
}

.tab-label:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.tab-label::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: block;
    transition: all 0.3s ease;
}

.tab-label h3 {
    font-size: 0.8rem;
    line-height: 2;
    color: #fff;
    background: #ec793a;
    padding: 0.6vw;
    float: left;
    height: 3vw;
}

.tab-label p {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 2.3;
    color: #fff;
    background: #054283;
    padding: 0.6vw;
    float: left;
    height: 3vw;
    font-weight: bold;
}

/* 选中状态 */
input[type="radio"]:checked+.tab-label {
    background: rgba(253, 187, 45, 0.2);
    border: 2px solid #fdbb2d;
}

input[type="radio"]:checked+.tab-label::before {
    background: #fdbb2d;
    box-shadow: 0 0 10px #fdbb2d;
}

/* 图片样式 */
.party-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 图片切换效果 */
#tab1:checked~.party-image #img1,
#tab2:checked~.party-image #img2,
#tab3:checked~.party-image #img3 {
    opacity: 1;
    transform: scale(1);
}

