/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #1a73e8;
    text-decoration: none;
}

/* 顶部信息栏 */
.top-bar {
    background-color: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.top-bar span {
    margin-right: 20px;
    font-size: 14px;
}

.top-bar i {
    color: #1a73e8;
    margin-right: 5px;
}

/* 导航栏 */
.navbar {
    margin-bottom: 0;
    border-radius: 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    padding: 10px 15px;
}

.navbar-brand h1 {
    margin: 0;
    font-size: 24px;
    color: #1a73e8;
}

.navbar-brand p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.navbar-nav>li>a {
    padding: 20px 15px;
    font-size: 16px;
    font-weight: 500;
}

.navbar-nav>li>a:hover {
    color: #1a73e8;
    background-color: #f8f9fa;
}

.navbar-nav>.active>a {
    color: #1a73e8;
    background-color: #f8f9fa;
}

/* 轮播图 */
.carousel {
    margin-bottom: 30px;
}

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

.carousel-caption {
    bottom: 30%;
    text-align: left;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
}

.carousel-caption h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.carousel-caption p {
    font-size: 18px;
    margin-bottom: 20px;
}

.carousel-caption .btn {
    padding: 10px 30px;
    font-size: 16px;
}

/* 通用样式 */
.container {
    max-width: 1200px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #1a73e8;
}

.section-header p {
    font-size: 16px;
    color: #666;
}

/* 公司简介 */
.about-section {
    padding: 60px 0;
    background-color: #fff;
}

.about-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.about-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.stats {
    display: flex;
    margin: 30px 0;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    border-right: 1px solid #e9ecef;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item .number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #1a73e8;
}

.stat-item .text {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* 产品展示 */
.products-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.product-item {
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-img {
    height: 200px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.product-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* 技术优势 */
.advantages-section {
    padding: 60px 0;
    background-color: #fff;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon i {
    font-size: 36px;
    color: #1a73e8;
}

.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.advantage-item p {
    font-size: 14px;
    color: #666;
}

/* 成功案例 */
.cases-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.case-item {
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.case-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.case-info {
    padding: 20px;
}

.case-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.case-info p {
    font-size: 14px;
    color: #666;
}

/* 新闻资讯 */
.news-section {
    padding: 60px 0;
    background-color: #fff;
}

.news-item {
    display: flex;
    margin-bottom: 30px;
    background-color: #f8f9fa;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateX(5px);
}

.news-date {
    width: 80px;
    background-color: #1a73e8;
    color: #fff;
    text-align: center;
    padding: 15px 0;
}

.news-date .day {
    display: block;
    font-size: 32px;
    font-weight: bold;
}

.news-date .month {
    display: block;
    font-size: 16px;
}

.news-content {
    flex: 1;
    padding: 15px 20px;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-content h3 a {
    color: #333;
    transition: color 0.3s;
}

.news-content h3 a:hover {
    color: #1a73e8;
}

.news-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

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

.contact-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.contact-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

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

.contact-info i {
    color: #1a73e8;
    margin-right: 10px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.contact-form .form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    font-size: 16px;
}

.contact-form .form-control:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

/* 页脚 */
footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
}

footer h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

footer p {
    font-size: 14px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 20px;
}

footer ul {
    list-style: none;
}

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

footer ul li a {
    font-size: 14px;
    color: #ccc;
    transition: color 0.3s;
}

footer ul li a:hover {
    color: #1a73e8;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 14px;
    color: #ccc;
}

/* 返回顶部按钮 */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: background-color 0.3s;
}

#back-to-top:hover {
    background-color: #1557b0;
}

#back-to-top i {
    font-size: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .navbar-brand {
        padding: 15px;
    }

    .navbar-brand h1 {
        font-size: 20px;
    }

    .carousel-inner img {
        height: 300px;
    }

    .carousel-caption {
        bottom: 10%;
        padding: 15px;
    }

    .carousel-caption h2 {
        font-size: 24px;
    }

    .carousel-caption p {
        font-size: 14px;
    }

    .stats {
        flex-direction: column;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .news-item {
        flex-direction: column;
    }

    .news-date {
        width: 100%;
        padding: 10px 0;
    }
}

/* 产品详情页样式 */
.product-detail {
    padding: 60px 0;
    background-color: #fff;
}

.product-detail .tab-content {
    margin-top: 30px;
}

.product-detail .nav-tabs {
    border-bottom: 2px solid #1a73e8;
}

.product-detail .nav-tabs>li>a {
    border: none;
    border-radius: 0;
    color: #666;
    font-size: 16px;
    padding: 10px 20px;
}

.product-detail .nav-tabs>li>a:hover {
    background-color: transparent;
    color: #1a73e8;
}

.product-detail .nav-tabs>li.active>a {
    color: #1a73e8;
    border-bottom: 2px solid #1a73e8;
}

.product-gallery {
    margin-bottom: 30px;
}

.product-gallery .main-img {
    margin-bottom: 15px;
}

.product-gallery .main-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
}

.product-gallery .thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.product-gallery .thumbnails img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.product-gallery .thumbnails img:hover {
    opacity: 0.8;
}

.product-specs {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.product-specs h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs table tr {
    border-bottom: 1px solid #e9ecef;
}

.product-specs table tr:last-child {
    border-bottom: none;
}

.product-specs table td {
    padding: 10px 0;
    font-size: 14px;
}

.product-specs table td:first-child {
    font-weight: 500;
    color: #333;
    width: 120px;
}

.product-specs table td:last-child {
    color: #666;
}

/* 新闻详情页样式 */
.news-detail {
    padding: 60px 0;
    background-color: #fff;
}

.news-detail .news-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.news-detail .news-header h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.news-detail .news-meta {
    font-size: 14px;
    color: #666;
}

.news-detail .news-meta span {
    margin-right: 20px;
}

.news-detail .news-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.news-detail .news-content p {
    margin-bottom: 20px;
}

.news-detail .news-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
}

.news-detail .news-related {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.news-detail .news-related h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.news-detail .news-related ul {
    list-style: none;
}

.news-detail .news-related ul li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.news-detail .news-related ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-detail .news-related ul li a {
    font-size: 16px;
    color: #333;
    transition: color 0.3s;
}

.news-detail .news-related ul li a:hover {
    color: #1a73e8;
}

/* 招聘页面样式 */
.recruitment {
    padding: 60px 0;
    background-color: #fff;
}

.job-list {
    margin-bottom: 50px;
}

.job-item {
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.job-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.job-item .job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.job-item .job-header h3 {
    font-size: 20px;
    color: #333;
    margin: 0;
}

.job-item .job-header .job-salary {
    font-size: 16px;
    color: #1a73e8;
    font-weight: 500;
}

.job-item .job-info {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.job-item .job-info span {
    margin-right: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.job-item .job-info i {
    color: #1a73e8;
    margin-right: 5px;
}

.job-item .job-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.job-item .job-action {
    text-align: right;
}

.job-item .job-action a {
    display: inline-block;
    padding: 8px 20px;
    background-color: #1a73e8;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.job-item .job-action a:hover {
    background-color: #1557b0;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #1a73e8;
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #1557b0;
    color: #fff;
}

.btn-default {
    background-color: #fff;
    color: #1a73e8;
    border: 1px solid #1a73e8;
}

.btn-default:hover {
    background-color: #1a73e8;
    color: #fff;
}

/* 懒加载样式 */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}