/* ============================================
   北京鲁仁科技有限公司官网 - 主样式文件
   ============================================ */

/* ===== 顶部信息条 ===== */
.top-bar {
    background: #1a2a3a;
    color: #ccc;
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    margin-right: 20px;
}

.top-bar-left i {
    color: #2980b9;
    margin-right: 5px;
}

.top-bar-right a {
    color: #ccc;
    font-size: 0.85rem;
}

.top-bar-right a:hover {
    color: #fff;
}

/* ===== 主导航头部 ===== */
.main-header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo h1 {
    font-size: 1.5rem;
    color: #1a5276;
    margin: 0;
}

.logo .logo-en {
    font-size: 0.7rem;
    color: #888;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* 导航菜单 */
.main-nav ul {
    display: flex;
    gap: 5px;
}

.main-nav li a {
    display: block;
    padding: 10px 18px;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s;
}

.main-nav li a:hover,
.main-nav li.active a {
    color: #fff;
    background: linear-gradient(135deg, #1a5276, #2980b9);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: #333;
    transition: all 0.3s;
}

/* ===== Banner轮播 ===== */
.banner-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a5276 0%, #2980b9 50%, #3498db 100%);
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.banner-content h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.banner-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.banner-content .btn {
    animation: fadeInUp 1s ease 0.4s both;
}

/* Banner装饰背景 */
.banner-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
    z-index: 1;
}

/* 滚动指示器 */
.banner-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: #fff;
    animation: bounce 2s infinite;
}

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

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Banner圆点 */
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dots span.active {
    background: #fff;
    transform: scale(1.2);
}

/* ===== 公司概况区域 ===== */
.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    color: #1a2a3a;
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8fafb;
    border-radius: 8px;
    border-bottom: 3px solid #2980b9;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2980b9;
    display: block;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,82,118,0.3), transparent);
}

/* ===== 新闻动态区域 ===== */
.news-section {
    padding: 80px 0;
    background: #f5f7fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

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

.news-card-image {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a5276, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body {
    padding: 25px;
}

.news-card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.news-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-body h3 a {
    color: #1a2a3a;
}

.news-card-body h3 a:hover {
    color: #2980b9;
}

.news-card-body p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-more {
    text-align: center;
    margin-top: 50px;
}

/* ===== 业务领域区域 ===== */
.business-section {
    padding: 80px 0;
    background: #fff;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.business-card {
    text-align: center;
    padding: 35px 20px;
    border-radius: 10px;
    background: #f8fafb;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.business-card:hover {
    background: linear-gradient(135deg, #1a5276, #2980b9);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(41,128,185,0.3);
}

.business-card:hover h3,
.business-card:hover p {
    color: #fff;
}

.business-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a5276, #2980b9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.business-card:hover .business-icon {
    background: rgba(255,255,255,0.2);
}

.business-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #1a2a3a;
    transition: color 0.3s;
}

.business-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    transition: color 0.3s;
}

/* ===== 页脚 ===== */
.main-footer {
    background: #1a2a3a;
    color: #ccc;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #2980b9;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #aaa;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #2980b9;
}

.footer-col i {
    color: #2980b9;
    margin-right: 8px;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

.footer-bottom a {
    color: #888;
}

.footer-bottom a:hover {
    color: #2980b9;
}

/* ===== 新闻列表页 ===== */
.news-list-section {
    padding: 60px 0;
}

.news-list-item {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.news-list-item:hover {
    background: #f8fafb;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-image {
    width: 250px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a5276, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

.news-list-body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.news-list-body h3 a {
    color: #1a2a3a;
}

.news-list-body h3 a:hover {
    color: #2980b9;
}

.news-list-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.news-list-body p {
    color: #666;
    line-height: 1.7;
}

/* ===== 新闻详情页 ===== */
.news-detail-section {
    padding: 60px 0;
}

.news-detail-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.news-detail-header h1 {
    font-size: 2rem;
    color: #1a2a3a;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-detail-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: #888;
    font-size: 0.9rem;
}

.news-detail-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
    font-size: 1.05rem;
    color: #333;
}

.news-detail-body p {
    margin-bottom: 20px;
    text-indent: 2em;
}

/* ===== 业务领域页 ===== */
.business-page-section {
    padding: 60px 0;
}

.business-detail-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    padding: 30px;
    margin-bottom: 20px;
    background: #f8fafb;
    border-radius: 10px;
    transition: all 0.3s;
}

.business-detail-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.business-detail-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a5276, #2980b9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.business-detail-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1a5276;
}

.business-detail-content p {
    color: #555;
    line-height: 1.8;
}

/* ===== 联系我们页 ===== */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-box {
    background: linear-gradient(135deg, #1a5276, #2980b9);
    color: #fff;
    padding: 50px;
    border-radius: 12px;
}

.contact-info-box h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    margin-top: 5px;
}

.contact-info-item h4 {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.contact-info-item p {
    font-size: 1rem;
}

.contact-form-box {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.contact-form-box h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2980b9;
    box-shadow: 0 0 0 3px rgba(41,128,185,0.1);
}

/* ===== 关于我们页 ===== */
.about-page-section {
    padding: 60px 0;
}

.about-page-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.9;
    font-size: 1.05rem;
}

.about-page-content h2 {
    font-size: 1.8rem;
    color: #1a5276;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.about-page-content p {
    margin-bottom: 20px;
    color: #444;
}

.about-page-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.about-page-content ul li {
    margin-bottom: 10px;
    color: #444;
}
