/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    min-width: 1200px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

a:hover {
    color: #c00;
}

.container {
    width: 100%;
    max-width: 100%;
    padding: 0 30px;
}

/* 头部样式 - 白色 */
header {
    background-color: #fff;
    color: #333;
    padding: 15px 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #eee;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo-text h1 {
    font-size: 24px;
    color: #c00;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 12px;
    color: #666;
}

.header-contact {
    text-align: right;
}

.header-contact p {
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

.header-contact .phone {
    font-size: 20px;
    color: #c00;
    font-weight: bold;
}

/* 导航样式 - 白底黑字 */
nav {
    background-color: #fff;
    border-top: 1px solid #eee;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 15px 25px;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    border-bottom: 3px solid transparent;
}

.nav-menu li a:hover {
    color: #c00;
}

.nav-menu li a.active {
    color: #c00;
    border-bottom: 3px solid #c00;
}

/* 展会切换按钮 */
/* 基础按钮样式 */
.expo-switcher {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.expo-switcher:hover {
    background: linear-gradient(135deg, #FF6B6B 0%, #E74C3C 100%);
    transform: translateY(-2px);
}

/* 下拉图标 */
.expo-switcher::after {
    content: "▾";
    font-size: 12px;
}

/* 响应式调整（可选） */
@media (max-width: 768px) {
    .expo-switcher {
        padding: 6px 10px;
        font-size: 14px;
    }
}

.current-expo {
    font-weight: bold;
    margin: 0 8px;
}

.switch-icon {
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* 展会切换弹窗 */
.expo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.expo-modal-content {
    background-color: #fff;
    width: 800px;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.expo-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.expo-modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.expo-modal-close {
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.expo-modal-close:hover {
    color: #333;
}

.expo-filter {
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.filter-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.filter-label {
    width: 80px;
    font-size: 14px;
    color: #666;
}

.filter-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.date-picker {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.expo-list {
    flex: 1;
    overflow-y: auto;
}

.expo-month-group {
    padding: 10px 20px;
    background-color: #f5f5f5;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #eee;
}

.expo-item {
    display: flex;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.2s;
}

.expo-item:hover {
    background-color: #f9f9f9;
}

.expo-logo {
    width: 60px;
    height: 60px;
    background-color: #f0f0f0;
    border-radius: 4px;
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.expo-logo img {
    max-width: 100%;
    max-height: 100%;
}

.expo-info {
    flex: 1;
}

.expo-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.expo-date {
    font-size: 14px;
    color: #666;
}

/* 轮播图样式 - 全宽 */
.banner-container {
    width: 100%;
    overflow: hidden;
}

.banner {
    height: 500px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 四大入口 - 横向铺开 */
.entry-section {
    background-color: #fff;
    padding: 40px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 28px;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #c00;
}

.entry-grid {
    display: flex;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
    padding: 0 20px;
}

.entry-item {
    flex: 1;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-align: center;
    border: 1px solid #eee;
}

.entry-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.entry-img {
    height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

.entry-img img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.5s;
}

.entry-item:hover .entry-img img {
    transform: scale(1.1);
}

.entry-content {
    padding: 25px;
}

.entry-content h3 {
    color: #c00;
    margin-bottom: 15px;
    font-size: 20px;
}

.entry-content p {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.entry-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #f5f5f5;
    color: #333;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid #ddd;
}

.entry-btn:hover {
    background-color: #c00;
    color: #fff;
    border-color: #c00;
}

/* 展会时间安排 */
.schedule-floor {
    background-color: #f9f9f9;
    padding: 50px 0;
    margin-bottom: 30px;
}

.schedule-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.schedule-card {
    background-color: #fff;
    border-radius: 5px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border-top: 4px solid #c00;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.schedule-date {
    font-weight: bold;
    color: #c00;
    margin-bottom: 10px;
    font-size: 18px;
}

.schedule-location {
    color: #666;
    font-size: 16px;
    margin-bottom: 15px;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.schedule-desc {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .schedule-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .schedule-container {
        grid-template-columns: 1fr;
    }
}

.service-section {
    background-color: #fff;
    padding: 50px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-container {
    display: flex;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 30px;
    padding: 0 20px;
}

.service-card {
    flex: 1;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-contact {
    padding: 10px;
    background-color: #f5f5f5;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.service-contact .name {
    font-weight: bold;
    color: #333;
}

.service-contact .phone {
    color: #c00;
}

.service-info {
    padding: 20px;
}

.service-title {
    font-weight: bold;
    color: #c00;
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.service-title::before {
    content: "📌";
    margin-right: 10px;
}

.service-desc {
    color: #777;
    font-size: 15px;
    line-height: 1.7;
}

/* 资料下载 - 横向铺开 */
.download-section {
    background-color: #f9f9f9;
    padding: 50px 0;
    margin-bottom: 30px;
}

.download-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.download-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    transition: all 0.3s;
    border-left: 4px solid #c00;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.download-card:hover {
    background-color: #f5f5f5;
    transform: translateX(10px);
}

.download-icon {
    width: 50px;
    height: 50px;
    background-color: #c00;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 18px;
}

.download-info {
    flex-grow: 1;
}

.download-info h4 {
    margin-bottom: 8px;
    font-size: 16px;
    color: #333;
}

.download-meta {
    display: flex;
    font-size: 13px;
    color: #666;
}

.download-meta span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.download-meta span::before {
    content: "•";
    margin-right: 5px;
    color: #999;
}

/* 页脚样式 */
footer {
    background-color: #000;
    color: #999;
    padding: 50px 0 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    padding: 0 20px;
}

.footer-column h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.footer-column ul li {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: #c00;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    body {
        min-width: auto;
    }
    
    .entry-grid,
    .service-container {
        flex-wrap: wrap;
    }
    
    .entry-item,
    .service-card {
        min-width: 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .header-contact {
        text-align: center;
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
    }

    nav ul li {
        width: 50%;
        text-align: center;
    }
    
    .banner {
        height: 300px;
    }
    
    .entry-item,
    .service-card {
        min-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
}