/* 全局样式 */
body {
    font-family: "思源黑体", "Montserrat", sans-serif;
    color: #333;
}

/* 导航栏样式 */
.navbar {
    background-color: #0A2463 !important; /* 深海蓝 */
}

.btn-primary {
    background-color: #0A2463 !important;
    border-color: #0A2463 !important;
}

.btn-warning {
    background-color: #D4AF37 !important; /* 金属金 */
    border-color: #D4AF37 !important;
}

/* Banner样式 */
.carousel-item img {
    height: 80vh;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 8px;
}

/* 产品入口样式 */
.product-entry .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-entry .card:hover {
    transform: translateY(-5px);
}

/* 优势样式 */
.advantages i {
    color: #0A2463;
}

/* 热门产品样式 */
.hot-products .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hot-products .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* 询盘区样式 */
.inquiry {
    background-color: #0A2463 !important;
}

/* 页脚样式 */
footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

/* 定制流程板块（蓝色底） */
.custom-process {
    background-color: #0A2463; /* 深海蓝底 */
    color: #fff;
    padding: 80px 0;
}

.custom-process h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    color: #D4AF37; /* 金属金标题 */
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: rgba(255,255,255,0.2);
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #D4AF37; /* 金属金图标背景 */
    color: #0A2463;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.step-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    max-width: 200px;
    margin: 0 auto;
}

/* 公司简介板块 */
.company-intro {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.company-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #0A2463;
    text-align: center;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-img {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.intro-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.intro-text {
    flex: 1;
}

.intro-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0A2463;
    margin-bottom: 20px;
}

.intro-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.intro-text .btn-primary {
    background-color: #0A2463;
    border-color: #0A2463;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.intro-text .btn-primary:hover {
    background-color: #D4AF37;
    border-color: #D4AF37;
    color: #000;
}

/* 新闻与博客板块 */
.news-blog {
    padding: 80px 0;
}

.news-blog h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #0A2463;
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
    background-color: #fff;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-body {
    padding: 25px;
}

.news-date {
    font-size: 0.85rem;
    color: #D4AF37;
    margin-bottom: 10px;
    display: block;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0A2463;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-desc {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.news-link {
    color: #0A2463;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: #D4AF37;
}

/* ========== 定制流程板块（参考风格优化） ========== */
.custom-process {
    background: linear-gradient(135deg, #0A2463 0%, #0c3080 100%);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* 背景装饰元素 */
.custom-process::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("assets/images/decor/dot-pattern.png") repeat;
    opacity: 0.05;
    z-index: 1;
}

.custom-process h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 80px;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
}

.custom-process h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #D4AF37;
    margin: 20px auto 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

/* 流程连接线 */
.process-steps .step-line {
    position: absolute;
    top: 45px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37, rgba(212, 175, 55, 0.3));
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 15px;
    z-index: 2;
}

/* 步骤数字背景 */
.step-number {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37 0%, #e6c860 100%);
    color: #0A2463;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 auto 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    position: relative;
}

.step-number::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    top: -5px;
    left: -5px;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: 0.5px;
}

.step-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    max-width: 220px;
    margin: 0 auto;
}

/* ========== 关于我们板块（参考风格优化） ========== */
.company-intro {
    padding: 120px 0;
    background-color: #fff;
}

.company-intro h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 80px;
    color: #0A2463;
    text-align: center;
    position: relative;
}

.company-intro h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #D4AF37;
    margin: 20px auto 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(10, 36, 99, 0.1);
    position: relative;
}

.intro-img::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid #D4AF37;
    border-radius: 16px;
    z-index: -1;
}

.intro-img img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.intro-img:hover img {
    transform: scale(1.05);
}

.intro-text {
    padding: 0 20px;
}

.intro-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #0A2463;
    margin-bottom: 30px;
    line-height: 1.3;
}

.intro-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

/* 特色列表 */
.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.intro-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.intro-feature-item i {
    color: #D4AF37;
    font-size: 1.2rem;
}

.intro-feature-item span {
    color: #444;
    font-weight: 500;
}

.intro-text .btn-primary {
    background: linear-gradient(135deg, #0A2463 0%, #0c3080 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(10, 36, 99, 0.1);
}

.intro-text .btn-primary:hover {
    background: linear-gradient(135deg, #D4AF37 0%, #e6c860 100%);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(212, 175, 55, 0.2);
}

/* ========== 新闻博客板块（参考风格优化） ========== */
.news-blog {
    padding: 120px 0;
    background-color: #f9fafb;
}

.news-blog h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 80px;
    color: #0A2463;
    text-align: center;
    position: relative;
}

.news-blog h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #D4AF37;
    margin: 20px auto 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-card {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 36, 99, 0.05);
    transition: all 0.4s ease;
    position: relative;
}

/* 卡片角标 */
.news-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #D4AF37 0%, #e6c860 100%);
    border-radius: 0 0 60px 0;
    z-index: 1;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 36, 99, 0.1);
}

.news-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

.news-body {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.news-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
    display: block;
    font-weight: 500;
}

.news-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0A2463;
    margin-bottom: 20px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.news-card:hover .news-title {
    color: #D4AF37;
}

.news-desc {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 25px;
}

.news-link {
    color: #0A2463;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.news-link i {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: #D4AF37;
}

.news-link:hover i {
    transform: translateX(5px);
}