/* 基础样式与变量设置 */
:root {
    --primary-color: #0F3460; /* 深蓝主色调 */
    --secondary-color: #C8A951; /* 金色辅助色 */
    --accent-color: #E94560; /* 强调色 */
    --dark-color: #1A1A2E; /* 深色背景 */
    --light-color: #F5F5F7; /* 浅色背景 */
    --text-dark: #333333; /* 深色文本 */
    --text-light: #FFFFFF; /* 浅色文本 */
    --text-muted: #777777; /* 次要文本 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    /*max-width: 1440px; /* 宽屏优化 */
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #164581;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* 导航栏核心样式（优化后） */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* 确保高于hero-content的z-index:10，避免被遮挡 */
    transition: 
        background-color 0.4s ease, 
        padding 0.4s ease, 
        backdrop-filter 0.4s ease, 
        border-color 0.4s ease,
        box-shadow 0.4s ease; /* 补充shadow过渡，避免切换生硬 */
    padding: 1.5rem 0;

    /* 玻璃拟态优化：更贴合动态渐变背景 */
    background-color: rgba(13, 27, 42, 0.7); /* 贴近渐变起点#0d1b2a，透明度提升至0.7增强通透感 */
    -webkit-backdrop-filter: blur(12px); /* 提高模糊度，弱化背后动态纹理干扰 */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* 边框透明度降低，更细腻 */
}

/* 页面滚动后的样式（优化后） */
.header.scrolled {
    background-color: rgba(245, 245, 247, 0.95); /* 透明度提高至0.95，浅色背景更扎实 */
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom-color: transparent;
    box-shadow: var(--shadow-md); /* 加深阴影，提升层级感 */
    padding: 1rem 0;
}

/* 兼容性回退（优化：更贴合新背景色） */
@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
  .header {
    background-color: rgba(13, 27, 42, 0.85); /* 回退色贴近新基础色 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .header.scrolled {
    background-color: var(--light-color);
    box-shadow: var(--shadow-md); /* 回退态也加阴影，保持体验一致 */
  }
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.header.scrolled .logo-text {
    color: var(--primary-color);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
}

.header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.375rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.header.scrolled .phone-info {
    color: var(--text-dark);
}

.phone-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 1.75rem;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: var(--transition);
}

.header.scrolled .hamburger {
    background-color: var(--primary-color);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 2rem;
    z-index: 1010;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 5rem;
    margin-bottom: 3rem;
}

.mobile-nav-link {
    font-size: 1.125rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 移动端菜单关闭按钮样式 */
.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}

.close-icon {
    display: block;
    width: 100%;
    height: 8px;
    background-color: var(--light-color);
    border-radius: 3px;
    transition: transform 0.3s ease;
}

.mobile-menu-close .close-icon:first-child {
    transform: rotate(45deg) translateY(6px);
}

.mobile-menu-close .close-icon:last-child {
    transform: rotate(-45deg) translateY(-6px);
}

/* 英雄区域样式 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
    justify-content: center;
    overflow: hidden; /* 防止动画元素溢出 */
}

/* 关键帧动画：定义背景渐变的动态变化 */
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 关键帧动画：定义星星的闪烁效果 */
@keyframes star-flicker {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.8; }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    will-change: background-position; /* 性能优化：提示浏览器预优化 */
    /* 渐变融入品牌色，增强统一性 */
    background: linear-gradient(315deg, #0d1b2a, var(--primary-color), #4a4e91, rgba(200, 169, 81, 0.3));
    background-size: 400% 400%; /* 为动画预留移动空间 */
    animation: gradientAnimation 20s ease-in-out infinite; /* 缓动更自然，时长延长 */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: opacity; /* 性能优化：针对闪烁动画 */
    /* 光斑大小差异化，模拟远近星空层次 */
    background:
        /* 压暗层降低透明度，露出更多渐变细节 */
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.25) 100%),
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.15), transparent 22%), /* 近景小光斑 */
        radial-gradient(circle at 90% 80%, rgba(200, 180, 255, 0.1), transparent 35%), /* 远景大光斑 */
        radial-gradient(circle at 50% 50%, rgba(100, 200, 255, 0.05), transparent 18%); /* 中景小光斑 */
}

/* 伪元素实现单个闪烁光斑（避免全层动画浪费性能） */
.hero-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.12), transparent 28%);
    animation: star-flicker 6s ease-in-out infinite alternate;
    pointer-events: none; /* 不影响按钮点击等交互 */
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 10rem 0;
}

.hero-text {
    max-width: 1000px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* 响应式字体 */
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* 增加文字立体感 */
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    color: var(--secondary-color);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem); /* 响应式字体 */
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap; /* 移动端换行 */
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--secondary-color);
}

.stat-number {
    font-family: 'Playfair Display', serif;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    opacity: 0.8;
}

.scroll-mouse {
    width: 2rem;
    height: 3.5rem;
    border: 2px solid var(--text-light);
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
    margin-bottom: 1rem;
}

.scroll-wheel {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--text-light);
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(1rem);
        opacity: 0;
    }
}

/* 服务项目样式 */
.services {
    padding: 6rem 0;
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 8rem;
}

.service-card {
    background-color: #FFFFFF;
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 5rem;
    height: 5rem;
    background-color: rgba(15, 52, 96, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.service-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: 700;
}

.destinations-highlights {
    margin-top: 8rem;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.destination-highlight {
    background-color: #FFFFFF;
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.destination-highlight:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.destination-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(200, 169, 81, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.destination-icon svg {
    width: 2rem;
    height: 2rem;
}

.destination-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.destination-description {
    color: var(--text-muted);
}

/* 精选目的地样式 */
.destinations {
    padding: 6rem 0;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.destination-card {
    background-color: #FFFFFF;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.destination-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    object-position: top;
}

.destination-card:hover .destination-image img {
    transform: scale(1.05);
}

.destination-price {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 700;
}

.destination-content {
    padding: 2rem;
}

.destination-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.destination-meta {
    margin-bottom: 1.5rem;
}

.destination-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.destination-location svg {
    width: 1rem;
    height: 1rem;
    color: var(--accent-color);
}

.destination-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #EEEEEE;
}

.destination-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.destination-detail svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary-color);
}

.destination-highlights h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.destination-highlights ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.destination-highlights li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.destination-highlights li::before {
    content: '•';
    color: var(--secondary-color);
    font-weight: 700;
}

.destinations-cta {
    text-align: center;
    margin-top: 5rem;
}

.destinations-cta p {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* 客户评价样式 */
.testimonials {
    padding: 6rem 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.testimonials .section-title {
    color: var(--text-light);
}

.testimonial-carousel {
    max-width: 900px;
    margin: 0 auto 6rem;
    position: relative;
}

.testimonial-card {
    display: none;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 3rem;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-content {
    display: flex;
    gap: 2rem;
}

.testimonial-avatar {
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.testimonial-text {
    flex-grow: 1;
}

.quote-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.testimonial-rating {
    margin-bottom: 1.5rem;
}

.star {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.25rem;
}

.testimonial-quote {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.author-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.testimonial-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    background-color: var(--secondary-color);
}

.nav-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.testimonial-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--secondary-color);
    width: 2rem;
    border-radius: 1rem;
}

.testimonial-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.testimonial-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.testimonial-stats .stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* 联系我们样式 */
.contact {
    padding: 6rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-form-container {
    background-color: var(--light-color);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.contact-form-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.form-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--secondary-color);
}

.contact-form-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-weight: 500;
    color: var(--text-dark);
}

input, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #DDDDDD;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.2);
}

textarea {
    resize: vertical;
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* ===================================================
   自定义 Contact Form 7 样式 (最终整合版)
   =================================================== */
/* --- 基础表单容器和布局 --- */

.wpcf7-form {
    display: flex;
    flex-wrap: wrap; /* 修改点：从 column 改为 wrap，以支持多列布局 */
    gap: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--radius);
    padding: 3rem;
}

.wpcf7-form p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-basis: 100%; /* 新增：默认让所有 p 标签宽度为100% */
    flex-grow: 1;
}

.hidden-fields-container {
    display: none;
}

/* --- 纯CSS两列布局 (新增部分，无需修改HTML) --- */

/* 使用 :has() 精确选中“姓名”和“电话”字段所在的 p 标签，并设置它们的宽度 */
.wpcf7-form > p:has(span[data-name="your-name"]),
.wpcf7-form > p:has(span[data-name="tel-642"]) {
    flex-basis: calc(50% - 0.75rem); /* 关键！宽度为50%，并减去一半的 gap 间距 */
}


/* --- 标签和输入框基础样式 --- */

.wpcf7-form label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #DDDDDD;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #fff;
    box-sizing: border-box;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.2);
}

.wpcf7-form ::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

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

/* --- 验证与反馈样式 --- */

.wpcf7-form .wpcf7-not-valid {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.2);
}

.wpcf7-not-valid-tip {
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* --- 提交后消息框样式 --- */

.wpcf7-response-output {
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-size: 1rem;
    text-align: center;
    width: 100%; /* 确保消息框横跨整个表单宽度 */
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
    background-color: rgba(233, 69, 96, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.wpcf7-form.sent .wpcf7-response-output {
    background-color: rgba(200, 169, 81, 0.1);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

/* --- 提交按钮与加载动画 --- */

.wpcf7-form .wpcf7-submit {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 1rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.wpcf7-form .wpcf7-submit:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.wpcf7-form.submitting .wpcf7-submit {
    cursor: wait;
    opacity: 0.8;
}

.wpcf7-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--text-light);
    animation: spin 1s ease-in-out infinite;
    margin: 0 0 0 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- 响应式设计 --- */

@media (max-width: 768px) {
    .wpcf7-form {
        padding: 1.5rem;
    }

    /* 在移动端，让两列布局的字段恢复单列显示 */
    .wpcf7-form > p:has(span[data-name="your-name"]),
    .wpcf7-form > p:has(span[data-name="tel-642"]) {
        flex-basis: 100%;
    }
}


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

.contact-info-header h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info-header p {
    color: var(--text-muted);
    max-width: 400px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(15, 52, 96, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.contact-details h4 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-value {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-desc {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.wechat-qr {
    background-color: var(--light-color);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    max-width: 300px;
}

.wechat-qr h4 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.qr-code {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wechat-qr p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* 页脚样式 */
.footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-section .footer-logo {
    margin-bottom: 1.5rem;
    display: flex; /* 设置为flex布局 */
    align-items: center; /* 垂直居中对齐 */
    gap: 0.5rem; /* 两个元素之间的间距，可根据需要调整 */
}

.footer-section .logo-text {
    color: var(--text-light);
}

.footer-section h4 {
    margin-bottom: 1.5rem;
}

.footer-description {
    margin-bottom: 2rem;
    max-width: 300px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact-item svg {
    width: 1rem;
    height: 1rem;
    color: var(--secondary-color);
}

.footer-title {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.875rem;
}

.footer-global {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-global svg {
    width: 1rem;
    height: 1rem;
    color: var(--secondary-color);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .services-grid,
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .destinations-highlights .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-desktop,
    .header-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .services-grid,
    .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .testimonial-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card,
    .destination-card,
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

.avatar-placeholder {
  width: 60px;             /* 宽度 */
  height: 60px;            /* 高度 */
  border-radius: 50%;      /* 圆形 */
  background-color:  var(--secondary-color);  /* 背景颜色，可以换成品牌色 */
  color:  #fff;             /* 字体颜色 */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;         /* 字体大小 */
  font-weight: bold;
  text-transform: uppercase; /* 首字母大写 */
}

/* 横向友情链接容器 */
.friend-links-horizontal {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* 与页脚其他区域分隔 */
    margin-top: 2rem;
}

/* 标题样式 */
.friend-links-title {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 2rem; /* 与页脚其他内容对齐 */
}

/* 滚动容器：限制宽度，超出部分横向滚动 */
.friend-links-scroll {
    overflow-x: auto;
    padding: 0.5rem 2rem; /* 左右内边距与页脚容器对齐 */
    -webkit-overflow-scrolling: touch; /* 移动端滚动更流畅 */
}

/* 隐藏滚动条（可选，更美观） */
.friend-links-scroll::-webkit-scrollbar {
    height: 4px;
}
.friend-links-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}
.friend-links-scroll::-webkit-scrollbar-thumb {
    background: rgba(200, 169, 81, 0.5); /* 品牌辅助色 */
    border-radius: 2px;
}

/* 链接列表：横向排列 */
.friend-links-list {
    display: flex;
    gap: 1.5rem; /* 链接之间的间距 */
    white-space: nowrap; /* 强制不换行 */
    padding: 0.5rem 0;
}

/* 链接样式（复用现有风格，略作调整） */
.friend-links-list li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 0.9375rem;
    padding: 0.25rem 0;
}
.friend-links-list li a:hover {
    color: var(--secondary-color);
}

/* 响应式适配：移动端调整间距 */
@media (max-width: 768px) {
    .friend-links-title,
    .friend-links-scroll {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .friend-links-list {
        gap: 1rem;
    }
}