/* ============================================
   联系我们页面样式
   ============================================ */

/* ============================================
   页面头部样式
   ============================================ */

/* 联系我们页面的头部 - 始终显示背景 */
.contact-page .header {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.contact-page .header .nav-list a {
    color: #333;
}

.contact-page .header .nav-list a.active {
    color: #3364FF;
}

/* 移动端头部样式调整 */
@media (max-width: 768px) {
    .contact-page .header {
        padding: 10px 0;
    }
    
    .contact-page .header .container {
        padding: 0 15px;
    }
    
    .contact-page .logo img {
        height: 35px;
    }
}

/* ============================================
   面包屑导航样式
   ============================================ */
.breadcrumb {
    padding: 20px 0 20px;
    background: #f9f9f9;
    margin-top: 80px;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #3364FF;
}

.breadcrumb .separator {
    color: #999;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
}

/* ============================================
   联系我们页面横幅样式
   ============================================ */
.contact-banner {
    position: relative;
    width: 100%;
    height: 800px;
    
   
    color: white;
    overflow: hidden;
}
.about-banner-img{
    width: 100%;
    height: 100%;
}
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
     display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-subtitle {
    font-size: 24px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ============================================
   联系信息区域样式
   ============================================ */
.contact-info-section {
    padding: 80px 0;
    background: #fff;
}

.contact-info-section .container {
    padding: 0 20px;
}

.contact-info-section .section-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.contact-info-section .section-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    /* background: #f9f9f9; */
    border-radius: 8px;
    transition: all 0.3s;
}

.contact-info-item:hover {
    background: #f0f0f0;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
}

.info-value {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   地图区域样式
   ============================================ */
.contact-map-section {
    padding: 0 0 80px;
    background: #fff;
}

.contact-map-section .container {
    padding: 0 20px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.map-marker img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.map-label {
    background: #3364FF;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================
   联系表单区域样式
   ============================================ */
.contact-form-section {
    padding: 80px 0;
    background: #F9F9F9;
}

.contact-form-section .container {
    padding: 0 20px;
}

.form-section-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.form-section-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
}

.form-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.form-content-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: start;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

.form-group-full {
    grid-column: 1 / -1;
}

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

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3364FF;
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-actions {
    display: flex;
    align-items: flex-start;
}

.btn-submit {
    padding: 20px 15px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: #3364FF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 5px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit:hover {
    background: #2550d9;
}

/* ============================================
   响应式设计 - 平板设备（最大宽度1024px）
   ============================================ */
@media (max-width: 1024px) {
    .contact-banner {
    
    height: 600px;
}
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .form-content-wrapper {
        grid-template-columns: 1fr;
    }

    .form-actions {
        justify-content: center;
        margin-top: 20px;
    }

    .btn-submit {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        letter-spacing: normal;
        min-height: auto;
        padding: 15px 40px;
    }
}

/* ============================================
   响应式设计 - 移动设备（最大宽度768px）
   ============================================ */
@media (max-width: 768px) {
    .contact-banner {
    
    height: 400px;
}
    .contact-banner {
        height: 300px;
        padding: 0 15px;
    }

    .banner-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .banner-subtitle {
        font-size: 14px;
    }

    .contact-info-section {
        padding: 30px 0;
    }

    .contact-info-section .container {
        padding: 0 15px;
    }

    .contact-info-section .section-title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .contact-info-section .section-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-info-item {
        padding: 20px 15px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .info-label {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .info-value {
        font-size: 13px;
        line-height: 1.5;
    }

    .contact-map-section {
        padding: 0 0 30px;
    }

    .contact-map-section .container {
        padding: 0 15px;
    }

    .map-wrapper {
        height: 300px;
        border-radius: 4px;
    }

    .map-marker img {
        width: 30px;
        height: 30px;
        margin-bottom: 8px;
    }

    .map-label {
        padding: 6px 12px;
        font-size: 12px;
    }

    .contact-form-section {
        padding: 30px 0;
    }

    .contact-form-section .container {
        padding: 0 15px;
    }

    .form-section-title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .form-section-subtitle {
        font-size: 13px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .form-wrapper {
        padding: 20px 15px;
        border-radius: 4px;
    }

    .form-content-wrapper {
        gap: 20px;
    }

    .form-fields {
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .form-actions {
        justify-content: center;
        margin-top: 15px;
    }

    .btn-submit {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        letter-spacing: normal;
        width: 100%;
        padding: 12px 20px;
        min-height: auto;
        font-size: 15px;
    }
}

