/* 公共样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}

.text-primary {
    color: #0066cc !important;
}

.bg-primary {
    background-color: #0066cc !important;
}

.btn-primary {
    background-color: #0066cc;
    border-color: #0066cc;
}

.btn-primary:hover {
    background-color: #0052a3;
    border-color: #0052a3;
}

/* 导航栏样式 */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand h1 {
    font-size: 1.5rem;
    margin: 0;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #0066cc !important;
}

/* 轮播图样式 */
.carousel-item {
    height: 500px;
    overflow: hidden;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-radius: 5px;
    bottom: 20%;
}

/* 卡片样式 */
.card {
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* 标题样式 */
.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0066cc;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer h4 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #0066cc;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    margin-top: 2rem;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .carousel-item {
        height: 350px;
    }
    
    .carousel-caption {
        bottom: 10%;
        padding: 1rem;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }
    
    .navbar-brand h1 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 250px;
    }
    
    .carousel-caption h2 {
        font-size: 1.2rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
}

/* 产品列表样式 */
.product-list .card {
    margin-bottom: 2rem;
}

/* 新闻列表样式 */
.news-list .card {
    margin-bottom: 2rem;
}

/* 技术支持样式 */
.tech-support .card {
    margin-bottom: 2rem;
}

/* 联系表单样式 */
.contact-form .form-control {
    margin-bottom: 1rem;
}

/* 面包屑导航样式 */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    margin-bottom: 2rem;
    border-radius: 0;
}

.breadcrumb a {
    color: #0066cc;
}

.breadcrumb a:hover {
    text-decoration: none;
}