/* 建资盟网页样式文件 */

/* 工具类样式 */
.content-auto {
    content-visibility: auto;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.gradient-overlay {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.95) 0%, rgba(26, 26, 46, 0.9) 100%);
}

.geo-badge {
    background: rgba(15, 52, 96, 0.1);
    color: #0F3460;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* 首屏关键样式 */
.hero-min-height {
    min-height: 100vh;
}

/* 预加载骨架屏样式 */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 图片优化 */
img {
    max-width: 100%;
    height: auto;
}

/* 打印样式 */
@media print {
    .no-print {
        display: none !important;
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 悬浮组件样式 */
.float-btns {
    position: fixed;
    right: 26px;
    bottom: 36px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-item {
    position: relative;
}
.float-btn {
    display: flex;
    align-items: center;
    gap: 0;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    font-family: inherit;
    overflow: hidden;
    border-radius: 50%;
}
.float-btn-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.float-btn-text {
    display: none;
}
.float-tel .float-btn-icon {
    background: #E94560;
}
.float-wx .float-btn-icon {
    background: #3a7ab8;
}
@media (max-width: 768px) {
    .float-btns {
        right: 16px;
        bottom: 22px;
    }
    .float-btn {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }
}
