/* WOOTDEAL 官网样式 - 现代化专业设计 */

/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: 80px; /* 为固定导航栏留出空间 */
}

/* 主色调 - 专业蓝色主题 */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --dark-blue: #1e40af;
    --light-blue: #dbeafe;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
}

/* 导航栏 - Bootstrap 3 样式 */
.navbar-default {
    background-color: #fff !important;
    border-color: #e5e7eb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-height: 80px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e5e7eb;
}

.navbar-brand {
    padding: 17.5px 15px;
    height: 80px;
}

.navbar-brand img {
    transition: all 0.3s ease;
    height: 60px;
    width: auto;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav > li > a {
    color: #1f2937 !important;
    font-weight: 500;
    padding: 30px 15px !important;
    transition: all 0.3s ease;
    position: relative;
    font-size: 16px;
    line-height: 20px;
}

.navbar-nav > li > a:hover {
    color: #1e3a8a !important;
    background-color: rgba(30, 58, 138, 0.05) !important;
}

/* 移除所有active状态样式，让所有导航链接保持一致 */

/* 导航动画效果 - 移除active状态的特殊样式 */
.navbar-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #1e3a8a;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav > li > a:hover::after {
    width: 80%;
}

/* 联系我们按钮特殊样式 - 修复样式冲突 */
.navbar-nav li a.btn-primary.navbar-btn {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    color: #fff !important;
    border-radius: 25px !important;
    padding: 10px 20px !important;
    margin-left: 10px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    line-height: 1.4 !important;
}

.navbar-nav li a.btn-primary.navbar-btn:hover,
.navbar-nav li a.btn-primary.navbar-btn:focus {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
    color: #fff !important;
    text-decoration: none !important;
}

.navbar-nav li a.btn-primary.navbar-btn::after {
    display: none !important;
}

/* 移动端导航栏样式 */
.navbar-toggle {
    border-color: #1e3a8a;
    margin-top: 23px;
    margin-bottom: 23px;
}

.navbar-toggle:hover,
.navbar-toggle:focus {
    background-color: rgba(30, 58, 138, 0.1);
}

.navbar-toggle .icon-bar {
    background-color: #1e3a8a;
}

@media (max-width: 767px) {
    .navbar-nav > li > a {
        padding: 15px 15px !important;
    }
    
    .navbar-nav li a.btn {
        margin-left: 0;
        margin-top: 10px;
        margin-bottom: 10px;
        display: inline-block;
        width: auto;
    }
}

/* 轮播图 */
.carousel {
    margin-top: 70px;
}

.carousel-inner > .item {
    height: 500px;
    background-size: cover;
    background-position: center;
}

.carousel-inner > .item > img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(30, 58, 138, 0.8);
    padding: 40px 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: left;
}

.carousel-caption h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #fff;
}

/* 按钮样式 */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

/* 服务介绍样式 */
.services-intro {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.service-features li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 工作流程样式 */
.work-process {
    padding: 80px 0;
    background: white;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.process-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    position: relative;
    z-index: 2;
}

.process-step h4 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

/* 成功案例样式 */
.success-cases {
    padding: 80px 0;
    background: #f8f9fa;
}

.case-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.case-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.case-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-brand {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* 新闻资讯 */
.news {
    padding: 80px 0;
    background-color: #f8fafc;
}

.news h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.news .lead {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 60px;
}

.news-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.news-image {
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-content h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.4;
}

.news-meta {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.news-meta i {
    margin-right: 5px;
}

.news-content p {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* 联系我们CTA */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><linearGradient id="bg" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23283593;stop-opacity:0.8"/><stop offset="100%" style="stop-color:%233f51b5;stop-opacity:0.9"/></linearGradient></defs><rect width="1200" height="400" fill="url(%23bg)"/><path d="M0,300 Q300,250 600,280 T1200,260 L1200,400 L0,400 Z" fill="rgba(255,255,255,0.1)"/></svg>') center/cover;
    z-index: 1;
}

.contact-cta .container {
    position: relative;
    z-index: 2;
}

.contact-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-cta p.lead {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 30px;
    font-weight: 400;
}

.contact-cta .btn-primary {
    background: linear-gradient(45deg, #4285f4, #5c6bc0);
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.contact-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.6);
    background: linear-gradient(45deg, #3367d6, #4a5fc1);
}

/* 页脚 */
.footer {
    background-color: var(--text-dark);
    color: #fff;
    padding: 50px 0 20px;
}

.footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer p {
    color: #9ca3af;
    line-height: 1.6;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--accent-color);
}

.footer ul li i {
    margin-right: 8px;
    color: var(--accent-color);
}

.social-links {
    margin-top: 15px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.footer hr {
    border-color: #374151;
    margin: 30px 0 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .company-intro h2,
    .solutions h2,
    .news h2 {
        font-size: 2rem;
    }
    
    .contact-cta h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .contact-cta .text-right {
        text-align: left !important;
        margin-top: 20px;
    }
    
    .navbar-default .navbar-nav > li > a {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .carousel-inner > .item {
        height: 300px;
    }
    
    .carousel-inner > .item > img {
        height: 300px;
    }
    
    .carousel-caption {
        padding: 20px 0;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .company-intro,
    .solutions,
    .news {
        padding: 50px 0;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 120px 0 80px;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-header .lead {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.page-header .breadcrumb {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb > li + li:before {
    color: rgba(255,255,255,0.7);
}

.page-header .breadcrumb > li > a {
    color: rgba(255,255,255,0.8);
}

.page-header .breadcrumb > .active {
    color: #fff;
}

/* 公司概览 */
.company-overview {
    padding: 80px 0;
    background-color: #fff;
}

.company-overview h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.company-overview .content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.company-stats {
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 20px 0;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

/* 企业文化 */
.company-culture {
    padding: 80px 0;
    background-color: #f8fafc;
}

.company-culture h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.company-culture .lead {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 60px;
}

.culture-item {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

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

.culture-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.culture-item h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.culture-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 发展历程 */
.company-history {
    padding: 80px 0;
    background-color: #fff;
}

.company-history h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.company-history .lead {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 60%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 60%;
    text-align: left;
}

.timeline-year {
    position: absolute;
    left: 50%;
    top: 0;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.timeline-content h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* 团队介绍 */
.team-intro {
    padding: 80px 0;
    background-color: #f8fafc;
}

.team-intro h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.team-intro .lead {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 60px;
}

.team-member {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.team-member .position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-member p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 资质荣誉 */
.certifications {
    padding: 80px 0;
    background-color: #fff;
}

.certifications h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.certifications .lead {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 60px;
}

.cert-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.cert-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.cert-item h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
}

/* 响应式设计 - 关于我们页面 */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .company-overview,
    .company-culture,
    .company-history,
    .team-intro,
    .certifications {
        padding: 60px 0;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-year {
        left: 30px;
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 80px;
        margin-right: 0;
        text-align: left;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
}

/* 专业服务详情样式 */
.service-details {
    padding: 80px 0;
    background: white;
}

.service-detail-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
}

.service-detail-card h4 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.3rem;
}

.service-detail-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.service-detail-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-detail-features li {
    padding: 8px 0;
    color: #666;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.service-detail-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 0.8rem;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}