/* General Styles */
:root {
    --primary-color: #0d253f;
    --secondary-color: #01b4e4;
    --accent-color: #90cea1;
    --text-light: #ffffff;
    --text-dark: #222222;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, "LXGW WenKai", sans-serif;
}

body {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* 导航栏样式 */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 40px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    margin-right: 10px;
}

.logo svg {
    width: 50px;
    height: 50px;
    transition: transform 0.5s ease;
}

.logo:hover svg {
    transform: rotate(45deg);
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin-left: 40px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.menu a:hover {
    opacity: 0.7;
}

/* 目的地部分样式 */
main {
    position: relative;
    height: 100vh;
    width: 100vw;
}

.destination {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.5s ease;
    overflow: hidden; /* 防止详情页溢出 */
}

.destination.active {
    opacity: 1;
    pointer-events: auto;
}

/* 详情页样式 */
.details-page {
    position: absolute;
    top: 0;
    left: 100%; /* 初始状态在右侧不可见 */
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    transition: left 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 10;
    overflow: hidden;
}

.destination.show-details .details-page {
    left: 0; /* 显示时滑入到可见范围 */
}

.details-content {
    display: flex;
    width: 100%;
    height: 100%;
    color: white;
}

.details-text {
    width: 30%;
    padding: 150px 30px 60px;
    overflow-y: auto;
    margin-top: 20px;
}

.details-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.details-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.back-btn {
    background-color: white;
    color: #333;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 16px;
    margin-top: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.details-gallery {
    width: 70%;
    position: relative;
    overflow: hidden;
}

.gallery-container {
    display: flex;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    transition: transform 0.8s ease;
    justify-content: center;
    padding: 0 5%;
    gap: 30px;
}

.gallery-item {
    min-width: 40%;
    height: 420px;
    margin: 0 15px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    opacity: 0.6;
    transition: all 0.5s ease;
    object-fit: cover;
    filter: brightness(0.9);
    flex-shrink: 0;
}

.gallery-item:hover {
    opacity: 1;
    transform: scale(1.15) translateZ(0);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    filter: brightness(1.1);
    border: 2px solid rgba(255, 255, 255, 0.7);
    z-index: 10;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* 添加视频背景支持 */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
    text-align: center;
}

h1 {
    color: white;
    font-size: 15vw;
    font-weight: bold;
    letter-spacing: 10px;
    text-shadow: 0 0 10px rgba(0,0,0,0.2);
    margin-bottom: 40px;
    transform: translateY(0);
    transition: transform 0.5s ease, opacity 0.5s ease;
    text-transform: uppercase;
    letter-spacing: 8px;
    font-weight: 700;
}

.destination:not(.active) h1 {
    transform: translateY(50px);
    opacity: 0;
}

.details-btn {
    background-color: white;
    color: #666;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease, min-width 0.3s ease;
    transform: translateY(0);
    min-width: 180px;
}

.details-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    letter-spacing: 0.5px;
}

.destination:not(.active) .details-btn {
    transform: translateY(50px);
    opacity: 0;
}

/* 新主题背景渐变效果 */
/* #cuisine .bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(180, 40, 40, 0.3), rgba(180, 40, 40, 0.7));
}

#heritage .bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(80, 60, 30, 0.3), rgba(80, 60, 30, 0.7));
}

#zen .bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(60, 100, 100, 0.3), rgba(60, 100, 100, 0.7));
}

#vibrancy .bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(70, 0, 120, 0.3), rgba(70, 0, 120, 0.7));
}

#festivity .bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(200, 50, 0, 0.3), rgba(200, 50, 0, 0.7));
}

#buygasm .bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 80, 120, 0.3), rgba(0, 80, 120, 0.7));
} */


/* 新增定制行程页面样式 */
.custom-plan-page {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: rgba(245, 243, 233, 0.95); /* 调整透明度为0.95，使背景更清晰 */
    transition: left 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 2000;
    display: flex;
    padding: 80px 5%;
    overflow-y: auto; /* 允许内容溢出时滚动 */
}

.custom-plan-page.active {
    left: 0;
}

/* 按钮组样式 */
.button-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.custom-btn {
    background: white;
    color: #666;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease, min-width 0.3s ease;
    transform: translateY(0);
    min-width: 180px;
}

.custom-btn:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    letter-spacing: 0.5px;
}

/* 专家介绍区域 */
.expert-profile {
    width: 50%;
    padding: 40px;
    padding-left: calc(5% + 20px); /* 添加左侧内边距，使内容向右移动一半 */
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.expert-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
    color: #4a4a4a;
}

.expert-description {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

/* 复用图片集样式 */
.custom-gallery {
    width: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 100%; /* 确保高度充满父容器 */
}

/* 新增定制返回按钮样式 */
.custom-back-btn {
    background-color: transparent;
    color: #4a4a4a;
    border: 1px solid #4a4a4a;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-back-btn:hover {
    background-color: rgba(74, 74, 74, 0.1);
    transform: translateY(-3px);
}

.destination:not(.active) .custom-btn {
    transform: translateY(50px);
    opacity: 0;
}

/* 更新浮动按钮样式 */
.floating-btn {
    position: fixed;
    right: 0;
    top: 50%;
    width: 180px; /* 增加宽度从120px到180px，以确保文字完全显示 */
    height: 60px; /* 保持原有高度 */
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(-50%) translateX(50%); /* 调整初始隐藏量，从60%减少到50% */
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.3s ease;
    z-index: 950;
    cursor: pointer;
    overflow: hidden;
}

.floating-btn:hover {
    transform: translateY(-50%) translateX(0); /* 悬停时完全显示，无延伸感 */
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* 增加图标和文字之间的间距 */
    color: #4a4a4a;
    font-weight: 500;
    width: 90%; /* 限制内容宽度，避免靠边太近 */
}

.btn-content svg {
    color: #4a4a4a;
    transition: transform 0.4s ease;
    min-width: 24px; /* 确保SVG图标不会缩小 */
}

.btn-content span {
    white-space: nowrap;
    font-size: 16px; /* 确保文字大小合适 */
}

/* 客服窗口样式 */
.customer-service-window {
    position: fixed;
    right: -380px; /* 初始状态隐藏在右侧 */
    bottom: 80px;
    width: 360px;
    height: 450px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 960;
    opacity: 0;
}

.customer-service-window.active {
    right: 20px;
    opacity: 1;
}

.cs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #4a4a4a;
    color: white;
}

.cs-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.cs-close-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cs-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.cs-message {
    display: flex;
    margin-bottom: 16px;
}

.cs-message-received {
    justify-content: flex-start;
}

.cs-message-sent {
    justify-content: flex-end;
}

.cs-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
    margin-right: 10px;
}

.cs-avatar svg {
    color: #666;
}

.cs-bubble {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
}

.cs-message-received .cs-bubble {
    background-color: white;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.cs-message-sent .cs-bubble {
    background-color: #e1f5fe;
    border-bottom-right-radius: 4px;
}

.cs-bubble p {
    margin: 0 0 5px 0;
    line-height: 1.4;
    font-size: 14px;
}

.cs-time {
    font-size: 11px;
    color: #999;
    display: block;
    text-align: right;
}

.cs-input-area {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
}

.cs-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    outline: none;
}

.cs-input:focus {
    border-color: #4a4a4a;
}

.cs-send-btn {
    background-color: #4a4a4a;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    margin-left: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.cs-send-btn:hover {
    background-color: #333;
}

/* 客服窗口样式增强 */
.cs-bubble .service-notice {
    font-weight: 600;
    color: #e74c3c;
    margin-bottom: 10px;
}

.cs-bubble .service-notice-cn {
    color: #777;
    font-size: 0.95em;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #ddd;
}

.cs-bubble .contact-email {
    font-weight: 600;
    color: #3498db;
}

/* 当服务不可用时的输入区域样式 */
.cs-input-area.disabled {
    opacity: 0.5;
    pointer-events: none;
    background-color: #f5f5f5;
}

.cs-input-area.disabled::after {
    content: "Service temporarily unavailable";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #e74c3c;
    font-size: 12px;
    white-space: nowrap;
}

/* 添加中文副标题样式 */
.subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-top: 10px;
    opacity: 0.85;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-family: "LXGW WenKai", sans-serif; /* 应用霞鹜文楷字体 */
}

/* 价格窗口样式 */
.price-window {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; /* 移除黑色透明背景 */
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease-in-out;
}

.price-window.active {
    display: flex;
}

.price-window.collapsed {
    transform: translateX(-85%);
    justify-content: flex-start;
}

.price-content {
    background-color: #111;
    border-radius: 10px;
    max-width: 1000px;
    width: 90%;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    transition: width 0.5s ease;
}

.price-window.collapsed .price-content {
    border-radius: 0 10px 10px 0;
    transition: all 0.5s ease;
}

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

.price-header h2 {
    color: #fff;
    margin: 0;
    font-size: 1.8rem;
}

.price-close-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.price-close-btn:hover {
    color: #f3a642;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 30px;
}

.price-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.price-card.featured {
    background-color: rgba(243, 166, 66, 0.1);
    border: 1px solid rgba(243, 166, 66, 0.3);
}

.price-card-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-card-header h3 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 1.5rem;
}

.price {
    font-size: 2rem;
    color: #f3a642;
    font-weight: 700;
}

.price span {
    font-size: 1rem;
    opacity: 0.7;
}

.price del {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 8px;
}

.price-features {
    padding: 20px;
    list-style: none;
    margin: 0;
}

.price-features li {
    padding: 10px 0;
    color: #fff;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 25px;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li::before {
    content: "✓";
    color: #f3a642;
    position: absolute;
    left: 0;
}

.price-action-btn {
    display: block;
    width: 80%;
    margin: 0 auto 20px;
    padding: 12px;
    background-color: #f3a642;
    color: #111;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.price-action-btn:hover {
    background-color: #fff;
}

/* 售罄按钮样式 */
.price-action-btn.sold-out {
    background-color: #999;
    cursor: not-allowed;
    opacity: 0.7;
    position: relative;
    overflow: hidden;
}

.price-action-btn.sold-out:hover {
    background-color: #999;
    transform: none;
    box-shadow: none;
}

.price-action-btn.sold-out::after {
    content: 'Sold Out';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-weight: 700;
}

/* 服务详情窗口样式 */
.service-detail-window {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: transparent; /* 移除背景不透明度 */
    z-index: 900;
    display: flex;
    justify-content: flex-end;
    transition: right 0.5s ease-in-out;
    pointer-events: auto;
}

.service-detail-window.active {
    right: 0;
}

.service-detail-content {
    background-color: #111;
    max-width: 100%;
    width: 85%;
    height: 100%;
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 950; /* 确保低于返回按钮的z-index */
}

.return-price-area {
    position: fixed;
    left: 0;
    top: 0;
    width: 15%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000; /* 提高z-index确保在背景之上 */
    transition: all 0.4s ease;
    opacity: 0;
    pointer-events: none;
    background-color: rgba(243, 166, 66, 0.1); /* 改为金色背景 */
    border-right: 2px solid rgba(243, 166, 66, 0.3);
}

.service-detail-window.active .return-price-area {
    opacity: 1;
    pointer-events: auto;
}

.return-price-area:hover {
    background-color: rgba(243, 166, 66, 0.2); /* 悬停时使用浅金色背景 */
    border-right: 3px solid rgba(243, 166, 66, 0.9);
    width: 18%;
}

.return-price-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(243, 166, 66, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(243, 166, 66, 0.6);
}

.return-price-icon svg {
    color: white;
    stroke-width: 2.5;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

.return-price-area:hover .return-price-icon {
    background-color: rgba(243, 166, 66, 0.9);
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(243, 166, 66, 0.8);
    border-color: #fff;
}

.return-price-area:hover .return-price-icon svg {
    transform: rotate(90deg) scale(1.1);
}

.return-price-text {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    opacity: 1;
    transition: all 0.4s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background-color: rgba(243, 166, 66, 0.5);
    padding: 10px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.return-price-area:hover .return-price-text {
    opacity: 1;
    background-color: rgba(243, 166, 66, 0.8);
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(243, 166, 66, 0.6);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    background-color: #111;
    z-index: 10;
}

.detail-header h2 {
    color: #fff;
    margin: 0;
    font-size: 1.8rem;
}

.detail-close-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.detail-close-btn:hover {
    color: #f3a642;
}

.detail-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 30px;
    padding: 30px;
}

@media (max-width: 1024px) {
    .detail-container {
        grid-template-columns: 1fr;
    }
    
    .service-detail-content {
        width: 90%;
    }
    
    .return-price-area {
        width: 10%;
    }
}

@media (max-width: 768px) {
    .detail-container {
        grid-template-columns: 1fr;
    }
    
    .service-detail-content {
        width: 100%;
    }
    
    .return-price-area {
        display: none;
    }
}

.detail-text h3 {
    color: #fff;
    font-size: 2rem;
    margin: 0 0 15px;
}

.detail-price {
    font-size: 1.8rem;
    color: #f3a642;
    font-weight: 700;
    margin-bottom: 20px;
}

.detail-price del {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 8px;
}

.detail-price span {
    font-size: 1.8rem;
}

.detail-description {
    color: #ddd;
    line-height: 1.6;
}

.detail-description h4 {
    color: #f3a642;
    margin: 25px 0 10px;
}

.detail-description ul, 
.detail-description ol {
    padding-left: 20px;
}

.detail-description li {
    margin-bottom: 10px;
}

.detail-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-placeholder {
    width: 100%;
    height: 350px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
}

.video-placeholder svg {
    margin-bottom: 15px;
    opacity: 0.7;
}

.action-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background-color: #f3a642;
    color: #111;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.action-btn:hover {
    background-color: #fff;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    /* 导航栏调整 */
    header {
        padding: 15px 20px;
    }
    
    .logo svg {
        width: 40px;
        height: 40px;
    }
    
    .menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 2000;
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        margin: 15px 0;
    }
    
    .menu a {
        font-size: 20px;
    }
    
    /* 汉堡菜单 */
    .menu-toggle {
        display: block;
        width: 30px;
        height: 25px;
        position: relative;
        cursor: pointer;
        z-index: 2001;
    }
    
    .menu-toggle span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: white;
        border-radius: 3px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }
    
    .menu-toggle span:nth-child(1) {
        top: 0px;
    }
    
    .menu-toggle span:nth-child(2) {
        top: 10px;
    }
    
    .menu-toggle span:nth-child(3) {
        top: 20px;
    }
    
    .menu-toggle.active span:nth-child(1) {
        top: 10px;
        transform: rotate(135deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }
    
    .menu-toggle.active span:nth-child(3) {
        top: 10px;
        transform: rotate(-135deg);
    }
    
    /* 主要内容调整 */
    h1 {
        font-size: 16vw;
        letter-spacing: 5px;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    /* 详情页调整 */
    .details-content {
        flex-direction: column;
    }
    
    .details-text {
        width: 100%;
        padding: 100px 20px 30px;
        order: 2;
    }
    
    .details-gallery {
        width: 100%;
        height: 40vh;
        order: 1;
    }
    
    .gallery-item {
        min-width: 70%;
        height: 220px;
    }
    
    /* 服务详情窗口调整 */
    .detail-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .service-detail-content {
        width: 100%;
    }
    
    .return-price-area {
        display: none;
    }
    
    /* 客服窗口调整 */
    .customer-service-window {
        bottom: 20px;
        width: 90%;
        right: -100%;
    }
    
    .customer-service-window.active {
        right: 5%;
    }
    
    /* 价格窗口调整 */
    .price-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .price-content {
        width: 95%;
    }
    
    /* 自定义行程页面调整 */
    .custom-plan-page {
        flex-direction: column-reverse; /* 确保在手机上显示正确顺序 */
        padding: 60px 20px 20px;
        overflow-y: auto;
    }
    
    .expert-profile {
        width: 100%;
        padding: 20px !important; /* 覆盖内联样式的优先级 */
        padding-left: 20px !important; /* 在手机上重置左侧内边距 */
    }
    
    .custom-gallery {
        width: 100%;
        min-height: 350px;
        padding: 15px;
    }
    
    .custom-gallery .gallery-container {
        flex-direction: column; /* 在手机上改为垂直排列 */
        gap: 15px;
    }
    
    .custom-gallery .gallery-item {
        width: 90% !important; /* 在手机上占据90%宽度 */
        height: 220px !important; /* 固定高度 */
        margin-bottom: 10px;
    }
    
    .expert-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    /* 浮动按钮调整 */
    .floating-btn {
        bottom: 20px;
        right: 20px;
        top: auto;
        transform: translateY(0) translateX(0);
        width: auto;
        padding: 10px 20px; /* 增加内边距确保文字显示完整 */
        border-radius: 50px;
    }
    
    .floating-btn:hover {
        transform: translateY(0) translateX(0);
    }
    
    .btn-content {
        width: auto; /* 在移动设备上取消宽度限制 */
    }
}

/* 平板设备响应式样式 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    /* 详情页调整 */
    .details-text {
        width: 40%;
    }
    
    .details-gallery {
        width: 60%;
    }
    
    .gallery-item {
        min-width: 60%;
    }
    
    /* 价格卡片调整 */
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 自定义行程页面调整 */
    .expert-profile {
        width: 50%;
    }
    
    .custom-gallery {
        width: 50%;
    }
}

/* 处理屏幕方向变化 */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .details-content {
        flex-direction: row;
    }
    
    .details-text {
        width: 40%;
        max-height: 100vh;
        overflow-y: auto;
    }
    
    .details-gallery {
        width: 60%;
    }
    
    .custom-plan-page {
        flex-direction: row;
    }
    
    .expert-profile {
        width: 50%;
    }
    
    .custom-gallery {
        width: 50%;
    }
}

/* 添加自定义按钮容器样式 */
.custom-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.choose-package-btn {
    background-color: #e8af4e;
    color: #333;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.choose-package-btn:hover {
    background-color: #f9c66f;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 特色介绍框样式 */
.feature-box {
    background-color: rgba(255, 253, 245, 0.1);
    border-left: 3px solid #e8c48f;
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
}

.feature-slogan {
    font-family: "LXGW WenKai", sans-serif;
    font-size: 1.1rem;
    color: #e8c48f;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

.feature-list {
    padding-left: 20px;
    margin: 0;
}

.feature-list li {
    margin-bottom: 12px;
    line-height: 1.5;
}

.feature-list ul {
    padding-left: 20px;
    margin: 8px 0;
}

.highlight-num {
    color: #e8c48f;
    font-weight: 700;
    font-size: 1.05em;
}

@media screen and (max-width: 768px) {
    .feature-box {
        padding: 10px;
    }
    .feature-slogan {
        font-size: 1rem;
    }
    .feature-list {
        padding-left: 15px;
    }
}

/* 添加英文介绍标题样式 */
.intro-title {
    font-size: 1.8rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
}

/* 详情页中的中文标题也应用书法字体 */
.details-text h2 + .subtitle {
    margin-top: 0;
    margin-bottom: 20px;
}

/* 移动设备上的汉堡菜单 */
.menu-toggle {
    display: none;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        width: 30px;
        height: 25px;
        position: relative;
        cursor: pointer;
        z-index: 2001;
    }
    
    .menu-toggle span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: white;
        border-radius: 3px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }
    
    .menu-toggle span:nth-child(1) {
        top: 0px;
    }
    
    .menu-toggle span:nth-child(2) {
        top: 10px;
    }
    
    .menu-toggle span:nth-child(3) {
        top: 20px;
    }
    
    .menu-toggle.active span:nth-child(1) {
        top: 10px;
        transform: rotate(135deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }
    
    .menu-toggle.active span:nth-child(3) {
        top: 10px;
        transform: rotate(-135deg);
    }
}

/* Pre-Trip Help Window Styles */
.pretrip-window {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    overflow-y: auto;
}

.pretrip-window.active {
    display: block;
    opacity: 1;
}

.pretrip-content {
    position: relative;
    max-width: 1000px;
    margin: 30px auto;
    background-color: #f7f5ed;
    border-radius: 15px;
    overflow: hidden;
    transform: translateY(-30px) scale(0.95);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pretrip-window.active .pretrip-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.pretrip-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #0d253f 0%, #01b4e4 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.pretrip-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2));
    transform: skewX(-30deg) translateX(100%);
    animation: pretripHeaderShine 8s infinite;
}

@keyframes pretripHeaderShine {
    0%, 100% {
        transform: skewX(-30deg) translateX(-300%);
    }
    40%, 60% {
        transform: skewX(-30deg) translateX(400%);
    }
}

.pretrip-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pretrip-close-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.pretrip-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.pretrip-body {
    padding: 30px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

.pretrip-intro {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.app-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.app-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.app-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.app-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.app-icon img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.app-title {
    flex: 1;
}

.app-title h3 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    color: #333;
}

.app-subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.app-body {
    padding: 20px;
    color: #444;
}

.app-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.app-steps {
    margin-bottom: 25px;
}

.app-steps h4, .app-tips h4 {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    color: #0d253f;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
}

.app-steps ol {
    padding-left: 25px;
}

.app-steps li, .app-tips li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.app-steps ul {
    margin-top: 5px;
    padding-left: 20px;
}

.app-tips ul {
    padding-left: 20px;
    list-style-type: disc;
}

.other-apps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.other-app-item {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.other-app-item h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.other-app-item p {
    margin: 0 0 10px 0;
    font-size: 0.95rem;
}

.pretrip-summary {
    margin-top: 40px;
    padding: 25px;
    background-color: #f1f8ff;
    border-radius: 10px;
    border-left: 4px solid #01b4e4;
}

.pretrip-summary h3 {
    margin: 0 0 15px 0;
    color: #0d253f;
}

.pretrip-summary ol {
    padding-left: 25px;
}

.pretrip-summary li {
    margin-bottom: 10px;
}

.important-note {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(255, 229, 100, 0.3);
    border-left: 4px solid #ffd700;
    border-radius: 4px;
    font-weight: 500;
}

/* Responsive styles for Pre-Trip Window */
@media screen and (max-width: 768px) {
    .pretrip-content {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .pretrip-header h2 {
        font-size: 1.4rem;
    }
    
    .pretrip-body {
        padding: 20px 15px;
    }
    
    .other-apps {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width: 769px) {
    .app-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* PayPal支付相关样式 */
.payment-section {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.paypal-container {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
    transition: all 0.3s ease;
    max-width: 500px;
    width: 100%;
    border: 2px solid rgba(243, 166, 66, 0.5);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* PayPal按钮适配暗色主题 */
.paypal-container .paypal-button-container {
    max-width: 400px;
    margin: 0 auto;
}

/* PayPal付款信息样式 */
.payment-info {
    background-color: #222;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border-left: 3px solid #f3a642;
}

.payment-info h4 {
    font-size: 1.4rem;
    color: #f3a642;
    margin-bottom: 10px;
}

.payment-info ul {
    list-style-type: none;
    padding-left: 5px;
}

.payment-info li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.payment-info li:before {
    content: "✓";
    color: #f3a642;
    position: absolute;
    left: 0;
}

@media screen and (max-width: 768px) {
    .payment-section {
        margin-top: 20px;
    }
    
    .paypal-container {
        padding: 15px;
    }
}

/* About Us Window Styles */
.about-window {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    overflow-y: auto;
    padding: 20px;
}

.about-window.active {
    opacity: 1;
    visibility: visible;
}

.about-content {
    width: 90%;
    max-width: 1200px;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-30px);
    opacity: 0;
    transition: all 0.5s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.about-window.active .about-content {
    transform: translateY(0);
    opacity: 1;
}

.about-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #e8af4e, #f8f3e9);
    position: relative;
    overflow: hidden;
}

.about-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2));
    transform: skewX(-30deg) translateX(100%);
    animation: aboutHeaderShine 8s infinite;
}

@keyframes aboutHeaderShine {
    0%, 100% {
        transform: skewX(-30deg) translateX(-300%);
    }
    40%, 60% {
        transform: skewX(-30deg) translateX(400%);
    }
}

.about-header h2 {
    color: #333;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.about-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-close-btn:hover {
    color: #000;
    transform: rotate(90deg);
}

.about-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.about-intro {
    margin-bottom: 40px;
    text-align: center;
}

.about-slogan {
    margin-bottom: 20px;
}

.about-slogan h3 {
    font-size: 1.6rem;
    color: #e8af4e;
    margin-bottom: 15px;
    font-weight: 600;
}

.rating-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px 0;
}

.stars {
    color: #e8af4e;
    font-size: 1.5rem;
    letter-spacing: 5px;
}

.rating-text {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.about-section {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

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

.about-icon {
    color: #e8af4e;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(232, 175, 78, 0.1);
    border-radius: 50%;
    margin-left: -5px;
}

.about-section h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.about-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

.about-testimonials {
    margin-bottom: 40px;
}

.about-testimonials h3, .about-awards h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.about-testimonials h3:after, .about-awards h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e8af4e;
}

.testimonial-carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonial-carousel::-webkit-scrollbar {
    display: none;
}

.testimonial {
    min-width: 300px;
    flex: 1;
    padding: 25px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    scroll-snap-align: start;
    border-left: 4px solid #e8af4e;
}

.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.9rem;
    color: #666;
    text-align: right;
    font-weight: 500;
}

.about-awards {
    margin-bottom: 40px;
}

.awards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.award {
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    text-align: center;
    width: calc(25% - 15px);
    min-width: 200px;
}

.award:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.award-year {
    font-size: 1.3rem;
    font-weight: bold;
    color: #e8af4e;
    margin-bottom: 5px;
}

.award-name {
    font-size: 0.9rem;
    color: #444;
}

.about-cta {
    text-align: center;
    margin-top: 20px;
    padding: 30px;
    background-color: #f8f3e9;
    border-radius: 10px;
}

.about-cta p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #333;
}

.about-custom-btn {
    background-color: #e8af4e;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(232, 175, 78, 0.3);
}

.about-custom-btn:hover {
    background-color: #d69b3a;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(232, 175, 78, 0.4);
}

@media screen and (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-header h2 {
        font-size: 1.4rem;
    }
    
    .about-content {
        width: 100%;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .about-body {
        padding: 20px;
    }
    
    .about-slogan h3 {
        font-size: 1.3rem;
    }
    
    .award {
        width: calc(50% - 10px);
        min-width: auto;
    }
    
    .about-cta {
        padding: 20px;
    }
}

/* 滚动提示指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    z-index: 100;
    opacity: 1;
    pointer-events: none; /* 确保不会干扰用户交互 */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: bounce 2s infinite;
}

/* 移除原有的before伪元素样式 */
.scroll-indicator::before {
    content: none;
}

/* 移除原有的after伪元素样式 */
.scroll-indicator::after {
    content: none;
}

@media screen and (max-width: 768px) {
    .scroll-indicator {
        bottom: 30px;
        width: 36px;
        height: 36px;
    }
}

/* Contact Us Window Styles */
.contact-window {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    overflow-y: auto;
    padding: 20px;
}

.contact-window.active {
    opacity: 1;
    visibility: visible;
}

.contact-content {
    width: 90%;
    max-width: 1000px;
    background: linear-gradient(145deg, #f8f8f8, #efefef);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    transform: translateY(-30px) scale(0.95);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.contact-window.active .contact-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.contact-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #0d253f 0%, #01b4e4 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2));
    transform: skewX(-30deg) translateX(100%);
    animation: contactHeaderShine 8s infinite;
}

@keyframes contactHeaderShine {
    0%, 100% {
        transform: skewX(-30deg) translateX(-300%);
    }
    40%, 60% {
        transform: skewX(-30deg) translateX(400%);
    }
}

.contact-header h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-close-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 5;
}

.contact-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

.contact-body {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    flex: 1;
    overflow-y: auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.contact-info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #e8af4e, #d69b3a);
}

.contact-methods {
    margin-top: 30px;
}

.contact-method {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateX(10px);
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f8f8f8, #efefef);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1),
                -5px -5px 15px rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    color: #01b4e4;
    flex-shrink: 0;
}

.contact-method-content {
    flex: 1;
}

.contact-method-title {
    font-weight: 600;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 5px;
}

.contact-method-desc {
    color: #555;
    line-height: 1.5;
    font-size: 0.95rem;
}

.contact-method-link {
    color: #01b4e4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: inline-block;
    margin-top: 5px;
}

.contact-method-link:hover {
    color: #0d253f;
    text-decoration: underline;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.contact-form-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.contact-form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #01b4e4, #90cea1);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #f9f9f9;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #01b4e4;
    box-shadow: 0 0 0 3px rgba(1, 180, 228, 0.1);
    outline: none;
    background-color: white;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    background: linear-gradient(135deg, #01b4e4 0%, #0d253f 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(1, 180, 228, 0.3);
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(1, 180, 228, 0.4);
}

.contact-social {
    margin-top: 40px;
}

.social-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, #f8f8f8, #efefef);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05),
                -5px -5px 10px rgba(255, 255, 255, 0.7);
    color: #333;
    transition: all 0.3s;
    cursor: pointer;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.social-icon.twitter {
    color: #1DA1F2;
}

.social-icon.twitter:hover {
    background: #1DA1F2;
    color: white;
}

.social-icon.instagram {
    color: #E1306C;
}

.social-icon.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
}

.form-message {
    display: none;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
}

.form-message.success {
    background-color: rgba(39, 174, 96, 0.1);
    color: #27AE60;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.form-message.error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #E74C3C;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Responsive styles */
@media screen and (max-width: 1024px) {
    .contact-body {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
}

@media screen and (max-width: 768px) {
    .contact-header h2 {
        font-size: 1.5rem;
    }
    
    .contact-body {
        padding: 20px;
        gap: 30px;
    }
    
    .contact-info-title, 
    .contact-form-title {
        font-size: 1.4rem;
    }
    
    .contact-method {
        margin-bottom: 20px;
    }
    
    .contact-method-icon {
        width: 40px;
        height: 40px;
    }
    
    .form-submit {
        width: 100%;
    }
}

/* 滚动指示器动画已移除 */

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-indicator svg {
    color: #e8af4e;
    stroke-width: 2.5;
}
