/* 关于我们页面样式（/aboutus） */

body.aboutus-page {
    background: radial-gradient(circle at top left, #f0f4ff 0%, #f7f8fc 40%, #eef1f8 100%);
    padding-top: 80px;
}

.page-hero-section {
    padding: 70px 0 45px;
    background: linear-gradient(135deg, #4f8df5 0%, #6c63ff 50%, #5b8def 100%);
    color: #fff;
    text-align: center;
}

.page-hero-section .page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-hero-section .page-subtitle {
    font-size: 16px;
    opacity: 0.9;
}

.aboutus-main {
    padding: 40px 0 60px;
}

/* 公司简介 */
.about-content-section {
    margin-bottom: 40px;
}

.about-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: none;
}

.about-card .layui-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 64px 30px;
    border: none;
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-title i {
    font-size: 22px;
    opacity: 0.95;
}

.about-card .layui-card-body {
    padding: 30px;
}

.about-content {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    text-align: justify;
}

.about-content p {
    margin-bottom: 15px;
}

.about-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-content strong,
.about-content b {
    font-weight: 600;
    color: #0f172a;
}

/* 公司信息卡片 */
.company-info-section {
    margin-bottom: 40px;
}

.company-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: none;
}

.company-card .layui-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 24px 30px;
    border: none;
}

.company-card .layui-card-body {
    padding: 30px;
}

.company-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.info-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-label i {
    font-size: 16px;
    color: #667eea;
}

.info-value {
    font-size: 16px;
    color: #0f172a;
    font-weight: 500;
    word-break: break-word;
}

.contact-link {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* 联系我们 */
.contact-section {
    margin-top: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 30px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: center;
    justify-content: center;
}

.section-title i {
    font-size: 26px;
    color: #667eea;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.contact-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: none;
    transition: all 0.3s ease;
    background: #fff;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2);
}

.contact-card .layui-card-body {
    padding: 30px;
    text-align: center;
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.contact-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 20px 0;
}

.contact-qr {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-image {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    border: 3px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qr-image:hover {
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.contact-desc {
    font-size: 14px;
    color: #64748b;
    margin: 15px 0 0 0;
}

.contact-phone {
    margin: 20px 0;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.phone-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.phone-link i {
    font-size: 20px;
}

/* 图片预览模态框 */
.image-preview-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-preview-modal-overlay.show {
    display: flex;
    opacity: 1;
}

.image-preview-modal {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
}

.preview-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.preview-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#previewImage {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 响应式布局 */
@media (max-width: 768px) {
    .page-hero-section {
        padding: 40px 0 30px;
    }

    .page-hero-section .page-title {
        font-size: 28px;
    }

    .aboutus-main {
        padding: 20px 0 40px;
    }

    .company-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .info-item {
        padding: 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card .layui-card-body {
        padding: 24px;
    }

    .qr-image {
        width: 180px;
        height: 180px;
    }

    .section-title {
        font-size: 22px;
    }

    .card-title {
        font-size: 20px;
    }

    .about-card .layui-card-body {
        padding: 20px;
    }
}

