/* 首页英雄区域专用样式 - 避免与其他页面冲突 */

/* 首页特有的英雄区域样式 */
#home.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10, 92, 122, 0.9), rgba(39, 174, 96, 0.8)), url('../images/yingxiong/yx12.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

#home.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0L100,100M0,100L100,0" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>') repeat;
    opacity: 0.5;
}

#home .hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

#home .hero-text {
    text-align: left;
}

#home .hero-title {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 2px;
    line-height: 1.1;
    color: white;
}

#home .hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.4;
    color: white;
}

#home .hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

#home .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: white;
    color: #0A5C7A;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#home .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

#home .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#home .hero-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#home .hero-inner-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

#home .hero-icon {
    font-size: 80px;
    color: white;
}

#home .floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

#home .floating-element {
    position: absolute;
    opacity: 0.6;
    animation: home-float 6s infinite ease-in-out;
    color: white;
}

#home .floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    font-size: 24px;
    animation-delay: 0s;
}

#home .floating-element:nth-child(2) {
    top: 70%;
    left: 80%;
    font-size: 18px;
    animation-delay: 1s;
}

#home .floating-element:nth-child(3) {
    top: 30%;
    left: 70%;
    font-size: 20px;
    animation-delay: 2s;
}

#home .floating-element:nth-child(4) {
    top: 80%;
    left: 20%;
    font-size: 22px;
    animation-delay: 3s;
}

/* 首页特有的动画 */
@keyframes home-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes home-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    #home.hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 20px;
    }
    
    #home .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    #home .hero-text {
        text-align: center;
    }
    
    #home .hero-title {
        font-size: 42px;
    }
    
    #home .hero-subtitle {
        font-size: 20px;
    }
    
    #home .hero-circle {
        width: 200px;
        height: 200px;
    }
    
    #home .hero-inner-circle {
        width: 150px;
        height: 150px;
    }
    
    #home .hero-icon {
        font-size: 60px;
    }
}