/* 联系我们页面样式 */

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* Banner样式 - 参考about.html */
#c_static_001-16879381248050 {
    min-height: 0px;
    background-image: url(../img/contact-banner.jpg);
    padding-top: 10%;
    padding-bottom: 7%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#c_static_001-16879381248050 .e_container-1 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    max-width: none;
}

#c_static_001-16879381248050 .e_container-1>.p_item {
    flex: 1;
    max-width: 100%;
    max-height: 100%;
}

#c_static_001-16879381248050 .e_text-2 {
    line-height: normal;
    font-size: 48px;
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
    margin: 0;
}

#c_static_001-16879381248050 .e_text-3 {
    line-height: normal;
    font-size: 28px;
    color: rgba(255, 255, 255, 1);
    font-weight: 400;
    margin: 10px 0 0 0;
}

@media screen and (max-width:768px) {
    #c_static_001-16879381248050 .e_text-2 {
        font-size: 24px;
    }

    #c_static_001-16879381248050 .e_text-3 {
        font-size: 16px;
    }

    #c_static_001-16879381248050 {
        margin-top: 80px;
        background-size: cover;
    }
}

@media screen and (max-width: 1600px) and (min-width: 1200px) {
    #c_static_001-16879381248050 .e_text-2 {
        font-size: 42px;
    }

    #c_static_001-16879381248050 .e_text-3 {
        font-size: 24px;
    }

    #c_static_001-16879381248050 {
        margin-top: 65px;
    }
}

/* 联系我们主体内容 */
.contact-page {
    background: #f8f9fa;
    padding: 60px 0;
}

.contact-container {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用区块样式 */
.contact-section {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.contact-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-section:last-child {
    margin-bottom: 0;
}

/* 区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3d5a80 0%, #5a7fa8 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 14px;
    color: #999;
    letter-spacing: 2px;
    margin: 20px 0 0 0;
    font-weight: 500;
}

/* 联系信息网格 */
.contact-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8f9fb;
    border-radius: 12px;
    border-left: 4px solid #3d5a80;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3d5a80 0%, #4a6a95 100%);
    border-radius: 12px;
}

.info-icon svg {
    width: 26px;
    height: 26px;
    color: #fff;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 14px;
    color: #999;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.info-value {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
    line-height: 1.6;
}

.info-value a {
    color: #3d5a80;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-value a:hover {
    color: #ff6b35;
}

.info-extra {
    font-size: 14px;
    color: #666;
    margin: 5px 0 0 0;
}

/* 地图容器 */
.map-container {
    margin-top: 30px;
    width: 100%;
    position: relative;
}

.map-iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
    border-radius: 12px;
    overflow: hidden;
}

/* 地图响应式 */
@media (max-width: 768px) {
    .map-iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .map-iframe {
        height: 250px;
    }
}

/* 在线留言表单 */
.message-section {
    background: transparent;
}

.message-form-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.message-form {

    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.form-row .form-group {
    flex: 0 0 calc(50% - 12.5px);
    width: calc(50% - 12.5px);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 25px;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.required {
    color: #ff6b35;
    margin-left: 3px;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    font-size: 15px;
    color: #2c3e50;
    background: #f8f9fb;
    border: 2px solid #e8ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: #fff;
    border-color: #3d5a80;
    box-shadow: 0 0 0 4px rgba(61, 90, 128, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* 验证码行 */
.checkcode-row {
    display: flex;
    gap: 15px;
    align-items: center;
}

.checkcode-row input {
    flex: 1;
}

.checkcode-row .codeimg {
    height: 48px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #e8ecef;
    transition: all 0.3s ease;
}

.checkcode-row .codeimg:hover {
    border-color: #3d5a80;
    transform: scale(1.05);
}

.form-submit {
    text-align: center;
    margin-top: 35px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 50px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #3d5a80 0%, #4a6a95 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(61, 90, 128, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2d4a70 0%, #3a5a85 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(61, 90, 128, 0.4);
}

.submit-btn svg {
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(3px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .contact-container {
        max-width: 95%;
    }
}

@media (max-width: 992px) {
    .contact-section {
        margin-bottom: 50px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .contact-content {
        padding: 35px;
    }
    
    .contact-info-grid {
        gap: 20px;
    }
    
    .message-form-wrapper {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 40px 0;
    }
    
    .contact-container {
        padding: 0 15px;
    }
    
    .contact-section {
        margin-bottom: 40px;
    }
    
    .section-header {
        margin-bottom: 35px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .contact-content {
        padding: 25px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .map-placeholder {
        height: 300px;
    }
    
    .message-form-wrapper {
        padding: 30px 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .checkcode-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .checkcode-row .codeimg {
        width: 100%;
        height: auto;
        max-height: 60px;
        object-fit: contain;
    }
    
    .submit-btn {
        padding: 14px 40px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }
    
    .contact-content {
        padding: 20px;
    }
    
    .info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 15px;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
    }
    
    .info-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .map-placeholder {
        height: 250px;
    }
    
    .map-placeholder-content p {
        font-size: 16px;
    }
    
    .message-form-wrapper {
        padding: 25px 20px;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}
