/* 农家居 - 农家乐旅游个人空间 样式表 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f9f7f2;
}

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

/* 头部 */
.site-header {
    background: linear-gradient(135deg, #2d5a27 0%, #4a8c3f 100%);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 a {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
}

.logo .tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffd700;
}

/* 横幅 */
.banner {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
        linear-gradient(135deg, #a8d8a8, #f5e6c8);
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.banner h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.banner p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 介绍区 */
.intro {
    padding: 60px 0;
    text-align: center;
    background: #fff;
}

.intro h2 {
    font-size: 1.8rem;
    color: #2d5a27;
    margin-bottom: 20px;
}

.intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #555;
}

/* 内容区 */
.section {
    padding: 60px 0;
}

.section-alt {
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: #2d5a27;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #4a8c3f;
    margin: 12px auto 0;
    border-radius: 2px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-alt .card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.card-img-placeholder {
    font-size: 3rem;
    margin-bottom: 15px;
}

.card h3 {
    color: #2d5a27;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 联系区 */
.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info p {
    margin-bottom: 20px;
    color: #555;
}

.contact-list {
    list-style: none;
    font-size: 1.05rem;
}

.contact-list li {
    margin-bottom: 10px;
    color: #444;
}

/* 底部 */
.site-footer {
    background: #2d5a27;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 30px 0;
    font-size: 0.95rem;
}

.footer-sub {
    margin-top: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-icp {
    margin-top: 8px;
    font-size: 0.85rem;
}

.footer-icp a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-icp a:hover {
    color: #ffd700;
}

.icp-divider {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.35);
}

/* 关于页面 */
.about-section {
    padding: 60px 0;
    background: #fff;
}

.about-section h2 {
    color: #2d5a27;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.about-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #4a8c3f;
    margin: 12px auto 0;
    border-radius: 2px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 18px;
    color: #555;
    text-indent: 2em;
    font-size: 1.05rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.highlight-item {
    background: #f9f7f2;
    border-left: 4px solid #4a8c3f;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
}

.highlight-item strong {
    display: block;
    color: #2d5a27;
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.highlight-item span {
    color: #666;
    font-size: 0.9rem;
}

/* 响应式 */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul {
        margin-top: 15px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .banner {
        padding: 60px 20px;
    }

    .banner h2 {
        font-size: 1.8rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }
}
