/* 全局样式 */

:root {
    --gold-color: #D4AF37;
    --gold-light: #FFD700;
    --gold-dark: #BF9B30;
    --bg-light: #f9f9f9;
    --text-dark: #333;
    --text-light: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Serif SC', serif;
    letter-spacing: -0.5px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* 为固定导航栏预留空间 */
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
    margin: 0;
}

/* 容器布局 */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0px 20px;
}

footer .container{
    max-width: none !important;
    width: 100% !important;
    padding: 0 20px;
}

.footer-wrapper {
    width: 100%;
    padding: 0 20px;
    /* 不设置max-width */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 字体应用规则 */
h1, h2, h3, 
nav ul li a,
.logo,
.contact-form button {
    font-family: 'Oswald', 'Noto Serif SC', sans-serif;
}

/* 导航栏样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.logo {
    font-size: 2.5rem;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
    color: var(--gold-dark);
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--gold-color);
}

/* News Section - 行业资讯样式 */
.news {
    background: #fff;
    padding: 180px 0 80px; /* 增加顶部padding为固定导航栏留空间 */
}

.news-item {
    position: relative;
    margin-bottom: 80px;
    height: 400px; /* 固定高度以确保16:9比例 */
}

.news-image {
    width: 60%; /* 图片占屏幕宽度的60% */
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-content {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%; /* 内容区域宽度 */
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.news-title {
    font-size: 1.8rem;
    font-family: 'Oswald', sans-serif;
    color: #d4af37;
    margin-bottom: 15px;
    font-weight: 600;
}

.news-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-excerpt {
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.news-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.news-link:hover {
    color: #b8941f;
}

/* Introduction Section - 简单居中文字 */
.intro {
    background: #fff;
    padding-top: 0%;
    padding-bottom: 15px;
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 15px;
}

.intro-title {
    font-size: 3rem;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
}

.intro-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
    text-align: justify;
}

/* 内容区域通用样式 */
section {
    padding: 7rem 0;
}

.about, .committee {
    background-color: var(--bg-light);
}

.section-header {
    font-size: 3rem;
    font-family: 'Oswald', sans-serif;
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 3px;
    color: #000;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--gold-color);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    text-align: left;
    margin: 0 auto;
    word-spacing: 3px;
}

/* 内容行布局 */
.content-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 顶部对齐，解决顶部空白问题 */
    margin-bottom: 5rem;
}

.content-row:last-child {
    margin-bottom: 0;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

/* 文字列样式 */
.text-column {
    flex: 3;
    padding-right: 40px;
}

.content-row.reverse .text-column {
    padding-right: 0;
    padding-left: 40px;
}

.gold-title {
    font-size: 1.8rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    margin-top: 0; /* 移除顶部边距 */
    margin-bottom: 1.5rem;
    color: var(--gold-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.gold-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--gold-color);
}

.text-justify {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: left;
    word-spacing: 3px;
}

/* 图片列样式 */
.image {
    max-width: 100%;     /* 确保图片不超出容器 */
    width: 250px;
    height: auto;        /* 保持原始宽高比 */
    display: block;      /* 块级显示 */
    border-radius: 4px;  /* 轻微圆角 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 轻微阴影 */
    margin: 10px 0;      /* 上下外边距 */
}

.image-column {
    flex: 2;
    display: flex;
    align-items: flex-start; /* 顶部对齐 */
    justify-content: center;
    padding-top: 30px
}

.square-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.square-image2 {
    width: 400px;
    height: 550px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.image-logo{
    max-width: 100%;     /* 确保图片不超出容器 */
    width: 50px;
    height: auto;        /* 保持原始宽高比 */
    display: block;      /* 块级显示 */
    border-radius: 4px;  /* 轻微圆角 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 轻微阴影 */
    margin: 5px 0;      /* 上下外边距 */
}

/* Gallery Styles - 重新设计为海报式排布 */
.gallery {
    background: #f8f9fa;
    padding: 80px 0;
}

.gallery-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-container {
    display: flex;
    transition: transform 0.3s ease;
    gap: 30px;
    padding: 0 20px;
}

.gallery-item {
    flex: 0 0 300px; /* 固定宽度 */
    background: white;
    border-radius: 0; /* 无边框设计 */
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-content {
    padding: 25px;
}

.gallery-item-title {
    font-size: 1.3rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.gallery-item-date {
    color: #d4af37;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.gallery-item-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 导航按钮 */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.9);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: #d4af37;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-prev {
    left: 20px;
}

.gallery-nav-next {
    right: 20px;
}

.gallery-nav:disabled {
    background: rgba(0, 0, 0, 0.3);
    cursor: not-allowed;
    transform: translateY(-50%);
}

/* 联系我们区域 */


.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gold-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.contact-info h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--gold-color);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 1rem;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    background-color: var(--gold-color);
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--gold-dark);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--text-dark);
}

.social-icon:hover {
    background-color: var(--gold-color);
    color: #fff;
    border-color: var(--gold-color);
}

footer {
    background-color: #111;
    color: #ffffff;
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: 4px solid #D4AF37;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-left {
    flex: 2;
    max-width: 60%;
}

.footer-left h3 {
    font-size: 1.5rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #ffffff;
    letter-spacing: 1px;
}

.footer-left p {
    font-size: 1rem;
    line-height: 1.8;
    color: #cccccc;
    text-align: justify;
    margin: 0;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.partner-section {
    text-align: center;
}

.partner-section h3 {
    font-size: 1.2rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: 1px;
}

.partner-logo {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

.partner-logo:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.partner-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999999;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .footer-left {
        max-width: 100%;
    }
    
    .footer-left p {
        text-align: center;
    }
    
    .partner-logo img {
        height: 60px;
    }
    
    .footer-container {
        padding: 3rem 1rem 1rem;
    }
}

.footer * {
    box-sizing: border-box;
}

/* 确保页脚不会受到其他container样式影响 */
.footer .container {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 版权信息 */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }
    
    .content-row {
        flex-direction: column;
    }
    
    .content-row.reverse {
        flex-direction: column;
    }
    
    .text-column, 
    .content-row.reverse .text-column {
        padding: 0;
        margin-bottom: 2rem;
    }
    
    .image-column {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    nav ul li {
        margin-left: 1.5rem;
    }
    
    .intro-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 20px;
    }

    .news-item {
        height: auto;
    }

    .news-image {
        width: 100%;
        height: 250px;
    }

    .news-content {
        position: static;
        width: 100%;
        transform: none;
        margin-top: 20px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .gallery-item {
        flex: 0 0 250px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .gallery-nav-prev {
        left: 10px;
    }

    .gallery-nav-next {
        right: 10px;
    }

    /* 移动端新闻列表样式 */
    .news-list-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }

    .news-list-date {
        min-width: auto;
        margin-right: 0;
        margin-bottom: 8px;
        font-size: 0.8rem;
    }

    .news-list-title {
        font-size: 1rem;
    }

    .more-link {
        font-size: 1rem;
        padding: 10px 25px;
    }
}

/* News Detail Page Styles */
.news-detail {
    padding: 120px 0 80px;
    background: #fff;
}

.back-link {
    margin-bottom: 2rem;
}

.back-link a {
    color: var(--gold-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: var(--gold-dark);
}

.news-header {
    text-align: center;
    margin-bottom: 3rem;
}

.news-detail-title {
    font-size: 3rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    color: #000;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.news-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.news-detail-date {
    color: var(--text-light);
    font-size: 1.1rem;
}

.news-category {
    background: var(--gold-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.news-featured-image {
    margin-bottom: 3rem;
    text-align: center;
}

.news-featured-image img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-caption {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
    font-style: italic;
}

.news-content {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.lead-paragraph {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.content-wrapper h2 {
    font-size: 2rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: var(--gold-dark);
    margin: 3rem 0 1.5rem 0;
    position: relative;
    padding-bottom: 10px;
}

.content-wrapper h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--gold-color);
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.content-wrapper ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

.inline-image {
    margin: 2.5rem 0;
    text-align: center;
}

.inline-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.quote-block {
    background: var(--bg-light);
    padding: 2rem;
    margin: 2.5rem 0;
    border-left: 4px solid var(--gold-color);
    border-radius: 0 8px 8px 0;
}

.quote-block blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.quote-block cite {
    font-size: 1rem;
    color: var(--gold-dark);
    font-weight: 500;
}

.related-news {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.related-news h3 {
    font-size: 1.8rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: var(--gold-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.related-articles {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.related-item {
    flex: 1;
    max-width: 300px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-content {
    padding: 1.5rem;
}

.related-content h4 {
    margin-bottom: 0.5rem;
}

.related-content h4 a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    transition: color 0.3s ease;
}

.related-content h4 a:hover {
    color: var(--gold-color);
}

.related-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive for News Detail */
@media (max-width: 768px) {
    .news-detail-title {
        font-size: 2.2rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .content-wrapper {
        font-size: 1rem;
    }
    
    .lead-paragraph {
        font-size: 1.1rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.6rem;
    }
    
    .related-articles {
        flex-direction: column;
        align-items: center;
    }
    
    .quote-block {
        padding: 1.5rem;
    }
    
    .quote-block blockquote {
        font-size: 1.1rem;
    }
}

/* 其他新闻列表样式 */
.news-list {
    max-width: 1000px;
    margin: 60px auto 40px;
    padding: 0 20px;
}

.news-list-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.news-list-item:hover {
    background-color: rgba(212, 175, 55, 0.05);
    padding-left: 10px;
    padding-right: 10px;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-date {
    color: #888;
    font-size: 0.9rem;
    min-width: 120px;
    margin-right: 30px;
}

.news-list-title {
    flex: 1;
    margin: 0;
    font-size: 1.1rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
}

.news-list-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.news-list-title a:hover {
    color: #d4af37;
}

/* 更多新闻链接 */
.news-more {
    text-align: center;
    margin-top: 20px;
    padding-top: 00px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.more-link {
    display: inline-block;
    color: #d4af37;
    text-decoration: none;
    font-size: 1.1rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 12px 30px;
    border: 2px solid #d4af37;
    border-radius: 30px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.more-link:hover {
    background-color: #d4af37;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}