/* AIDD页面通用样式 - 基于target.html设计 */

/* 固定头部样式 - 一直保持index滚动后的白色效果 */
.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* 导航栏样式 */
.main-navigation {
    padding: 0 20px;
    position: relative;
}

/* 三栏布局：logo左侧，导航居中，空白右侧 */
.navbar-layout {
    display: grid;
    grid-template-columns: 200px 1fr 100px;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
}

/* Logo区域 */
.navbar-brand-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.custom-logo-link {
    display: inline-block;
}

/* 导航菜单居中区域 */
.navbar-nav-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-nav {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin: 0 !important;
    list-style: none;
    padding: 0;
    width: 100%;
    flex-wrap: nowrap;
}

.navbar-nav .nav-item {
    margin: 0 8px;
    white-space: nowrap;
    flex: 0 0 auto;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 8px !important;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
}

/* 右侧区域（可用于其他功能） */
.navbar-actions-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* 移动端响应式 */
.navbar-toggler {
    display: none;
}

@media (max-width: 991px) {
    .navbar-layout {
        grid-template-columns: auto 1fr auto;
        gap: 15px;
    }
    
    .navbar-toggler {
        display: block;
        border: none;
        background: none;
        padding: 4px 8px;
    }
    
    .navbar-nav-section {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        display: none;
    }
    
    .navbar-nav-section.show {
        display: block;
    }
    
    .navbar-nav {
        flex-direction: column;
        padding: 20px;
    }
    
    .navbar-nav .nav-item {
        margin: 5px 0;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 0 !important;
        border-bottom: 1px solid #eee;
    }
}

/* Bootstrap经典风格的页面样式 */
body {
    padding-top: 0;
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container-fluid {
    max-width: 1200px;
}

/* 页面标题区域 - Bootstrap经典风格 */
.page-header {
    background: #f8f9fa;
    color: #212529;
    padding: calc(80px + 4rem) 0 4rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #007bff;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    font-weight: 400;
    line-height: 1.6;
}

/* 内容区域 - 简洁的Bootstrap风格 */
.content-section {
    margin-bottom: 3rem;
    background: transparent;
}

/* 图片容器样式 */
.slide-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.375rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Bootstrap经典内容样式 */
.text-content {
    padding: 2rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1rem;
    border-bottom: 3px solid #007bff;
    padding-bottom: 0.5rem;
}

.section-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.key-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.key-points li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
    font-size: 0.95rem;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
}

.key-points li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
    font-size: 1.2rem;
}

.key-points li:last-child {
    border-bottom: none;
}

/* Bootstrap经典标签样式 */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background-color: #007bff;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.feature-tag:hover {
    background-color: #0056b3;
    color: white;
    text-decoration: none;
}

/* Bootstrap响应式设计 */
@media (max-width: 768px) {
    .page-header {
        padding: calc(80px + 3rem) 1rem 3rem 1rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.125rem;
    }
    
    .text-content {
        padding: 1.5rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    /* 移动端图片容器调整 */
    .slide-image-container {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    /* 移动端列布局调整 */
    .row.mb-5 .col-lg-6:first-child {
        order: 2;
    }
    
    .row.mb-5 .col-lg-6:last-child {
        order: 1;
    }
    
    .row.mb-5:nth-child(2) .col-lg-6:first-child {
        order: 1;
    }
    
    .row.mb-5:nth-child(2) .col-lg-6:last-child {
        order: 2;
    }
}

/* Bootstrap经典底部样式 */
.site-footer {
    background-color: #f8f9fa;
    padding: 3rem 0 1.5rem 0;
    color: #6c757d;
    border-top: 1px solid #dee2e6;
    margin-top: 3rem;
}

.site-footer .heading {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #495057;
}

.site-footer ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.site-footer ul li {
    margin-bottom: 0.5rem;
}

.site-footer ul li a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.site-footer ul li a:hover {
    color: #007bff;
    text-decoration: underline;
}

.site-footer .copyright {
    border-top: 1px solid #dee2e6;
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.875rem;
    color: #6c757d;
    text-align: center;
}
