/* 首页轮播图样式 */
.hero-section {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

/* 轮播导航按钮 */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.prev-btn,
.next-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 轮播指示器 */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 4;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* 内容区域样式 */
.content-cards {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.content-cards h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a365d;
    position: relative;
}

.content-cards h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
}

.cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a365d;
}

.card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* 新闻区域样式 */
.news-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.news-section .section-title {
    color: white;
}

.news-section .section-title::after {
    background: linear-gradient(90deg, #fff, #f8f9fa);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
    line-height: 1.3;
}

.news-date {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-content p {
    color: #ecf0f1;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 占位图片样式 */
.slide img[src*="placeholder.jpg"],
.news-image img[src*="placeholder.jpg"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .hero-section {
        height: 500px;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.2rem;
    }

    .slide-content {
        padding: 1.5rem;
        max-width: 90%;
    }

    .prev-btn,
    .next-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .slider-nav {
        padding: 0 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-section {
        height: 400px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .prev-btn,
    .next-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

    .features-section,
    .news-section {
        padding: 3rem 0;
    }

    .feature-icon {
        font-size: 3rem;
        height: 60px;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .news-image {
        height: 180px;
    }
}

/* 动画效果 */
.content-cards .content-card {
    animation: fadeInUp 0.6s ease forwards;
}

.content-cards .content-card:nth-child(1) {
    animation-delay: 0.1s;
}

.content-cards .content-card:nth-child(2) {
    animation-delay: 0.3s;
}

.content-cards .content-card:nth-child(3) {
    animation-delay: 0.5s;
}

/* 悬浮效果 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30,60,114,0.3), rgba(42,82,152,0.3));
    z-index: 5;
    pointer-events: none;
} 