/* main.css 或 index.css 中添加以下样式 */

/* 主容器样式 */
main {
    overflow: hidden;
    position: relative;
    background-color: #f9f9f9;
}

/* 主视觉区样式 */
.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 800px;
    min-height: 600px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
    transition: transform 0.5s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10%;
    color: white;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-overlay h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-overlay p {
    font-size: 1.5rem;
    max-width: 600px;
    margin-bottom: 2rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-overlay h1 {
        font-size: 2.8rem;
    }
    
    .hero-overlay p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 500px;
    }
    
    .hero-overlay {
        padding: 0 5%;
        align-items: center;
        text-align: center;
        background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    }
    
    .hero-overlay h1 {
        font-size: 2.2rem;
    }
    
    .hero-overlay p {
        font-size: 1.1rem;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        min-height: 400px;
    }
    
    .hero-overlay h1 {
        font-size: 1.8rem;
    }
    
    .hero-overlay p {
        font-size: 1rem;
    }
}