* {
    box-sizing: border-box;
}

body {
    margin:0;
    font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
    background:#f5f7fa;
    color:#333;
}

.container {
    max-width:1000px;
    margin:auto;
    padding:20px;
}

/*
首页顶部背景区域
*/

.hero {
    min-height:600px;
    background-image:
    linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.55)
    ),

    url("../images/hero.jpeg");

    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
}

.hero-content {
    max-width:800px;
    padding:30px;
}

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

.hero p {
    font-size:22px;
    line-height:1.6;
}

.btn {
    display:inline-block;
    background:#2563eb;
    color:white;
    padding:12px 25px;
    border-radius:8px;
    text-decoration:none;
    margin-top:15px;
}

.btn:hover {
    background:#1d4ed8;
}

.card {
    background:white;
    padding:25px;
    margin:25px 0;
    border-radius:12px;
    box-shadow:
    0 2px 8px rgba(0,0,0,.08);
}

.grid {
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));
    gap:20px;

}

.item {
    background:#f9fafb;
    padding:20px;
    border-radius:10px;
}

.item h3 {
    margin-top:0;
}

.price {
    color:#dc2626;
    font-weight:bold;
}

footer {
    text-align:center;
    padding:30px;
    color:#777;

}

h1,h2,h3 {
    color:#111827;
}

.hero h1,
.hero p {
    color:white;
}

@media(max-width:600px){

.hero {
    min-height:500px;
}

.hero h1 {
    font-size:34px;
}

.hero p {
    font-size:18px;
}

}