body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f7;
    color: #333;
}

.main-header {
    text-align: center;
    background-color: #fff;
    padding-bottom: 20px;
}

.main-nav {
    background-color: #f8f8f8;
    padding: 10px 0;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 1.2em;
    font-family: 'Arial', sans-serif;
    color: #4A4A4A;
    letter-spacing: 0.05em; /* 调整字母间距 */
}

.nav-list li {
    display: inline;
}

.nav-list a {
    text-decoration: none;
    color: #4A4A4A;
}

.nav-list a:hover {
    color: #000000;
}

.logo {
    height: 40px;
    width: auto;
    margin-right: 20px;
}

.hero {
    position: relative;
    width: 80%;
    margin: 0 auto;
    height: 0;
    padding-top: 18%; /* 50:9 aspect ratio */
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    font-size: 2.5em;
    margin: 20px 0;
}

p {
    font-size: 1.2em;
    color: #666;
}

.hero-buttons {
    margin-top: 20px;
}

.hero-buttons button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
}

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

.product {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.product-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

.product-item img {
    width: 100%;
    border-radius: 10px;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

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