/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B7355;
    --secondary-color: #D4C4B0;
    --accent-color: #A67C52;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --bg-light: #F8F6F3;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --gradient-primary: linear-gradient(135deg, #8B7355 0%, #A67C52 50%, #D4C4B0 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    /* 移动端滚动优化 */
    -webkit-overflow-scrolling: touch;
    /* 文本渲染优化 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 大屏幕优化 */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .about-text p {
        font-size: 1.2rem;
    }
    
    .hero-buttons .btn {
        min-width: 300px;
        max-width: 420px;
        padding: 16px 40px;
        font-size: 1.05rem;
    }
}

/* PC端优化（1024px及以上） */
@media (min-width: 1024px) {
    .hero-buttons .btn {
        min-width: 280px;
        max-width: 400px;
        padding: 15px 36px;
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    gap: 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 2px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.logo:hover {
    color: var(--accent-color);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    /* 触摸优化 */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    display: block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.language-switcher-desktop {
    display: flex;
    align-items: center;
    position: relative;
}

.language-switcher-mobile {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid rgba(139, 115, 85, 0.1);
    margin-top: 0.5rem;
    position: relative;
}

.language-switcher-mobile .language-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.language-switcher-mobile .lang-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    display: inline-block;
}

.language-switcher-mobile .lang-link:hover {
    color: var(--primary-color);
    background-color: rgba(139, 115, 85, 0.1);
}

.language-switcher-mobile .lang-separator {
    color: var(--text-light);
    opacity: 0.5;
    font-size: 1rem;
    margin: 0 0.3rem;
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    border-radius: 4px;
    overflow: visible;
}

.language-toggle .current-flag {
    width: 36px;
    height: 27px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.language-toggle:hover .current-flag {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: scale(1.08);
    border-color: rgba(139, 115, 85, 0.3);
}

.language-toggle:active .current-flag {
    transform: scale(0.95);
}

.language-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 8px;
    min-width: 60px;
    z-index: 1001;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 115, 85, 0.1);
}

.language-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 12px;
    width: 12px;
    height: 12px;
    background: var(--white);
    border-left: 1px solid rgba(139, 115, 85, 0.1);
    border-top: 1px solid rgba(139, 115, 85, 0.1);
    transform: rotate(45deg);
}

.language-dropdown.active .language-dropdown-menu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.language-switcher-mobile .language-toggle {
    display: flex;
    width: 100%;
    justify-content: center;
}

.language-switcher-mobile .language-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0;
    background: transparent;
    margin-top: 0.5rem;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-switcher-mobile .language-dropdown.active .language-dropdown-menu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.language-switcher-mobile .language-dropdown-menu::before {
    display: none;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    border-radius: 4px;
    padding: 4px;
    background: transparent;
}

.lang-option .flag-icon {
    width: 36px;
    height: 27px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.lang-option:hover .flag-icon {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: scale(1.1);
    border-color: rgba(139, 115, 85, 0.4);
}

.lang-option:active .flag-icon {
    transform: scale(0.95);
}

.flag-icon {
    width: 32px;
    height: 24px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hero 区域 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    z-index: 1;
    /* 确保 Hero 区域不会覆盖后续内容 */
    isolation: isolate;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: particles 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes particles {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.8;
    }
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInDown 1s ease 0.3s both;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    animation: fadeInUp 1s ease 0.5s both;
    line-height: 1.3;
}

.title-main {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    font-size: 1em;
    font-weight: 300;
    letter-spacing: 10px;
    white-space: nowrap;
}

.title-sub {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.9s;
    font-size: 0.7em;
    font-weight: 200;
    letter-spacing: 12px;
    color: rgba(255, 255, 255, 0.92);
    margin-top: 0.2rem;
    white-space: nowrap;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
}

.hero-buttons .btn {
    min-width: 280px;
    max-width: 400px;
    justify-content: center;
    text-align: center;
}

.btn {
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    /* 触摸优化 */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    text-align: center;
}

.btn span {
    position: relative;
    z-index: 2;
    display: inline-block;
    text-align: center;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 1);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-shadow: none;
}

.whatsapp-btn {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.whatsapp-btn:hover {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 1);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-shadow: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 1s ease 1.2s both;
    pointer-events: none;
}

.scroll-indicator p {
    font-size: 0.85rem;
    opacity: 0.8;
    letter-spacing: 1px;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 通用区块样式 */
section {
    padding: 80px 0;
    position: relative;
}

/* 确保第一个非 Hero 的 section 有足够的顶部间距 */
section:not(.hero) {
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* 关于我们 */
.about {
    background-color: var(--bg-light);
    position: relative;
    z-index: 10;
    padding-top: 120px;
    margin-top: -1px; /* 确保与 Hero 区域无缝连接 */
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text p:last-of-type {
    margin-bottom: 3rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 0;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: var(--transition);
    display: block;
}

.feature-item:hover .feature-icon img {
    transform: scale(1.05);
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 服务项目 */
.services {
    background-color: var(--bg-light);
}

.services-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-group {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    border-top: 3px solid var(--accent-color);
}

.service-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.service-group-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.service-star {
    font-size: 1.2rem;
    color: var(--accent-color);
    animation: twinkle 2s ease-in-out infinite;
}

.service-star:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

.service-group-title {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 1px;
}

.service-group-subtitle {
    text-align: center;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.service-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.service-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
    /* 触摸优化 */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.service-option:hover {
    background-color: rgba(139, 115, 85, 0.05);
    transform: translateX(5px);
}

.service-duration {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
}

.service-price {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.service-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--secondary-color);
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
    line-height: 1.6;
}

/* WhatsApp 预约按钮 */
.whatsapp-booking-btn {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
}

.whatsapp-booking-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.4);
    color: var(--white);
}

.whatsapp-booking-btn span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-contact-btn-wrapper {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(212, 196, 176, 0.3);
    position: relative;
}

.whatsapp-contact-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
}

.whatsapp-contact-btn:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.4);
    color: var(--white);
}

.whatsapp-contact-btn span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-icon {
    font-size: 1.2rem;
}

/* 环境设施 */
.gallery {
    background-color: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition-slow);
    cursor: pointer;
    /* 触摸优化 */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px var(--shadow-hover);
}

.gallery-placeholder {
    width: 100%;
    height: 250px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}

.gallery-overlay p {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

.gallery-label {
    padding: 1rem;
    text-align: center;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-label {
    color: var(--primary-color);
}

/* 轮播样式 */
.gallery-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow);
}

.gallery-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.gallery-slide.active {
    opacity: 1;
    z-index: 1;
}

.gallery-slide .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.gallery-carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.gallery-carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-carousel-prev {
    left: 20px;
}

.gallery-carousel-next {
    right: 20px;
}

.gallery-carousel-btn span {
    line-height: 1;
    font-weight: bold;
}

.gallery-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    justify-content: center;
    align-items: center;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.gallery-dot.active {
    background: rgba(255, 255, 255, 1);
    width: 14px;
    height: 14px;
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.facilities-list {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.facilities-list h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.facilities-list ul {
    list-style: none;
}

.facilities-list li {
    padding: 0.8rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--secondary-color);
    position: relative;
    padding-left: 1.5rem;
}

.facilities-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    transition: var(--transition);
}

.facilities-list li:hover::before {
    transform: scale(1.2);
    color: var(--primary-color);
}

.facilities-list li:hover {
    color: var(--primary-color);
    padding-left: 2rem;
}

.facilities-list li:last-child {
    border-bottom: none;
}

/* 联系方式 */
.contact {
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(139, 115, 85, 0.1);
    border: 1px solid rgba(139, 115, 85, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: 0 12px 40px rgba(139, 115, 85, 0.15);
    transform: translateY(-5px);
}

.contact-info-card:hover::before {
    width: 5px;
}

.contact-info-card .info-item {
    padding: 1.8rem 0;
    background-color: transparent;
    border-radius: 0;
    border-left: none;
    border-bottom: 1px solid rgba(212, 196, 176, 0.3);
    transition: var(--transition);
    position: relative;
    padding-left: 1.5rem;
}

.contact-info-card .info-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.8rem;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transition: var(--transition);
    border-radius: 2px;
}

.contact-info-card .info-item:hover::before {
    height: calc(100% - 3.6rem);
}

.contact-info-card .info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info-card .info-item:last-child::before {
    height: calc(100% - 1.8rem);
}

.contact-info-card .info-item:first-child {
    padding-top: 0;
}

.contact-info-card .info-item:first-child::before {
    top: 0;
}

.contact-info-card .info-item:first-child:hover::before {
    height: 100%;
}

.contact-info-card .info-item:hover {
    transform: translateX(5px);
    padding-left: 1.8rem;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
}

.info-item p {
    color: var(--text-dark);
    line-height: 1.9;
    font-size: 1rem;
    margin: 0;
}

.map-container {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.map-container h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-container iframe {
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.map-container iframe:hover {
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.map-link {
    text-align: center;
}

.map-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.map-link a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* 页脚 */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    display: inline-block;
    transition: var(--transition);
}

.social-links a:hover {
    transform: scale(1.2);
}

/* 隐藏"关注我们"板块 */
.footer-section:nth-child(3) {
    display: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-powered {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1rem;
}

.footer-powered a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-powered a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* AOS 动画属性 */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* 响应式设计 */

/* 中等屏幕（平板横屏） */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* 平板竖屏和小屏幕 */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* 导航栏优化 */
    .navbar .container {
        padding: 1rem 20px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 0.8rem 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
        display: block;
    }

    .language-switcher-desktop {
        display: none;
    }

    .language-switcher-mobile {
        display: block;
    }

    .language-switcher-mobile .lang-link {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .language-switcher-mobile .lang-separator {
        font-size: 1rem;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Hero 区域优化 */
    .hero {
        min-height: 100vh;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
        margin-bottom: 2rem;
        line-height: 1.4;
        padding: 0 15px;
    }
    
    .title-main {
        font-size: 1em;
        letter-spacing: 6px;
        display: block;
        margin-bottom: 0.8rem;
    }
    
    .title-sub {
        font-size: 0.7em;
        letter-spacing: 4px;
        margin-top: 0;
        display: block;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        padding: 0 20px;
        line-height: 1.6;
        letter-spacing: 0.5px;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 0.8rem;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 10px;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        flex: 0 1 auto;
        min-width: 250px;
        max-width: 350px;
        justify-content: center;
        padding: 12px 24px;
        font-size: 0.95rem;
        min-height: 48px; /* 触摸友好 */
    }

    /* 通用区块优化 */
    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* 关于我们优化 */
    .about {
        padding-top: 100px;
    }
    
    .about-text {
        padding: 0 10px;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 1.2rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .feature-icon {
        min-height: 250px;
    }

    /* 服务项目优化 */
    .services-list {
        gap: 1.5rem;
    }
    
    .service-group {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .service-group-header {
        gap: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .service-star {
        font-size: 1rem;
    }
    
    .service-group-title {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }
    
    .service-group-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }
    
    .service-options {
        gap: 0.7rem;
        margin-bottom: 1rem;
    }
    
    .service-option {
        padding: 0.9rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .service-duration {
        font-size: 0.95rem;
    }
    
    .service-price {
        font-size: 1.1rem;
    }
    
    .service-note {
        font-size: 0.85rem;
        margin-top: 0.8rem;
        padding-top: 0.8rem;
    }
    
    .whatsapp-booking-btn {
        font-size: 0.95rem;
        padding: 12px 20px;
        margin-top: 1.2rem;
        min-height: 48px; /* 触摸友好 */
    }

    /* 环境设施优化 */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .gallery-placeholder {
        height: 200px;
    }
    
    .gallery-item {
        border-radius: 8px;
    }

    .gallery-carousel-wrapper {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .gallery-carousel {
        height: 350px;
    }

    .gallery-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .gallery-carousel-prev {
        left: 10px;
    }

    .gallery-carousel-next {
        right: 10px;
    }

    .gallery-carousel-dots {
        bottom: 15px;
        gap: 8px;
    }

    .gallery-dot {
        width: 10px;
        height: 10px;
    }

    .gallery-dot.active {
        width: 12px;
        height: 12px;
    }

    /* 联系方式优化 */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .contact-info-card .info-item {
        padding: 1.5rem 0;
        padding-left: 1.2rem;
    }
    
    .contact-info-card .info-item:hover {
        padding-left: 1.4rem;
        transform: translateX(3px);
    }
    
    .info-item h3 {
        font-size: 1.05rem;
        margin-bottom: 0.6rem;
    }
    
    .info-item p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .whatsapp-contact-btn-wrapper {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .whatsapp-contact-btn {
        font-size: 1rem;
        padding: 14px 24px;
        min-height: 48px; /* 触摸友好 */
    }
    
    .map-container {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .map-container h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .map-container iframe {
        height: 350px;
        border-radius: 8px;
    }
    
    .map-link {
        margin-top: 1rem;
    }
    
    .map-link a {
        font-size: 0.9rem;
    }

    /* 页脚优化 */
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
    }
    
    .footer-powered {
        font-size: 0.85rem;
        margin-top: 0.8rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 1.5rem;
    }
}

/* 小屏幕手机 */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar .container {
        padding: 0.8rem 15px;
    }
    
    .logo {
        font-size: 1.3rem;
    }

    .language-switcher-desktop {
        display: none;
    }

    .language-switcher-mobile {
        display: block;
    }

    .language-switcher-mobile .lang-link {
        font-size: 0.95rem;
        padding: 0.4rem 0.8rem;
    }

    .language-switcher-mobile .lang-separator {
        font-size: 0.95rem;
    }

    .hero {
        min-height: 100vh;
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: 3px;
        margin-bottom: 1.8rem;
        line-height: 1.5;
        padding: 0 20px;
    }
    
    .title-main {
        letter-spacing: 4px;
        display: block;
        margin-bottom: 0.6rem;
    }
    
    .title-sub {
        font-size: 0.65em;
        letter-spacing: 3px;
        margin-top: 0;
        display: block;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        padding: 0 25px;
        line-height: 1.7;
        letter-spacing: 0.3px;
    }
    
    .hero-buttons {
        max-width: 100%;
        gap: 0.6rem;
        padding: 0 5px;
        justify-content: center;
    }

    .hero-buttons .btn {
        flex: 0 1 auto;
        min-width: 220px;
        max-width: 320px;
        padding: 12px 20px;
        font-size: 0.9rem;
        min-height: 44px;
    }

    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .about {
        padding-top: 90px;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    .feature-icon {
        min-height: 220px;
    }

    .service-group {
        padding: 1.2rem;
    }
    
    .service-group-title {
        font-size: 1.1rem;
    }
    
    .service-group-subtitle {
        font-size: 0.8rem;
    }
    
    .service-option {
        padding: 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .service-duration {
        font-size: 0.9rem;
    }
    
    .service-price {
        font-size: 1rem;
        align-self: flex-end;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-placeholder {
        height: 250px;
    }

    .gallery-carousel {
        height: 300px;
    }

    .gallery-carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    .gallery-carousel-prev {
        left: 5px;
    }

    .gallery-carousel-next {
        right: 5px;
    }

    .gallery-carousel-dots {
        bottom: 10px;
        gap: 6px;
    }

    .gallery-dot {
        width: 8px;
        height: 8px;
    }

    .gallery-dot.active {
        width: 10px;
        height: 10px;
    }

    .contact-info-card {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    .contact-info-card .info-item {
        padding: 1.2rem 0;
        padding-left: 1rem;
    }
    
    .contact-info-card .info-item:hover {
        padding-left: 1.2rem;
        transform: translateX(2px);
    }
    
    .info-item h3 {
        font-size: 0.98rem;
        margin-bottom: 0.5rem;
    }
    
    .info-item p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .whatsapp-contact-btn-wrapper {
        margin-top: 1.5rem;
        padding-top: 1.2rem;
    }
    
    .map-container {
        padding: 1rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
    }
    
    .footer-powered {
        font-size: 0.8rem;
        margin-top: 0.8rem;
    }
}

/* 超小屏幕 */
@media (max-width: 360px) {
    .hero-content {
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 1.7rem;
        letter-spacing: 2px;
        margin-bottom: 1.5rem;
        line-height: 1.5;
        padding: 0 15px;
    }
    
    .title-main {
        letter-spacing: 3px;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .title-sub {
        font-size: 0.65em;
        letter-spacing: 2px;
        margin-top: 0;
        display: block;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.8rem;
        padding: 0 20px;
        line-height: 1.6;
        letter-spacing: 0.2px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-buttons {
        gap: 0.5rem;
        padding: 0;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        flex: 0 1 auto;
        min-width: 220px;
        max-width: 320px;
        padding: 10px 16px;
        font-size: 0.85rem;
        min-height: 42px;
    }
}
