/* 货优达全电物流 - fullPage.js 主要样式 */

/* Custom styles */
body {
    font-family: 'Noto Sans SC', sans-serif;
}

/* 字体样式 */
.font-inter {
    font-family: 'Inter', sans-serif;
}

/* 字体大小 */
.text-14 {
    font-size: 14px;
}

.text-16 {
    font-size: 16px;
}

.text-20 {
    font-size: 20px;
}

/* fullPage.js 导航点样式 */
#fp-nav ul li a span,
.fp-slidesNav ul li a span {
    background: #3b82f6;
}

#fp-nav ul li a.active span,
.fp-slidesNav ul li a.active span,
#fp-nav ul li:hover a.active span,
.fp-slidesNav ul li:hover a.active span {
    background: #1d4ed8;
}

/* 自定义导航菜单 */
.custom-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    height: 60px;
}

.nav-item {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-item:hover {
    background-color: #eff6ff;
    color: #3b82f6;
}

.nav-item.active {
    background-color: #3b82f6;
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Section 样式 */
.section {
    position: relative;
    min-height: 100vh;
}



/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* 新增首页专用动画 */
@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotateSlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.animate-float {
    animation: floatSlow 6s ease-in-out infinite;
}

.animate-rotate-slow {
    animation: rotateSlow 20s linear infinite;
}

/* 首页特殊效果 */
.section h1 {
    background: linear-gradient(135deg, #1f2937, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section h1 .text-blue-600 {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .custom-nav {
        height: auto;
        min-height: 60px;
    }
    
    .custom-nav ul {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .nav-item {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    /* 移动端增加更多顶部间距 */
    .section .container,
    .section > div:first-child {
        padding-top: 100px;
    }
}