/* ========================================
   通达领航建站 - 首页专属样式
   ======================================== */

/* Hero Banner 区域 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(62, 39, 35, 0.8) 0%, rgba(93, 64, 55, 0.7) 100%),
                url('../images/banner.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(210, 105, 30, 0.3) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards 0.8s;
    color: var(--beige-dark);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards 1.1s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 滚动提示 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}

/* 核心优势板块 */
.advantages {
    background: linear-gradient(180deg, var(--beige) 0%, var(--cream) 100%);
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-15px);
    border-color: var(--caramel-orange);
    box-shadow: 0 15px 50px rgba(210, 105, 30, 0.2);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--caramel-orange) 0%, var(--caramel-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon img {
    width: 45px;
    height: 45px;
}

.advantage-card h3 {
    font-size: 22px;
    color: var(--dark-brown);
    margin-bottom: 15px;
}

.advantage-card p {
    font-size: 15px;
    color: var(--brown-light);
    line-height: 1.8;
}

/* 快速入口板块 */
.quick-access {
    background: linear-gradient(135deg, var(--dark-brown) 0%, #4E342E 100%);
    padding: 80px 0;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.access-item {
    position: relative;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.access-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.access-item:hover img {
    transform: scale(1.15);
}

.access-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(62, 39, 35, 0.3) 0%, rgba(62, 39, 35, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: background 0.4s ease;
}

.access-item:hover .access-overlay {
    background: linear-gradient(180deg, rgba(210, 105, 30, 0.4) 0%, rgba(210, 105, 30, 0.95) 100%);
}

.access-item h3 {
    font-size: 26px;
    color: var(--white);
    margin-bottom: 10px;
}

.access-item p {
    font-size: 15px;
    color: var(--beige-dark);
}

/* 资讯列表板块 */
.news-section {
    background: var(--cream);
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.news-tab {
    padding: 10px 25px;
    background: var(--white);
    border: 2px solid var(--caramel-orange);
    border-radius: 30px;
    color: var(--caramel-orange);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-tab.active,
.news-tab:hover {
    background: var(--caramel-orange);
    color: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* CTA 板块 */
.cta-section {
    background: linear-gradient(135deg, var(--caramel-orange) 0%, var(--caramel-light) 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-btn {
    display: inline-block;
    padding: 18px 50px;
    background: var(--white);
    color: var(--caramel-orange);
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .advantages-grid,
    .access-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
}
