/* 首页样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: #333;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

/* 顶部导航 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #E38426;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

.navbar .logo span {
    color: #ffc107;
}

.navbar .nav-menu {
    list-style: none;
    display: flex;
    gap: 40px;
}

.navbar .nav-menu li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: color 0.3s;
}

.navbar .nav-menu li a:hover {
    color: #ffc107;
}

/* 视频展示区 */
.video-section {
    width: 100%;
    background: #000;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.video-section .bg-video {
    width: 100%;
    height: auto;
    display: block;
}

/* 关于我们 */
.about-section {
    padding: 80px 0;
    background-image: url('../img/homepage/bg1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    position: relative;
}

.about-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}


.about-section .section-title {
    font-size: 36px;
    margin-bottom: 0px;
    font-weight: bold;
    text-align: center;
    color: #E38426;
}

.about-section .section-subtitle {
    font-size: 20px;
    text-align: center;
    color: #E38426;
    margin-bottom: 30px;
}

.about-section .about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 2;
    text-align: center;
    color: #474747;
    margin-bottom: 40px;
}

/* 产品介绍 */
.product-section {
    padding: 80px 0;
    background-image: url('../img/homepage/bg2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.product-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.product-section .section-title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
}

.product-section .section-subtitle {
    font-size: 24px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 50px;
    line-height: 2;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* gap: 30px; */
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    /* background: #fff; */
    border-radius: 15px;
    overflow: hidden;
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    flex-shrink: 0;
    z-index: 9;
}

.product-card .product-info {
    flex: 1;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 20px 20px 30px 10px;
    margin-left: -20px;
}

.product-card h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.8;
}

/* 解决方案 */
.solution-section {
    padding: 80px 0;
    background-image: url('../img/homepage/bg3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.solution-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.solution-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.solution-section .section-title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
}

.solution-section .section-subtitle {
    font-size: 20px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 50px;
}

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

.solution-card {
    /* background: #fff; */
    border-radius: 15px;
    overflow: hidden;
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); */
    transition: transform 0.3s;
}

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

.solution-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.solution-card .solution-info {
    padding: 20px;
}

.solution-card h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
}

.solution-card p {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.8;
    text-align: center;
}

/* 联系我们 */
.contact-section {
    padding: 60px 0;
    background: #222;
    color: #fff;
}

.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ffffff;
}

.contact-section p {
    font-size: 14px;
    line-height: 3;
    color: #ffffff;
}

.contact-section a {
    color: #ffffff;
    text-decoration: none;
}

.contact-section a:hover {
    text-decoration: underline;
}

/* 底部 */
.footer {
    background: #1a1a1a;
    padding: 20px 0;
    text-align: center;
    color: #888;
    font-size: 14px;
}

.footer a {
    color: #888;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .nav-menu {
        gap: 20px;
    }

    .navbar .nav-menu li a {
        font-size: 14px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-section .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-section .section-title,
    .product-section .section-title,
    .solution-section .section-title {
        font-size: 28px;
    }

    .about-section .section-subtitle,
    .product-section .section-subtitle,
    .solution-section .section-subtitle {
        font-size: 18px;
    }
}

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

    .navbar .nav-menu {
        gap: 15px;
    }

    .navbar .nav-menu li a {
        font-size: 12px;
    }
}