* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo h1 {
    color: #1a73e8;
    font-size: 24px;
    margin-bottom: 5px;
}

.logo p {
    color: #666;
    font-size: 14px;
}

.contact-info p {
    margin-bottom: 5px;
    font-size: 14px;
}

nav {
    background-color: #1a73e8;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    flex: 1;
    text-align: center;
}

nav ul li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 0;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #1557b0;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=beautiful%20landscape%20scenery%2C%20travel%20destination%2C%20natural%20beauty&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #1a73e8;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #1557b0;
}

.advantages {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.advantages h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.advantage-item h3 {
    color: #1a73e8;
    margin-bottom: 15px;
    font-size: 18px;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

.routes {
    padding: 60px 0;
    background-color: #fff;
}

.routes h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.route-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex: 1 1 300px;
    max-width: 350px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    padding: 20px;
    color: #333;
}

.card p {
    padding: 0 20px 20px;
    color: #666;
}

.card .btn {
    margin: 0 20px 20px;
    display: block;
    text-align: center;
}

.services {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-item h3 {
    color: #1a73e8;
    margin-bottom: 15px;
    font-size: 18px;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}

.about {
    padding: 60px 0;
}

.about h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.about-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.about-text {
    flex: 1 1 500px;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
}

.about-image {
    flex: 1 1 400px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.contact h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.contact-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1 1 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info h3 {
    margin-bottom: 20px;
    color: #333;
}

.contact-info p {
    margin-bottom: 15px;
    color: #666;
}

.contact-form {
    flex: 1 1 500px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form h3 {
    margin-bottom: 20px;
    color: #333;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-info {
    flex: 1 1 300px;
}

.footer-info h3 {
    margin-bottom: 15px;
}

.footer-links {
    flex: 1 1 200px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #1a73e8;
}

.footer-contact {
    flex: 1 1 200px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #ccc;
}

/* 在线客服聊天框样式 */
.chat-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button {
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.chat-button:hover {
    background-color: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 450px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background-color: #1a73e8;
    color: #fff;
    padding: 15px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 18px;
}

.close-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.close-button:hover {
    background-color: rgba(255,255,255,0.2);
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.chat-message {
    margin-bottom: 15px;
    max-width: 80%;
}

.admin-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    background-color: #e3f2fd;
    border-radius: 10px 10px 0 10px;
    padding: 10px 15px;
}

.admin-message p {
    background-color: #fff;
    border-radius: 10px 10px 10px 0;
    padding: 10px 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.chat-footer {
    display: flex;
    padding: 15px;
    border-top: 1px solid #ddd;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
}

.chat-footer input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 14px;
}

.send-button {
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.send-button:hover {
    background-color: #1557b0;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li a {
        padding: 10px 0;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .about-content,
    .contact-content {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .chat-window {
        width: 300px;
        height: 400px;
    }

    .chat-container {
        bottom: 20px;
        right: 20px;
    }
}