/* 全局样式 */

/* 导航栏样式已移至 common.css */



/* 英雄区域 */
.hero {
    height: 60vh;
    margin-top: 65px;
    background: linear-gradient(135deg, rgba(10, 92, 122, 0.95), rgba(39, 174, 96, 0.85)), url('../images/yingxiong/yx15.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    animation: heroBackground 20s ease infinite;
}

@keyframes heroBackground {
    0%, 100% { background-position: center center; }
    50% { background-position: center top; }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: titleFadeIn 1s ease-out;
}

@keyframes titleFadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #E0F2FE;
    animation: subtitleFadeIn 1s ease-out 0.3s both;
}

@keyframes subtitleFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #B8E6F5;
    animation: descriptionFadeIn 1s ease-out 0.6s both;
}

@keyframes descriptionFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 18px 35px;
    background: linear-gradient(135deg, #00D4AA, #0A5C7A);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.4);
    position: relative;
    overflow: hidden;
    animation: buttonFadeIn 1s ease-out 0.9s both;
}

@keyframes buttonFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, #0A5C7A, #00D4AA);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 212, 170, 0.5);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #00D4AA;
    color: #00D4AA;
    box-shadow: none;
    animation: buttonFadeIn 1s ease-out 1.1s both;
}

.cta-button.secondary:hover {
    background: #00D4AA;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 212, 170, 0.5);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00D4AA 0%, #0A5C7A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-inner-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-icon {
    font-size: 80px;
    color: white;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float-element 8s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 10%;
    right: 20%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.floating-element:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 6s;
}

.floating-element i {
    color: white;
    font-size: 20px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes float-element {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

/* 联系我们区域 */
.contact-section {
    padding: 60px 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-title {
    font-size: 2.5rem;
    color: #0A5C7A;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-intro {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* 联系信息容器 */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* 联系信息卡片 */
.contact-info {
    width: 48%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0A5C7A, #27AE60);
}

.contact-info:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(10, 92, 122, 0.15);
}

.contact-info:hover .contact-info-title {
    color: #27AE60;
}

.contact-info:hover .contact-info-title i {
    transform: scale(1.2);
    color: #0A5C7A;
}

.contact-info-title {
    font-size: 24px;
    font-weight: 600;
    color: #0A5C7A;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.contact-info-title i {
    margin-right: 15px;
    font-size: 28px;
    color: #27AE60;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    color: #0A5C7A;
    margin-right: 15px;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-text {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.contact-text strong {
    color: #333;
    font-weight: 600;
}

/* 联系表单 */
.contact-form {
    width: 48%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #27AE60, #0A5C7A);
}

.contact-form:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(39, 174, 96, 0.15);
}

.contact-form:hover .form-title {
    color: #0A5C7A;
}

.contact-form:hover .form-title i {
    transform: scale(1.2);
    color: #27AE60;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    color: #0A5C7A;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.form-title i {
    margin-right: 15px;
    font-size: 28px;
    color: #27AE60;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.form-input:focus {
    outline: none;
    border-color: #0A5C7A;
    box-shadow: 0 0 0 3px rgba(10, 92, 122, 0.1);
    transform: translateY(-2px);
}

.form-textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    resize: vertical;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    font-family: inherit;
}

.form-textarea:focus {
    outline: none;
    border-color: #0A5C7A;
    box-shadow: 0 0 0 3px rgba(10, 92, 122, 0.1);
    transform: translateY(-2px);
}

.form-button {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #0A5C7A, #27AE60);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(10, 92, 122, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.form-button:hover::before {
    left: 100%;
}

.form-button:hover {
    background: linear-gradient(135deg, #27AE60, #0A5C7A);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(10, 92, 122, 0.4);
}

/* 地图区域 */
.map-section {
    padding: 60px 40px 60px;
    background-color: white;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: url('../images/map.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(10, 92, 122, 0.05) 0%, transparent 70%);
    animation: mapPulse 4s ease-in-out infinite;
}

.map-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 92, 122, 0.3);
    z-index: 1;
}

@keyframes mapPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.map-placeholder i {
    font-size: 80px;
    margin-bottom: 25px;
    color: white;
    animation: mapIconFloat 3s ease-in-out infinite;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

@keyframes mapIconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.map-text {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: mapTextFadeIn 1s ease-out 0.5s both;
    position: relative;
    z-index: 2;
}

@keyframes mapTextFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 成功消息 */
.success-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #27AE60;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.success-message.show {
    opacity: 1;
}

/* 页脚样式已移至 common.css */

/* 响应式设计 */
@media (max-width: 992px) {
    .contact-info, .contact-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 50vh;
        padding: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .contact-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-circle {
        width: 250px;
        height: 250px;
    }
    
    .hero-inner-circle {
        width: 170px;
        height: 170px;
    }
    
    .hero-icon {
        font-size: 60px;
    }
    
    /* 导航栏样式已移至 common.css */
    

    
    .contact-section, .map-section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-intro {
        font-size: 1rem;
    }
    
    .contact-info, .contact-form {
        padding: 30px 20px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-item i {
        margin-bottom: 10px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-input,
    .form-textarea {
        font-size: 16px;
    }
    
    .map-section {
        margin: 40px 20px;
    }
    
    /* 页脚样式已移至 common.css */
}

@media (max-width: 480px) {
    .hero {
        height: 45vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-circle {
        width: 200px;
        height: 200px;
    }
    
    .hero-inner-circle {
        width: 140px;
        height: 140px;
    }
    
    .hero-icon {
        font-size: 50px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .contact-section, .map-section {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-intro {
        font-size: 0.9rem;
        margin-bottom: 40px;
    }
    
    .contact-info, .contact-form {
        padding: 25px 15px;
    }
    
    .contact-info-title, .form-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .contact-info-title i, .form-title i {
        font-size: 24px;
        margin-right: 10px;
    }
    
    .contact-item {
        margin-bottom: 20px;
    }
    
    .contact-item i {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .contact-text {
        font-size: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-label {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .form-input,
    .form-textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .form-textarea {
        min-height: 100px;
    }
    
    .form-button {
        padding: 15px 25px;
        font-size: 16px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .map-placeholder i {
        font-size: 60px;
        margin-bottom: 15px;
    }
    
    .map-text {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .floating-element {
        width: 40px;
        height: 40px;
    }
    
    .floating-element i {
        font-size: 16px;
    }
}