/* 基地简介页面专用样式 */

/* 页面内部Banner */
.inner-banner {
    position: relative;
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image/hr.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.inner-banner-content {
    position: relative;
    z-index: 1;
    text-align: right !important;
    color: #fff;
    padding-right: 100px;
    padding-top: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 40px;
}

.inner-banner-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: inline-block;
    border-bottom: 3px solid #ff0000;
    padding-bottom: 10px;
}

.inner-banner-subtitle {
    font-size: 24px;
    font-weight: 300;
    opacity: 0.95;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}



/* 主要内容区域 */
.jidi-main {
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
    background: #fff;
}

.jidi-container {
    width: 100%;
}

/* 页面标题 */
.page-title {
    text-align: center;
    margin-bottom: 50px;
}

.page-title h1 {
    font-size: 2.8rem;
    color: #1e3c72;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

/* 滑动门选项卡 */
.tab-container {
    margin-bottom: 40px;
}

.tab-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tab-btn {
    padding: 12px 20px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30,60,114,0.1), transparent);
    transition: left 0.6s ease;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover {
    border-color: #1e3c72;
    color: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30,60,114,0.2);
}

.tab-btn.active {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-color: #1e3c72;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(30,60,114,0.3);
}

.tab-btn.active::before {
    display: none;
}

/* 内容区域 */
.tab-content {
    min-height: 500px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tab-pane {
    display: none;
    padding: 40px;
    animation: fadeInUp 0.6s ease-out;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 基地内容样式 */
.base-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.base-title {
    font-size: 2.2rem;
    color: #1e3c72;
    margin-bottom: 10px;
    font-weight: 700;
}

.base-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
}

.base-content {
    line-height: 1.8;
    font-size: 1rem;
    color: #333;
    text-align: justify;
}

.base-content p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.base-content p:first-child {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3c72;
    text-indent: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 20px;
    border-left: 4px solid #1e3c72;
    border-radius: 5px;
    margin-bottom: 25px;
}

/* 高亮关键信息 */
.highlight-info {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #2a5298;
    margin: 25px 0;
}

.highlight-info h3 {
    color: #1e3c72;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .jidi-main {
        padding: 40px 20px;
    }
    
    .tab-nav {
        gap: 6px;
        padding: 12px;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .inner-banner-title {
        font-size: 32px;
    }
    
    .inner-banner-subtitle {
        font-size: 16px;
    }
    
    .jidi-main {
        padding: 30px 15px;
    }
    
    .page-title h1 {
        font-size: 2.2rem;
    }
    
    .tab-nav {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 12px 20px;
    }
    
    .tab-pane {
        padding: 25px 20px;
    }
    
    .base-title {
        font-size: 1.8rem;
    }
    
    .base-content {
        font-size: 0.95rem;
    }
    
    .base-content p {
        text-indent: 1.5em;
    }
}

@media (max-width: 480px) {
    .inner-banner-title {
        font-size: 28px;
    }
    
    .inner-banner-subtitle {
        font-size: 14px;
    }
    
    .jidi-main {
        padding: 25px 10px;
    }
    
    .page-title h1 {
        font-size: 1.8rem;
    }
    
    .tab-pane {
        padding: 20px 15px;
    }
    
    .base-title {
        font-size: 1.6rem;
    }
    
    .base-content {
        font-size: 0.9rem;
    }
    
    .base-content p:first-child {
        font-size: 1rem;
        padding: 12px 15px;
    }
}

/* 加载动画 */
.loading {
    text-align: center;
    padding: 50px;
    color: #666;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #1e3c72;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 平滑过渡效果 */
* {
    box-sizing: border-box;
}

.tab-pane {
    transition: all 0.3s ease;
}

/* 打印样式 */
@media print {
    .inner-banner,
    .breadcrumb-nav,
    .tab-nav {
        display: none;
    }
    
    .tab-pane {
        display: block !important;
        page-break-inside: avoid;
    }
    
    .base-content {
        font-size: 12pt;
        line-height: 1.6;
    }
}