/* 变量与全局*/
:root {
    --red: #d6000f;
    --gray: #666;
    --lightGray: #f5f5f5;
    --border: #e0e0e0;
    --gap: 20px;
    --fontEN: "Barlow Condensed", "Helvetica Neue", Arial, sans-serif;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #222;
    line-height: 1.6;
    background: #fff;
}



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

.wrap {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 28px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.sub {
    font-size: 14px;
    color: var(--gray);
    font-family: var(--fontEN);
    margin-left: 12px;
    font-weight: normal;
}

.gray {
    color: var(--gray);
}

/*首页轮播*/
.heroSwiper {
    width: 100%;
    height: 420px;
    position: relative;
}

.heroSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.slide-inner {
    background: rgba(0, 0, 0, .45);
    padding: 40px 60px;
    border: 1px solid rgba(255, 255, 255, .3);
}

.slide-inner h3 {
    font-size: 36px;
    margin-bottom: 10px;
}

.slide-inner p {
    font-size: 18px;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: .6;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: var(--red);
    opacity: 1;
}
/* 轮播容器 */
.heroSwiper {
    width: 100%;
    height: 520px;
    position: relative;
    border: 1px solid var(--border);
}

/* 幻灯片*/
.heroSwiper .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 图片*/
.heroSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 文字层*/
.slide-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, .45);
    padding: 30px 50px;
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    text-align: center;
    z-index: 2;
}

.slide-inner h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.slide-inner p {
    font-size: 16px;
}
/*next/prev 按钮*/
.swiper-button-prev,
.swiper-button-next {
    transform: scale(1.2);                    
    width: 44px;                              
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;                       
    background: rgba(0, 0, 0, .2);            
    backdrop-filter: blur(2px);              
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .2));
    justify-content: center;
}

/* 箭头图标 */
.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;     
    color: #fff;         
}

/*中心概况*/
.sec-overview {
    padding: 60px 0;
    background: var(--lightGray);
}

.overview-box {
    display: flex;
    gap: var(--gap);
    align-items: center;
}

.overview-pic {
    flex: 0 0 46%;
    border: 1px solid var(--border);
}

.overview-pic img {
    width: 100%;
    height: auto;
    display: block;
}

.overview-txt {
    flex: 1;
    font-size: 16px;
    text-align: justify;
}


/*设施服务*/
.sec-facility {
    padding: 60px 0;
}

.facility-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.item {
    border: 1px solid var(--border);
    padding: 24px;
    cursor: pointer;
    transition: border-color .3s;
}

.item:hover {
    border-color: var(--red);
}

.item h4 {
    font-size: 18px;
    color: var(--red);
    margin-bottom: 10px;
    text-align: center;
}



/*展会信息*/
.sec-exhibition {
    padding: 60px 0;
    background: var(--lightGray);
}

.ex-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 24px;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    color: var(--gray);
}

.tab-btn.active {
    color: var(--red);
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--red);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.ex-list li {
    display: flex;
    gap: var(--gap);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.ex-list img {
    width: 160px;
    height: 100px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.ex-list h5 {
    font-size: 18px;
    margin-bottom: 6px;
}

.btn-sign {
    display: inline-block;
    margin-top: 10px;
    background: var(--red);
    color: #fff;
    padding: 6px 18px;
    font-size: 14px;
    border: 1px solid var(--red);
    transition: .3s;
}

.btn-sign:hover {
    background: #fff;
    color: var(--red);
}

.review-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap);
}

.review-item {
    border: 1px solid var(--border);
    padding: 10px;
    text-align: center;
}

.review-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
}
/* 年度展会计划样式 */
.annual-plan-content {
    padding: 20px;
}


.plan-table-container {
    overflow-x: auto;
}

.annual-plan-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
}

.annual-plan-table th {
    background: #d4151e;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.annual-plan-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    line-height: 1.5;
}

.annual-plan-table tr:nth-child(even) {
    background: #f7fafc;
}

.annual-plan-table tr:hover {
    background: #edf2f7;
    transition: background 0.3s;
}

.annual-plan-table tr:last-child td {
    border-bottom: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .annual-plan-table {
        font-size: 0.9rem;
    }
    
    .annual-plan-table th,
    .annual-plan-table td {
        padding: 10px 8px;
    }
}

/* ========== 父级：两列居中，大间距 ========== */
.exhibitor-list {
    display: flex;
    justify-content: left;
    gap: 120px;
}

/* ========== 单列块：内容也居中 ========== */
.exhibitor-category {
    flex: 0 0 auto;
    text-align: left;
}

/* ========== 红色标题 ========== */
.exhibitor-category h4 {
    color: #e74c3c;
    font-size: 20px;
    margin: 0 0 12px 0;
    letter-spacing: 1px;
}
.exhibitor-category ul {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1.6; /* 增加行高 */
}

.exhibitor-category li {
    margin: 12px 0; /* 增加上下间距 */
    font-size: 15px;
    color: #333;
    padding-left: 0;
}


/*联系方式*/
.sec-contact {
    padding: 60px 0;
}

.contact-box {
    display: flex;
    gap: var(--gap);
}

table {
    flex: 1;
    border-collapse: collapse;
    font-size: 15px;
}

th, td {
    padding: 10px 12px;
    border: 1px solid var(--border);
}

th {
    background: var(--lightGray);
}

.qr {
    text-align: center;
    font-size: 14px;
}

.qr img {
    width: 120px;
    margin-top: 10px;
    border: 1px solid var(--border);
}

/*弹窗*/
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
}

.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 40px;
    border: 1px solid var(--border);
    width: 90%;
    max-width: 800px;
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    color: var(--gray);
    cursor: pointer;
}

.close:hover {
    color: var(--red);
}

.facility-detail {
    display: flex;
    gap: var(--gap);
}

.facility-imgs {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.facility-imgs img {
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.facility-info {
    flex: 1;
}

.facility-info ul {
    list-style: disc;
    padding-left: 20px;
}

.facility-info li {
    margin-bottom: 8px;
}

/*在线报名弹窗表单 */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border);
    font-size: 14px;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-submit,
.btn-cancel {
    padding: 8px 20px;
    font-size: 14px;
    border: 1px solid var(--border);
    cursor: pointer;
}

.btn-submit {
    background: var(--red);
    color: #fff;
}

.btn-submit:hover {
    background: #fff;
    color: var(--red);
}

.btn-cancel {
    background: #fff;
    color: var(--gray);
}

.btn-cancel:hover {
    border-color: var(--red);
    color: var(--red);
}
.footer {
    background:var(--lightGray); /* 深灰色背景 */
    color: #333; /* 白色文字 */
    padding: 40px 0;
    text-align: center;
}

/* 响应式 */
@media (max-width: 900px) {
    .overview-box {
        flex-direction: column;
    }

    .facility-list {
        grid-template-columns: 1fr;
    }

    .contact-box {
        flex-direction: column;
    }

    .facility-detail {
        flex-direction: column;
    }
    
    .exhibitor-list {
        flex-direction: column;
        gap: 40px;
    }
    
    .ex-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* 移动端优化 */
@media (max-width: 768px) {
    .heroSwiper {
        height: 400px;
    }
    
    .slide-inner {
        padding: 20px 30px;
    }
    
    .slide-inner h3 {
        font-size: 24px;
    }
    
    .slide-inner p {
        font-size: 14px;
    }
    
    .ex-list li {
        flex-direction: column;
    }
    
    .ex-list img {
        width: 100%;
        height: 180px;
        margin-bottom: 15px;
    }
    
    .review-gallery {
        grid-template-columns: 1fr;
    }
}

/* 小屏幕手机优化 */
@media (max-width: 480px) {
    .heroSwiper {
        height: 300px;
    }
    
    .slide-inner {
        padding: 15px 20px;
    }
    
    .slide-inner h3 {
        font-size: 20px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    h2 {
        font-size: 24px;
    }
}