* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

.navbar {
    background-color: #1a73e8;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
}

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

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

.nav-menu a:hover {
    color: #ffd700;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
}

.banner {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/33.png') center center/cover no-repeat;
    filter: brightness(0.6);
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 4px;
}

.banner-content p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

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

.section-title h2 {
    font-size: 32px;
    color: #1a73e8;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title span {
    font-size: 14px;
    color: #808080;
    letter-spacing: 4px;
}

.advantages {
    padding: 60px 0;
    background-color: #fff;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.1);
}

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

.icon-box svg {
    width: 35px;
    height: 35px;
}

.advantage-item h3 {
    font-size: 18px;
    color: #1a73e8;
    margin-bottom: 15px;
}

.advantage-item p {
    font-size: 14px;
    color: #808080;
    line-height: 1.8;
}

.products {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.product-categories ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    list-style: none;
}

.product-categories a {
    padding: 10px 25px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.product-categories a:hover,
.product-categories li.active a {
    background-color: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
}

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

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.product-card h3 {
    padding: 15px 20px 5px;
    font-size: 16px;
    color: #333;
}

.product-card p {
    padding: 0 20px 20px;
    font-size: 14px;
    color: #808080;
}

.about {
    padding: 60px 0;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.about-text h3 {
    font-size: 24px;
    color: #1a73e8;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.contact-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a73e8;
    flex-shrink: 0;
}

.contact-item .icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    font-size: 16px;
    color: #1a73e8;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.footer {
    background-color: #333;
    padding: 30px 0;
    text-align: center;
    color: #fff;
}

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

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

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

.footer a:hover {
    text-decoration: underline;
}

.float-service {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 1000;
}

.service-icon {
    width: 40px;
    height: 100px;
    background-color: #1a73e8;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.4);
    transition: transform 0.3s;
    color: white;
    font-size: 14px;
    font-weight: 500;
    writing-mode: vertical-rl;
    letter-spacing: 2px;
}

.service-icon:hover {
    transform: scale(1.05);
}

.service-content {
    position: absolute;
    right: 55px;
    bottom: 0;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    min-width: 200px;
}

.float-service:hover .service-content {
    opacity: 1;
    visibility: visible;
}

.service-content h4 {
    font-size: 16px;
    color: #1a73e8;
    margin-bottom: 10px;
}

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

@media (max-width: 768px) {
    .header-top .contact-info {
        justify-content: center;
        gap: 10px;
        font-size: 12px;
    }

    .logo h1 {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1a73e8;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .banner-content h2 {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .banner-content p {
        font-size: 14px;
        padding: 0 20px;
    }

    .banner {
        height: 300px;
    }

    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

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

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-categories ul {
        gap: 10px;
    }

    .product-categories a {
        padding: 8px 15px;
        font-size: 13px;
    }

    .footer p {
        font-size: 12px;
    }
}

.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .banner-content h2 {
        font-size: 20px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .advantage-item {
        padding: 15px;
    }

    .advantage-item h3 {
        font-size: 15px;
    }

    .advantage-item p {
        font-size: 12px;
    }

    .icon-box {
        width: 50px;
        height: 50px;
    }

    .icon-box svg {
        width: 25px;
        height: 25px;
    }

    .lightbox-close {
        top: -50px;
        width: 30px;
        height: 30px;
    }

    .product-card h3 {
        padding: 8px 8px 3px;
        font-size: 11px;
    }

    .product-card p {
        padding: 0 8px 10px;
        font-size: 10px;
    }

    .product-image {
        height: 100px;
    }
}