/* 现代化样式优化 */

/* 全局样式优化 */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    scroll-behavior: smooth;
}

/* 导航栏现代化 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand .logo {
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo {
    transform: scale(1.05);
}

.navbar-nav > li > a {
    color: #333 !important;
    font-weight: 500;
    padding: 15px 20px !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav > li > a:hover {
    color: #007bff !important;
    background: transparent !important;
}

.navbar-nav > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #007bff;
    transition: all 0.3s ease;
}

.navbar-nav > li > a:hover::after,
.navbar-nav > li.active > a::after {
    width: 80%;
    left: 10%;
}

/* 语言选择器优化 */
.slt_i18n {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.slt_i18n:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

/* 轮播图优化 */
.carousel {
    border-radius: 0;
    overflow: hidden;
}

.carousel-inner > .item > img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-indicators .active {
    background-color: #007bff;
    border-color: #007bff;
}

/* 公司介绍区域优化 */
.profuile {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.profuile h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
}

.profuile h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.profuile h3 {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 20px;
}

.profuile p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.profuile img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profuile img:hover {
    transform: translateY(-5px);
}

/* CEO信息卡片 */
.ceo-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.ceo-card:hover {
    transform: translateY(-10px);
}

.ceo-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #007bff;
}

/* 产品服务区域优化 */
.products {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 80px 0;
}

.products h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.products .nav-tabs {
    border: none;
    justify-content: center;
    margin-bottom: 50px;
}

.products .nav-tabs > li {
    margin: 0 10px;
}

.products .nav-tabs > li > a {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    padding: 12px 25px;
    transition: all 0.3s ease;
}

.products .nav-tabs > li > a:hover,
.products .nav-tabs > li.active > a {
    background: #007bff;
    border-color: #007bff;
    color: white;
    transform: translateY(-2px);
}

.products .tab-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.products .tab-pane img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.products .tab-pane img:hover {
    transform: scale(1.05);
}

.products .tab-pane p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.8;
}

/* 服务介绍区域优化 */
.news {
    padding: 80px 0;
    background: white;
}

.news h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 60px;
    position: relative;
}

.news h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #007bff;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card h4 {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* 底部优化 */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 50px 0 30px;
}

footer .footer-button {
    text-align: center;
}

footer .footer-button p {
    margin-bottom: 10px;
    font-size: 16px;
}

footer .footer-button a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .footer-button a:hover {
    color: #0056b3;
}

/* 返回顶部按钮优化 */
.btn_top {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn_top:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4) !important;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .profuile h2,
    .products h2,
    .news h2 {
        font-size: 2rem;
    }
    
    .carousel-inner > .item > img {
        height: 300px;
    }
    
    .profuile,
    .products,
    .news {
        padding: 50px 0;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    .navbar-nav > li > a {
        padding: 10px 15px !important;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 联系表单样式 */
.contact-form {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}