body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    text-align: center; /* 全局居中对齐 */
}

header {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header img {
    width: 200px;
}

.hero {
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 48px;
    margin: 0;
}

.hero p {
    font-size: 24px;
    margin: 10px 0 0;
}

.content {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center; /* 内容居中对齐 */
}

h2 {
    color: #2E8B57; /* 主题颜色与logo匹配 */
}

.section {
    margin-bottom: 40px;
}

.contact-info {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
}

footer {
    background-color: #2E8B57;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* 灰色背景和水印 */
.gray-background {
    background-color: #e0e0e0;
    position: relative;
    padding: 40px 20px;
    overflow: hidden;
}

.gray-background::before {
    content: 'MAXHOC';
    font-size: 80px;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.gray-background > * {
    position: relative;
    z-index: 1;
}
