*{margin:0;padding:0;box-sizing:border-box;}
body{
    margin:0;
    /*overflow:hidden;*/
}
/* 背景层 */
#background{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:-1;
}
#map {
	width: 100%;
	height: 80vh;
}
/* 漂浮图案 */
.shape{
    position:absolute;
    pointer-events:none;
    user-select:none;
}
/* Logo */
.logo img{
height:50px;
transition:0.3s;
}

.logo img:hover{
transform:scale(1.1);
}
/* 导航栏 */

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 50px;
    background:#1f1f1f;
    color:white;
}

.navbar a{
    color:white;
    margin-left:20px;
    text-decoration:none;
}

.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
	justify-content: center;
	align-items: center;
	z-index: 999;
	cursor: pointer;
}

.modal img {
	max-width: 80%;
	border-radius: 10px;
}

.infonews{
    padding: 50px;
    background: none;
}

.infonews-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.infonews-card{
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: 16px;
    background: white;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.infonews-card:hover{
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, var(--c1), var(--c2));
    color: white;
    box-shadow: 0 15px 35px rgba(255,175,46,0.4);
}

.infonews-card::before{
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );
    transition: 0.6s;
}

.infonews-card:hover::before{
    left: 100%;
}

.img-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
	isolation: isolate;
}

.img-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
	display: block;
	z-index: 10000;
}

/* 显示状态 */
.img-modal.show {
    display: flex;
}
footer{
    background:#1f1f1f;
    color:white;
    text-align:center;
    padding:20px;
    bottom: 0;
    width: 100%;
    z-index: 999;
}

/* 响应式 */
@media (max-width: 1024px) {
  .navbar {
    padding: 15px 30px;
	flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
	flex-wrap: wrap;
  }
  .navbar a {
    margin: 10px 0 0 0;
  }
}
