/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Product Params Image Styles */
.params-image-container {
    width: 100%;
    background: var(--gray-100);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}

.params-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

:root {
    --primary-green: #228B22;
    --dark-green: #006400;
    --light-green: #3CB371;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e0e0e0;
    --gray-600: #666666;
    --gray-800: #333333;
    --gray-900: #1a1a1a;
}

body {
    font-family: "Microsoft YaHei", "SimHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--gray-800);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.lang-switch {
    display: flex;
    gap: 5px;
}

.lang-switch button {
    padding: 5px 12px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.lang-switch button.active,
.lang-switch button:hover {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--gray-800);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: auto;
    min-height: 400px;
    overflow: hidden;
    margin-top: 80px;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: auto;
    padding-top: 40%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(34, 139, 34, 0.4);
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--white);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
}

/* Products Section */
.products {
    padding: 80px 0;
    background: var(--gray-100);
}

.products-slider-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.products-slider {
    display: flex;
    gap: 30px;
    padding: 10px 0;
    animation: scrollProducts 30s linear infinite;
}

.products-slider:hover {
    animation-play-state: paused;
}

@keyframes scrollProducts {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.product-card {
    flex: 0 0 calc((100% - 60px) / 3);
    min-width: calc((100% - 60px) / 3);
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    padding: 20px;
    background: var(--white);
}

.product-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    color: var(--gray-900);
}

.product-card p {
    padding: 0 20px 25px;
    color: var(--gray-600);
}

.section-btn {
    text-align: center;
}

/* Tech Section */
.tech {
    padding: 80px 0;
    background: var(--white);
    overflow: hidden;
}

.tech-radial {
    position: relative;
    width: 100vw;
    height: 600px;
    margin: 60px 0 0;
    left: calc(-50vw + 50%);
}

.tech-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    height: auto;
    z-index: 1;
}

.tech-item {
    position: absolute;
    width: 190px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(60, 179, 113, 0.2);
    z-index: 10;
}

.tech-item:hover {
    background: rgba(60, 179, 113, 0.15);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(60, 179, 113, 0.3);
    border-color: var(--primary-green);
}

.tech-item:hover h4 {
    color: var(--primary-green);
}

.tech-top {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.tech-top-right {
    top: 100px;
    right: 30px;
}

.tech-bottom-right {
    bottom: 80px;
    right: 30px;
}

.tech-bottom {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.tech-bottom-left {
    bottom: 80px;
    left: 30px;
}

.tech-top-left {
    top: 100px;
    left: 30px;
}

.tech-item h4 {
    color: var(--gray-800);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.tech-desc {
    text-align: left;
}

.tech-desc p {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 6px;
}

.tech-desc p:last-child {
    margin-bottom: 0;
}

/* Production Base Section */
.production-base {
    padding: 80px 0;
    background: var(--white);
}

.production-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.production-text h2 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 30px;
}

.production-desc p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 20px;
}

.production-desc p:last-child {
    margin-bottom: 0;
}

.production-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

/* Solutions Section */
.solutions {
    padding: 80px 0;
    background: var(--gray-100);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
}

.solution-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.solution-card h4 {
    padding: 20px;
    font-size: 1.1rem;
    color: var(--gray-900);
    text-align: center;
}

/* Service Section */
.service {
    padding: 80px 0;
    background: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-item {
    text-align: center;
    padding: 30px 15px;
    border: 1px solid rgba(34, 139, 34, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(60, 179, 113, 0.1);
}

.service-item:hover {
    border-color: var(--primary-green);
    background: rgba(34, 139, 34, 0.1);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-wrapper img {
    width: 40px;
    height: 40px;
}

.service-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.service-item h4 {
    color: var(--gray-800);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-desc {
    text-align: left;
}

.service-desc p {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.service-desc p:last-child {
    margin-bottom: 0;
}

/* About Preview Section */
.about-preview {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.about-text .btn-outline {
    align-self: flex-start;
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.about-text .btn-outline:hover {
    background: var(--primary-green);
    color: var(--white);
}

.logo-wall {
    background: var(--gray-100);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 60px;
}

.logo-wall-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 30px;
}

.logo-slider-container {
    overflow: hidden;
    width: 100%;
}

.logo-slider {
    display: flex;
    gap: 20px;
    animation: scrollLogos 25s linear infinite;
}

.logo-slider:hover {
    animation-play-state: paused;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-item {
    flex: 0 0 120px;
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-item img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

.about-contact {
    background: var(--gray-900);
    padding: 40px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 60px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 25px;
    height: 25px;
}

.contact-content .contact-label {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.contact-content .contact-value {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
    text-decoration: none;
}

.contact-btn:hover {
    background: var(--dark-green);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.5);
}

.contact-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(46, 125, 50, 0.3);
}

.contact-btn img {
    width: 20px;
    height: 20px;
}

/* Footer */
footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-info p {
    color: var(--gray-200);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.1);
}

.footer-contact h4,
.footer-qr h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-contact p {
    color: var(--gray-200);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact img {
    width: 20px;
    height: 20px;
}

.qr-container {
    display: flex;
    gap: 20px;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-item img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.qr-item span {
    color: var(--gray-400);
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 20px;
    text-align: center;
    color: var(--gray-600);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products-grid,
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    

    .about-contact {
        flex-direction: column;
        gap: 30px;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .production-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid,
    .solutions-grid,
    .tech-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Contact Button */
.footer-contact .contact-btn {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-contact .contact-btn:hover {
    background: var(--dark-green);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.5);
}

.footer-contact .contact-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(46, 125, 50, 0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 15px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
    font-size: 1.3rem;
    color: var(--gray-900);
}

.modal-close {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gray-400);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--gray-600);
}

/* Form Styles */
#contactForm {
    padding: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(60, 179, 113, 0.05);
    color: var(--gray-800);
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: none;
    height: 120px;
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 5px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(34, 139, 34, 0.4);
}

.success-message {
    padding: 20px 25px;
    text-align: center;
    color: var(--primary-green);
}

.success-message p {
    font-size: 1.1rem;
}
