/* 基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f7;
    padding-top: 70px; /* 为固定导航栏预留空间 */
}

/* 容器样式 - 统一所有容器宽度 */
.container,
.nav-links {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 70px;
    background-color: #e8f1ff;
    z-index: 1500;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(232, 241, 255, 0.95);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    margin-right: 50px;
}

.logo img {
    height: 35px;
    width: auto;
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-items a {
    color: #555;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-items a:hover, .nav-items a.active {
    background-color: #e74c3c;
    color: white;
}

.register-btn {
    background-color: #158f60;
    color: white !important;
    margin-left: 10px;
}

.register-btn:hover {
    background-color: #a93226;
}

/* Hero部分 */
.hero {
    position: relative;
    min-height: auto;
    margin-top: -70px; /* 抵消body的padding-top */
    background-color: #e8f1ff;
    padding: 90px 0 40px; /* 增加顶部padding确保内容不被导航栏遮挡 */
    display: flex;
    align-items: center;
    scroll-margin-top: 0;
}

.hero .container {
    padding-top: 30px;
    text-align: center;
}

/* 移除不必要的容器设置，统一使用.container */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.4rem;
    color: #c0392b;
    margin-bottom: 0.3rem;
    margin-top: -1.5rem;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.4rem;
    color: #e74c3c;
    margin-bottom: 0.3rem;
    font-weight: normal;
    line-height: 1.3;
}

.conference-info {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    max-width: 900px;
    margin: 0 auto;
}

.description p {
    margin-bottom: 0.8rem;
    text-align: left;
}

.stay-updated {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

.stay-updated a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.stay-updated a:hover {
    color: #c0392b;
}

/* 按钮样式 */
.button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
    background-color: #c0392b;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.button:hover {
    background-color: #a93226;
    transform: translateY(-2px);
}

/* 各部分通用样式 */

section {
    padding: 0;
    background: transparent;
    scroll-margin-top: 70px;
}

section:not(.hero) {
    padding-top: 0;
    padding-bottom: 0;
}

h2 {
    font-size: 2rem;
    color: #c0392b;
    text-align: center;
    margin-bottom: 1.2rem;
}

section:not(.hero) h2 {
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0.2rem;
}


/* 时间线样式 */
.timeline {
    margin: 2rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-item {
    margin: 0.5rem 0;
    padding: 0.5rem 1.2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-item h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.timeline-item .date {
    color: #e74c3c;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.timeline-item .date.passed {
    text-decoration: line-through;
    color: #8b9696;
}

/* 组织者部分 */
.organizers {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
    padding: 0rem 0;
}

.organizer {
    text-align: center;
    background: #f8f9fa;
    padding: 0.8rem;
    padding-bottom: 0.2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.organizer:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.organizer img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 0.6rem;
    object-fit: cover;
}

.organizer h3 {
    color: #2c3e50;
    font-size: 1rem;
    margin: 0.2rem 0;
    font-weight: 600;
}

.organizer h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.organizer h3 a:hover {
    color: #e67e22;
}

.organizer .institution {
    color: #e67e22;
    font-size: 0.80rem;
    margin: 0.2rem 0;
    font-weight: 500;
}

.organizer .location {
    color: #666;
    font-size: 0.9rem;
    margin: 0.2rem 0;
}

.organizer .email {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.organizer .email i {
    color: #e74c3c;
}

/* 列表样式 */
ul {
    list-style-position: inside;
    margin: 0.5rem 0 1rem;
}

li {
    margin: 0.5rem 0;
}

/* 文本元素统一样式 */
p, ul, li {
    line-height: 1.5;
}

/* 汉堡菜单 */
.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #555;
    transition: all 0.3s ease;
}

.hamburger-menu.active {
    color: #e74c3c;
}

/* 媒体查询 - 响应式设计 */
@media screen and (min-width: 1400px) {
    .container,
    .nav-links {
        width: 80%;
        max-width: 1400px;
    }
    
    .description {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1200px) {
    .organizers {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .nav-links {
        justify-content: space-between;
    }
    
    .hamburger-menu {
        display: block;
        z-index: 1600;
    }
    
    .nav-items {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #f5f5f7;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        transition: all 0.4s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1400; /* 确保导航菜单在其他元素之上 */
    }
    
    .nav-items.active {
        right: 0;
    }
    
    .nav-items a {
        margin: 8px 0;
        width: 80%;
        text-align: center;
    }
    
    .register-btn {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media screen and (max-width: 768px) {
    .nav-items {
        gap: 15px;
    }
    
    .nav-items a {
        font-size: 14px;
        padding: 5px 12px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .logo {
        margin-right: 0;
    }
    
    .organizers {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .organizer {
        padding: 0.6rem;
    }
    
    .organizer img {
        width: 90px;
        height: 90px;
    }
    
    .organizer h3 {
        font-size: 0.95rem;
    }
    
    .organizer .institution {
        font-size: 0.8rem;
    }
    
    .organizer .location,
    .organizer .email {
        font-size: 0.85rem;
    }
    
    section {
        padding: 10px 0;
    }
    
    section:not(.hero) {
        padding-top: 20px;
        padding-bottom: 00px;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        grid-column: span 1;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .footer-links, 
    .footer-contact {
        text-align: center;
    }
    
    .footer-links ul li a:hover {
        transform: translateX(0);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .timeline-item h3 {
        font-size: 1rem;
    }
    
    .timeline-item .date {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 90px 0 30px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-top: 1rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .conference-info {
        font-size: 0.9rem;
    }
    
    .description {
        font-size: 0.95rem;
    }
    
    .description p {
        text-align: center;
    }
    
    .button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 15px;
        width: 95%;
    }
    
    footer {
        padding: 30px 0 15px;
    }
    
    .footer-links h3,
    .footer-contact h3 {
        font-size: 1.1rem;
    }
    
    .organizers {
        grid-template-columns: 1fr;
    }
}

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, #2c3e50, #1a252f);
    color: #f5f5f7;
    padding: 20px 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

.footer-bottom {
    text-align: center;
    padding: 0.5rem 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
    filter: brightness(1.2);
}

.footer-logo p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-logo p:last-child {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links h3,
.footer-contact h3 {
    color: #e74c3c;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #e74c3c;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links ul li a i {
    font-size: 0.8rem;
    margin-right: 5px;
    color: #e74c3c;
    transition: all 0.3s ease;
}

.footer-links ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #e74c3c;
    transition: width 0.3s ease;
}

.footer-links ul li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links ul li a:hover i {
    margin-right: 8px;
}

.footer-links ul li a:hover::after {
    width: 100%;
}

.footer-contact p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
}

.footer-contact p i {
    color: #e74c3c;
    margin-right: 10px;
    font-size: 1rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.1);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #fff;
    background-color: #e74c3c;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

@media screen and (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-logo {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* About部分样式 */
.about-content {
    max-width: 100%;  /* 改为100%，使用container的宽度限制 */
    margin: 0 auto;
    padding: 20px 0;
}

.about-content p {
    margin-bottom: 0.4rem;
    line-height: 1.6;
    color: #444;
    text-align: justify;
    font-size: 1.05rem;
}

.welcome-text {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
    line-height: 1.6;
}

.welcome-text a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.welcome-text a:hover {
    color: #c0392b;
    text-decoration: underline;
}

.about-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.about-content em {
    color: #e74c3c;
    font-style: italic;
}

.research-areas {
    list-style-type: none;
    padding: 0;
    margin: 0.5rem 0;
}

.research-areas li {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.3rem 0;
    padding-left: 1rem;
    position: relative;
}

.research-areas li::before {
    content: "•";
    color: #e74c3c;
    position: absolute;
    left: 0;
}

.highlight-text {
    font-size: 1.2rem;
    color: #e74c3c !important;
    font-weight: 500;
    text-align: center !important;
    font-style: italic;
    margin: 1.5rem 0 !important;
    line-height: 1.6;
}

.note {
    text-align: center !important;
    color: #666 !important;
    font-size: 0.95rem;
}

.note a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.note a:hover {
    color: #c0392b;
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .about-content p {
        text-align: left;
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .welcome-text {
        font-size: 1.2rem;
        margin-bottom: 1.5rem !important;
    }
    
    .highlight-text {
        font-size: 1.1rem;
        margin: 2rem 0 !important;
    }
    
    .research-areas li {
        font-size: 0.9rem;
        margin: 0.25rem 0;
    }
}

.section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #158f60, transparent);
    margin: 30px 0;
    width: 100%;
}

.submission-button-container {
    text-align: center;
    margin: 30px 0;
}

.submission-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 1.1rem;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    border: 1px solid #e9ecef;
}

.submission-button i {
    font-size: 1.2rem;
    color: #333;
}

.submission-button:hover {
    background-color: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submission-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#submission h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    text-align: left;
}

#submission p {
    margin-bottom: 1rem;
}

#submission a {
    color: #158f60;
    text-decoration: none;
    transition: color 0.3s ease;
}

#submission a:hover {
    color: #1abc9c;
    text-decoration: underline;
}

.contact-content {
    max-width: 1800px;
    margin: 2rem auto;
    text-align: left;
}

.contact-content p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
}

.contact-info {
    margin-top: 1rem;
}

.contact-info p {
    margin: 0.8rem 0;
    font-size: 1.1rem;
}

.contact-info strong {
    color: #2c3e50;
    font-weight: 600;
}

.contact-content a {
    color: #e67e22;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-content a:hover {
    color: #d35400;
    text-decoration: underline;
}

.contact-item {
    text-align: center;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-width: 250px;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 2rem;
    color: #e67e22;
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: #e67e22;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .contact-item {
        width: 100%;
        max-width: 300px;
        padding: 1.5rem;
    }
}

