/* 网站主样式文件 */

/* 字体引入 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* 全局样式 */
body {
    font-family: 'Noto Sans SC', sans-serif;
}

/* 防止横向滚动 */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* 容器最大宽度限制 */
.container {
    max-width: 100%;
}

/* 确保所有元素不超出视口 */
*, *::before, *::after {
    box-sizing: border-box;
}

section, div, article {
    max-width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* 导航栏hover效果 */
.nav-item {
    position: relative;
    transition: color 0.3s ease;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0066B3;
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

/* 二级菜单 */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    margin-top: 10px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #4B5563;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.nav-dropdown-item:last-child {
    border-bottom: none;
}

.nav-dropdown-item:hover {
    background-color: #F3F4F6;
    color: #0066B3;
    padding-left: 25px;
}

.nav-dropdown-icon {
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-icon {
    transform: rotate(180deg);
}

/* 移动端二级菜单样式 */
.mobile-submenu {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-dropdown-icon {
    transition: transform 0.3s ease;
}

.mobile-nav-dropdown.active .mobile-dropdown-icon {
    transform: rotate(180deg);
}

/* PC端二级菜单样式 */
@media (min-width: 768px) {
    .nav-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        min-width: 200px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 100;
        margin-top: 10px;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* 轮播图样式 */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* 轮播图指示器 */
.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-indicator.active {
    width: 30px;
    border-radius: 5px;
    background-color: white;
}

/* 卡片悬停效果 */
.card-hover {
    transition: all 0.3s ease;
}

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

/* 按钮动画 */
.btn-animate {
    transition: all 0.3s ease;
}

.btn-animate:hover {
    transform: scale(1.05);
}

/* 新闻轮播样式 */
.news-carousel-container {
    position: relative;
}

.news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.news-slide.active {
    opacity: 1;
    position: relative;
}

.news-indicator {
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-indicator.active {
    width: 32px;
}

/* 滚动动画 */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 搜索框样式 */
.search-box {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 新闻卡片悬停效果 */
.news-card {
    transition: all 0.3s ease;
}

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

/* 分页按钮 */
.pagination-btn {
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    transform: scale(1.05);
}

/* 面包屑 */
.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 8px;
    color: #999;
}

/* 文章内容样式 */
.article-content {
    line-height: 2;
}

.article-content p {
    margin-bottom: 1.5rem;
    text-indent: 2em;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 2rem 0 1rem;
    color: #333;
}

.article-content img {
    margin: 2rem auto;
    border-radius: 8px;
    max-width: 100%;
}

/* 相关新闻卡片 */
.related-card {
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 搜索结果卡片 */
.result-card {
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* 页面内容样式 */
.page-content {
    line-height: 2;
}

.page-content p {
    margin-bottom: 1.5rem;
    text-indent: 2em;
}

.page-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 2rem 0 1rem;
    color: #333;
}

.page-content img {
    margin: 2rem auto;
    border-radius: 8px;
    max-width: 100%;
}

.page-content ul, .page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

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

/* 特色卡片 */
.feature-card {
    transition: all 0.3s ease;
}

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


/* ========== 子公司介绍 - 全屏页面 ========== */
.fullpage-container {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
}

.fullpage-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 120px 30px;
    position: relative;
    z-index: 10;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.fullpage-nav-left {
    display: flex;
    gap: 60px;
}

.fullpage-nav-item {
    color: white;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    padding-bottom: 12px;
    transition: color 0.3s;
}

.fullpage-nav-item.active {
    color: #C6AA8A;
}

.fullpage-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #D32F2F;
    border-radius: 2px;
}

.fullpage-nav-item:hover {
    color: #C6AA8A;
}

.fullpage-nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
}

.fullpage-nav-right:hover {
    color: #C6AA8A;
}

.fullpage-main {
    flex: 1;
    display: flex;
    padding: 40px 120px;
    position: relative;
    z-index: 5;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    justify-content: space-between;
}

.fullpage-left {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 80px;
}

.fullpage-brand {
    font-size: 120px;
    font-weight: 300;
    color: rgba(198, 170, 138, 0.9);
    letter-spacing: 0.1em;
    line-height: 1;
    margin-bottom: 20px;
    font-family: Georgia, 'Times New Roman', serif;
}

.fullpage-title {
    font-size: 48px;
    color: white;
    font-weight: 400;
    letter-spacing: 0.2em;
    position: relative;
    padding-left: 30px;
}

.fullpage-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60px;
    background: white;
}

.fullpage-right {
    width: 36%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 60px;
}

.fullpage-en-title {
    font-size: 52px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 30px;
}

.fullpage-divider {
    width: 80px;
    height: 3px;
    background: #C6AA8A;
    margin-bottom: 30px;
}

.fullpage-desc-container {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.fullpage-desc-container::-webkit-scrollbar {
    width: 4px;
}

.fullpage-desc-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.fullpage-desc-container::-webkit-scrollbar-thumb {
    background: rgba(198, 170, 138, 0.5);
    border-radius: 2px;
}

.fullpage-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 2;
    margin-bottom: 20px;
}

.fullpage-summary {
    display: flex;
    justify-content: center;
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
    width: 100%;
}

.fullpage-summary-inner {
    display: flex;
    width: 100%;
    max-width: 1600px;
    padding: 0 120px;
}

.fullpage-summary-left,
.fullpage-summary-right {
    flex: 1;
    padding: 0 40px;
}

.fullpage-summary-left {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.fullpage-summary-title {
    font-size: 14px;
    color: #C6AA8A;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
}

.fullpage-summary-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* ========== 响应式 - 子公司介绍 ========== */
@media (max-width: 1400px) {
    .fullpage-nav { padding: 50px 80px 30px; }
    .fullpage-main { padding: 40px 80px; }
    .fullpage-summary-inner { padding: 0 80px; }
    .fullpage-brand { font-size: 100px; }
    .fullpage-title { font-size: 42px; }
    .fullpage-en-title { font-size: 46px; }
}

@media (max-width: 1200px) {
    .fullpage-nav { padding: 40px 60px 30px; }
    .fullpage-main { padding: 30px 60px; }
    .fullpage-summary-inner { padding: 0 60px; }
    .fullpage-brand { font-size: 80px; }
    .fullpage-title { font-size: 36px; }
    .fullpage-en-title { font-size: 40px; }
    .fullpage-left { padding-right: 50px; }
    .fullpage-right { padding-left: 40px; }
}

@media (max-width: 768px) {
    .fullpage-nav { padding: 20px; }
    .fullpage-nav-left { gap: 20px; }
    .fullpage-nav-item { font-size: 14px; }
    .fullpage-main {
        flex-direction: column;
        padding: 20px;
        overflow-y: auto;
    }
    .fullpage-left,
    .fullpage-right {
        width: 100%;
        padding: 0;
    }
    .fullpage-left { margin-bottom: 30px; }
    .fullpage-brand { font-size: 60px; }
    .fullpage-title { font-size: 28px; }
    .fullpage-title::before { height: 40px; }
    .fullpage-en-title { font-size: 32px; }
    .fullpage-desc-container { max-height: none; }
    .fullpage-summary { flex-direction: column; padding: 20px; }
    .fullpage-summary-left {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .fullpage-summary-left,
    .fullpage-summary-right { padding: 0; }
}

/* ========== 子公司介绍页 - 全屏布局样式 ========== */
.fullpage-container {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
}