/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    height: 80px;
}

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

.logo img {
    height: 40px;
    margin-right: 10px;
}

.stock-code {
    font-size: 14px;
    color: #666;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0 20px;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0066cc;
    border-bottom: 2px solid #0066cc;
}

.contact-info {
    display: flex;
    align-items: center;
}

.search-icon {
    margin-right: 20px;
    cursor: pointer;
}

.search-icon img {
    width: 20px;
    height: 20px;
}

.phone-numbers {
    font-size: 14px;
    color: #666;
}

.phone-numbers .divider {
    margin: 0 5px;
    color: #999;
}

/* 轮播图样式 */
.carousel {
    position: relative;
    margin-top: 100px;
    width: 100%;
    height: 504px;
    overflow: hidden;
    background: #001529;
}

.carousel-container {
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    /* height: 100%; */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    width: 100%;
    height: 504px;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.slide-content h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 18px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* 轮播图导航按钮 */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 15px;
    border: none;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 2;
}

.carousel-button:hover {
    background: rgba(0, 0, 0, 0.6);
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

/* 轮播图指示点 */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* 服务部分样式 */
.services {
    padding: 80px 0;
    background: #f9f9f9;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

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

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #007bff;
}

/* 联系我们部分样式 */
.contact {
    padding: 80px 0;
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.contact-info {
    text-align: center;
    font-size: 18px;
}

.contact-info p {
    margin-bottom: 15px;
}

/* 页脚样式 */
.footer {
    background-color: #464646;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    padding-left: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-section p {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.contact-number {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.qr-code p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 5px;
}

.technical-support {
    text-align: right;
}

/* 关于页面样式 */
.about-page {
    margin-top: 80px;
    padding: 60px 0;
}

/* 公司介绍页面样式 */
.company-intro {
    padding: 60px 0;
    background: #fff;
}

.intro-header {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    border-left: 4px solid #1053a3;
}

.intro-header h1 {
    font-size: 36px;
    color: #333;
    font-weight: 500;
    position: relative;
    display: inline-block;
    margin: 0;
}

.blue-dot {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    border: 2px solid #1053a3;
    border-radius: 50%;
    opacity: 0.2;
}

.intro-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.text-content {
    color: #666;
    line-height: 2;
    font-size: 16px;
    padding: 0 20px;
    position: relative;
}

.text-content p {
    margin-bottom: 25px;
    text-align: justify;
    letter-spacing: 0.5px;
}

.text-content p:last-child {
    margin-bottom: 0;
}

.image-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
    padding: 0 20px;
}

.showcase-item {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.showcase-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.2));
    pointer-events: none;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* 添加响应式设计 */
@media (max-width: 768px) {
    .image-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .showcase-item {
        height: 300px;
    }

    .intro-header h1 {
        font-size: 28px;
    }

    .text-content {
        font-size: 15px;
        padding: 0 15px;
    }
}

.company-values ul {
    list-style: none;
}

.company-values li {
    margin-bottom: 30px;
}

.company-values h3 {
    color: #007bff;
    margin-bottom: 10px;
}

.team-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.team-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

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

.team-member {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.member-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 50%;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.team-member .position {
    color: #007bff;
    margin-bottom: 15px;
    font-weight: 500;
}

.team-member .description {
    font-size: 16px;
    line-height: 1.6;
}

/* 关于图南部分样式 */
.about-section {
    padding: 40px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #1053a3;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 30px);
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.grid-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


.grid-item:nth-child(1) {
    grid-column: 1 / 7;
    grid-row: 1 / 8;
}

.grid-item:nth-child(2) {
    grid-column: 7 / 13;
    grid-row: 1 / 6;
}

.grid-item:nth-child(3) {
    grid-column: 7 / 13;
    grid-row: 6 / 13;
}

.grid-item:nth-child(4) {
    grid-column: 1 / 7;
    grid-row: 8 / 13;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* 项目案例样式 */
.image-grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.grid-item2 {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.grid-item2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* 图文布局样式 */
.image-text-section {
    display: flex;
    gap: 50px;
    margin: 60px 0;
    align-items: center;
}

.image-text-section.reverse {
    flex-direction: row-reverse;
}

.image-side {
    flex: 1;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.image-side::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.2));
    pointer-events: none;
}

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

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

.text-side {
    flex: 1;
    padding: 20px;
}

.text-side h2 {
    font-size: 28px;
    color: #1053a3;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.text-side h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #1053a3;
}

.text-side p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

/* 优势列表样式 */
.advantage-list, .competitive-list {
    list-style: none;
    padding: 0;
}

.advantage-list li, .competitive-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.advantage-list li::before, .competitive-list li::before {
    content: '•';
    color: #1053a3;
    position: absolute;
    left: 0;
    font-size: 20px;
}

/* 使命愿景部分 */
.vision-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    margin: 60px 0;
}

.vision-section h2 {
    text-align: center;
    color: #1053a3;
    margin-bottom: 30px;
}

.vision-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.vision-item {
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.vision-item h3 {
    color: #1053a3;
    margin-bottom: 15px;
    font-size: 20px;
}

.conclusion {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    font-style: italic;
    color: #555;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .image-text-section {
        flex-direction: column;
        gap: 30px;
    }

    .image-text-section.reverse {
        flex-direction: column;
    }

    .image-side {
        height: 300px;
    }

    .vision-content {
        grid-template-columns: 1fr;
    }
}

/* 页面标题样式 */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-top: 20px;
}

.header-content {
    position: relative;
    display: inline-block;
}

.page-header h1 {
    font-size: 36px;
    color: #333;
    font-weight: 500;
    margin: 0;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 14px;
    color: #1053a3;
    letter-spacing: 2px;
    margin-top: 8px;
    text-transform: uppercase;
    font-weight: 500;
}

.header-line {
    width: 40px;
    height: 3px;
    background: #1053a3;
    margin: 20px auto 0;
    position: relative;
}

.header-line::before,
.header-line::after {
    content: '';
    position: absolute;
    height: 1px;
    background: rgba(16, 83, 163, 0.3);
    top: 1px;
}

.header-line::before {
    width: 80px;
    right: 45px;
}

.header-line::after {
    width: 80px;
    left: 45px;
}

@media (max-width: 768px) {
    .page-header {
        margin-bottom: 40px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .subtitle {
        font-size: 12px;
    }
}

/* 特色内容网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.feature-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.feature-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover img {
    transform: scale(1.08);
}

.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 83, 163, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover::after {
    opacity: 1;
}

/* 项目案例部分 */
.project-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.project-item {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
}

.project-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-item {
        height: 300px;
    }

    .feature-item {
        height: 250px;
    }
}

/* 懒加载图片样式 */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.lazy.loaded {
    opacity: 1;
}

/* 图片占位效果 */
.feature-item, .project-item {
    background: #f5f5f5;
    position: relative;
}

.feature-item::before, .project-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255,255,255,0.3) 50%,
        transparent 100%
    );
    animation: loading 1s infinite;
    display: none;
}

.feature-item.loading::before, .project-item.loading::before {
    display: block;
}

@keyframes loading {
    from {
        left: -100%;
    }
    to {
        left: 150%;
    }
}

/* 入场动画基础样式 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate-fade-up {
    opacity: 1;
    transform: translateY(0);
}

/* 不同方向的入场动画 */
.animate-from-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-from-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-from-bottom {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 动画激活类 */
.animate-active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* 为不同元素设置不同的动画延迟 */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
} 