* {
    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 {
    width: 100px;
}

.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;
    display: none;
}

.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;
    margin-top: 20px;
    line-height: 1.1;
}

.hero-text {
    font-size: 1.2rem;
    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: 60px;
}

.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('../images/shenzhen.jpg');
    margin-top: 40px;
}

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

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

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

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

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

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

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

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

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

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

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

.london {
    background-image: url('../images/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;
    flex-direction: column;
    align-items: center;
    padding:60px 40px 20px;
    background-color: rgba(0, 0, 0, 0.7);
}
.footer{
   
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-end;
    background-color: rgba(0, 0, 0, 0.7);
}
.foot{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}


.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;
}

.staggered-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start; /* 确保卡片从顶部对齐 */
}
.mobile-qrcode img{
    width:180px;
    display: block;
    display: none;
}
/* 响应式设计 */
@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 {
        justify-content: center;
        display: none;
    }
    
    /* 在移动设备上重置卡片位置，使其更整齐 */
    .card {
        margin-top: 0 !important;
    }
    .footer-right{
        display: none;
    }
    .mobile-qrcode img{
        display: block;
        margin-bottom: 220px;
    }
    .foot-item .qr-codes{
        display: none;
    }
}


/* 模态窗口样式 */
.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;
}


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

/* 表单 */
.contact-box{
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
    top: 0;
    left: 0;
}
.contact-box.show{
    display: block;
}
.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}


.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 14px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
  font-size: 15px;
}


label.required::after {
  content: " *";
  color: #ff4757;
}
#contact-boxs label.required::after {
  content: "";
}

input[type="text"],
input[type="tel"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

input::placeholder {
  color: #999;
}

.form-submit {
  text-align: center;
  margin-top: 32px;
}

.submit-btn {
  background: linear-gradient(135deg, #3498db, #2ecc71);
  color: white;
  border: none;
  padding: 14px 48px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.form-notice {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.required-mark {
  color: #ff4757;
  margin-right: 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .contact-form {
    padding: 30px 20px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 24px;
  }
  
  .contact-header h2 {
    font-size: 28px;
  }
}

/* 验证样式 */
input:invalid {
  border-color: #ff4757;
}

input:valid {
  border-color: #2ecc71;
}
/* footer{
    display: none;
}
 */
.join{
    text-decoration: none;
    margin: 0 20px;
    cursor: pointer;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    border: none;
    padding: 14px 48px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

