* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #f7f3ed;
    color: #333;
    line-height: 1.8;
}

header {
    background-color: #9c1c1e;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.header-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
}

.logo-title-main {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}
.logo-sub {
    font-size:17px;
    opacity:0.88;
    text-align:right;
    margin-top:6px;
}

nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    margin-top:16px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

nav a:hover,
nav a.active {
    color: #ffddaa;
}

.banner {
    height: 340px;
    background: linear-gradient(rgba(0,0,0,0.42),rgba(0,0,0,0.42)), url("https://picsum.photos/id/1036/1920/800") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.banner h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.banner p {
    font-size: 19px;
    opacity: 0.94;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 24px;
}

.section-title {
    text-align: center;
    font-size: 30px;
    color: #9c1c1e;
    margin-bottom: 36px;
    position: relative;
}

.section-title::after {
    content: "";
    width: 90px;
    height: 3px;
    background: #9c1c1e;
    display: block;
    margin: 12px auto 0;
}

.intro-text {
    max-width: 920px;
    margin: 0 auto 55px;
    text-align: center;
    font-size: 17px;
    color: #444;
}

.county-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 65px;
}

.county-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.07);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.county-card:hover {
    transform: translateY(-7px);
}

.card-img {
    height: 190px;
    background: #bbb;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    color: #9c1c1e;
    margin-bottom: 10px;
}

.card-body p {
    font-size: 15px;
    color: #555;
}

.county-block {
    background: #ffffff;
    padding: 36px 32px;
    margin-bottom: 30px;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

.county-block h2 {
    color: #9c1c1e;
    margin-bottom: 18px;
    border-left: 6px solid #9c1c1e;
    padding-left: 14px;
}

.spot-item {
    margin: 18px 0;
    padding-left: 8px;
}

.spot-item h4 {
    font-size: 18px;
    color: #222;
}

.spot-item p {
    font-size: 16px;
    color: #555;
    margin-top:4px;
}

footer {
    background: #272727;
    color: #cccccc;
    text-align: center;
    padding: 36px 20px;
}

footer p {
    margin:6px 0;
}

@media(max-width:768px){
    .header-wrap {
        padding:16px 18px;
    }
    .logo-title-main {
        font-size:26px;
    }
    .logo-sub{
        text-align:center;
        font-size:16px;
    }

    nav ul {
        gap: 16px;
        justify-content: center;
    }

    .banner h1 {
        font-size: 28px;
    }
    .banner {
        height: 260px;
    }

    .county-block {
        padding: 26px 20px;
    }
    .county-grid {
        gap:20px;
    }
}

/* 锚点跳转修正：避开吸顶header遮挡 */
.county-block {
    scroll-margin-top: 200px;
}
