/* ========================================
   首页专用样式 - 斜切非对称悬浮布局
   ======================================== */

/* Hero Section - 全屏 Banner */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--cream-white) 60%, var(--light-green) 100%);
    overflow: hidden;
}

.hero-content {
    flex: 1;
    padding: 100px 0 100px 80px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.hero-title span {
    color: var(--primary-green);
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-gray);
    margin-bottom: 50px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--pure-white);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(135, 179, 107, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(135, 179, 107, 0.5);
}

.btn-secondary {
    display: inline-block;
    padding: 18px 45px;
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--wood-brown);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--wood-brown);
    color: var(--pure-white);
}

/* 右侧斜切图片区域 */
.hero-image-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    background: linear-gradient(135deg, var(--wood-brown), var(--dark-wood));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 80%;
    height: 70%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* 核心优势板块 */
.advantages-section {
    padding: 120px 0;
    background: var(--pure-white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    background: var(--cream-white);
    padding: 50px 35px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.advantage-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(135, 179, 107, 0.2);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.advantage-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* 服务项目板块 */
.services-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--cream-white), var(--light-green));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: var(--pure-white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-content {
    padding: 35px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 15px;
}

.service-link:hover {
    gap: 15px;
}

/* 快速入口板块 */
.quick-access-section {
    padding: 100px 0;
    background: var(--pure-white);
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.access-card {
    position: relative;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.access-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.access-card:hover .access-image {
    transform: scale(1.1);
}

.access-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--pure-white);
}

.access-overlay h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.access-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* 资讯列表板块 */
.news-section {
    padding: 120px 0;
    background: var(--cream-white);
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.news-tab {
    padding: 12px 35px;
    background: var(--pure-white);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.news-tab.active,
.news-tab:hover {
    background: var(--primary-green);
    color: var(--pure-white);
}

.news-list-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.news-item {
    display: flex;
    gap: 25px;
    background: var(--pure-white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.news-thumb {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
    flex-shrink: 0;
}

.news-info h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.5;
}

.news-info p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    font-size: 13px;
    color: var(--primary-green);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .advantages-grid,
    .access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        padding-top: 100px;
    }
    
    .hero-content {
        padding: 50px 20px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        position: relative;
        width: 100%;
        height: 400px;
        clip-path: none;
    }
    
    .news-list-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .advantages-grid,
    .services-grid,
    .access-grid {
        grid-template-columns: 1fr;
    }
    
    .news-tabs {
        flex-wrap: wrap;
    }
}
