/* 多页面网站样式 */

/* 面包屑导航 */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb-nav a {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #1e3a5f;
}

.breadcrumb-nav .separator {
    margin: 0 10px;
    color: #adb5bd;
}

.breadcrumb-nav .current {
    color: #495057;
    font-weight: 500;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 服务中心页面 */
.services-detail {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-bottom: 10px;
    text-align: center;
}

.service-card h4 {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-features h5,
.service-applications h5 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.service-features li {
    padding: 8px 0;
    color: #495057;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.app-tag {
    background: #e9ecef;
    color: #495057;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.app-tag:hover {
    background: #2c5aa0;
    color: white;
}

.service-btn {
    display: inline-block;
    background: #2c5aa0;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.service-btn:hover {
    background: #1e3a5f;
    transform: translateY(-2px);
}

/* 技术优势 */
.tech-advantages {
    background: #f8f9fa;
    padding: 80px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.advantage-item h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.advantage-item p {
    color: #6c757d;
    line-height: 1.6;
}

/* 项目案例页面 */
.case-filters {
    background: #f8f9fa;
    padding: 40px 0;
}

.filter-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
    color: #495057;
    white-space: nowrap;
}

.filter-select {
    padding: 8px 15px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    background: white;
    color: #495057;
    font-size: 14px;
    min-width: 120px;
}

.cases-detail {
    padding: 80px 0;
}

.case-stats {
    background: #2c5aa0;
    color: white;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffd700;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 产品展示页面 */
.product-categories {
    background: #f8f9fa;
    padding: 40px 0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 25px;
    border: 2px solid #2c5aa0;
    background: transparent;
    color: #2c5aa0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-tab:hover,
.category-tab.active {
    background: #2c5aa0;
    color: white;
}

.products-detail {
    padding: 80px 0;
}

.product-advantages {
    background: #f8f9fa;
    padding: 80px 0;
}

/* 新闻动态页面 */
.news-categories {
    background: #f8f9fa;
    padding: 40px 0;
}

.news-detail {
    padding: 80px 0;
}

.pagination {
    background: #f8f9fa;
    padding: 40px 0;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.pagination-btn {
    padding: 10px 20px;
    border: 1px solid #ced4da;
    background: white;
    color: #495057;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-numbers button {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    background: white;
    color: #495057;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-numbers button:hover,
.page-numbers button.active {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.news-subscription {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.subscription-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.subscription-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.subscription-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.subscription-form input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
}

.subscription-form button {
    padding: 15px 30px;
    background: #ffd700;
    color: #1e3a5f;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscription-form button:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

/* 关于我们页面 */
.company-intro {
    padding: 80px 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text h2 {
    color: #2c5aa0;
    font-size: 2rem;
    margin-bottom: 25px;
}

.intro-text p {
    color: #495057;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.intro-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.company-history {
    background: #f8f9fa;
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #2c5aa0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: #2c5aa0;
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 2;
    position: relative;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 0 30px;
    flex: 1;
    max-width: 300px;
}

.timeline-content h3 {
    color: #2c5aa0;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: #6c757d;
    line-height: 1.6;
}

.company-culture {
    padding: 80px 0;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.culture-item {
    text-align: center;
    padding: 30px 20px;
}

.culture-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.culture-item h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.culture-item p {
    color: #6c757d;
    line-height: 1.6;
}

.team-strength {
    background: #f8f9fa;
    padding: 80px 0;
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.strength-item {
    text-align: center;
    padding: 30px 20px;
}

.strength-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.strength-label {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 15px;
    font-weight: 600;
}

.strength-item p {
    color: #6c757d;
    line-height: 1.6;
}

/* 联系我们页面 */
.contact-info {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-item h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-item p {
    color: #6c757d;
    line-height: 1.6;
}

.contact-form-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h2 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-form p {
    color: #6c757d;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #495057;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.submit-btn {
    background: #2c5aa0;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #1e3a5f;
    transform: translateY(-2px);
}

.contact-details {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-details h2 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.detail-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-item h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.detail-item p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 5px;
}

.cooperation-process {
    padding: 80px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-item {
    text-align: center;
    padding: 30px 20px;
}

.process-number {
    background: #2c5aa0;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-item h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.process-item p {
    color: #6c757d;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .intro-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-year {
        margin-right: 20px;
    }
    
    .timeline-content {
        margin-left: 0;
        max-width: none;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .subscription-form {
        flex-direction: column;
        align-items: center;
    }
    
    .subscription-form input {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0;
    }
    
    .services-grid,
    .advantages-grid,
    .stats-grid,
    .contact-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .contact-form,
    .contact-details {
        padding: 25px;
    }
}
