/* 联系我们页面特有样式 */

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
}

.breadcrumb li {
    margin: 0 0.5rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb li:not(:last-child)::after {
    content: ">";
    margin-left: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 联系信息 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #0066cc;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* 联系表单和地图 */
.contact-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-form {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #0066cc;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #0066cc;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-map {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* 分公司信息 */
.branches-section {
    background: #f0f7ff;
    padding: 4rem 0;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.branch-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.branch-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0066cc;
    display: flex;
    align-items: center;
}

.branch-card h3:before {
    content: "📍";
    margin-right: 0.5rem;
}

.branch-info {
    margin-bottom: 1.5rem;
}

.branch-info p {
    margin-bottom: 0.5rem;
    color: #666;
    display: flex;
    align-items: center;
}

.branch-info p:before {
    margin-right: 0.5rem;
}

.branch-phone:before {
    content: "📞";
}

.branch-email:before {
    content: "✉️";
}

.branch-hours:before {
    content: "🕒";
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-main {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .branches-grid {
        grid-template-columns: 1fr;
    }
}