* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

.qyln {
    font-size: 1.6em !important;
    color: #333;
    display: block;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

/* 顶部导航 */
.top-nav {
    background: linear-gradient(90deg, #BD1A2D, #a00);
    color: white;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 2.5rem;
    color: #ffcc00;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
        background: url(/template/images/lm_logo.png) no-repeat;
        text-indent: 30px;
       background-position: left center;
       background-size: 5.5%;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffcc00;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffcc00;
    transition: width 0.3s;
}

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

.current {
    color: #ffcc00 !important;
    font-weight: bold;
}

/* Banner区域 */
.banner {
    background: linear-gradient(rgb(151 19 19 / 80%), rgb(133 45 45 / 80%)), url(../images/qywh_banner.avif);
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.banner-content {
    max-width: 800px;
    padding: 20px;
}

.banner h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
    color: #ffcc00;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* 主体内容 */
.main-content {
    max-width: 1600px;
    margin: 50px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

/*.section-title h2 {
            font-size: 2.5rem;
            color: #bd1a2d;
            display: inline-block;
            padding: 0 20px;
            background: #ffffff;
            position: relative;
            z-index: 2;
        }*/

/* 基础样式定义 */
.section-title {
    --title-color: #bd1a2d;
    --title-bg: #ffffff;
    --title-width: 260px;
    --title-font-size: 2.5rem;
    --title-padding: 0 20px;
}

/* 使用CSS变量 */
.section-title h2 {
    font-size: var(--title-font-size);
    color: var(--title-color);
    background: var(--title-bg);
    padding: var(--title-padding);
    width: var(--title-width);
    z-index: 2;
    margin: auto;
    position: relative;
}

/* 定制样式 - 只需覆盖变量值 */
.section-title2 {
    --title-color: #ffffff;
    --title-bg: #b05e5e;
}

.section-title3 {
    --title-bg: rgb(245 247 250);
    --title-width: 310px;
}

.purple-title {
    --title-color: #6a0dad;
    --title-bg: #f0e6ff;
    --title-font-size: 2.8rem;
}

.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #bd1a2d, transparent);
    z-index: 1;
}

/* 企业理念 */
.concept {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
}

.concept-content {
    display: flex;
    gap: 40px;
}

.concept-text {
        display: flex;
        align-items: center;
    flex: 1;
}

.concept-text h3 {
    font-size: 1.8rem;
    color: #1a2a6c;
    margin-bottom: 20px;
}

.concept-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.concept-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.concept-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

/* 企业精神 */
.spirit {
    /*background: linear-gradient(135deg, #1a2a6c, #2a4a9c);*/
    background: linear-gradient(rgb(151 19 19 / 80%), rgb(133 45 45 / 80%));
    border-radius: 15px;
    padding: 60px 40px;
    margin-bottom: 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.spirit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/qyjs_banner.avif');
    background-size: cover;
    opacity: 0.15;
}

.spirit-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.spirit-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.spirit-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.spirit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffcc00;
}

.spirit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.spirit-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* 核心价值观 */
.values {
    margin-bottom: 60px;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.value-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.value-header {
    background: #bd1a2d;
    color: white;
    padding: 20px;
    text-align: center;
}

.value-header h3 {
    font-size: 1.6rem;
}

.value-body {
    padding: 25px;
}

.value-body p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* 文化动态 */
.culture-news {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.news-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    background: white;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-date {
    color: #1a2a6c;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1a2a6c;
}

.news-excerpt {
    color: #555;
    margin-bottom: 15px;
    text-indent: 2em;
}

.read-more {
    display: inline-block;
    color: #1a2a6c;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: #ffcc00;
}

/* 底部 */
.footer {
    background: #BD1A2D;
    color: white;
    padding: 40px 0 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 160px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffcc00;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #ffcc00;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffcc00;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}
        .copyright a {
       color: rgba(255, 255, 255, 0.7);
       text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.6rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .banner h1 {
        font-size: 2.5rem;
    }

    .banner p {
        font-size: 1.1rem;
    }

    .concept-content {
        flex-direction: column;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .qyln {
        font-size: 1em !important;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .banner {
        height: 350px;
    }

    .banner h1 {
        font-size: 2rem;
    }
}
