﻿/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: #333;
}

/* 头部导航 */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}
.main-logo img{width:100%;height:100%}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex: 1;
    text-align: center;
    margin: 0 20px;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: #f8f9fa;
    transform: scale(1.05);
}

.icon-btn i {
    color: #666;
    font-size: 16px;
}

/* 主要内容 */
.main-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* 主要联系卡片 */
.main-card {
    margin-bottom: 20px;
}

.card-background {
    background: linear-gradient(135deg, #31b4f3 0%, #3692e7 100%);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-background::before {
    /* content: ''; */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="mountains" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M0 100 L20 60 L40 80 L60 40 L80 70 L100 30 L100 100 Z" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23mountains)"/></svg>'); */
    opacity: 0.3;
}

.card-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.card-left {
    margin-right: 20px;
}

.main-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(48, 188, 244, 0.3);
}

.card-right {
    flex: 1;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.card-subtitle {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 15px;
}

.divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 15px 0;
}

/* 联系信息摘要 */
.contact-summary {
    margin-top: 15px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
}

.summary-item i {
    color: var(--theme-color);
    font-size: 14px;
}

.qr-btn {
    background: #ffd700;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.qr-btn:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.qr-hint {
    font-size: 12px;
    color: #999;
}

/* 统计信息 */
.stats-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-icon {
    position: relative;
    margin-right: 15px;
}

.stat-icon i {
    font-size: 24px;
    color: #4caf50;
}

.stat-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #f44336;
    border-radius: 50%;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* 联系信息列表 */
.contact-list {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    background: #f8f9fa;
}

/* 联系人头部样式 */
.contact-header {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%);
    color: white;
    cursor: default;
}

.contact-header:hover {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%);
}

.contact-header .contact-text {
    color: white;
    font-weight: 600;
}

.contact-header .contact-action {
    color: rgba(255, 255, 255, 0.8);
}

.contact-header .contact-icon {
    background: rgba(255, 255, 255, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 20px;
}

.phone-icon {
    background: linear-gradient(135deg, #9c27b0, #e91e63);
}

.wechat-icon {
    background: linear-gradient(135deg, #4caf50, #8bc34a);
}

.wechat-qr-icon {
    background: linear-gradient(135deg, #ff9800, #ff5722);
}

.email-icon {
    background: linear-gradient(135deg, #e91e63, #f44336);
}

.location-icon {
    background: linear-gradient(135deg, #ffc107, #ff9800);
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 3px;
}

.contact-action {
    font-size: 12px;
    color: #999;
}

.qr-small {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #999;
}

.qr-small i {
    font-size: 14px;
}

.contact-item i.fa-chevron-right {
    color: #ccc;
    font-size: 14px;
}

/* 服务承诺 */
.service-promise {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.promise-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.promise-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.promise-item:hover {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%);
    color: white;
    transform: translateY(-2px);
}

.promise-item i {
    font-size: 18px;
    color: var(--theme-color);
    transition: color 0.3s ease;
}

.promise-item:hover i {
    color: white;
}

.promise-item span {
    font-size: 14px;
    font-weight: 500;
}

/* 公司介绍 */
.company-intro-imgs {
    display: block;
    margin-bottom: 15px;
}

.company-intro-imgs img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin-bottom: 10px;
}

.company-intro-text {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}

.company-intro-text p {
    margin-bottom: 10px;
}

.company-intro-text p img {
    width: 100%;
    border-radius: 12px;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
    font-size: 18px;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background: #f0f0f0;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

/* 二维码容器 */
.qr-code-container {
    margin-bottom: 20px;
}

.qr-code-image {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
}

.qr-tip {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.qr-info {
    text-align: left;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

.qr-info p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.qr-info p:last-child {
    margin-bottom: 0;
}

.qr-code-placeholder {
    width: 200px;
    height: 200px;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #999;
}

.qr-code-placeholder i {
    font-size: 60px;
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        padding: 12px 15px;
    }
    
    .title {
        font-size: 16px;
        margin: 0 10px;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .card-background {
        padding: 20px;
    }
    
    .main-logo {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .promise-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .card-content {
        flex-direction: column;
        text-align: center;
    }
    
    .card-left {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .qr-btn {
        justify-content: center;
    }
    
    .contact-text {
        font-size: 14px;
    }
    
    .contact-action {
        font-size: 11px;
    }
}

/* 搜索功能样式已移至 skin/styles.css */

/* 地图组件样式 */
.map-section {
    margin: 20px 0;
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.map-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%);
    border-radius: 2px;
    margin-right: 10px;
}

.map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.amap-container {
    width: 100%;
    height: 300px;
    border-radius: 15px;
}

.map-info {
    background: white;
    padding: 15px;
    border-top: 1px solid #f0f0f0;
}

.map-address {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.map-address i {
    color: #e74c3c;
    margin-right: 8px;
    font-size: 16px;
}

.map-navigation-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-2) 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.map-navigation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(48, 188, 244, 0.4);
}

.map-navigation-btn:active {
    transform: translateY(0);
}

.map-navigation-btn i {
    font-size: 16px;
}

/* 地图加载状态 */
.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: #f8f9fa;
    color: #666;
    font-size: 14px;
}

.map-loading i {
    margin-right: 8px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式地图 */
@media (max-width: 768px) {
    .amap-container {
        height: 250px;
    }
    
    .map-section {
        padding: 15px;
    }
    
    .map-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .amap-container {
        height: 200px;
    }
    
    .map-navigation-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
} 

/* ===== 公司介绍 ===== */
.company-intro-imgs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 14px;
}
.company-intro-imgs img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}
.company-intro-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* ===== 微信二维码弹窗 ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 3000;
}
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 86%;
    max-width: 340px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: none;
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #f0f0f0;
}
.modal-header h3 {
    font-size: 16px;
    color: #333;
}
.modal-header .close-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 15px;
}
.modal-body {
    padding: 18px;
    text-align: center;
}
.qr-code-container {
    margin: 0 auto 10px;
}
.qr-code-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 10px;
}
.qr-tip {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}
.qr-info {
    font-size: 14px;
    color: #333;
}
.qr-info strong {
    color: #30bcf4;
}

/* ===== 联系页底部留白 ===== */
.main-content {
    padding-bottom: 90px;
} 