﻿@charset "utf-8";

/* ===== 联系我们页面 ===== */

.contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact-page-wrap {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* ===== 左侧侧边�?===== */
.contact-sidebar {
    width: 220px;
    min-width: 220px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.contact-sidebar h3 {
    font-size: 18px;
    color: #fff;
    background: #c00;
    padding: 16px 20px;
    margin: 0;
    font-weight: bold;
    text-align: center;
}

.contact-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-sidebar-list li {
    border-bottom: 1px solid #f0f0f0;
}

.contact-sidebar-list li:last-child {
    border-bottom: none;
}

.contact-sidebar-list li a {
    display: block;
    padding: 14px 20px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}

.contact-sidebar-list li a:hover {
    background: #f5f5f5;
    color: #c00;
    padding-left: 26px;
}

.contact-sidebar-list li.active a {
    background: #0066cc;
    color: #fff;
    font-weight: bold;
}

.contact-sidebar-list li.active a:hover {
    background: #004999;
    color: #fff;
    padding-left: 20px;
}

/* ===== 右侧内容 ===== */
.contact-content {
    flex: 1;
    min-width: 0;
}

.contact-breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
}

.contact-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-breadcrumb a:hover {
    color: #c00;
}

.contact-breadcrumb span {
    color: #c00;
    font-weight: bold;
}

.contact-detail {
    padding: 10px 0;
}

.contact-title {
    font-size: 26px;
    color: #c00;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-company {
    font-size: 18px;
    color: #333;
    font-weight: normal;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.contact-info-list {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 25px 30px;
}

.contact-info-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    line-height: 1.8;
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-label {
    width: 100px;
    min-width: 100px;
    color: #333;
    font-weight: bold;
    flex-shrink: 0;
}

.contact-info-value {
    color: #555;
    flex: 1;
}

.contact-info-value a {
    color: #0066cc;
    text-decoration: underline;
}

.contact-info-value a:hover {
    color: #004499;
}

/* ===== 地图 ===== */
.contact-map {
    margin-top: 30px;
}

.map-container {
    width: 100%;
    height: 420px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #e8f0e8 0%, #d4e4d4 50%, #c8dcc8 100%);
    background-image:
        linear-gradient(135deg, #e8f0e8 0%, #d4e4d4 50%, #c8dcc8 100%),
        linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
    background-size: auto, 40px 40px, 40px 40px;
}

.map-container {
    width: 100%;
    height: 420px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.map-address-tip {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: #999;
}

/* ===== 导航右侧联系我们高亮 ===== */
.menu-right .tel.active {
    background: #0066cc;
    color: #fff;
}

/* ===== 响应�?===== */
@media (max-width: 992px) {
    .contact-page-wrap {
        flex-direction: column;
    }

    .contact-sidebar {
        width: 100%;
        min-width: auto;
    }

    .contact-sidebar h3 {
        text-align: left;
    }

    .contact-sidebar-list {
        display: flex;
        flex-wrap: wrap;
    }

    .contact-sidebar-list li {
        border-bottom: none;
        border-right: 1px solid #f0f0f0;
    }

    .contact-sidebar-list li a {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .contact-info-item {
        flex-direction: column;
        gap: 4px;
    }

    .contact-info-label {
        width: auto;
        min-width: auto;
    }

    .contact-info-list {
        padding: 16px 18px;
    }

    .contact-title {
        font-size: 22px;
    }

    .map-container {
        height: 280px;
    }
}
