/* ========================================
   北京车牌出租网 - 主样式文件
   主题色彩：薄荷绿 #00BFA5
   辅助色彩：浅薄荷 #4DB6AC, 石墨灰 #455A64, 暖珊瑚 #FF7043
   ======================================== */

/* ========================================
   基础样式重置与通用样式
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

/* ========================================
   通用组件样式
   ======================================== */

/* 页面标题样式 */
.page-title {
    background: linear-gradient(135deg, #00BFA5 0%, #4DB6AC 100%);
}

.page-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* 区块标题样式 */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #00BFA5;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00BFA5, #4DB6AC);
    border-radius: 2px;
}

/* 卡片通用样式 */
.card {
    border: none;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

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

/* 按钮样式增强 */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #00BFA5 0%, #4DB6AC 100%);
    box-shadow: 0 4px 15px rgba(0, 191, 165, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #009688 0%, #26A69A 100%);
    box-shadow: 0 6px 20px rgba(0, 191, 165, 0.4);
    transform: translateY(-2px);
}

.btn-warning {
    background: linear-gradient(135deg, #FF7043 0%, #FF8A65 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 112, 67, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #F4511E 0%, #FF7043 100%);
    box-shadow: 0 6px 20px rgba(255, 112, 67, 0.4);
    transform: translateY(-2px);
}

/* 表单样式增强 */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #00BFA5;
    box-shadow: 0 0 0 0.2rem rgba(0, 191, 165, 0.25);
}

.form-control-lg {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
}

/* ========================================
   首页特定样式
   ======================================== */

/* 轮播图样式 */
.hero-slider .carousel-caption {
    background: rgba(0,0,0,0.4);
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    padding: 2rem;
}

.hero-slider .carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-slider .carousel-caption .lead {
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* 服务亮点卡片 */
.service-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00BFA5, #4DB6AC, #FF7043);
}

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

.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* 业务介绍样式 */
.business-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.business-item {
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 10px;
}

.business-item:hover {
    background: rgba(0, 191, 165, 0.05);
    transform: translateX(10px);
}

.icon-box {
    transition: all 0.3s ease;
}

.business-item:hover .icon-box {
    transform: scale(1.2);
}

/* 价格计算器样式 */
.calculator-card {
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#priceResult {
    animation: fadeInUp 0.5s ease;
}

/* 城市选择器样式 */
.city-btn {
    transition: all 0.3s ease;
    border-radius: 8px;
    font-size: 0.9rem;
}

.city-btn:hover {
    background: linear-gradient(135deg, #00BFA5, #4DB6AC);
    color: white;
    transform: scale(1.05);
}

/* 成功案例卡片 */
.case-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

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

.case-image {
    position: relative;
    overflow: hidden;
}

.case-image img {
    transition: all 0.3s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

/* 资讯卡片样式 */
.news-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

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

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image img {
    transition: all 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.hot-news-item {
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.hot-news-item:hover {
    background: rgba(0, 191, 165, 0.05);
    transform: translateX(5px);
}

/* ========================================
   资讯列表页特定样式
   ======================================== */

/* 文章列表样式 */
.news-item {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

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

.news-category {
    position: absolute;
    top: 10px;
    left: 10px;
}

.news-meta span {
    font-size: 0.9rem;
}

/* 侧边栏样式 */
.sidebar-widget {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.sidebar-widget:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.category-list a {
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    display: block;
}

.category-list a:hover {
    background: rgba(0, 191, 165, 0.1);
    transform: translateX(5px);
}

.tag-cloud a {
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    transform: scale(1.1);
}

/* 分页样式 */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, #00BFA5, #4DB6AC);
    color: white;
    transform: scale(1.1);
}

.pagination .active .page-link {
    background: linear-gradient(135deg, #00BFA5, #4DB6AC);
    border-color: #00BFA5;
}

/* ========================================
   文章详情页特定样式
   ======================================== */

/* 文章头部信息 */
.article-header {
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 文章正文样式 */
.article-content {
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.content h2, .content h3, .content h4 {
    color: #00BFA5;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.content p {
    margin-bottom: 1.5rem;
}

.content img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 1rem 0;
}

/* 社交分享按钮 */
.social-share .btn {
    transition: all 0.3s ease;
}

.social-share .btn:hover {
    transform: scale(1.1);
}

/* 相关文章样式 */
.related-articles {
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.related-item {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.related-item:hover {
    background: rgba(0, 191, 165, 0.05);
    transform: translateX(5px);
}

/* 评论区域样式 */
.comment-area {
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 文章目录样式 */
.table-of-contents a {
    transition: all 0.3s ease;
    color: #333;
}

.table-of-contents a:hover {
    color: #00BFA5;
    transform: translateX(5px);
}

/* ========================================
   关于我们页特定样式
   ======================================== */

/* 公司简介样式 */
.company-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.company-description {
    font-size: 1.1rem;
    line-height: 1.8;
}

.company-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00BFA5;
}

/* 服务优势卡片 */
.advantage-card {
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00BFA5, #4DB6AC, #FF7043);
}

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

.advantage-icon {
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
}

/* 时间线样式 */
.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00BFA5, #4DB6AC);
}

.timeline-item {
    position: relative;
}

.timeline-marker {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1;
}

.timeline-content .card {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 团队成员样式 */
.team-member {
    transition: all 0.3s ease;
    padding: 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.member-avatar {
    transition: all 0.3s ease;
}

.team-member:hover .member-avatar img {
    transform: scale(1.1);
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* ========================================
   联系我们页特定样式
   ======================================== */

/* 联系卡片样式 */
.contact-card {
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00BFA5, #4DB6AC, #FF7043);
}

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

.contact-icon {
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.2);
}

/* 表单卡片样式 */
.form-card {
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 服务流程样式 */
.process-step {
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

/* FAQ样式 */
.accordion-button {
    font-weight: 600;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: rgba(0, 191, 165, 0.1);
    color: #00BFA5;
}

.accordion-button:hover {
    background: rgba(0, 191, 165, 0.05);
}

/* ========================================
   动画效果
   ======================================== */

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* 淡入上升动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* 脉冲动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* 旋转动画 */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotate {
    animation: rotate 1s linear infinite;
}

/* ========================================
   响应式设计
   ======================================== */

/* 大屏幕 (1200px以上) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-slider .carousel-caption h1 {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

/* 中等屏幕 (992px-1199px) */
@media (max-width: 1199px) {
    .hero-slider .carousel-caption h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* 小屏幕 (768px-991px) */
@media (max-width: 991px) {
    .hero-slider .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .hero-slider .carousel-caption .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        width: 40px !important;
        height: 40px !important;
        margin-left: -10px;
    }
}

/* 超小屏幕 (576px-767px) */
@media (max-width: 767px) {
    .hero-slider .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .hero-slider .carousel-caption .lead {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .company-stats .stat-number {
        font-size: 2rem;
    }
}

/* 极小屏幕 (小于576px) */
@media (max-width: 575px) {
    .hero-slider .carousel-caption {
        padding: 1rem;
    }
    
    .hero-slider .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .page-title h1 {
        font-size: 1.8rem;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-marker {
        width: 30px !important;
        height: 30px !important;
        margin-left: -5px;
    }
    
    .timeline-content {
        margin-left: 10px;
    }
}

/* ========================================
   特殊效果与工具类
   ======================================== */

/* 阴影效果 */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.shadow {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

.shadow-lg {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

/* 圆角效果 */
.rounded-lg {
    border-radius: 15px !important;
}

.rounded-xl {
    border-radius: 20px !important;
}

/* 渐变背景 */
.bg-gradient-primary {
    background: linear-gradient(135deg, #00BFA5 0%, #4DB6AC 100%) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #66BB6A 0%, #81C784 100%) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #FF7043 0%, #FF8A65 100%) !important;
}

/* 文字渐变 */
.text-gradient {
    background: linear-gradient(135deg, #00BFA5, #4DB6AC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 粘性定位 */
.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}

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

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

::-webkit-scrollbar-thumb {
    background: #00BFA5;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #009688;
}

/* 选择文字样式 */
::selection {
    background: rgba(0, 191, 165, 0.3);
    color: #333;
}

::-moz-selection {
    background: rgba(0, 191, 165, 0.3);
    color: #333;
}

/* ========================================
   打印样式
   ======================================== */

@media print {
    .navbar,
    .footer-area,
    .friend-links-area,
    .copyright-area,
    .back-to-top,
    .mobile-contact,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    a {
        color: #333 !important;
        text-decoration: underline !important;
    }
    
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* ========================================
   辅助功能样式
   ======================================== */

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }
    
    .btn-warning {
        background: #ff0;
        color: #000;
        border: 2px solid #000;
    }
}

/* 减少动画模式 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.header-top {
            background: linear-gradient(135deg, #1976D2 0%, #03A9F4 100%);
            color: white;
            padding: 8px 0;
        }
        .navbar-brand img {
            max-height: 50px;
            transition: all 0.3s ease;
        }
        .navbar-nav .nav-link {
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }
        .navbar-nav .nav-link:hover {
            color: #FFD600 !important;
        }
        .navbar-nav .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 3px;
            background: #FFD600;
            border-radius: 2px;
        }
        .contact-info {
            font-size: 14px;
        }
        .contact-info i {
            margin-right: 5px;
            color: #FFD600;
        }
        .navbar-toggler {
            border: none;
            padding: 0;
        }
        .navbar-toggler:focus {
            box-shadow: none;
        }
        .mobile-menu-btn {
            width: 30px;
            height: 20px;
            position: relative;
            cursor: pointer;
        }
        .mobile-menu-btn span {
            display: block;
            width: 100%;
            height: 2px;
            background: #1976D2;
            position: absolute;
            transition: all 0.3s ease;
        }
        .mobile-menu-btn span:nth-child(1) {
            top: 0;
        }
        .mobile-menu-btn span:nth-child(2) {
            top: 50%;
            transform: translateY(-50%);
        }
        .mobile-menu-btn span:nth-child(3) {
            bottom: 0;
        }
        .mobile-menu-btn.active span:nth-child(1) {
            transform: rotate(45deg);
            top: 9px;
        }
        .mobile-menu-btn.active span:nth-child(2) {
            opacity: 0;
        }
        .mobile-menu-btn.active span:nth-child(3) {
            transform: rotate(-45deg);
            bottom: 9px;
        }
        @media (max-width: 991px) {
            .navbar-collapse {
                background: white;
                box-shadow: 0 5px 15px rgba(0,0,0,0.1);
                border-radius: 10px;
                margin-top: 10px;
                padding: 15px;
            }
            .navbar-nav .nav-link {
                padding: 10px 15px;
                border-bottom: 1px solid #eee;
            }
            .navbar-nav .nav-link:last-child {
                border-bottom: none;
            }
            .navbar-nav .nav-link.active::after {
                display: none;
            }
            .contact-info {
                text-align: center;
                margin-top: 10px;
            }
        }