/* ========================================
   三亩地 - 首页专用样式
   阶梯式错落叠加布局
   ======================================== */

/* Hero Banner 区域 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/banner-bg.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #f5f0e6;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 8px;
    animation: fadeInUp 1s ease;
}

.hero-title span {
    color: #8b2e2e;
}

.hero-subtitle {
    font-size: 22px;
    color: #cccccc;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 阶梯式区块 */
.stair-section {
    position: relative;
    padding: 100px 0;
}

.stair-section:nth-child(even) {
    background: #faf6ed;
    margin-left: 80px;
    margin-right: 0;
}

.stair-section:nth-child(odd) {
    background: #f5f0e6;
    margin-left: 0;
    margin-right: 80px;
}

.stair-section .container {
    position: relative;
    z-index: 2;
}

/* 核心优势板块 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    padding: 60px 0;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-top: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-top-color: #8b2e2e;
    box-shadow: 0 20px 60px rgba(139, 46, 46, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #8b2e2e, #a33d3d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #f5f0e6;
}

.feature-card h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-align: center;
}

.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 2;
    text-align: center;
}

/* 快速入口 */
.quick-access {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    padding: 50px 0;
}

.access-item {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.access-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/access-bg.jpg') center/cover;
    opacity: 0.2;
    transition: opacity 0.4s ease;
}

.access-item:hover::before {
    opacity: 0.4;
}

.access-item span {
    position: relative;
    z-index: 2;
    color: #f5f0e6;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
}

.access-item:hover {
    transform: scale(1.05);
}

/* 资讯列表区域 */
.news-section {
    padding: 100px 0;
    background: #f5f0e6;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-title {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.news-date {
    color: #999;
    font-size: 13px;
}

.news-link {
    color: #8b2e2e;
    font-size: 14px;
    font-weight: 600;
}

.news-link:hover {
    color: #6b2222;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hero-title {
        font-size: 42px;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .stair-section:nth-child(even),
    .stair-section:nth-child(odd) {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}
