/* 导航栏样式 */
nav {
     background: #c0392b;
    
    position: relative;
    z-index: 999;
}

.nav-container {
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 15px;
}

.nav-container::-webkit-scrollbar {
    display: none;
}

.nav-menu {
    display: inline-flex;
    list-style: none;
}

.nav-menu li {
    padding: 15px 20px;
}

.nav-menu a {
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

/* 固定导航栏 */
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* 网站简介 */
.intro {
    background: 
    color: white;
    padding: 25px 0;
    text-align: left;
    margin-bottom: 30px;
}

.intro h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.intro p {
    max-width: 100%px;
    margin: 0 auto;
    font-size: 16px;
}

/* 信息栏 */
.info-section {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.supply-list, .purchase-list {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.section-title {
    font-size: 18px;
    color: var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
}

.info-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.video-column {
    flex: 1.5;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    background: white;
    display: flex;
    flex-direction: column;
}

.video-container {
    flex: 1;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.video-placeholder {
    text-align: center;
}

.video-placeholder i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

/* 产品展示 */
.products {
    margin-bottom: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    height: 120px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

.product-info {
    padding: 10px;
}

.product-title {
    font-size: 14px;
    margin-bottom: 5px;
}

.product-price {
    color: var(--accent-color);
    font-weight: bold;
}

/* 展会信息栏 */
.exhibition {
    margin-bottom: 40px;
}

.exhibition-section {
    display: flex;
    gap: 20px;
}

.exhibition-info, .international-exhibition {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.exhibition-carousel, .logistics-carousel {
    flex: 1.5;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    background: white;
    display: flex;
    flex-direction: column;
}

.carousel-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
}

.slide-img {
    flex: 1;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

.slide-title {
    padding: 10px;
    text-align: center;
    background: #f5f5f5;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
}

.carousel-prev, .carousel-next {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.indicator.active {
    background: white;
}

/* 物流信息栏 */
.logistics {
    margin-bottom: 40px;
}

.logistics-section {
    display: flex;
    gap: 20px;
}

.logistics-info, .freight-info {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* 综合信息 */
.comprehensive {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.companies, .technology, .news {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.scroll-list {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.scroll-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* 页脚 */
footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    margin: 0 15px;
    padding: 5px 0;
}

.footer-contact, .footer-address {
    text-align: center;
    margin-bottom: 15px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 100%px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    body {
        padding-top: 200px;
    }
    
    .header-top {
        flex-direction: column;
        align-items: stretch;
    }
    
    .logo-area {
        margin-bottom: 15px;
    }
    
    .search-area {
        max-width: 100%;
        margin: 0 0 15px;
    }
    
    .auth-buttons {
        justify-content: center;
    }
    
    .info-section, .comprehensive, .logistics-section, .exhibition-section {
        flex-direction: column;
    }
    
    .video-column, .exhibition-carousel, .logistics-carousel {
        height: 250px;
        order: -1;
        margin-bottom: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-menu li {
        padding: 15px 10px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
}