/* ==========================================================================
   联系我们页面专用样式 (contact.css)
   ========================================================================== */

/* 联系我们 Banner 文字样式调整 - 统一使用居左对齐 */
.contact-banner .banner-content {
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding-left: 0;
}

.contact-banner-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-banner-text h1 {
    font-size: 48px; /* 恢复与其他页面一致的大小 */
    margin-bottom: 0;
    position: relative;
    padding-bottom: 20px;
}

/* 确保下划线靠左 */
.contact-banner-text h1::after {
    left: 0 !important;
    right: auto !important;
}

.contact-banner-text p {
    font-size: 18px; /* 恢复与其他页面一致的大小 */
    opacity: 0.85;
    letter-spacing: 2px;
    margin-top: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-banner .banner-content {
        text-align: center;
        justify-content: center;
    }
    .contact-banner-text {
        align-items: center;
    }
    .contact-banner-text h1 {
        font-size: 30px;
    }
    .contact-banner-text h1::after {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
    }
}

/* 面包屑导航 */
.breadcrumb {
    background-color: #f5f7fa;
    padding: 20px 0;
    font-size: 14px;
    color: #999;
    border-bottom: 1px solid #eee;
}

.breadcrumb p {
    margin: 0;
}

.breadcrumb span {
    color: #333;
}

/* 联系方式与地图区域 */
.contact-info-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-container {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.contact-text-info {
    flex: 1;
    padding: 60px 80px;
    background-color: #f8f9fb;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    margin-bottom: 50px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
    font-weight: bold;
    position: relative;
}

.info-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-icon {
    width: 20px;
    height: auto;
    margin-right: 12px;
}

/* 图标模拟已移除，改用图片图标 */

.contact-map {
    flex: 1.2;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.contact-map img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* 在线留言表单区域 */
.message-form-section {
    padding: 100px 0;
    background-color: #fff;
    border-top: 1px solid #f5f5f5;
}

.section-title-box {
    margin-bottom: 60px;
}

.section-title-box h2 {
    font-size: 36px;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

.section-title-box p {
    font-size: 15px;
    color: #999;
    max-width: 800px;
    line-height: 1.6;
}

.message-form {
    max-width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.form-group label span {
    color: #ff4d4f;
    margin-right: 5px;
}

.form-group input {
    height: 40px;
    border: none;
    border-bottom: 1px solid #e8e8e8;
    outline: none;
    font-size: 15px;
    padding: 5px 0;
    background: transparent;
    transition: all 0.3s;
}

.form-group input:focus {
    border-bottom-color: #0b459c;
}

.form-group.full-width {
    margin-bottom: 50px;
}

.form-group textarea {
    height: 100px;
    border: none;
    border-bottom: 1px solid #e8e8e8;
    outline: none;
    font-size: 15px;
    padding: 10px 0;
    resize: none;
    background: transparent;
    transition: all 0.3s;
}

.form-group textarea:focus {
    border-bottom-color: #0b459c;
}

.form-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.privacy-agreement {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.privacy-agreement input {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.privacy-agreement a {
    color: #0b459c;
    margin: 0 3px;
    font-weight: bold;
}

.privacy-agreement a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 140px;
    height: 48px;
    background-color: #000;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
}

.btn-submit:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .contact-text-info {
        padding: 40px 50px;
    }
    .form-grid {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }
    .contact-text-info {
        padding: 50px;
    }
    .contact-map {
        padding: 30px;
    }
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-info-section {
        padding: 40px 0;
    }
    .contact-text-info {
        padding: 30px;
    }
    .info-item h3 {
        font-size: 22px;
    }
    .message-form-section {
        padding: 60px 0;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    .btn-submit {
        width: 100%;
    }
}

