* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    /* padding-top: 80px; */
     /* 根据你的导航条高度调整 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏样式 */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.header-hidden {
    transform: translateY(-100%);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    background: transparent;
}

.logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    background: transparent;
    padding: 5px 0;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4CAF50;
}

/* 每个section都占满屏幕 */
section {
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
}

/* 轮播图样式 */
.hero {
    margin-top: 0;
    height: 100vh;
    position: relative;
    padding-top: 0;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.slide:nth-child(1) {
    background: url('https://images.unsplash.com/photo-1625246333195-78d9c38ad449?w=1600') center/cover;
}

.slide:nth-child(2) {
    background: url('https://images.unsplash.com/photo-1557234195-bd9f290f0e4d?w=1600') center/cover;
}

.slide:nth-child(3) {
    background: url('https://images.unsplash.com/photo-1499529112087-3cb3b73cec95?w=1600') center/cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: 300px;
    height: 100px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.85);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero h1 {
    font-size: clamp(48px, 4.46vw, 85px);
    margin-bottom: 40px;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.hero p {
    font-size: clamp(20px, 1.84vw, 35px);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
    text-align: center;
    width: 100%;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    width: 100%;
    padding: 10px 0;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* 轮播图切换按钮样式 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.5);
}

.slider-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

@media (max-width: 768px) {
    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-btn svg {
        width: 20px;
        height: 20px;
    }

    .prev-btn {
        left: 15px;
    }

    .next-btn {
        right: 15px;
    }
}

/* 公司简介样式 */
.about {
    background: #ffffff;
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #4CAF50;
}

.section-title .subtitle {
    color: #666;
    font-size: 18px;
    max-width: 600px;
    margin: 20px auto 0;
    text-align: center;
    line-height: 1.6;
}

.about-content {
    display: grid;
    grid-template-columns: 635px 1fr;
    gap: 60px;
    align-items: start;
}

.about-images {
    width: 635px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 310px);
    grid-template-rows: repeat(2, 270px);
    gap: 15px;
    width: 635px;
    height: 555px; /* 270px * 2 + 15px gap */
}

.grid-item {
    width: 310px;
    height: 270px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-header h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

.about-description {
    color: #555;
    line-height: 1.8;
    font-size: 18px;
    text-align: justify;
    max-width: 100%;
}

.about-description p {
    margin-bottom: 15px;
    text-indent: 2em;
    text-align: justify;
    word-break: break-all;
    white-space: pre-wrap;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 15px;
    display: inline-block;
}

.feature-item h4 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 1905px) {
    .about-content {
        grid-template-columns: 635px 1fr;
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-images {
        width: 100%;
        max-width: 635px;
        margin: 0 auto;
    }

    .image-grid {
        width: 100%;
        max-width: 635px;
        height: auto;
        margin: 0 auto;
        grid-template-columns: repeat(2, calc(50% - 7.5px));
        grid-template-rows: repeat(2, auto);
    }

    .grid-item {
        width: 100%;
        height: auto;
        aspect-ratio: 310/270;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-header h3 {
        font-size: 24px;
    }
}

/* 产品展示样式 */
.products {
    background: #f9f9f9;
    padding: 120px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-info .product-details {
    margin-top: auto;
}

@media (max-width: 1200px) {
    .product-grid {
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 200px;
    }
}

/* 企业优势样式 */
.advantages {
    background: #f9f9f9;
    min-height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.advantage-card {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #4CAF50;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-icon {
    font-size: 48px;
    color: #4CAF50;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
}

.advantage-card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.advantage-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 1400px) {
    .advantage-grid {
        max-width: 1200px;
        gap: 25px;
        padding: 0 30px;
    }
    
    .advantage-card {
        height: 280px;
        padding: 35px 20px;
    }
}

@media (max-width: 992px) {
    .advantages {
        padding: 80px 0;
    }

    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 20px;
    }

    .advantage-card {
        height: 260px;
    }
}

@media (max-width: 576px) {
    .advantages {
        padding: 60px 0;
    }

    .advantage-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantage-card {
        height: 240px;
        padding: 30px 20px;
    }

    .advantage-icon {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .advantage-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
}

/* 联系方式样式 */
.contact {
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.contact-info {
    padding: 40px;
    background: #f9f9f9;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: justify;
}

.contact-item h3 {
  
    margin-right: 5px;
    width: 90px;
    text-align: justify;
text-align-last: justify;

}
.contact-item span {
   
    margin-right: 5px;
 

}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 28px;
    color: #4CAF50;
    margin-right: 20px;
    min-width: 40px;
    text-align: center;
}

.contact-text {
    flex: 1;
    display: flex;
    align-items: center;
}

.contact-text h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    width: 90px;
    text-align: justify;
    text-align-last: justify;
    margin-right: 20px;
    display: inline-block;
    letter-spacing: 4em;
    text-indent: 0;
}

.contact-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    letter-spacing: 1px;
}

.contact-map {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        padding: 30px;
    }

    .contact-map {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .contact {
        padding: 60px 0;
    }

    .contact-info {
        padding: 25px;
    }

    .contact-item {
        padding: 15px;
        margin-bottom: 20px;
    }

    .contact-icon {
        font-size: 24px;
        margin-right: 15px;
    }

    .contact-text h3 {
        width: 70px;
        font-size: 16px;
        letter-spacing: 3em;
    }

    .contact-text p {
        font-size: 14px;
    }

    .contact-map {
        height: 300px;
    }
}

/* 页脚样式 */
.footer {
    background: #333;
    color: white;
    padding: 50px 0;
    text-align: center;
    min-height: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        height: 100vh;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 28px;
    }
} 