/* 鑫万顺出行网站 - 紫色优雅风格 */
/* 版本6.0 - 紫色优雅主题 */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f6ff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 - 紫色优雅 */
.navbar {
    background: linear-gradient(135deg, #7b1fa2 0%, #4a148c 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.2);
    border-bottom: 3px solid #ce93d8;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image img {
    height: 50px;
    width: auto;
    filter: brightness(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name img {
    height: 28px;
    width: auto;
    filter: brightness(1.1);
}

.logo-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4px;
    font-weight: 500;
}

/* 导航菜单 */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Segoe UI', sans-serif;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-links a.active {
    background: white;
    color: #7b1fa2;
    font-weight: 700;
}

/* 导航联系按钮 */
.nav-contact {
    display: flex;
    gap: 10px;
}

.contact-btn {
    background: white;
    color: #7b1fa2;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    font-size: 14px;
}

.contact-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 导航切换按钮 */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* 英雄区域 */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f6ff 0%, #ede7f6 100%);
    text-align: center;
    border-bottom: 3px solid #ce93d8;
}

.hero h1 {
    font-size: 48px;
    color: #7b1fa2;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}

/* 统计数据 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(123, 31, 162, 0.1);
    min-width: 150px;
    transition: transform 0.3s;
    border: 2px solid #ede7f6;
}

.stat:hover {
    transform: translateY(-10px);
    border-color: #ce93d8;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #7b1fa2;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 服务区域 */
.services {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #7b1fa2;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #ce93d8, #7b1fa2);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 50px;
}

/* 服务网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(123, 31, 162, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #ede7f6;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(123, 31, 162, 0.2);
    border-color: #ce93d8;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ce93d8, #7b1fa2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.service-card h3 {
    font-size: 22px;
    color: #7b1fa2;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* 线路价格区域 */
.routes {
    padding: 100px 0;
    background: #f8f6ff;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.route-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(123, 31, 162, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #ede7f6;
}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(123, 31, 162, 0.2);
    border-color: #ce93d8;
}

.route-header {
    background: linear-gradient(135deg, #7b1fa2, #4a148c);
    color: white;
    padding: 25px;
    position: relative;
}

.route-header h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.route-price {
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.route-price span {
    font-size: 14px;
    font-weight: normal;
    opacity: 0.9;
}

.route-info {
    padding: 25px;
}

.route-info p {
    margin-bottom: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.route-info i {
    color: #ce93d8;
    width: 20px;
}

.route-book {
    display: block;
    background: linear-gradient(135deg, #ce93d8, #7b1fa2);
    color: white;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.route-book:hover {
    background: linear-gradient(135deg, #7b1fa2, #ce93d8);
    letter-spacing: 1px;
}

/* 车型区域 */
.vehicles {
    padding: 100px 0;
    background: white;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.vehicle-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(123, 31, 162, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #ede7f6;
}

.vehicle-card:hover {
    border-color: #ce93d8;
    transform: translateY(-5px);
}

.vehicle-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ce93d8, #7b1fa2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.vehicle-card h3 {
    font-size: 20px;
    color: #7b1fa2;
    margin-bottom: 10px;
}

.vehicle-card p {
    color: #666;
    margin-bottom: 10px;
}

.vehicle-desc {
    font-size: 14px;
    color: #888;
    font-style: italic;
}

/* 优势区域 */
.advantages {
    padding: 100px 0;
    background: #f8f6ff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(123, 31, 162, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #ede7f6;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(123, 31, 162, 0.2);
    border-color: #ce93d8;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ce93d8, #7b1fa2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.advantage-card h3 {
    font-size: 22px;
    color: #7b1fa2;
    margin-bottom: 15px;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* 联系区域 */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8f6ff;
    border-radius: 15px;
    transition: all 0.3s;
    border: 2px solid #ede7f6;
}

.contact-item:hover {
    background: #ede7f6;
    transform: translateX(5px);
    border-color: #ce93d8;
}

.contact-item i {
    font-size: 28px;
    color: #7b1fa2;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 18px;
    color: #7b1fa2;
    margin-bottom: 8px;
}

.contact-item p, .contact-item a {
    color: #666;
    line-height: 1.6;
}

.contact-item a {
    color: #7b1fa2;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item small {
    color: #888;
    font-size: 14px;
}

.contact-actions {
    background: linear-gradient(135deg, #7b1fa2, #4a148c);
    color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(123, 31, 162, 0.2);
}

.contact-actions h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-actions p {
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-buttons {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    background: white;
    color: #7b1fa2;
}

.contact-btn:hover {
    background: #f5f5f5;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.contact-note {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-note p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-note i {
    color: #e1bee7;
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #7b1fa2 0%, #4a148c 100%);
    color: white;
    padding: 60px 0 20px;
    border-top: 3px solid #ce93d8;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    opacity: 0.9;
    margin-top: 15px;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4,
.footer-services h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #e1bee7;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-services h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #ce93d8;
}

.footer-links ul,
.footer-contact ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-contact li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #e1bee7;
    padding-left: 5px;
}

.footer-contact li,
.footer-services li {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(206, 147, 216, 0.3);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-seo {
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: #7b1fa2;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 3px solid #ce93d8;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0;
    }
    
    .nav-links a {
        display: block;
        padding: 15px;
        border-radius: 0;
        border-bottom: 1px solid rgba(206, 147, 216, 0.3);
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-contact {
        display: none;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat {
        min-width: 120px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .contact-content {
        gap: 30px;
    }
    
    .contact-actions {
        padding: 30px;
    }
    
    .contact-actions h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .services,
    .routes,
    .vehicles,
    .advantages,
    .contact {
        padding: 60px 0;
    }
    
    .services-grid,
    .routes-grid,
    .vehicles-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat {
        width: 100%;
        max-width: 250px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-contact h4::after,
    .footer-services h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}