/* 全局样式 */
:root {
    --primary-color: #2b4c7e;
    --secondary-color: #567ebb;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

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

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* 主视觉区样式 */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(43, 76, 126, 0.8), rgba(86, 126, 187, 0.7));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: #ffffff;
    font-size: 1.5rem;
    opacity: 0.9;
}

/* 按钮样式 */
.custom-btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    background-color: var(--accent-color);
}

.custom-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 产品卡片样式 */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-bg-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product1-bg { background-image: url('../images/product1.jpg'); }
.product2-bg { background-image: url('../images/product2.jpg'); }
.product3-bg { background-image: url('../images/st.jpg'); }

/* 使命愿景区域样 */
.mission-vision {
    background-color: var(--light-bg);
}

.mission-card,
.vision-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* 标题样式 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* 页脚样式 */
footer {
    background-color: #1a1a1a;
}

footer a {
    transition: var(--transition);
}

footer a:hover {
    color: var(--accent-color) !important;
    text-decoration: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
} 

/* 产品详情卡片样式 */
.product-detail-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.product-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.product-detail-card .card-bg-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(43, 76, 126, 0.9);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-detail-card:hover .card-overlay {
    opacity: 1;
}

.overlay-content {
    color: white;
    text-align: center;
}

.overlay-content h6 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.overlay-content ul li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.product-detail-card .card-body {
    padding: 1.5rem;
}

/* 模态框样式 */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
}

.modal-body {
    padding: 2rem;
}

.modal .table {
    margin-bottom: 0;
}

.modal .table th {
    width: 30%;
    background-color: var(--light-bg);
}

/* 产品分类卡片样式 */
.category-card {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-image {
    height: 100%;
    background-size: cover;
    background-position: center;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(43, 76, 126, 0.8), rgba(43, 76, 126, 0.95));
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.category-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.feature-list li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.feature-list i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* 服务卡片样式 */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-features li {
    margin-bottom: 0.5rem;
    color: #666;
}

.service-features i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.service-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .category-card {
        height: 300px;
    }
    
    .category-content h3 {
        font-size: 1.5rem;
    }
    
    .feature-list li {
        font-size: 1rem;
    }
}

/* 关于我们页面���样式 */
.achievement-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.achievement-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-left: 2rem;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    width: 1rem;
    height: 1rem;
    background: var(--primary-color);
    border-radius: 50%;
}

.culture-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.culture-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.culture-icon i {
    font-size: 2rem;
    color: white;
}

.culture-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* 内容区域通用样式 */
.content-section {
    padding: 80px 0;
}

/* 标题样式 */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.section-line {
    width: 80px;
    height: 4px;
    background-color: #007bff;
    margin-bottom: 2rem;
}

/* 成就卡片样式 */
.achievement-card {
    background: #fff;
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
}

/* 时间线卡片样式 */
.timeline-card {
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 15px;
}

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

.timeline-card .year {
    font-size: 1.5rem;
    color: #007bff;
}

/* 企业文化卡片样式 */
.culture-card {
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 15px;
}

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

.culture-icon {
    margin-bottom: 1.5rem;
}

.hover-card {
    transition: all 0.3s ease;
}

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

/* 图片样式 */
.image-wrapper img {
    transition: transform 0.3s ease;
}

.image-wrapper img:hover {
    transform: scale(1.02);
}

/* 案例卡片样式 */
.testimonial-card {
    transition: var(--transition);
}

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

/* 服务卡片样式 */
.service-card {
    background: white;
    transition: var(--transition);
}

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

/* 自定义手风琴样式 */
.custom-accordion .accordion-item {
    border-radius: 10px;
    overflow: hidden;
}

.custom-accordion .accordion-button {
    padding: 1.5rem;
    font-weight: 500;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

/* 联系卡片样式 */
.contact-card {
    transition: var(--transition);
}

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

/* 新闻卡片样式 */
.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

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

.news-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-title {
    font-weight: 600;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 新闻分类按钮样式 */
.news-categories .btn {
    border-radius: 30px;
    padding: 8px 20px;
}

.news-categories .btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* 分页样式 */
.pagination .page-link {
    color: var(--primary-color);
    border-radius: 30px;
    margin: 0 3px;
    padding: 8px 16px;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 轮播图样式 */
.carousel {
    height: 80vh;
    min-height: 500px;
}

.carousel-item {
    height: 80vh;
    min-height: 500px;
}

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

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    padding: 0;
}

.carousel-indicators {
    margin-bottom: 3rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* 轮播图文字样式 */
.carousel-caption .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-caption .hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-caption .hero-title {
        font-size: 2rem;
    }
    
    .carousel-caption .hero-subtitle {
        font-size: 1.2rem;
    }
}
  