REDSAIL | Global Logistics & Freight Forwarding Solutions
/* 全局变量 & 基础重置 */
:root {
--primary: #0A3D62;
--primary-light: #1E5F99;
--accent: #FF7A00;
--dark: #1F2937;
--gray-1: #4B5563;
--gray-2: #9CA3AF;
--light-bg: #F3F4F6;
--white: #FFFFFF;
--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 8px 30px rgba(10, 61, 98, 0.12);
--radius: 12px;
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
color: var(--dark);
background-color: var(--light-bg);
line-height: 1.7;
overflow-x: hidden;
}
a {
text-decoration: none;
color: inherit;
transition: var(--transition);
}
ul {
list-style: none;
}
.container {
max-width: 1320px;
margin: 0 auto;
padding: 0 24px;
}
.section-padding {
padding: 90px 0;
}
/* 通用标题样式 */
.section-head {
text-align: center;
margin-bottom: 60px;
}
.section-head h2 {
font-size: 36px;
font-weight: 700;
color: var(--primary);
margin-bottom: 14px;
}
.section-head p {
color: var(--gray-1);
font-size: 16px;
max-width: 680px;
margin: 0 auto;
}
.divider {
width: 70px;
height: 3px;
background: var(--accent);
margin: 16px auto 0;
border-radius: 2px;
}
/* 按钮通用样式 */
.btn {
display: inline-block;
padding: 14px 32px;
border-radius: 6px;
font-weight: 600;
font-size: 15px;
cursor: pointer;
border: none;
transition: var(--transition);
}
.btn-primary {
background: var(--primary);
color: var(--white);
}
.btn-primary:hover {
background: var(--primary-light);
transform: translateY(-3px);
box-shadow: var(--shadow-md);
}
.btn-accent {
background: var(--accent);
color: var(--white);
}
.btn-accent:hover {
opacity: 0.92;
transform: translateY(-3px);
box-shadow: var(--shadow-md);
}
/* 顶部导航 */
.navbar {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 999;
padding: 18px 0;
transition: var(--transition);
}
.navbar.scrolled {
background: var(--white);
box-shadow: var(--shadow-sm);
padding: 12px 0;
}
.nav-wrap {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 28px;
font-weight: 800;
color: var(--white);
letter-spacing: 1px;
}
.navbar.scrolled .logo {
color: var(--primary);
}
.logo span {
color: var(--accent);
}
.nav-menu {
display: flex;
gap: 38px;
}
.nav-menu li a {
font-size: 15px;
font-weight: 500;
color: var(--white);
position: relative;
}
.navbar.scrolled .nav-menu li a {
color: var(--dark);
}
.nav-menu li a::after {
content: "";
position: absolute;
left: 0;
bottom: -6px;
width: 0;
height: 2px;
background: var(--accent);
transition: var(--transition);
}
.nav-menu li a:hover::after {
width: 100%;
}
/* 首屏英雄区 */
.hero {
height: 100vh;
min-height: 650px;
background: linear-gradient(rgba(10, 61, 98, 0.88), rgba(10, 61, 98, 0.88)),
url(https://picsum.photos/id/1055/1920/1080) center/cover no-repeat;
display: flex;
align-items: center;
text-align: center;
color: var(--white);
padding-top: 80px;
}
.hero-content h1 {
font-size: 56px;
line-height: 1.2;
margin-bottom: 24px;
font-weight: 700;
}
.hero-content p {
font-size: 18px;
max-width: 760px;
margin: 0 auto 40px;
opacity: 0.92;
}
.hero-buttons {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 30px;
}
.time-text {
font-size: 14px;
opacity: 0.8;
}
/* 数据亮点模块 */
.stats-section {
background: var(--white);
margin-top: -60px;
position: relative;
z-index: 10;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
padding: 40px;
background: var(--white);
border-radius: var(--radius);
box-shadow: var(--shadow-lg);
}
.stat-item {
text-align: center;
}
.stat-item h3 {
font-size: 42px;
color: var(--primary);
font-weight: 700;
margin-bottom: 8px;
}
.stat-item p {
color: var(--gray-1);
font-size: 15px;
}
/* 轮播图模块 */
.carousel-section {
padding-top: 90px;
}
.carousel-container {
width: 100%;
height: 420px;
border-radius: var(--radius);
overflow: hidden;
position: relative;
box-shadow: var(--shadow-lg);
}
.carousel-track {
width: 300%;
height: 100%;
display: flex;
transition: transform 0.6s ease-in-out;
}
.carousel-track img {
width: 100%;
height: 100%;
object-fit: cover;
}
.carousel-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 52px;
height: 52px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.25);
color: var(--white);
border: none;
font-size: 20px;
cursor: pointer;
transition: var(--transition);
z-index: 10;
}
.carousel-btn:hover {
background: var(--accent);
}
.btn-left {
left: 28px;
}
.btn-right {
right: 28px;
}
.carousel-dots {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 14px;
}
.dot {
width: 15px;
height: 15px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.4);
cursor: pointer;
transition: var(--transition);
}
.dot.active {
background: var(--accent);
transform: scale(1.2);
}
/* 关于我们 */
.about-section {
background: var(--white);
}
.about-content {
max-width: 920px;
margin: 0 auto;
color: var(--gray-1);
font-size: 16px;
}
.about-content p {
margin-bottom: 22px;
}
/* 核心服务卡片 */
.service-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 32px;
}
.service-card {
background: var(--white);
padding: 48px 32px;
border-radius: var(--radius);
box-shadow: var(--shadow-md);
text-align: center;
transition: var(--transition);
}
.service-card:hover {
transform: translateY(-12px);
box-shadow: var(--shadow-lg);
}
.service-icon {
width: 80px;
height: 80px;
line-height: 80px;
border-radius: 50%;
background: rgba(10, 61, 98, 0.08);
color: var(--primary);
font-size: 34px;
margin: 0 auto 26px;
transition: var(--transition);
}
.service-card:hover .service-icon {
background: var(--primary);
color: var(--white);
}
.service-card h3 {
font-size: 22px;
color: var(--primary);
margin-bottom: 16px;
}
.service-card p {
color: var(--gray-1);
font-size: 15px;
}
/* 航线与资讯板块 */
.info-section {
background: var(--white);
}
.info-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 40px;
}
.info-block h3 {
font-size: 22px;
color: var(--primary);
margin-bottom: 24px;
padding-bottom: 12px;
border-bottom: 2px solid #E5E7EB;
}
.news-scroll {
height: 180px;
overflow: hidden;
position: relative;
}
.link-item {
padding: 12px 0;
border-bottom: 1px solid #F3F4F6;
}
.link-item a {
display: flex;
align-items: center;
gap: 10px;
color: var(--gray-1);
font-size: 15px;
}
.link-item a:hover {
color: var(--accent);
padding-left: 6px;
}
/* 弹窗样式 */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
display: none;
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-box {
background: var(--white);
width: 480px;
padding: 48px;
border-radius: var(--radius);
text-align: center;
box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.modal-box i {
font-size: 56px;
color: var(--accent);
margin-bottom: 24px;
}
.modal-box p {
font-size: 17px;
color: var(--gray-1);
margin-bottom: 32px;
}
/* 页脚 */
.footer {
background: var(--primary);
color: var(--white);
padding: 50px 0;
text-align: center;
}
.footer p {
font-size: 14px;
opacity: 0.85;
}
/* 滚动动画 */
.fade-in {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.active {
opacity: 1;
transform: translateY(0);
}
/* 移动端适配 */
@media (max-width: 992px) {
.stats-grid {
grid-template-columns: repeat(2, 1fr);
}
.hero-content h1 {
font-size: 42px;
}
}
@media (max-width: 768px) {
.nav-menu {
display: none;
}
.hero {
height: auto;
padding: 140px 0 80px;
}
.hero-content h1 {
font-size: 32px;
}
.carousel-container {
height: 260px;
}
.section-head h2 {
font-size: 28px;
}
.modal-box {
width: 92%;
padding: 32px 20px;
}
.stats-grid {
grid-template-columns: 1fr;
}
}
Welcome to REDSAIL Global Logistics Your Trusted Partner for Worldwide Shipping & Freight Solutions
Continue Browsing
Reliable Global Logistics & Freight Forwarding Services
We deliver safe, fast and cost-effective shipping solutions across all continents. Professional ocean freight, air freight and one-stop logistics for global clients.
10+
Years Industry Experience
1000+
Cooperative Clients
Our Operation & Fleet
Professional shipping fleet, modern warehouse and complete logistics support system
About REDSAIL
Integrated international freight forwarder based in Guangzhou, China
Guangzhou Redsail International Freight Forwarding Co., Ltd is a comprehensive logistics enterprise focusing on global cargo transportation. Our core business covers full container load, less than container load and bulk cargo export, accompanied by import logistics, warehousing and professional customs brokerage services.
We provide full-chain services including cargo consolidation, vessel booking, inland trucking, terminal handling, commodity inspection and cargo insurance. Our service network covers Europe, Americas, Africa, Australia, Southeast Asia and the Middle East. With stable shipping space and competitive pricing, we serve customers from all over the world.
Adhering to the principle of "Professionalism, Safety, Efficiency", we strive to create customized end-to-end logistics solutions and become your long-term reliable shipping partner.
Our Core Services
Full range of logistics services to meet all your shipping demands
Ocean Freight
FCL & LCL shipping services to global ports, stable space, competitive rates and full tracking support.
Air Freight & Express
Fast air cargo and international express for urgent shipments, worldwide door-to-door delivery.
Customs & Inspection
One-stop customs declaration, commodity inspection and document clearance services.
// 1. 欢迎弹窗
const welcomeModal = document.getElementById('welcomeModal');
const closeModal = document.getElementById('closeModal');
window.onload = () => welcomeModal.style.display = 'flex';
closeModal.addEventListener('click', () => welcomeModal.style.display = 'none');
// 2. 导航栏滚动变色
const navbar = document.getElementById('navbar');
window.addEventListener('scroll', () => {
if (window.scrollY > 50) {
navbar.classList.add('scrolled');
} else {
navbar.classList.remove('scrolled');
}
});
// 3. 实时英文时间
const currentTime = document.getElementById('currentTime');
const weekArr = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
function updateTime() {
const now = new Date();
const y = now.getFullYear();
const m = now.getMonth() + 1;
const d = now.getDate();
const w = weekArr[now.getDay()];
const h = String(now.getHours()).padStart(2, '0');
const mi = String(now.getMinutes()).padStart(2, '0');
const s = String(now.getSeconds()).padStart(2, '0');
currentTime.innerText = `${w}, ${m}/${d}/${y} ${h}:${mi}:${s}`;
}
updateTime();
setInterval(updateTime, 1000);
// 4. 轮播图功能
const carouselTrack = document.getElementById('carouselTrack');
const btnLeft = document.getElementById('btnLeft');
const btnRight = document.getElementById('btnRight');
const dots = document.querySelectorAll('.dot');
let carouselIndex = 0;
const slideNum = dots.length;
function runSlide() {
const width = document.querySelector('.carousel-container').offsetWidth;
carouselTrack.style.transform = `translateX(-${carouselIndex * width}px)`;
dots.forEach((dot, idx) => dot.classList.toggle('active', idx === carouselIndex));
}
btnRight.addEventListener('click', () => {
carouselIndex = (carouselIndex + 1) % slideNum;
runSlide();
});
btnLeft.addEventListener('click', () => {
carouselIndex = (carouselIndex - 1 + slideNum) % slideNum;
runSlide();
});
dots.forEach(dot => {
dot.addEventListener('click', () => {
carouselIndex = Number(dot.dataset.index);
runSlide();
});
});
// 自动轮播 + 悬停暂停
let slideTimer = setInterval(btnRight.click, 3800);
const carouselWrap = document.querySelector('.carousel-container');
carouselWrap.addEventListener('mouseenter', () => clearInterval(slideTimer));
carouselWrap.addEventListener('mouseleave', () => slideTimer = setInterval(btnRight.click, 3800));
// 5. 新闻自动滚动
const newsList = document.getElementById('newsList');
let newsIdx = 0;
const itemHeight = 48;
function autoScrollNews() {
newsIdx++;
newsList.style.transform = `translateY(-${newsIdx * itemHeight}px)`;
if (newsIdx >= 5) {
newsIdx = 0;
newsList.style.transform = 'translateY(0)';
}
}
setInterval(autoScrollNews, 3000);
// 6. 滚动渐入动画
const fadeElements = document.querySelectorAll('.fade-in');
function checkFade() {
fadeElements.forEach(el => {
const top = el.getBoundingClientRect().top;
const windowH = window.innerHeight;
if (top < windowH - 80) {
el.classList.add('active');
}
});
}
window.addEventListener('scroll', checkFade);
window.addEventListener('load', checkFade);