﻿/* ==========================================
   CSS变量定义
   ========================================== */
:root {
    --primary-color: #1A3C6E;
    --secondary-color: #005F8E;
    --accent-color: #0f2341;
    --text-color: #333333;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* ==========================================
   基础重置
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* ==========================================
   头部导航 - PC端样式
   ========================================== */
.rc_header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    z-index: 9999;
    transition: var(--transition);
}

.rc_header.scrolled {
    position: fixed;
    background: rgba(15, 35, 65, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.rc_nav {
    margin: 0 auto;
    padding: 0 30px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo样式 */
.rc_logo {
    flex-shrink: 0;
    z-index: 10;
}

.rc_logo a {
    display: block;
    line-height: 0;
}

.rc_logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.rc_logo:hover img {
    transform: scale(1.05);
}

/* PC端导航菜单 */
.rc_menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.rc_menu_item {
    display: block;
    padding: 10px 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
}

.rc_menu_item::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.rc_menu_item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.rc_menu_item:hover::after {
    width: 50%;
}

.rc_menu_item.active {
    background: var(--secondary-color);
}

/* 右侧工具栏 */
.rc_nav_right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

/* 搜索按钮 */
.rc_search_btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.rc_search_btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

/* 搜索弹窗 */
.rc_search_popup {
    position: fixed;
    top: 80px;
    right: 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 350px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 10000;
}

.rc_search_popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rc_search_box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rc_search_input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.rc_search_input:focus {
    border-color: var(--primary-color);
}

.rc_search_submit {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.rc_search_submit:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* 语言切换美化样式 */
.rc_lang_dropdown {
    position: relative;
    display: inline-block;
}

/* 当前语言显示区域 */
.current-language {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: var(--white);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    min-width: 120px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.current-language::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.current-language:hover::before {
    left: 100%;
}

.current-language:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.current-language .lang-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.current-language:hover .lang-icon {
    transform: scale(1.1);
}

.current-language span {
    flex: 1;
    margin-right: 8px;
}

.current-language i {
    font-size: 12px;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.rc_lang_dropdown.active .current-language i {
    transform: rotate(180deg);
}

/* 下拉菜单样式 */
.rc_lang_menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(15, 35, 65, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    min-width: 180px;
    list-style: none;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.rc_lang_menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.rc_lang_menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: rgba(15, 35, 65, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    backdrop-filter: blur(15px);
}

.rc_lang_menu li {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 2px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.rc_lang_menu li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.3s ease;
}

.rc_lang_menu li:hover::before {
    left: 100%;
}

.rc_lang_menu li:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(3px);
}

.rc_lang_menu li .lang-icon {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    margin: 12px 0 12px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.rc_lang_menu li:hover .lang-icon {
    transform: scale(1.1);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.rc_lang_menu li span {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    margin-left: 12px;
    margin-right: 15px;
    flex: 1;
    transition: color 0.2s ease;
}

.rc_lang_menu li:hover span {
    color: #ffffff;
}

/* 动画效果 */
@keyframes langDropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes langDropdownFadeOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .rc_lang_dropdown {
        position: static;
    }
    
    .rc_lang_menu {
        position: fixed;
        top: 70px;
        right: 20px;
        left: 20px;
        width: auto;
        min-width: auto;
    }
    
    .current-language {
        min-width: 100px;
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .current-language .lang-icon {
        width: 18px;
        height: 13px;
    }
    
    .rc_lang_menu li .lang-icon {
        width: 20px;
        height: 15px;
    }
}

/* 旧样式兼容 */
.rc_lang_btn {
    display: none; /* 隐藏旧的按钮样式 */
}

/* 移动端菜单按钮 */
.rc_mobile_menu_btn {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.rc_mobile_menu_btn:hover {
    color: var(--secondary-color);
}

/* 移动端下拉菜单 */
.rc_mobile_menu_dropdown {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 70px);
    background: var(--accent-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: var(--transition);
    z-index: 9998;
}

.rc_mobile_menu_dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rc_mobile_menu_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rc_mobile_logo img {
    height: 40px;
}

.rc_mobile_menu_close {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.rc_mobile_menu_close:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

.rc_mobile_menu_dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rc_mobile_menu_dropdown li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rc_mobile_menu_dropdown a {
    display: block;
    padding: 16px 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
}

.rc_mobile_menu_dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 30px;
}

/* 移动端搜索和语言 */
.rc_mobile_tools {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rc_mobile_search {
    margin-bottom: 15px;
}

.rc_mobile_search input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 14px;
    outline: none;
}

.rc_mobile_search input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.rc_mobile_lang {
    display: flex;
    gap: 10px;
}

.rc_mobile_lang a {
    flex: 1;
    padding: 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.rc_mobile_lang a:hover,
.rc_mobile_lang a.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* ==========================================
   响应式设计 - 平板
   ========================================== */
@media (max-width: 1024px) {
    .rc_nav {
        padding: 0 20px;
    }
    
    .rc_menu_item {
        padding: 10px 15px;
        font-size: 15px;
    }
}

/* ==========================================
   响应式设计 - 移动端
   ========================================== */
@media (max-width: 768px) {
    .rc_nav {
        padding: 0 15px;
        height: 60px;
    }
    
    .rc_logo img {
        height: 40px;
    }
    
    /* 隐藏PC端元素 */
    .rc_menu {
        display: none;
    }
    
    .rc_nav_right {
        display: none;
    }
    
    /* 显示移动端按钮 */
    .rc_mobile_menu_btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .rc_mobile_menu_dropdown {
        top: 60px;
        max-height: calc(100vh - 60px);
    }
    
    .rc_search_popup {
        right: 15px;
        left: 15px;
        width: auto;
    }
}

@media (max-width: 480px) {
    .rc_nav {
        padding: 0 10px;
        height: 55px;
    }
    
    .rc_logo img {
        height: 35px;
    }
    
    .rc_mobile_menu_btn {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
    
    .rc_mobile_menu_dropdown {
        top: 55px;
        max-height: calc(100vh - 55px);
    }
    
    .rc_search_popup {
        width: auto;
        padding: 15px;
    }
}

/* ==========================================
   页面间距调整（移除为固定头部留空间的padding）
   ========================================== */
body {
    padding-top: 0;
}

@media (max-width: 768px) {
    body {
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 0;
    }
}

/* ==========================================
   内页Banner样式
   ========================================== */
.rc_inner_banner {
     padding: 190px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
}

.rc_inner_banner_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.rc_inner_banner_title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.rc_inner_banner_title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 15px auto 0;
}

.rc_inner_banner_description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
}

.rc_page_banner {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
}

.rc_page_banner_content {
    max-width: 800px;
    padding: 0 20px;
}

.rc_page_banner_content h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.rc_page_banner_content p {
    font-size: 18px;
    opacity: 0.9;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .rc_inner_banner {
        padding: 100px 0 60px;
    }
    
    .rc_inner_banner_title {
        font-size: 2.2em;
    }
    
    .rc_inner_banner_description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .rc_inner_banner {
        padding: 80px 0 50px;
    }
    
    .rc_inner_banner_title {
        font-size: 2em;
    }
    
    .rc_inner_banner_description {
        font-size: 1em;
    }
}

@media (max-width: 576px) {
    .rc_inner_banner {
        padding: 60px 0 40px;
    }
    
    .rc_inner_banner_title {
        font-size: 1.8em;
    }
    
    .rc_inner_banner_description {
        font-size: 0.9em;
    }
}

/* ==========================================
   面包屑导航样式
   ========================================== */
.rc_breadcrumb {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e9e9e9;
    padding: 15px 0;
    font-size: 14px;
}

.rc_breadcrumb_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.rc_breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.rc_breadcrumb a:hover {
    color: var(--secondary-color);
}

.rc_breadcrumb a i {
    margin-right: 6px;
    font-size: 12px;
}

.rc_breadcrumb_separator {
    margin: 0 10px;
    color: #aaa;
}

.rc_breadcrumb_current {
    color: #777;
    font-weight: 500;
}

@media (max-width: 768px) {
    .rc_breadcrumb {
        padding: 12px 0;
        font-size: 13px;
    }
    
    .rc_breadcrumb_container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .rc_breadcrumb {
        padding: 10px 0;
        font-size: 12px;
    }
    
    .rc_breadcrumb_container {
        padding: 0 10px;
    }
    
    .rc_breadcrumb_separator {
        margin: 0 6px;
    }
}

/* ==========================================
   页脚样式 - 全屏展示
   ========================================== */
.rc_footer {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 100;
    padding: 60px 0 40px;
}

.rc_footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/mask.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: -1;
}
.rc_footer_content {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 30px;
    gap: 40px;
    position: relative;
}

.rc_footer_section {
    flex: 1 1 230px;
    margin-bottom: 30px;
}

.rc_footer_logo {
    margin-bottom: 20px;
}

.rc_footer_logo img {
    max-width: 150px;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.rc_footer_logo img:hover {
    transform: scale(1.05);
}

.rc_footer_section p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    max-width: 340px;
}

.rc_footer_title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}

.rc_footer_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.rc_footer_links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rc_footer_links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.rc_footer_links a::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 18px;
    transition: all 0.3s ease;
}

.rc_footer_links a:hover {
    color: #fff;
    padding-left: 20px;
}

.rc_footer_links a:hover::before {
    left: 5px;
}

.rc_footer_contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.7;
}

.rc_footer_contact i {
    color: var(--white);
    font-size: 16px;
    margin-top: 4px;
}

.rc_footer_social {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rc_footer_social img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.rc_footer_social img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* Copyright Section */
.rc_copyright {
    background-color: var(--accent-color);
    padding: 20px 0;
    text-align: center;
}

.rc_copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin: 0;
}

.rc_copyright a{
    color: var(--white); text-decoration:none;
 
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .rc_footer {
        padding: 80px 0 60px;
        min-height: auto; /* 平板上不需要全屏 */
    }
    
    .rc_footer_content {
        padding: 0 20px;
        gap: 30px;
    }
    
    .rc_footer_section {
        flex: 1 1 200px;
    }
}

@media (max-width: 768px) {
    .rc_footer {
        padding: 60px 0 40px;
    }
    
    .rc_footer_content {
        flex-direction: column;
        padding: 0 15px;
        gap: 40px;
    }
    
    .rc_footer_section {
        flex: 1 1 100%;
        margin-bottom: 0;
    }
    
    /* 在移动端调整社交媒体部分的对齐方式 */
    .rc_footer_section[style*="margin-left: auto"] {
        margin-left: 0 !important;
    }
    
    .rc_footer_social {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .rc_footer {
        padding: 50px 0 30px;
    }
    
    .rc_footer_content {
        padding: 0 10px;
        gap: 30px;
    }
    
    .rc_footer_title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .rc_footer_links a {
        font-size: 13px;
    }
    
    .rc_copyright p {
        font-size: 12px;
    }
}
