.image-container {
    display: flex;
	flex-wrap: wrap;
    justify-content: space-around;
    gap: 5px;
    padding: 20px;
	}

.image-item {
    width: 400px;
    height: auto;           /* ✅ 不写死 */
    min-height: 450px;      /* ✅ 保留视觉感 */
    overflow: visible;      /* ✅ 不裁文字 */    text-align: center;
    padding: 8px;
    background-color: rgb(253, 254, 255);
    border: 0.5px gainsboro;
    border-radius: 10px;
    transition: transform 0.3s;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 20px;
	}

.image-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2)
}

.image-item img {
    width: 100%;
    height: 350px; 
    object-fit: cover; 

}

.image-item h3 {
    margin: 10px 0;
}

.image-item p {
    color: gray;
}

/* Modal for product details */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: auto;
    padding: 20px;
    background-color: white;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    text-align: center;
}

.modal-content img {
    width: 200px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.link {
    text-decoration: none; 
    color: black;
}

.link:active {
    color: rgb(27, 64, 134); 
}

.link:hover {
    color: rgb(96, 142, 216); 
}

/*content*/
.content {
	padding-bottom: 100px;
}

.content h2 {
    text-align: center; 
    margin-top: 40px;
    animation: fadeIn 1s ease forwards; 
    background: #000; 
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
     }

    .content p {
    text-align: center; 
    }
