/* 联系页面样式 */

/* 页面标题 */
.page-title {
    background-color: #f5f5f5;
    padding: 40px 0;
    margin-bottom: 60px;
}

.page-title h1 {
    font-size: 2.5em;
    color: #333;
    margin: 0;
    margin-bottom: 10px;
}

.breadcrumb {
    color: #666;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #007bff;
}

/* 联系信息 */
.contact-info-section {
    padding: 60px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-10px);
}

.info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-icon i {
    font-size: 1.8em;
    color: #fff;
}

.info-item h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
}

.info-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 联系表单 */
.contact-form-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 15px;
}

.form-header p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:nth-last-child(2),
.form-group:last-child {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    grid-column: 1 / -1;
    padding: 15px 30px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #0056b3;
}

/* 地图 */
.map-section {
    padding: 80px 0;
}

.map-section h2 {
    text-align: center;
    font-size: 2em;
    color: #333;
    margin-bottom: 40px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#map {
    width: 100%;
    height: 100%;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        padding: 30px 0;
        margin-bottom: 40px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 30px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .form-header h2 {
        font-size: 1.8em;
    }

    .submit-btn {
        width: 100%;
    }
} 