* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    color: #fff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.logo img {
    height: 40px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-btn {
    background-color: rgba(50, 50, 50, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.language-btn img {
    width: 20px;
    height: 20px;
}

.login-btn {
    background-color: rgba(80, 80, 80, 0.7);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.company-btn {
    
    color: white;
    border: none;
   
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

main {
    padding: 20px 40px;
}

.hero {
    margin-bottom: 60px;
}

h1 {
    font-size: 4rem;
    font-weight: bold;
    color: #4AE54A;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-text {
    font-size: 1rem;
    max-width: 600px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.trust-badge {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 30px;
}

.destination-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    position: relative;
    margin-top: 180px;
}

.card {
    width: 220px;
    height: 140px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

/* 为每个卡片设置不同的位置 */
.shenzhen {
    background-image: url('../image/shenzhen.jpg');
    margin-top: 40px;
}

.hangzhou {
    background-image: url('../image/hangzhou.jpg');
    margin-top: 70px;
}

.tokyo {
    background-image: url('../image/tokyo.jpg');
    margin-top: 50px;
}

.seoul {
    background-image: url('../image/seoul.jpg');
    margin-top: 30px;
}

.paris {
    background-image: url('../image/paris.jpg');
    margin-top: 60px;
}

.london {
    background-image: url('../image/london.jpg');
    margin-top: 10px;
}

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

/*
.shenzhen {
    background-image: url('shenzhen.jpg');
}

.hangzhou {
    background-image: url('hangzhou.jpg');
}

.tokyo {
    background-image: url('tokyo.jpg');
}

.seoul {
    background-image: url('seoul.jpg');
}

.paris {
    background-image: url('paris.jpg');
}

.london {
    background-image: url('london.jpg');
}
*/

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.trip-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.date-days, .status-price {
    display: flex;
    flex-direction: column;
}

.date, .status {
    opacity: 0.8;
}

.days, .price {
    font-weight: bold;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: rgba(0, 0, 0, 0.7);
}

.hotline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hotline img {
    width: 24px;
    height: 24px;
}

.footer-center {
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.terms-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);

}


.qr-codes {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.qr-codes img {
    width: 82px;
    height: 82px;
    border-radius: 5px;
}

/* 添加新的QR码容器样式 */
.qr-code-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code-item span {
    font-size: 0.8rem;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    
    main {
        padding: 15px 20px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    .destination-cards {
        justify-content: center;
    }
    
    footer {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
}

/* ... 现有代码 ... */

.staggered-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start; /* 确保卡片从顶部对齐 */
}

/* 响应式设计调整 */
@media (max-width: 768px) {
    /* ... 现有代码 ... */
    
    .staggered-layout {
        justify-content: center;
    }
    
    /* 在移动设备上重置卡片位置，使其更整齐 */
    .card {
        margin-top: 0 !important;
    }
}

/* 模态窗口样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: rgba(30, 30, 30, 0.95);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
}

.close-modal {
    font-size: 28px;
    font-weight: 700;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: #fff;
}

.modal-body {
    padding: 20px;
    max-height: 50vh;
    overflow-y: auto;
    line-height: 1.6;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: right;
}

#modal-close-btn {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

#modal-close-btn:hover {
    background-color: #357abD;
}


/* ... 现有代码 ... */