/* 全局样式 */
body {
    padding-top: 56px;
    font-family: "Microsoft YaHei", sans-serif;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.navbar-brand span {
    color: #333;
    font-size: 1.2rem;
}

.navbar-nav .nav-item {
    margin: 0 1.5rem;
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
    color: #333 !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff0000;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::after {
    width: 100%;
}

.navbar-nav .nav-link.active:not(.dropdown-toggle)::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: #333 !important;
}

.cart-icon {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    margin-left: 1rem;
}

.cart-icon i {
    font-size: 1.2rem;
    margin-right: 5px;
}

.cart-icon span {
    font-size: 1rem;
}

.cart-icon:hover {
    color: #333;
}

/* 下拉菜单样式 */
.dropdown-menu {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #333;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #333;
    padding-left: 2rem;
}

/* 下拉菜单悬停显示 */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* 轮播图样式 */
.carousel {
    margin-bottom: 2rem;
}

.carousel-item {
    height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 10px;
}

/* 公司简介部分 */
.company-intro {
    background-color: #fff;
}

.company-intro img {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 产品展示部分 */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-column h5 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #fff;
}

.social-links i {
    margin-right: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    margin: 0;
    color: #ccc;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
    
    .company-intro img {
        margin-top: 1rem;
    }
    
    .card-img-top {
        height: 150px;
    }
}

/* 按钮样式 */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* 表单样式 */
.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* 时间线样式 */
.timeline .card {
    border-left: 4px solid #007bff;
    margin-left: 20px;
}

/* 团队介绍样式 */
.team-intro .card-img-top {
    height: 250px;
    object-fit: cover;
}

/* 企业文化卡片样式 */
.company-culture .card {
    background-color: #f8f9fa;
    border: none;
}

.company-culture .card-title {
    color: #007bff;
    font-weight: bold;
}

/* 技术支持页面样式 */
.support-search {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 4rem 0;
}

.support-search h2 {
    margin-bottom: 2rem;
}

.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: #007bff;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

.qr-codes {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.qr-item {
    text-align: center;
}

.qr-item img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 5px;
}

.qr-item p {
    font-size: 12px;
    color: #666;
    margin: 0;
} 