﻿/* ===== 重置和基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 品牌色 */
    --primary-color: #0066FF; /*蓝色*/
    --primary-hover: #0052CC; /*暗蓝*/
    /* 文字色 */
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-muted: #666666;
    --text-white: #FFFFFF;
    /* 背景色 */
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;
    --bg-banner-start: #E6F3FF;
    --bg-banner-end: #FFFFFF;
    --bg-footer: #1A202C;
    /* 间距 */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    /* 字体 */
    --font-xs: 12px;
    --font-sm: 14px;
    --font-base: 16px;
    --font-lg: 18px;
    --font-xl: 20px;
    --font-2xl: 24px;
    --font-3xl: 28px;
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== 通用容器 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
}

    .btn-primary:hover {
        background: var(--primary-hover);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

    .btn-outline:hover {
        background: var(--primary-color);
        color: var(--text-white);
    }

.btn-arrow {
    font-size: var(--font-lg);
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ===== 导航栏 ===== */
.navbar {
    /*background: var(--bg-white);*/
    background: linear-gradient(90deg, #008BFF, #003EFF, #0054FF);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    /*padding: var(--spacing-md) 0;*/
    /*padding:10px 0;*/
    color: white;
}

    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1400px;
    }

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-icon {
    width: 140px;
    height: 45px;
    background: url('/images2/logo@2x(1).png') no-repeat;
    background-size: 140px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-spilt {
    background: url('/images2/split 5@2x(1).png') no-repeat;
    background-size: 1px 60px;
    width: 2px;
    height: 50px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-slogan {
    font-size: var(--font-lg);
    font-weight: 500;
    color: white;
}

.navbar-nav {
    display: flex;
    /*gap: var(--spacing-xl);*/
}

.nav-link {
    text-decoration: none;
    /*color: var(--text-secondary);*/
    font-size: var(--font-sm);
    transition: color 0.3s ease;
    position: relative;
    color: white;
    display: inline-block;
    padding: 40px 30px;
    border: 1px solid transparent;
    transition: border-color 0.2s;
    /*width: 40px;*/
    /*
    height: 80px;*/
}

    .nav-dropdown:hover > .nav-link,
    .nav-link:hover,
    .nav-link.active {
        /*color: var(--primary-color);*/
        color: var(--primary-color);
        background-color: white;
        /*border: 1px solid var(--primary-color);*/
        /*box-shadow: inset 0 -2px 0 #4a6fa5;*/
        border-color: var(--primary-color);
    }

/*.nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--primary-color);
        }*/

.navbar-contact {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: white;
}

.contact-label {
    font-size: var(--font-sm);
    /*color: var(--text-muted);*/
}

.contact-phone {
    font-size: var(--font-base);
    font-weight: 600;
    /*color: var(--primary-color);*/
}

/* ===== 区块标题 ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: var(--font-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: var(--primary-color);
    }

.section-subtitle {
    font-size: var(--font-sm);
    color: var(--text-muted);
    margin-top: var(--spacing-2xl);
}

/* ===== Banner区 ===== */
/*主轮播区域 (全屏视差) */
.swiper {
    width: 100%;
    height: 80vh;
    position: relative;
    z-index: 1;
}

/* 每个slide 作为背景容器，并添加深色遮罩增强文字可读性 */
.swiper-slide {
    position: relative;
    /*background-size: cover;*/
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* 暗色渐变遮罩 (更富层次感，而非单纯黑色覆盖) */
    .swiper-slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*background: linear-gradient(135deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.45) 100%);*/
        z-index: 1;
        pointer-events: none;
    }

    /* 额外细腻的径向光晕，增加氛围 */
    .swiper-slide::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
        z-index: 1;
        pointer-events: none;
    }

/* 内容容器，位于遮罩之上，并使用视差效果 */
.slide-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    text-align: center;
    color: #fff;
    transform: translateY(-2vh); /* 微调居中感 */
    width: 100%;
}

.slide-title {
    font-size: clamp(3rem, 12vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    animation: fadeUp 0.8s ease-out;
}

.slide-subtitle {
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
    color: rgba(255,255,255,0.95);
}

.slide-btn {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(4px);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 10px 20px -8px rgba(0,0,0,0.3);
}

    .slide-btn:hover {
        background: #fff;
        color: #0b0b0b;
        border-color: #fff;
        transform: scale(1.05);
        box-shadow: 0 20px 30px -8px rgba(0,0,0,0.5);
    }

/* 简单动画辅助 */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 自定义导航按钮样式 (大气、半透明、悬浮放大) */
.swiper-button-prev,
.swiper-button-next {
    color: white !important;
    background: rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(6px);
    width: 56px !important;
    height: 56px !important;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin-top: -28px; /* 垂直居中调整 */
}

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 1.5rem !important;
        font-weight: 600;
    }

    .swiper-button-prev:hover,
    .swiper-button-next:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.6);
        transform: scale(1.15);
    }

/* 分页器 (圆点大气风格) */
.swiper-pagination {
    bottom: 30px !important;
    z-index: 20;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    margin: 0 8px !important;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.swiper-pagination-bullet-active {
    width: 32px;
    background: #ffffff;
    box-shadow: 0 0 20px #ffffffcc;
}

