@charset "utf-8";
/*****************************************************
* 文件名称：base.css
* 作   者：界面设计制作部---XX
* 创建日期：2025-08-20
* 内容概要:全局框架的样式
*****************************************************/

/* 基础样式 */
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a365d;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 40px;
    margin-right: 10px;
}

.nav-link {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    margin-left: 1.5rem;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: #A67100 !important;
}

.lang-switch {
    background: transparent;
    border: 1px solid #ddd;
    color: black;
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-switch:hover {
    border-color: #A67100;
    color: #A67100;
}

/* 通栏图片 */
.hero-banner {
    position: relative;
    height: 500px;
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* 遮罩层样式 */
.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0; /* 替代top/left/right/bottom:0 */
    /*background: rgba(26, 54, 93, 0.5);*/
    z-index: 2;
}

.hero-bg {
    position: absolute;
    inset: 0; /* 替代top/left/right/bottom:0 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* 内容样式 - 确保在最上层 */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    padding: 10px;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* 面包屑导航 */
.breadcrumb-container {
    background-color: #f8fafc;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #999;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #A67100;
}

.breadcrumb-icon {
    margin-right: 8px;
    margin-top: 4px;
    color: #999;
}

/* 内容区域 */
.content-area {
    padding: 3rem 0;
}

.placeholder-content {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    border-radius: 8px;
    color: #666;
    text-align: center;
    padding: 2rem;
}

/* 页脚样式 */
footer {
    background-color: #1a365d;
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.footer-logo img {
    max-height: 35px;
    margin-right: 10px;
}

.footer-links h5 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    width: 50%;
    float: left;
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.contact-info {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hero-banner {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .navbar-collapse {
        margin-top: 1rem;
    }

    .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }

    /* 移动端语言切换按钮靠右显示 */
    .lang-switch-container {
        position: absolute;
        margin-top: 5.5rem;
        right: 1rem;
        color: black;
        z-index: 10;
    }
}

@media (min-width: 992px) {
    /* 桌面端保持原有位置 */
    .lang-switch-container {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    footer .col-md-4 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .content-area {
        padding: 2rem 0;
    }
}