/* 面包屑导航样式 */
.breadcrumb {
    margin: 20px 0;
    padding: 10px 15px;
    color: #666;
}

.breadcrumb a {
    text-decoration: none;
    color: #666;
}

.breadcrumb a:hover {
    color: #0066cc;
}

/* 联系我们页面样式 */
.contact-banner {
    background-color: #f5f5f5;
    text-align: center;
    padding: 60px 0;
    margin-bottom: 50px;
}

.contact-banner h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.contact-banner p {
    font-size: 16px;
    color: #666;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    flex: 0 0 45%;
}

.info-item {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
}

.icon {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    background-size: contain;
    background-repeat: no-repeat;
}

.phone-icon {
    background-image: url('../assets/phone-icon.png');
}

.address-icon {
    background-image: url('../assets/address-icon.png');
}

.email-icon {
    background-image: url('../assets/email-icon.png');
}

.info-text h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.info-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 5px 0;
}

.contact-form {
    flex: 0 0 45%;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1890ff;
    outline: none;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: #1890ff;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: #40a9ff;
}

.submit-btn:active {
    transform: scale(0.75);
}

.map-container {
    width: 100%;
    margin: 40px 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.map-container image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.map {
    width: 100%;
    background: #f5f5f5;
    margin-bottom: 60px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        flex: 0 0 100%;
        margin-bottom: 40px;
    }

    .contact-banner {
        padding: 40px 0;
    }

    .contact-banner h1 {
        font-size: 28px;
    }

    .map {
        height: 300px;
    }

    .map-container {
        margin: 20px -15px;
        width: calc(100% + 30px);
        border-radius: 0;
    }

    .map-container image {
        width: 100%;
        height: auto;
        min-height: 200px;
        object-fit: cover;
    }
}

/* 联系信息区域 */
.contact-info-section {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    gap: 20px;
}

.contact-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-detail {
    text-align: center;
    width: 100%;
}

.contact-detail h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.contact-detail p {
    color: #666;
    font-size: 14px;
    line-height: 2;
    margin: 0;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

/* 调整文字间距 */
.contact-detail p span {
    display: inline-block;
    min-width: auto;
    text-align: right;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-info-section {
        flex-direction: column;
        gap: 15px;
    }

    .contact-item {
        width: 100%;
        padding: 15px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        margin: 0;
    }

    .contact-item:active {
        transform: scale(0.98);
        background: #f8f8f8;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .contact-detail h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .contact-detail p {
        font-size: 13px;
        line-height: 1.8;
    }
}