/* 联系我们页面样式 */

/* 页面标题 */
.page-title {
    height: 300px;
    background: url('https://via.placeholder.com/1920x300') center/cover;
    margin-top: 80px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.page-title .container {
    position: relative;
    z-index: 1;
}

.page-title h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.page-title p {
    font-size: 24px;
}

/* 联系内容 */
.contact-content {
    padding: 80px 0;
}

/* 联系信息 */
.contact-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.info-item {
    width: 360px;
    text-align: center;
    padding: 40px;
    background: #f5f5f5;
    border-radius: 8px;
    transition: all 0.3s;
}

.info-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 联系信息图标样式 */
.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #3498db, #1a5276);
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.info-icon i {
    font-size: 28px;
    color: #fff;
}

.info-item:hover .info-icon {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.info-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.info-item p {
    color: #666;
    line-height: 1.6;
}

/* 在线留言 */
.contact-form {
    margin-bottom: 80px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s;
}

.form-group input {
    height: 45px;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1890ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(24,144,255,0.2);
}

.form-group button {
    width: 200px;
    height: 45px;
    font-size: 16px;
}

/* 地图容器 */
.contact-map {
    margin-bottom: 0;
}

.map-container {
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .contact-info {
        flex-wrap: wrap;
    }

    .info-item {
        width: calc(50% - 15px);
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .info-item {
        width: 100%;
    }

    .map-container {
        height: 300px;
    }
} 