/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

/* 全局变量（方便后续修改配色） */
:root {
    --primary-color: #1E3A8A;
    --secondary-color: #D4AF37;
    --bg-light-color: #F5F7FA;
    --bg-white-color: #FFFFFF;
    --text-dark-color: #333333;
    --text-middle-color: #666666;
    --text-light-color: #999999;
    --shadow-normal: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(30, 58, 138, 0.12);
    --max-width: 1200px;
}

/* 页面基础样式 */
body {
    background-color: var(--bg-light-color);
    color: var(--text-dark-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. 顶部固定导航栏 */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white-color);
    box-shadow: var(--shadow-normal);
    z-index: 999;
    transition: background-color 0.3s ease;
}

.header-nav .nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo .logo-box {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3B5BA8 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.nav-logo .logo-text {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 40px;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-dark-color);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.nav-menu li a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-contact-btn {
    background-color: var(--primary-color);
    color: var(--bg-white-color);
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-contact-btn:hover {
    background-color: #162D6B;
    box-shadow: 0 4px 8px rgba(30, 58, 138, 0.2);
}

/* 语言选择器样式 */
.nav-language {
    margin-right: 20px;
}

.language-select {
    padding: 8px 12px;
    border: 1px solid #E8E8E8;
    border-radius: 6px;
    background-color: var(--bg-white-color);
    color: var(--text-dark-color);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.language-select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(30, 58, 138, 0.1);
}

.language-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* 2. 头部Hero横幅区 */
.hero-section {
    margin-top: 80px;
    height: calc(100vh - 80px);
    min-height: 600px;
    background: linear-gradient(120deg, var(--primary-color) 0%, rgba(30, 58, 138, 0.9) 100%), url("https://picsum.photos/1920/1080?blur=2") center center / cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--bg-white-color);
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 700px;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--bg-white-color);
    text-decoration: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.hero-btn:hover {
    background-color: #BFA02F;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

/* 3. 核心业务板块 */
.business-section {
    padding: 120px 0;
    background-color: var(--bg-white-color);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title .title-sm {
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.section-title .title-lg {
    font-size: 36px;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.section-title .title-lg::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.business-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.business-card {
    background-color: var(--bg-light-color);
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(30, 58, 138, 0.1);
}

.card-icon {
    width: 72px;
    height: 72px;
    background-color: rgba(30, 58, 138, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-color);
    font-size: 32px;
}

.card-title {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 16px;
}

.card-desc {
    font-size: 15px;
    color: var(--text-middle-color);
    line-height: 1.8;
    margin-bottom: 24px;
}

.card-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.card-more:hover {
    color: #162D6B;
}

.card-more i {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.card-more:hover i {
    transform: translateX(4px);
}

/* 4. 关于我们板块 */
.about-section {
    padding: 120px 0;
    background-color: var(--bg-light-color);
    display: flex;
    align-items: center;
}

.about-wrap {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-img {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-normal);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-content {
    flex: 1;
}

.about-content .title {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 24px;
}

.about-content .desc {
    font-size: 16px;
    color: var(--text-middle-color);
    line-height: 1.8;
    margin-bottom: 36px;
}

.about-advantages {
    list-style: none;
    margin-bottom: 36px;
}

.about-advantages li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-dark-color);
}

.about-advantages li i {
    color: var(--secondary-color);
    font-size: 20px;
    margin-right: 12px;
}

.about-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white-color);
    text-decoration: none;
    border-radius: 6px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background-color: #162D6B;
    box-shadow: 0 4px 8px rgba(30, 58, 138, 0.2);
}

/* 5. 荣誉资质板块 */
.honor-section {
    padding: 120px 0;
    background-color: var(--bg-white-color);
}

.honor-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.honor-item {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 20px 0;
}

.honor-item img {
    height: 60px;
    margin-bottom: 16px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.honor-item:hover img {
    opacity: 1;
}

.honor-item .name {
    font-size: 14px;
    color: var(--text-middle-color);
}

/* 6. 联系我们板块 */
.contact-section {
    padding: 120px 0;
    background-color: var(--primary-color);
    color: var(--bg-white-color);
}

.contact-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.contact-info .title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 36px;
}

.contact-info .info-list {
    list-style: none;
    margin-bottom: 48px;
}

.contact-info .info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    font-size: 16px;
}

.contact-info .info-list li i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-right: 16px;
    margin-top: 4px;
}

.contact-info .social-links {
    display: flex;
    gap: 16px;
}

.contact-info .social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white-color);
    font-size: 18px;
    transition: all 0.3s ease;
}

.contact-info .social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-form {
    background-color: var(--bg-white-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-normal);
}

.contact-form .form-title {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.form-item {
    margin-bottom: 24px;
}

.form-item label {
    display: block;
    font-size: 14px;
    color: var(--text-dark-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-item input, .form-item textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-dark-color);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-item input:focus, .form-item textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-item textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.form-submit-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--bg-white-color);
    border: none;
    border-radius: 8px;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit-btn:hover {
    background-color: #162D6B;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

/* 7. 底部版权栏 */
.footer {
    padding: 60px 0 30px;
    background-color: #162D6B;
    color: rgba(255, 255, 255, 0.7);
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo .logo-text {
    font-size: 20px;
    color: var(--bg-white-color);
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.footer-menu li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-menu li a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    font-size: 13px;
}

i {
    font-style: normal;
}

/* WhatsApp二维码 */
.whatsapp-qr {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
}

.qr-container {
    background-color: var(--bg-white-color);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-hover);
    text-align: center;
    transition: all 0.3s ease;
}

.qr-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 58, 138, 0.15);
}

.qr-img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.qr-img:hover {
    opacity: 0.9;
}

.qr-text {
    font-size: 14px;
    color: var(--text-dark-color);
    margin: 0;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .whatsapp-qr {
        right: 10px;
    }
    
    .qr-container {
        padding: 12px;
    }
    
    .qr-img {
        width: 150px;
        height: 150px;
    }
    
    .qr-text {
        font-size: 13px;
    }
}
