/* 全局样式 */
:root {
    --primary: #0055b3;
    --secondary: #f8f9fa;
    --accent: #003b7a;
    --tech-glow: #00c2ff;
    --text: #333333;
    --text-secondary: #6c757d;
    --border: rgba(0, 0, 0, 0.1);
    --tech-gradient: linear-gradient(135deg, #0055b3 0%, #00c2ff 100%);
    --tech-dark-gradient: linear-gradient(135deg, #001a36 0%, #0055b3 100%);
    --page-bg: #0a1522;
    --content-bg: #0f2642;
    --card-bg: linear-gradient(135deg, #0a1522 0%, #1a3a5f 100%);
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    color: #fff;
    line-height: 1.6;
    background: var(--page-bg);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 15%, rgba(0, 194, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 85%, rgba(0, 194, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
}

/* 内容区域背景 */
.content-section {
    background: var(--content-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 194, 255, 0.1);
    border: 1px solid rgba(0, 194, 255, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--tech-gradient);
    opacity: 0.7;
}

.section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--tech-glow), transparent);
    margin: 3rem 0;
    opacity: 0.3;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #fff;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--tech-glow);
    text-shadow: 0 0 15px rgba(0, 194, 255, 0.5), 0 2px 5px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--tech-gradient);
    border-radius: 2px;
}

/* 导航栏样式 */
.navbar {
    background: var(--tech-dark-gradient) !important;
    border-bottom: 1px solid rgba(0, 194, 255, 0.2);
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0, 85, 179, 0.3), 0 0 30px rgba(0, 194, 255, 0.1);
    position: relative;
    z-index: 1000;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--tech-glow), transparent);
    opacity: 0.6;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff !important;
    text-shadow: 0 0 10px rgba(0, 194, 255, 0.5);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
}

.nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
}

/* 轮播图样式 */
.carousel-item {
    height: 600px;
    background: var(--secondary);
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(0.6);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

/* 卡片样式 */
.card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 194, 255, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 194, 255, 0.1);
    color: #fff;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 194, 255, 0.2);
}

.card-body {
    color: #fff;
    padding: 2rem;
}

.card-title {
    color: var(--tech-glow);
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
}

.text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.btn-primary {
    background: var(--tech-gradient);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 0 12px rgba(0, 194, 255, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 194, 255, 0.5), transparent);
    transition: left 0.6s;
    z-index: -1;
}

.btn-primary:hover {
    background: var(--tech-gradient);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 85, 179, 0.4), 0 0 20px rgba(0, 194, 255, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline-primary {
    color: var(--primary);
    background: transparent;
    border: 2px solid var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 85, 179, 0.1);
}

.btn-outline-primary::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--tech-glow), var(--primary));
    z-index: -2;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.btn-outline-primary:hover {
    color: #fff;
    background: var(--tech-gradient);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 85, 179, 0.4);
}

.btn-outline-primary:hover::after {
    opacity: 1;
}

/* 公司优势样式 */
.advantage-item {
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.advantage-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.advantage-item i {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.advantage-item h4 {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
    margin-left: -1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-date {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

/* 服务项目样式 */
.service-item {
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #0a1522 0%, #1a3a5f 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 194, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 194, 255, 0.2);
    height: 100%;
    z-index: 1;
}

.service-item::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: linear-gradient(135deg, var(--tech-glow), var(--primary));
    z-index: -1;
    border-radius: 17px;
    opacity: 0.1;
    transition: opacity 0.3s;
}

.service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 194, 255, 0.2), transparent);
    transition: left 0.8s;
    z-index: -1;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 194, 255, 0.2);
}

.service-item:hover::before {
    opacity: 0.2;
}

.service-item:hover::after {
    left: 100%;
}

.service-item i {
    color: var(--tech-glow);
    margin-bottom: 1.5rem;
    font-size: 3rem;
    filter: drop-shadow(0 0 10px rgba(0, 194, 255, 0.5));
    transition: transform 0.3s;
}

.service-item:hover i {
    transform: scale(1.2) rotate(5deg);
}

.service-item h5 {
    color: var(--tech-glow);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    text-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
    position: relative;
    display: inline-block;
}

.service-item h5::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40%;
    height: 2px;
    background: var(--tech-gradient);
    border-radius: 2px;
    transition: width 0.3s;
}

.service-item:hover h5::after {
    width: 100%;
}

.service-item p {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.service-item:hover p {
    opacity: 1;
}

/* 联系我们页面样式 */
.contact-info i {
    color: var(--primary);
}

.map-container {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* 页脚样式 */
footer {
    background: var(--tech-dark-gradient);
    border-top: 1px solid rgba(0, 194, 255, 0.2);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    color: #fff;
    position: relative;
    box-shadow: 0 -2px 15px rgba(0, 85, 179, 0.3), 0 0 30px rgba(0, 194, 255, 0.1);
}

footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--tech-glow), transparent);
    opacity: 0.6;
}

footer h5 {
    color: var(--tech-glow);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 194, 255, 0.5);
}

footer a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--tech-glow) !important;
    text-decoration: none;
    text-shadow: 0 0 8px rgba(0, 194, 255, 0.7);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .advantage-item {
        margin-bottom: 1.5rem;
    }
    
    .timeline::before {
        left: 30px;
    }

    .timeline-date {
        left: 30px;
        transform: none;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
}

/* 文字样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* 全局动画 */
.fade-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* 公司简介部分 */
.company-intro {
    background-color: #f8f9fa;
}

.company-intro h2 {
    color: #2c3e50;
    font-weight: bold;
}

/* 产品服务部分 */
.products .card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.products .card:hover {
    transform: translateY(-5px);
}

.products .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* 新闻动态部分 */
.news .card {
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.news .card-title {
    color: #2c3e50;
    font-weight: bold;
}

/* 企业文化部分 */
.culture-item {
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.culture-item i {
    color: var(--primary);
}

/* 联系我们部分 */
.contact-section {
    background-color: #f8f9fa;
}

.contact-section i {
    color: var(--primary);
    margin-right: 10px;
}

/* 解决方案卡片样式 */
.solution-card {
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #0f2642 0%, #1a3a5f 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 194, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 194, 255, 0.2);
    height: 100%;
    z-index: 1;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 194, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.solution-card i {
    color: var(--tech-glow);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 194, 255, 0.4));
    transition: all 0.3s ease;
}

.solution-card h4 {
    color: var(--tech-glow);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
    position: relative;
    display: inline-block;
}

.solution-card h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 2px;
    background: var(--tech-gradient);
    transition: width 0.3s;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 194, 255, 0.2);
}

.solution-card:hover i {
    transform: scale(1.2);
}

.solution-card:hover h4::after {
    width: 80%;
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card p {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.solution-card:hover p {
    opacity: 1;
} 