/* =================== 广州市光键化工有限公司 - 蓝色主题样式 =================== */

/* 全局链接颜色 */
a {
    color: #1565c0;
}
a:hover {
    color: #0d47a1;
    text-decoration: none;
}

/* 幻灯片 */
.slideshow {
    height: 300px;
    object-fit: cover;
}

/* 导航栏改为深蓝 */
.navbar {
    background-color: #0a2540 !important;
    box-shadow: 0 2px 10px rgba(10, 37, 64, 0.3) !important;
}
.navbar-dark .navbar-brand,
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #64b5f6 !important;
}
.navbar-dark .navbar-toggler {
    border-color: rgba(255,255,255,0.3);
}
/* 导航栏字号还原为默认，但禁用换行（小屏会自动转为汉堡菜单） */
.navbar-dark .navbar-nav .nav-link { white-space: nowrap; }
#navbarNav { flex-wrap: nowrap; }
.navbar-nav { flex-wrap: nowrap; }
.navbar-dark .navbar-text a {
    color: rgba(255,255,255,0.8) !important;
}
.navbar-dark .navbar-text a:hover {
    color: #64b5f6 !important;
}

/* 按钮统一为蓝色系 */
.btn-info,
.btn-primary {
    background-color: #1565c0 !important;
    border-color: #1565c0 !important;
}
.btn-info:hover,
.btn-primary:hover {
    background-color: #0d47a1 !important;
    border-color: #0d47a1 !important;
}
.btn-danger {
    background-color: #c62828 !important;
    border-color: #c62828 !important;
}
.btn-light {
    background-color: #e3f2fd !important;
    border-color: #90caf9 !important;
    color: #1565c0 !important;
}
.btn-light:hover {
    background-color: #bbdefb !important;
}

/* 分页颜色改为蓝色 */
.page-num, .page-link {
    color: #1565c0;
}
.page-num-current {
    background-color: #1565c0;
    border-color: #1565c0;
}

/* Footer改为深蓝 */
.footer {
    background-color: #0a2540 !important;
    color: rgba(255,255,255,0.7) !important;
}
.footer h5 {
    color: #64b5f6;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.footer a {
    color: rgba(255,255,255,0.8) !important;
}
.footer a:hover {
    color: #64b5f6 !important;
}
.copyright {
    color: rgba(255,255,255,0.5) !important;
    border-top-color: rgba(255,255,255,0.1) !important;
    padding: 15px 0;
}

/* 在线客服改为深蓝 */
.online dl {
    background: #0d47a1;
}
.online dl:hover {
    background: #0a2540;
}
.online dl dt button {
    background: #1565c0;
}

/* 手机底部导航改为深蓝 */
.bg-info.fixed-bottom {
    background-color: #0a2540 !important;
}

/* 首页各区块标题颜色统一为蓝色 */
.text-success,
.text-info,
.text-warning {
    color: #0d47a1 !important;
}

/* 背景区块颜色调整 */
.bg-light {
    background-color: #e3f2fd !important;
}

/* 内页Banner标题增强 */
.jumbotron {
    position: relative;
    border-radius: 0;
    background: linear-gradient(135deg, #0d47a1 0%, #0a2540 100%) !important;
}
.jumbotron .container {
    position: relative;
    z-index: 2;
}

/* 面包屑/位置导航 */
.position a {
    color: #1565c0;
}

/* 卡片Hover效果 */
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(13, 71, 161, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(13, 71, 161, 0.2);
}

/* 产品轮播指示器 */
.preview .active-nav {
    border-color: #1565c0;
}

/* Badge颜色调整 */
.badge-info {
    background-color: #1565c0;
}
.badge-danger {
    background-color: #c62828;
}
.badge-warning {
    background-color: #f57c00;
}

/* 新闻列表图标 */
.fa-gg {
    color: #1565c0;
}

/* 新闻中心列表样式 */
.news-list-item {
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 15px;
    line-height: 1.6;
}
.news-list-item i.fa-link {
    color: #1565c0;
    margin-right: 8px;
    font-size: 14px;
}
.news-list-item a {
    color: #333;
    text-decoration: none;
}
.news-list-item a:hover {
    color: #1565c0;
    text-decoration: none;
}
.news-list-item .badge-danger {
    font-size: 12px;
    padding: 2px 6px;
    margin-left: 8px;
    vertical-align: middle;
}

/* 搜索框聚焦 */
.form-control:focus {
    border-color: #1565c0;
    box-shadow: 0 0 0 0.2rem rgba(21, 101, 192, 0.25);
}

/* 首页四大模块卡片增强 */
.home-section-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #1565c0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.home-section-card .icon-box,
.home-section-card h3 {
    flex-shrink: 0;
}
.home-section-card p {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.home-section-card .btn {
    flex-shrink: 0;
    margin-top: auto;
}
.home-section-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(13, 71, 161, 0.15);
}
.home-section-card .icon-box {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: #e3f2fd;
    color: #1565c0;
    font-size: 28px;
    margin: 0 auto 20px;
}
.home-section-card h3 {
    color: #0a2540;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}
.home-section-card p {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

/* 首页顶部Banner区域 */
.hero-section {
    background: linear-gradient(135deg, #0d47a1 0%, #0a2540 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
}
.hero-section h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}
.hero-section p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 产品说明书列表样式 */
.manual-list-item {
    padding: 20px;
    border-left: 4px solid #1565c0;
    background: #f8fbff;
    margin-bottom: 15px;
    transition: all 0.3s;
}
.manual-list-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}
.manual-list-item h5 {
    color: #0a2540;
    margin-bottom: 8px;
}
.manual-list-item p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* 商标展示卡片 */
.trademark-card {
    border: 2px solid #e3f2fd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background: #fff;
    transition: all 0.3s;
}
.trademark-card:hover {
    border-color: #1565c0;
    box-shadow: 0 8px 25px rgba(21, 101, 192, 0.15);
}
.trademark-card .trademark-name {
    font-size: 24px;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 10px;
}
.trademark-card .trademark-desc {
    color: #666;
    font-size: 14px;
}

/* 联系方式区域 */
.contact-section {
    background: linear-gradient(135deg, #0d47a1 0%, #0a2540 100%);
    color: #fff;
    padding: 60px 0;
}
.contact-section h3 {
    color: #fff;
    margin-bottom: 30px;
}
.contact-section .contact-item {
    margin-bottom: 20px;
    font-size: 18px;
}
.contact-section .contact-item i {
    margin-right: 10px;
    color: #64b5f6;
}
.contact-section .phone-big {
    font-size: 32px;
    font-weight: 700;
    color: #64b5f6;
}

/* =================== 关于我们区块样式 =================== */
.about-section {
    background: linear-gradient(180deg, #eef3f8 0%, #dce6f0 100%);
    position: relative;
    overflow: hidden;
}
.about-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(21,101,192,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

/* 标题区 */
.about-title-en {
    font-size: 14px;
    letter-spacing: 6px;
    color: #90caf9;
    font-weight: 500;
    margin-bottom: 8px;
}
.about-title-cn {
    font-size: 32px;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}
.about-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
}
.about-title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1565c0, #64b5f6);
    margin: 0 auto;
    border-radius: 2px;
}

/* 主体内容卡片容器 */
.about-main-card {
    background: #fff;
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 8px 40px rgba(13,71,161,0.1);
    position: relative;
    overflow: hidden;
    border-top: 4px solid #1565c0;
}
.about-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1565c0, #64b5f6, #1565c0);
    border-radius: 16px 16px 0 0;
}
.about-main-body {
    max-width: 900px;
    margin: 0 auto;
}

.about-heading {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}
.about-desc {
    font-size: 15px;
    line-height: 1.9 !important;
    text-align: center;
}

/* 核心优势卡片 - 4列布局 */
.about-advantages {
    margin-top: 20px;
}
.about-adv-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: #f8fbff;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e3f2fd;
    height: 100%;
}
.about-adv-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(13,71,161,0.12);
    background: #fff;
    border-color: #1565c0;
}
.about-adv-item i {
    font-size: 28px;
    margin-bottom: 10px;
}
.about-adv-title {
    font-size: 15px;
    font-weight: 600;
    color: #0a2540;
    margin-bottom: 4px;
}
.about-adv-desc {
    font-size: 12px;
    color: #888;
}

/* 查看更多按钮 */
.btn-about-more {
    padding: 12px 28px;
    font-size: 15px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(21,101,192,0.3);
}
.btn-about-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21,101,192,0.4);
}

/* 数据亮点 */
.about-stats {
    background: #fff;
    border-radius: 12px;
    padding: 30px 15px;
    box-shadow: 0 6px 25px rgba(13,71,161,0.1);
    position: relative;
    z-index: 2;
}
.about-stat-card {
    text-align: center;
    padding: 10px 5px;
    position: relative;
}
.about-stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(180deg, transparent, #e3f2fd, transparent);
}
.about-stat-num {
    font-size: 36px;
    font-weight: 700;
    color: #0d47a1;
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Arial', sans-serif;
}
.about-stat-num span {
    font-size: 22px;
    color: #64b5f6;
    margin-left: 2px;
}
.about-stat-label {
    font-size: 14px;
    color: #666;
    letter-spacing: 1px;
}

/* 响应式调整 */
@media (max-width: 991px) {
    .about-stat-card:not(:last-child)::after {
        display: none;
    }
    .about-stat-card:nth-child(1)::after,
    .about-stat-card:nth-child(2)::after {
        display: block;
        right: 0;
    }
}
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 15px 40px;
    }
    .hero-section h1 {
        font-size: 24px;
    }
    .hero-section p {
        font-size: 14px;
    }
    .home-section-card {
        margin-bottom: 20px;
    }
    .about-title-cn {
        font-size: 26px;
    }
    .about-main-card {
        padding: 30px 20px;
    }
    .about-heading {
        font-size: 20px;
    }
    .about-stat-num {
        font-size: 28px;
    }
    .about-stat-num span {
        font-size: 18px;
    }
    .about-stats {
        padding: 20px 10px;
    }
    .about-adv-item {
        padding: 10px 12px;
    }
    .about-adv-title {
        font-size: 14px;
    }
}
