/* 基础设置与变量 */
:root {
    --primary-color: #008eb0; 
    --primary-dark: #003a5c; 
    --primary-light: #00bcd4;
    --secondary-color: #f8f9fa;
    --text-main: #222222;
    --text-muted: #555555;
    --text-light: #888888;
    --bg-light: #f4f7f9;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-main); line-height: 1.8; overflow-x: hidden; background-color: var(--white); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; border-radius: 4px; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.section-padding { padding: 120px 0; }
.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }

/* 动画工具类 */
.reveal { opacity: 0; transform: translateY(40px); transition: var(--transition-slow); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* 按钮样式 - 高级质感 */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: 50px; font-weight: 600; cursor: pointer;
    transition: var(--transition); border: none; font-size: 16px; letter-spacing: 0.5px;
    position: relative; overflow: hidden; z-index: 1;
}
.btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: rgba(255,255,255,0.2); transition: var(--transition); z-index: -1;
}
.btn:hover::before { left: 0; }
.btn-primary { background-color: var(--primary-color); color: var(--white); box-shadow: 0 10px 20px rgba(0, 142, 176, 0.3); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 15px 25px rgba(0, 58, 92, 0.4); color: var(--white); }
.btn-secondary { background-color: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background-color: var(--white); color: var(--primary-dark); transform: translateY(-3px); }

/* 排版优化 */
.section-subtitle { display: block; color: var(--primary-color); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 15px; font-size: 14px; }
.section-title { font-size: 42px; color: var(--primary-dark); margin-bottom: 24px; font-weight: 800; line-height: 1.2; }
.section-description { font-size: 18px; color: var(--text-muted); max-width: 800px; margin: 0 auto 60px; line-height: 1.8; }
.text-content p { margin-bottom: 20px; font-size: 16px; color: var(--text-muted); text-align: justify; }

/* 导航栏 - 玻璃拟态 */
.main-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.2); transition: var(--transition);
}
.main-header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,0.05); padding: 5px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 90px; transition: var(--transition); }
.main-header.scrolled .header-inner { height: 70px; }
.logo img { height: 45px; transition: var(--transition); }
.main-nav ul { display: flex; align-items: center; gap: 40px; }
.main-nav a { font-weight: 600; color: var(--primary-dark); font-size: 15px; text-transform: uppercase; letter-spacing: 1px; position: relative; padding: 5px 0; }
.main-nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background-color: var(--primary-color); transition: var(--transition);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* 下拉菜单 */
.dropdown { position: relative; padding: 30px 0; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; background: #fff; min-width: 240px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); border-radius: 8px; border-top: 4px solid var(--primary-color);
    opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition);
    display: flex; flex-direction: column; padding: 15px 0;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 12px 25px; color: var(--text-main); font-weight: 500; text-transform: none; letter-spacing: 0; border-bottom: 1px solid #f0f0f0; }
.dropdown-menu a::after { display: none; }
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu a:hover { background-color: var(--bg-light); color: var(--primary-color); padding-left: 30px; }

/* 英雄区域与高级粒子动画 */
.hero-section {
    position: relative; height: 100vh; min-height: 800px;
    background-image: url('img/hero_bg.png'); background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; align-items: center; margin-top: 0; overflow: hidden;
}
.particles-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 58, 92, 0.9) 0%, rgba(0, 142, 176, 0.6) 100%); z-index: 0;
}
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 90px; }
.hero-text { max-width: 900px; color: var(--white); margin: 0 auto; text-align: center; }
.hero-title { font-size: 64px; font-weight: 800; line-height: 1.1; margin-bottom: 30px; letter-spacing: -1px; text-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.hero-subtitle { font-size: 22px; margin-bottom: 50px; font-weight: 300; opacity: 0.9; line-height: 1.6; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; }

/* 公司简介简述区域 */
.intro-section { background: var(--white); padding: 120px 0; position: relative; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro-text h2 { font-size: 38px; color: var(--primary-dark); margin-bottom: 25px; line-height: 1.3; }
.intro-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; border-top: 1px solid #eee; padding-top: 40px; }
.stat-item h4 { font-size: 42px; color: var(--primary-color); font-weight: 800; margin-bottom: 5px; }
.stat-item p { font-size: 14px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.intro-image { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.intro-image::after { content:''; position:absolute; inset:0; border: 8px solid rgba(255,255,255,0.2); pointer-events:none; }

/* 核心服务交互网格 */
.services-section { background-color: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.service-card {
    background: var(--white); border-radius: 12px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: var(--transition);
    position: relative; group: hover; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0, 142, 176, 0.15); }
.service-image { height: 240px; overflow: hidden; position: relative; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.service-card:hover .service-image img { transform: scale(1.1); }
.service-image::after { content:''; position:absolute; inset:0; background: linear-gradient(to top, rgba(0,58,92,0.8), transparent); opacity: 0; transition: var(--transition); }
.service-card:hover .service-image::after { opacity: 1; }
.service-content { padding: 35px 25px; flex-grow: 1; display: flex; flex-direction: column; }
.service-content h3 { font-size: 24px; color: var(--primary-dark); margin-bottom: 15px; font-weight: 700; transition: var(--transition); }
.service-card:hover .service-content h3 { color: var(--primary-color); }
.service-content p { color: var(--text-muted); margin-bottom: 25px; font-size: 15px; line-height: 1.7; flex-grow: 1; }
.service-link {
    color: var(--primary-dark); font-weight: 700; font-size: 14px; letter-spacing: 1px;
    text-transform: uppercase; display: inline-flex; align-items: center; gap: 5px;
}
.service-link::after { content: '→'; transition: transform 0.3s ease; }
.service-card:hover .service-link { color: var(--primary-color); }
.service-card:hover .service-link::after { transform: translateX(5px); }

/* 视差 Banner */
.banner-section { position: relative; padding: 150px 0; text-align: center; color: var(--white); background-image: url('img/warehouse_bg.png'); background-size: cover; background-attachment: fixed; }
.banner-section::before { content: ''; position: absolute; inset: 0; background: rgba(0, 58, 92, 0.85); z-index: 1; }
.banner-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.banner-content h2 { font-size: 48px; margin-bottom: 30px; font-weight: 800; line-height: 1.2; }

/* 精选项目区域 (特色布局) */
.projects-section { padding: 120px 0; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.project-card {
    position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/5;
    cursor: pointer; box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.project-overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,30,50,0.9) 0%, rgba(0,58,92,0.4) 50%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 40px;
    transition: var(--transition);
}
.project-card:hover img { transform: scale(1.08); }
.project-card:hover .project-overlay { background: linear-gradient(to top, rgba(0,142,176,0.95) 0%, rgba(0,58,92,0.6) 60%, transparent 100%); }
.project-category { display: inline-block; padding: 6px 12px; background: rgba(255,255,255,0.2); backdrop-filter: blur(5px); border-radius: 4px; color: #fff; font-size: 12px; font-weight: 600; margin-bottom: 15px; align-self: flex-start; }
.project-title { color: #fff; font-size: 26px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; transform: translateY(0); transition: var(--transition); }
.project-desc { color: rgba(255,255,255,0.8); font-size: 15px; opacity: 0; transform: translateY(20px); transition: var(--transition); height: 0; overflow: hidden; }
.project-card:hover .project-title { transform: translateY(-10px); }
.project-card:hover .project-desc { opacity: 1; transform: translateY(0); height: auto; margin-bottom: 15px; }
.project-link { color: #fff; font-weight: 600; display: inline-flex; align-items: center; opacity: 0; transform: translateY(20px); transition: var(--transition); }
.project-card:hover .project-link { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }

/* 行业洞察 */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.insight-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: var(--transition); display: flex; flex-direction: column; }
.insight-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.insight-img { height: 250px; overflow: hidden; }
.insight-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.insight-card:hover .insight-img img { transform: scale(1.05); }
.insight-content { padding: 35px; flex-grow: 1; display: flex; flex-direction: column; }
.insight-tag { color: var(--primary-color); font-weight: 700; font-size: 13px; text-transform: uppercase; margin-bottom: 10px; }
.insight-content h4 { font-size: 22px; color: var(--primary-dark); margin-bottom: 15px; line-height: 1.4; transition: var(--transition); }
.insight-card:hover .insight-content h4 { color: var(--primary-color); }
.insight-content p { color: var(--text-muted); font-size: 15px; margin-bottom: 25px; flex-grow: 1; }

/* 页脚高级定制 */
.main-footer { background-color: #001a2c; color: var(--white); padding-top: 100px; position: relative; overflow: hidden; }
.main-footer::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: radial-gradient(circle at top right, rgba(0,142,176,0.1), transparent 70%); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 80px; position: relative; z-index: 2; }
.footer-about .footer-logo { margin-bottom: 30px; filter: brightness(0) invert(1); max-width: 220px; }
.footer-about p { color: rgba(255,255,255,0.6); font-size: 15px; line-height: 1.8; margin-bottom: 30px; padding-right: 40px; }
.footer-heading { font-size: 20px; font-weight: 700; margin-bottom: 30px; color: var(--white); position: relative; padding-bottom: 15px; }
.footer-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--primary-color); }
.footer-links ul li { margin-bottom: 15px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 15px; transition: var(--transition); display: inline-block; }
.footer-links a:hover { color: var(--primary-color); transform: translateX(5px); }
.footer-contact li { display: flex; margin-bottom: 20px; color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.6; }
.footer-contact li strong { color: var(--primary-color); min-width: 60px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 30px 0; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 14px; }
.footer-legal a { color: rgba(255,255,255,0.5); font-size: 14px; margin-left: 20px; transition: var(--transition); }
.footer-legal a:hover { color: var(--primary-color); }

/* 响应式调整 */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 992px) {
    .hero-title { font-size: 48px; }
    .intro-grid { grid-template-columns: 1fr; }
    .insights-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .header-inner { flex-direction: column; height: auto; padding: 20px 0; }
    .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 20px; }
    .dropdown:hover .dropdown-menu { position: static; box-shadow: none; border-top: none; padding-left: 20px; background: transparent; }
    .hero-title { font-size: 36px; }
    .services-grid, .projects-grid, .insights-grid, .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}
