/* 联系我们页面专用样式 */

/* ===== 页面容器 ===== */
.contact-page {
    width: 100%;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ===== 主要内容区域 ===== */
.contact-main-section {
    flex: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    position: relative;
    padding: 80px 0 40px 0;
}

.contact-main-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 50px 80px;
    width: 100%;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8); /* 改为80%透明度 */
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(112, 40, 170, 0.15);
}

/* ===== 页面标题 ===== */
.page-header {
    margin-bottom: 30px;
    text-align: left;
}

.page-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
    font-family: 'SweiSpring', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.page-subtitle {
    font-size: 0.85rem;
    color: #999;
    margin: 0;
    letter-spacing: 2px;
    font-family: 'RobotoEnglish', 'SourceHanSans', sans-serif;
}

/* ===== 联系信息卡片 ===== */
.contact-info-cards {
    display: flex;
    gap: 80px;
    justify-content: space-between;
    align-items: flex-end;
}

/* 左侧信息区域（电话+地址） */
.info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: fit-content;
}

.card-icon {
    width: auto;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 8px;
}

.card-icon img {
    width: 28px;
    height: 28px;
    filter: brightness(0) saturate(100%) invert(27%) sepia(73%) saturate(2234%) hue-rotate(265deg) brightness(85%) contrast(95%);
}

/* 下划线容器 */
.card-divider {
    width: 100%;
    height: 2px;
    background: #7028aa;
    margin-bottom: 12px;
    align-self: stretch;
}

.card-content {
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card-text {
    font-size: 0.9rem;
    color: #7028aa;
    line-height: 1.2;
    margin: 0;
    font-family: 'SweiSpringSugar', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    white-space: nowrap;
}

/* 二维码卡片特殊样式 */
.qrcode-card {
    align-items: center;
}

.qrcode-card .card-icon {
    display: none;
}

.qrcode-card .card-divider {
    display: none;
}

.qrcode-card .card-content {
    align-items: center;
}

.qrcode-large {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.qrcode-text {
    text-align: center;
    font-size: 0.85rem;
}

/* ===== 右下角3D悬浮Logo ===== */
.contact-main-section .floating-logo {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 200;
}

.contact-main-section .logo-floating {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0.9;
    animation: logoFloat 3s ease-in-out infinite;
}

.contact-main-section .logo-floating:hover {
    transform: scale(1.1);
    opacity: 1;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

/* Logo悬浮动画效果 */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ===== 底部联系信息区域 ===== */
.contact-page .contact-info-section {
    background: linear-gradient(135deg, #512587 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 10px 0 !important;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    height: 20vh;
    justify-content: center;
}

.contact-page .contact-content {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.contact-page .contact-items {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 20px !important;
}

.contact-page .qrcode-img {
    width: 60px !important;
    height: 60px !important;
}

.contact-page .qrcode-label {
    font-size: 10px !important;
}

.contact-page .info-icon {
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-shrink: 0 !important;
}

.contact-page .info-icon img {
    height: 18px !important;
    width: auto !important;
    filter: brightness(0) invert(1) !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.contact-page .info-text {
    height: 32px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    width: auto !important;
    min-width: fit-content !important;
    padding: 0 !important;
}

.contact-page .info-text p {
    font-size: 10px !important;
    line-height: 1.3 !important;
    margin: 2px 0 !important;
}

.contact-page .contact-item.info-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.contact-page .info-content-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    width: auto !important;
}

.contact-page .info-content-wrapper .info-icon {
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
}

.contact-page .info-divider {
    height: 2px !important;
    background: white !important;
    width: auto !important;
    align-self: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.contact-page .info-content-wrapper .info-text {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.contact-page .info-text::before {
    display: none !important;
}

.contact-page .copyright-info {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 5px 20px 0;
    text-align: center;
    border-top: none;
    box-sizing: border-box;
}

.contact-page .copyright-info p {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-family: 'SweiSpringSugar', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ===== 响应式设计 ===== */

/* 平板设备 */
@media (max-width: 1024px) {
    .contact-info-cards {
        gap: 30px;
    }
    
    .info-card {
        flex: 0 0 calc(50% - 20px);
        min-width: 250px;
    }
    
    .contact-content-section .floating-logo {
        bottom: 80px;
        right: 80px;
    }
    
    .contact-content-section .logo-floating {
        max-width: 250px;
    }
}

/* 移动设备 */
@media (max-width: 768px) {
    .page-title-section {
        padding: 100px 0 30px 0;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .page-subtitle {
        font-size: 0.8rem;
    }
    
    .contact-content-section {
        padding: 30px 0;
    }
    
    .contact-info-cards {
        flex-direction: column;
        gap: 20px;
    }
    
    .info-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .contact-content-section .floating-logo {
        bottom: 40px;
        right: 40px;
    }
    
    .contact-content-section .logo-floating {
        max-width: 180px;
    }
}

/* 小屏幕移动设备 */
@media (max-width: 480px) {
    .page-title {
        font-size: 1.3rem;
    }
    
    .page-subtitle {
        font-size: 0.75rem;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-text {
        font-size: 0.85rem;
    }
    
    .qrcode-large {
        width: 120px;
        height: 120px;
    }
    
    .contact-content-section .floating-logo {
        bottom: 20px;
        right: 20px;
    }
    
    .contact-content-section .logo-floating {
        max-width: 120px;
    }
}

/* ===== 导航菜单选中状态 ===== */
.contact-page .nav-item.active .nav-link {
    color: #7028aa !important;
}

.contact-page .nav-item.active .nav-underline {
    width: 100% !important;
    background-color: #7028aa !important;
}
