 /* 全局样式 */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body,html {
   overflow-x: hidden;
   margin: 0;
   padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

.rounded {
    border-radius: 10px;
}
.w-100 {
    width: 100%;
}

.bg-white {
    background-color: #ffffff;
}

.bg-gray {
    background-color: #f9f9f9;
}

.bg-orange {
    background-color: #ec6c00;
}

.mt-20 {
    margin-top: 20px;
}
.hidden {
    display: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #0097e0;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ec6c00;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 20px auto 0;
}

.section-body {
    margin-bottom: 20px;
}

.text-muted {
    color: #555;
}
.text-center {
    text-align: center;
}
a {
    color: #0097e0;
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: #2674c9;
}

/* 导航栏 */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #0097e0;
}

.logo span {
    color: #ec6c00;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0097e0;
}

.cta-button {
    background-color: #0097e0;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #2674c9;
    color: white;
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 0;
}

.hero-background.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.countdown-item {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.countdown-number {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5em;
    text-align: center;
    width: 100%;
    transform: translateX(8px);
}

.countdown-label {
    font-size: 0.9rem;
    margin-top: 5px;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #ec6c00;
    color: white;
}

.btn-primary:hover {
    background-color: #b8860b;
    color: white;
}

/* 展会信息 */
.exhibition-info {
    background-color: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-icon {
    font-size: 3rem;
    color: #ec6c00;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #0097e0;
}

.info-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #0097e0;
    font-weight: 600;
    text-align: center;
}

/* 关于展会 */
.exhibition-about {
    background-color: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.about-video {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 40px;
}

.about-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.about-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.about-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.contact-image {
    max-width: 768px;
    margin: 0 auto;
}

/* 参展品牌 */
.exhibitors {
    background-color: #f5f5f5;
}

.brand-carousel {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.brand-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
}

.brand-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

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

.brand-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.brand-carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.brand-carousel-dots .dot:hover {
    transform: scale(1.2);
}

.brand-carousel-dots .dot.active {
    background-color: #0097e0;
    transform: scale(1.2);
}

/* 展品范围 */
.exhibits {
    background-color: white;
}

.exhibit-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.category {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #ec6c00;
}

.category h3 {
    color: #0097e0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.category ul {
    list-style-type: none;
}

.category li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.category li:before {
    content: '•';
    color: #ec6c00;
    position: absolute;
    left: 0;
}

/* 展位图 */
.floor-plan {
    background-color: #f5f5f5;
}

.plan-container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.plan-image {
    max-width: 100%;
    border: 1px solid #eee;
    border-radius: 5px;
}

.plan-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-color {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border-radius: 3px;
}

/* 报名表单 */
.registration {
    background-color: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mini-program-tip {
    display: none;
    flex-direction: column;
    gap: 16px;
    background-color: #fff8f0;
    border: 1px solid rgba(236, 108, 0, 0.2);
    color: #8a4d00;
    padding: 24px;
    border-radius: 10px;
    margin-bottom: 24px;
}

.mini-program-tip.active {
    display: flex;
}

.mini-program-btn {
    background-color: #ec6c00;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    align-self: flex-start;
}

.mini-program-btn:hover {
    background-color: #b86400;
}

.registration-iframe {
    width: 100%;
    min-height: 1100px;
    border: none;
    background-color: #fff;
    border-radius: 12px;
}

.registration-iframe.hidden {
    display: none;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: #ec6c00;
    outline: none;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: #0097e0;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    font-weight: 600;
}

.submit-btn:hover {
    background-color: #2674c9;
}

/* 页脚 */
footer {
    background-color: #2674c9;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ec6c00;
}

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

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #0097e0;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 151, 224, 0.3);
}

.back-to-top:hover {
    background-color: #ec6c00;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(236, 108, 0, 0.4);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
    margin: 0 auto;
    padding: 0 10px;
}
    .info-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 10px;
    }
    .info-card {
        padding: 15px 10px;
        font-size: 12px;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text {
        font-size: 1rem;
    }
    .about-video {
        padding: 0;
        background-color: #fff;
        border-radius: 10px;
        box-shadow: none;
        line-height: 1;
        margin-bottom: 40px;
    }



    .brand-carousel-wrapper {
        height: 250px;
    }
    
    .brand-slide {
        padding: 0;
    }
    .navbar {
        flex-direction: column;
        padding: 15px 0;
        display: none;

    }
    
    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 0 10px 10px;
    }

    .hero {
        padding-top: 0;
        min-height: 50vh;
    }
    
    .hero h1 {
        font-size: 1.2rem;
    }
    .hero p {
        font-size: 12px;
    }
    .countdown {
        flex-wrap: wrap;
        gap: 6px;
        margin: 10px auto;
    }
    .countdown-number {
        font-size: 1.5rem;
    }
    .countdown-label {
        font-size: 12px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }

    .registration {
        padding: 10px 0;
    }

    .countdown-item {
        min-width: auto;
    }
    .countdown-number {
        font-size: 1rem;
    }
}