/* 基础重置 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


html, body {	
	height: 100%;
	margin: 0;
	padding: 0;
}

main {
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

body {
	background: #F3F1FC; /* 浅色系基调 */
	font-family: "Helvetica Neue", "PingFang SC", sans-serif;
	color: #333;
	scroll-behavior: smooth; /* 平滑滚动 */
	max-width: 100%;
	overflow-x: hidden;
}

a {
	text-decoration: none; 
	color: inherit;
	display: inline-block; 
	max-width: 100%; /* 限制最大宽度不超过父级 */
	box-sizing: border-box;
}



.top-bar {	
	width: 100%;
	padding: 20px;
	background: rgba(255, 255, 255, 0.9);
	position: fixed;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-sizing: border-box;
        }




.image-gallery {
	column-count: 3;
	column-gap: 20px;
	max-width: 1200px;
	width: 90%;
	margin: auto;
	margin-top: 90px;
	margin-bottom: 20px;
	align-items: flex-start;
}

@media (max-width: 768px) {
	.image-gallery { column-count: 1; }
}

.image-item {
	break-inside: avoid;
	margin-bottom: 20px;
	background: #fff;
	padding: 10px;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
	transition: transform 0.3s ease;
        }

.image-item:hover {transform: translateY(-5px);}

.image-item img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}

.img-caption {
	margin-top: 0px;
	font-size: 14px;
	color: #666;
	text-align: center;
}



/* 你原有的代码保持不变 ... */

/* 新增：全屏预览样式 */
.fullview-overlay {
    display: none; /* 初始隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* 半透明黑色背景 */
    z-index: 9999;
    cursor: zoom-out;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 显示时的状态 */
.fullview-overlay.active {
    display: flex;
    opacity: 1;
}

.fullview-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.fullview-overlay.active img {
    transform: scale(1); /* 弹出缩放动画 */
}

/* 给原有的图片添加一个小手指针，提示可点击 */
.image-item img {
    cursor: zoom-in;
}




.bottom-bar {
	column-span: all;
	clear: both;
	position: static;	/* 固定在屏幕底部 */
	bottom: 0;
	left: 0;
	width: 100%;	/* 横跨全屏 */
	height: 60px;	/* 设定一个合适的高度 */
    
	/* 居中内容 */
	display: flex;
	justify-content: center;
	align-items: center;

	/* 样式设计：半透明磨砂质感 */
	background: rgba(255, 255, 255, 0.8); 
	backdrop-filter: blur(10px);	/* 毛玻璃效果 */
	border-top: 1px solid rgba(0, 0, 0, 0.1);

	z-index: 999; 

}

.home-link {
	text-decoration: none;
	color: #333;
	font-size: 1.1rem;
	font-weight: bold;
	letter-spacing: 2px;
	transition: all 0.3s ease;
}

.home-link:hover {
	color: #007AFF;		/* 悬停变蓝色 */
	transform: translateY(-2px);	/* 轻微上浮 */
}

#links {
    min-height: 90vh; /* 减小到你需要的数值 */
}