/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 使页面充满整个视口 */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* 设置全局字体和背景颜色 */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
    color: #333;
}

/* 设置页眉样式 */
header {
    background-image: url('img/header-background.jpg'); /* 替换为你的大头页背景图片的文件路径 */
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 100px 0;
    color: #fff;
    height: 100vh; /* 让页眉充满整个视口高度 */
    margin-bottom: 20px; /* 为了让内容部分与页眉保持一定距离 */
}

header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

header p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* 设置内容部分样式 */
section {
    padding: 20px;
    margin: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* 设置页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}
/* 设置展示区样式 */
#showcase {
    background-color: #f9f9f9;
    padding: 20px;
}

#showcase h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* 图片展示样式 */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.gallery-item {
    flex-basis: calc(33.33% - 20px); /* 每行显示三张图片，设置间距 */
    margin-bottom: 20px;
    text-align: center;
}

.gallery-item img {
    max-width: 100%;
}

.gallery-item p {
    text-align: center;
}

