/* ======================
   全局设置 + 平滑滚动
====================== */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #003366;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #002244;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: bold;
}

.section-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

/* 图标统一居中 */
.icon i {
    display: block;
    margin: 0 auto 15px;
}

/* ======================
   HEADER & NAV
====================== */
header {
    background-color: white;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    color: #003366;
    font-size: 24px;
    font-weight: bold;
}

.nav-links a {
    margin-left: 40px;
    color: #666;
    font-size: 16px;
}

.nav-links a:hover {
    color: #003366;
}

/* ======================
   BANNER
====================== */
.banner {
    height: 600px;
    background-image: url('../images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 0, 0.5);*/
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: bold;
}

.banner p {
    font-size: 18px;
    margin-bottom: 20px;
}

.tagline {
    background-color: #003366;
    color: white;
    padding: 10px 30px;
    font-size: 18px;
    margin-bottom: 30px;
    display: inline-block;
}

.cta-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    justify-content: center;
}

.cta-card {
    background: white;
    width: 360px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.cta-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.cta-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* ======================
   SERVICES
====================== */
.services {
    background-color: #f8f9fa;
}

.services-content-layout {
    display: flex;
    gap: 60px;
    margin-top: 30px;
    align-items: flex-start;
}

.services-text {
    flex: 1.3;
    min-width: 320px;
}

.intro-text {
    font-size: 14px;
    line-height: 36px;
    display: inline-block;
    color: rgb(153, 153, 153);
    margin-bottom: 20px;
}

.services-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 25px;
}

.service-item {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    min-height: 190px;
}

.service-item:hover {
    background-color: #003366;
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.service-item:hover i,
.service-item:hover h3,
.service-item:hover p {
    color: white !important;
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.service-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* ======================
   WAREHOUSES
====================== */
.warehouses {
    background-color: #fff;
}

.warehouse-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.warehouse-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    overflow: hidden;
}

.warehouse-img {
    width: 100%;
    height: auto;
    display: block;
}

.warehouse-content {
    padding: 20px;
}

.warehouse-content h3 {
    color: #003366;
    margin-bottom: 10px;
}

.warehouse-content p {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.map-section {
    margin-top: 60px;
}

.map-placeholder img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* ======================
   ABOUT
====================== */
.about {
    background-color: white;
}

.about-content-wrapper {
    display: flex;
    padding: 60px 0;
}

.about-img {
    width: 50%;
}

.about-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-content {
    width: 50%;
    padding: 40px;
    box-sizing: border-box;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 32px;
    color: #003366;
}

.stat p {
    color: #666;
    font-size: 14px;
}

/* ======================
   WHY CHOOSE US
====================== */
.why-choose-us {
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    text-align: center;
}

.feature-card h3 {
    color: #003366;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    font-size: 14px;
}

/* ======================
   CONTACT
====================== */
.contact-section {
    background-color: #003366;
    color: white;
    text-align: center;
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: white;
}

.contact-content {
    padding: 60px 0;
}

.contact-content h3 {
    margin-bottom: 20px;
}

.contact-content p {
    margin-bottom: 30px;
    font-size: 18px;
}

.contact-content .btn {
    background-color: white;
    color: #003366;
}

/* ======================
   FOOTER
====================== */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 60px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-menu a {
    color: #ccc;
    margin-right: 40px;
}

.footer-menu a:hover {
    color: white;
}

.footer-logo {
    font-size: 32px;
    font-weight: bold;
    color: white;
}

.footer-logo span {
    color: #003366;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    color: #ccc;
    font-size: 14px;
}

.footer-info a {
    color: #ccc;
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 992px) {
    .cta-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-card {
        width: 90%;
        max-width: 360px;
    }
}

@media (max-width: 768px) {
    .banner h1 {
        font-size: 32px;
    }

    .about-content-wrapper,
    .services-content-layout {
        flex-direction: column;
    }

    .about-img,
    .about-content,
    .services-text,
    .services-media-and-cards {
        width: 90%;
    }

    .about-content {
        padding: 20px;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
    }

    .warehouse-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* 图片轮播基础样式 */
.image-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    height: auto;
}

/* 显示当前活动的图片 */
.slide.active {
    display: block;
}

/*轮播图样式开始
/* 轮播图容器 */
        .gallery-container {
            position: relative;
            width: 100%;
            height: 300px;
            overflow: hidden;
            border-radius: 8px;
            margin-bottom: 15px;
        }

        /* 轮播图图片 */
        .gallery-slides {
            display: none;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .gallery-slides.active {
            display: block;
            animation: fadeIn 0.5s;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* 左右导航按钮 */
        .gallery-nav {
            position: absolute;
            top: 50%;
            width: auto;
            margin-top: -22px;
            padding: 16px;
            color: white;
            font-weight: bold;
            font-size: 18px;
            transition: 0.6s ease;
            border-radius: 0 3px 3px 0;
            user-select: none;
            background-color: rgba(0,0,0,0.3);
            cursor: pointer;
        }

        .gallery-nav.prev {
            left: 0;
            border-radius: 0 3px 3px 0;
        }

        .gallery-nav.next {
            right: 0;
            border-radius: 3px 0 0 3px;
        }

        .gallery-nav:hover {
            background-color: rgba(0,0,0,0.5);
        }

        /* 指示器圆点 */
        .gallery-dots {
            text-align: center;
            padding: 10px 0;
        }

        .gallery-dot {
            display: inline-block;
            height: 12px;
            width: 12px;
            margin: 0 5px;
            background-color: #bbb;
            border-radius: 50%;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .gallery-dot.active {
            background-color: #003366;
        }

        .gallery-dot:hover {
            background-color: #717171;
        }

/*轮播图样式结束 */

.services-grid-subpage {
            display: grid;
            grid-template-columns: repeat(5, 2fr);
            gap: 25px;
        }

