﻿   
          /* =========================================
   西安亥项佳商贸有限公司 - 全局样式表
   ========================================= */

/* 基础设置 */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Logo 艺术字设计 */
.logo-art {
    font-size: 1.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0.25rem 0.5rem;
    border: 2px solid #1e3a8a;
    border-radius: 0.375rem;
}

.logo-art::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid rgba(30, 58, 138, 0.3);
    border-radius: 0.5rem;
    pointer-events: none;
}

.logo-art-footer {
    font-size: 1.5rem;
    font-weight: 900;
    color: #60a5fa;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.5rem;
    border: 2px solid #3b82f6;
    border-radius: 0.375rem;
}

/* 导航栏链接激活状态 */
.nav-link.active {
    color: #1e40af;
    background-color: #eff6ff;
    font-weight: 600;
}

.mobile-nav-link.active {
    color: #1e40af;
    background-color: #eff6ff;
    font-weight: 600;
}

/* 导航栏滚动效果 */
.nav-scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* 动画类 */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 滚动触发动画初始状态 */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Canvas 容器 */
#hero-canvas {
    pointer-events: none;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* 图片加载占位 */
img {
    background-color: #e2e8f0;
    transition: transform 0.3s ease;
}

/* 卡片悬浮微交互 */
.group:hover img {
    transform: scale(1.03);
}

/* 移动端菜单过渡 */
#mobile-menu {
    transition-property: max-height;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* 响应式微调 */
@media (max-width: 768px) {
    .logo-art {
        font-size: 1.25rem;
    }
    
    .logo-art-footer {
        font-size: 1.125rem;
    }
    
    html {
        scroll-padding-top: 4.5rem;
    }
}
        