/* Global Styles */
:root {
    --primary-color: #003366;
    --secondary-color: #005599;
    --accent-color: #ff9500;
    --light-gray: #f8f9fa;
    --dark-gray: #1f2937;
    --text-color: #333333;
    --white: #ffffff;
    --section-bg-1: #f8f9fa;
    --section-bg-2: #eef1f5;
    --card-bg: #ffffff;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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



body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    height: 100%;
    padding-top: 100px;
    background-color: var(--light-gray);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-gray);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.logo img {
    height: 80px;
    width: auto;
}

.main-menu {
    display: flex;
    align-items: center;
}

.main-menu li {
    position: relative;
    margin: 0 15px;
}

.main-menu a {
    font-size: 14px;
    color: var(--white);
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.main-menu a i {
    margin-left: 5px;
    font-size: 12px;
}

.main-menu a:hover, .main-menu li.active > a {
    color: var(--accent-color);
}

.main-menu li.active > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dark-gray);
    min-width: 180px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1001;
}

.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    margin: 0;
}

.submenu a {
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.buy-button a {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.buy-button a:hover {
    background-color: #e08600;
    color: var(--white);
}

.language-switch {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 15px;
    margin-left: 15px;
}
.language-switch:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 响应式导航 */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--dark-gray);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
        z-index: 1001;
        padding-top: 100px;
    }
    
    nav.active {
        right: 0;
    }
    
    .main-menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
    }
    
    .main-menu li {
        margin: 10px 0;
        width: 100%;
    }
    
    .main-menu a {
        padding: 10px 0;
        width: 100%;
        display: block;
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: transparent;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown:hover .submenu {
        max-height: 200px;
    }
    
    .submenu a {
        padding-left: 20px;
    }
    
    .language-switch {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        margin-top: 15px;
    }
    
    .buy-button {
        margin-top: 15px;
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 600px;
    padding-top: 0;
    background-color: var(--section-bg-1);
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
    padding: 0 10%;
    color: white;
}

.slide-content .buttons {
    position: absolute;
    right: 10%;
    bottom: 0;
    display: flex;
    gap: 20px;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 600;
}

.slide-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color:  var(--white);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-solid {
    background-color: var(--accent-color);
    color: var(--white);
    border: 1px solid var(--accent-color);
}

.btn-solid:hover {
    background-color: #e08600;
    border-color: #e08600;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 10;
}

.prev, .next {
    cursor: pointer;
    font-size: 24px;
    color: var(--white);
    background-color: rgba(0, 51, 102, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
    transition: background-color 0.3s;
}

.prev:hover, .next:hover {
    background-color: var(--primary-color);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active, .dot:hover {
    background-color: var(--primary-color);
}

/* Product Categories */
.product-categories {
    padding: 0;
    background-color: var(--section-bg-2);
    height: 100vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
}

.product-categories .container {
    max-width: 100%;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.category-container {
    padding: 0;
    width: 100%;
}

.category-grid {
    display: flex;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.category-item {
    background-color: var(--card-bg);
    border-radius: 0;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.category-item:first-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.category-item:last-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.category-item:hover {
    flex: 3;
    box-shadow: var(--card-hover-shadow);
}

.category-icon {
    height: 120px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.category-icon img {
    width: 120px;
    height: 120px;
}

.category-item h3 {
    font-size: 24px;
    margin-bottom: 20px;
    white-space: nowrap;
}

.category-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    width: 100%;
    transform: translateY(20px);
}

.category-item:hover .category-content {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
}

.category-content p {
    margin-bottom: 25px;
    font-size: 18px;
}

.category-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    white-space: nowrap;
    font-size: 18px;
}

.category-link:after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s;
}

.category-link:hover:after {
    transform: translateX(3px);
}

/* Remove previous category navigation */
.category-nav {
    display: none;
}

/* Featured Products */
.featured-products {
    padding: 60px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    background-color: var(--section-bg-1);
	align-items: center;
}

.featured-products .container {
    width: 100%;
    max-width: 1300px;
    padding: 0 30px;
	justify-content: center;
	align-items: center;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 2.5rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Product Carousel */
.product-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 3rem auto;
}

.product-carousel {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
}
.product-product {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
	align-items: center;
}

.product-card {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card-content {
    padding: 1.5rem;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.product-card-buttons {
    display: flex;
    gap: 10px;
}

.product-card-buttons a {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.product-card-buttons a.learn-more {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.product-card-buttons a.learn-more:hover {
    background-color: var(--primary-color);
    color: white;
}

.product-card-buttons a.buy-now {
    background-color: var(--accent-color);
    color: white;
    border: 1px solid var(--accent-color);
}

.product-card-buttons a.buy-now:hover {
    background-color: #e08600;
}

.product-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 10px;
}

.product-prev, .product-next {
    background-color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.product-prev:hover, .product-next:hover {
    background-color: #f5f5f5;
    transform: scale(1.1);
}

.product-prev:disabled, .product-next:disabled {
    background-color: #f0f0f0;
    color: #aaa;
    box-shadow: none;
    cursor: not-allowed;
}

.product-prev::before, .product-next::before {
    font-size: 1.5rem;
    line-height: 1;
}

.product-prev::before {
    content: "←";
}

.product-next::before {
    content: "→";
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 30px;
    padding-top: 100px;
}

.footer-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
}

.back-to-top a {
    color: var(--white);
    display: flex;
    align-items: center;
    font-size: 14px;
}

.back-to-top a:before {
    content: '↑';
    margin-right: 5px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
.footer-info img{

    height: 80px;
    width: auto;

}
.footer-column {
    flex: 1;
    margin-left: 50px;
}


.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-column a {
    color: #aaa;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--white);
}

.qr-code {
    flex: 1.5;
    text-align: right;
}

.qr-code p {
    margin-bottom: 15px;
    font-size: 14px;
}

.qr-code img {
    width: 100px;
    height: 100px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom p {
    text-align: center;
    font-size: 12px;
    color: #888;
}



/* Responsive Styles */
@media (max-width: 992px) {
    .product-carousel {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .product-card {
        flex: 0 0 calc(50% - 10px);
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .product-card {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .product-card {
        flex: 0 0 280px;
    }
    
    .product-prev, .product-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .product-card {
        flex: 0 0 240px;
    }
    
    .product-card-buttons {
        flex-direction: column;
    }
}




.hero-slider {
    padding-top: 0;
}

.core-components, .drone-categories {
    text-align: center;
    padding: 60px 0;
    background-color: var(--light-gray);
}

.core-components h1, .drone-categories h1 {
    font-size: 42px;
    color: #333;
    margin-bottom: 10px;
}

.core-components .subtitle, .drone-categories .subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.subtitle span {
    margin: 0 15px;
}

.subtitle::before,.subtitle::after {
    content: "";
    height: 1px;
    width: 100px;
    background-color: #ccc;
    display: inline-block;
}

.component-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}



@media (max-width: 768px) {
    .component-grid {
        grid-template-columns: 1fr;
    }
    
    .drone-categories .component-grid {
        grid-template-columns: 1fr;
    }
    
    .drone-categories .component-item img {
        height: 220px;
    }
}

.component-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

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

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

.drone-categories .component-item img {
    height: 180px;
}

.drone-categories .component-overlay {
    padding: 15px 10px;
}

.drone-categories .component-overlay h3 {
    font-size: 20px;
}

.drone-categories .component-overlay p {
    font-size: 14px;
}

.drone-categories .model-list span {
    font-size: 12px;
    padding: 3px 6px;
}

.component-overlay {
    padding: 20px;
    text-align: center;
}

.component-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.component-overlay p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.model-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.model-list span {
    display: inline-block;
    padding: 4px 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
}

.component-link {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.component-link:hover {
    background-color: var(--secondary-color);
}

