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

:root {
    --primary-color: #0066ff;    /* Logo中的主要蓝色 */
    --secondary-color: #00a0ff;  /* 较浅的蓝色用于渐变 */
    --text-color: #333333;
    --bg-light: #f5f8ff;        /* 浅蓝背景色 */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 102, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 0.8rem 4rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 102, 255, 0.15);
}

.logo {
    height: 45px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo span {
    font-size: 1.3rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    color: transparent;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links a.active::before {
    transform: scaleX(1);
    height: 3px;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(
        to bottom,
        rgba(0, 102, 255, 0.3),
        rgba(0, 160, 255, 0.2)
    ), url('images/gaming-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    padding: 0 20px;
    min-height: 600px;
    margin-top: 0;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    pointer-events: none;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    line-height: 1.6;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.rooms, .facilities {
    padding: 4rem 2rem;
}

.room-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.room-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.room-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.room-card h3, .room-card p {
    padding: 1rem;
}

.facility-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.facility-item {
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 10px;
}

.facility-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-buttons {
    margin-top: 2rem;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.booking-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.booking-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.booking-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.booking-btn:hover::after {
    width: 300px;
    height: 300px;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.advantage-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 160, 255, 0.05) 100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.advantage-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
}

.advantage-item:hover::before {
    opacity: 1;
}

.advantage-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.4s ease;
}

.advantage-item:hover i {
    transform: scale(1.1) rotate(10deg);
    color: var(--secondary-color);
}

.advantage-item h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.advantage-item h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.4s ease;
}

.advantage-item:hover h3::after {
    width: 100%;
}

.advantage-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
}

.qr-code {
    position: relative;
    padding: 20px;
    margin: 30px auto;
    max-width: 260px;
    background: var(--bg-light);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.qr-code::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.qr-code img {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 15px;
    transition: all 0.4s ease;
    z-index: 1;
}

.qr-code::after {
    content: '扫码关注';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0;
    transition: all 0.4s ease;
}

.booking-card:hover .qr-code {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.2);
}

.booking-card:hover .qr-code::before {
    opacity: 1;
}

.booking-card:hover .qr-code img {
    transform: scale(1.02);
}

.booking-card:hover .qr-code::after {
    opacity: 1;
    bottom: -25px;
}

@media (max-width: 1024px) {
    .navbar {
        padding: 0.8rem 2rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .logo span {
        font-size: 1rem;
    }
}

/* 导航栏响应式样式优化 */
@media (max-width: 992px) {
    .navbar {
        padding: 0.8rem 2rem;
        background: rgba(255, 255, 255, 0.98);
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        padding: 0.5rem;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle i {
        font-size: 1.8rem;
        color: var(--primary-color);
        transition: all 0.3s ease;
    }

    .menu-toggle:hover i {
        color: var(--secondary-color);
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 102, 255, 0.1);
    }

    .nav-links a:hover {
        background: var(--bg-light);
    }

    .floating-contact {
        right: -280px;
        top: 50%;
    }

    .floating-contact .contact-info {
        width: 280px;
        padding: 20px;
    }

    .floating-contact .contact-info::before {
        width: 40px;
        height: 100px;
        left: -40px;
    }

    .floating-contact .contact-info::after {
        left: -40px;
        font-size: 1rem;
    }

    .contact-logo {
        width: 60px;
        height: 60px;
    }

    .floating-contact .contact-header h3 {
        font-size: 1.3rem;
    }

    .floating-contact .contact-item {
        padding: 12px;
        margin-bottom: 10px;
    }
}

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

    .logo {
        height: 40px;
    }

    .logo span {
        font-size: 1.1rem;
    }

    .floating-contact {
        right: -280px;
        top: 60%;
    }

    .floating-contact .contact-info {
        width: 280px;
        padding: 15px;
    }

    .floating-contact .contact-info::before {
        width: 35px;
        height: 70px;
        left: -35px;
    }

    .floating-contact .contact-info::after {
        left: -35px;
        font-size: 0.9rem;
    }

    .contact-logo {
        width: 60px;
        height: 60px;
    }

    .floating-contact .contact-header h3 {
        font-size: 1.3rem;
    }

    .floating-contact .contact-item {
        padding: 12px;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.8rem 1rem;
    }

    .logo span {
        font-size: 1rem;
    }

    .floating-contact {
        right: -280px;
        top: 70%;
    }

    .floating-contact .contact-info {
        width: 280px;
        padding: 12px;
    }

    .floating-contact .contact-info::before {
        width: 30px;
        height: 60px;
        left: -30px;
    }

    .floating-contact .contact-info::after {
        left: -30px;
        font-size: 0.85rem;
    }

    .contact-logo {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .floating-contact .contact-header h3 {
        font-size: 1.2rem;
    }

    .floating-contact .contact-item {
        padding: 10px;
        margin-bottom: 8px;
    }

    .floating-contact .contact-item i {
        font-size: 1.4rem;
    }

    .floating-contact .contact-item h3 {
        font-size: 1rem;
    }

    .floating-contact .contact-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .floating-contact {
        right: -240px;
    }

    .floating-contact .contact-info {
        width: 240px;
        padding: 10px;
    }

    .floating-contact .contact-info::before {
        width: 25px;
        height: 50px;
        left: -25px;
    }

    .floating-contact .contact-info::after {
        left: -25px;
        font-size: 0.8rem;
    }
}

/* 确保菜单按钮始终可见 */
.menu-toggle {
    display: none;
    position: relative;
    z-index: 1001;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
}

/* 小屏幕适配 */
@media (max-width: 576px) {
    .navbar {
        padding: 0.8rem 1.5rem;
    }

    .logo {
        height: 40px;
    }

    .logo span {
        font-size: 1.1rem;
    }
}

/* 超小屏幕适配 */
@media (max-width: 360px) {
    .logo span {
        display: none;
    }
}

.brand-features {
    margin: 2.5rem 0;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background: rgba(0, 102, 255, 0.15);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand-features .dot {
    color: var(--secondary-color);
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 160, 255, 0.5);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.advantage-item:hover {
    animation: float 2s ease-in-out infinite;
}

main {
    padding-top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* 修改滚动行为 */
html {
    scroll-padding-top: 80px;
    height: 100%;
}

body {
    min-height: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 调整section的样式 */
section {
    padding: 80px 0;
}

/* hero section不需要默认内边距 */
section.hero {
    padding: 0;
}

/* 特别调整品牌优势部分 */
#advantage {
    padding-top: 100px; /* 稍微增加顶部间距 */
}

.advantage h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

/* 调整其他section标题的通用样式 */
section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

/* 公司概况样式优化 */
.about {
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
}

.about-text {
    padding: 0;
    text-align: left;
}

.about-text .highlight {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 25px;
    border-left: 4px solid var(--primary-color);
    display: block;
}

.about-details {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-details p {
    margin-bottom: 1.8rem;
}

.about-details strong {
    color: var(--text-color);
    font-weight: 600;
    background: linear-gradient(120deg, transparent 0%, transparent 40%, rgba(0, 102, 255, 0.15) 40%, rgba(0, 102, 255, 0.15) 100%);
    padding: 2px 8px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.about-stats.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-item {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 160, 255, 0.1) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 20px;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.15);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    display: block;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 1.2rem;
    color: #666;
    display: block;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

@media (max-width: 992px) {
    .about h2 {
        font-size: 2.5rem;
    }

    .about-text .highlight {
        font-size: 1.6rem;
    }

    .about-details {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .stat-label {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 80px 0;
    }

    .about h2 {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .about-text .highlight {
        font-size: 1.4rem;
        padding-left: 20px;
    }

    .about-details {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .about {
        padding: 60px 0;
    }

    .about h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .about-text .highlight {
        font-size: 1.3rem;
        padding-left: 15px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item {
        max-width: 280px;
        margin: 0 auto;
        padding: 25px 20px;
    }
}

/* 产品展示样式 */
.products {
    background-color: var(--bg-light);
    overflow: hidden;
}

.product-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.slider-container {
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    padding: 0 20px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: relative;
    transform: scale(0.95);
    transition: all 0.5s ease-out;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.1);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    padding: 2rem;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8),
        transparent
    );
    color: white;
    border-radius: 0 0 20px 20px;
}

.slide-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 0.7;
    transform: translateY(-50%) scale(0.9);
}

.slider-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.slider-pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .product-slider {
        padding: 0 40px;
    }
    
    .slide img {
        height: 300px;
    }
    
    .slide-content h3 {
        font-size: 1.4rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
}

/* 添加全局动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 修改渐入效果 */
.section-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.section-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 确保首屏内容始终可见 */
.hero {
    opacity: 1 !important;
    transform: none !important;
}

/* 移除预加载状态时的过渡效果 */
.preload * {
    transition: none !important;
}

/* 确保移除preload后的过渡效果 */
body:not(.preload) .section-fade,
body:not(.preload) .about-content,
body:not(.preload) .advantage-item {
    transition: all 0.8s ease-out;
}

/* 在线预订样式优化 */
.booking {
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.booking::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--bg-light) 0%, transparent 70%);
    transform: rotate(-45deg);
    pointer-events: none;
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
}

.booking-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.booking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 160, 255, 0.05) 100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.booking-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
}

.booking-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.booking-card:hover .card-icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
}

.card-icon i {
    font-size: 32px;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.booking-card:hover .card-icon i {
    color: var(--secondary-color);
}

.booking-card h3 {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.booking-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-card:hover h3::after {
    transform: scaleX(1);
    transform-origin: left;
}

.booking-card p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.qr-code img {
    width: 200px;
    height: 200px;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.15);
    transition: all 0.4s ease;
}

.booking-card:hover .qr-code img {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 102, 255, 0.2);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.benefit-item {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.benefit-item:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.15);
}

.benefit-item:hover i,
.benefit-item:hover span {
    color: white;
}

.benefit-item i {
    font-size: 18px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.benefit-item span {
    font-size: 0.95rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    font-weight: 500;
}

.phone-number {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.booking-card:hover .phone-number {
    transform: scale(1.05);
    color: var(--secondary-color);
}

.phone-number i {
    font-size: 1.6rem;
}

.service-time {
    font-size: 1.1rem;
    color: #666;
    margin-top: 15px;
}

/* 联系我们样式优化 */
.contact-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
}

.map-container {
    width: 100%;
    height: 100%;
}

#amap-container {
    width: 100%;
    height: 100%;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.location-info i {
    font-size: 2rem;
    color: var(--primary-color);
}

.location-info .content h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: white;
}

.location-info .content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.view-map-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.view-map-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 响应式优化 */
@media (max-width: 1200px) {
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .floating-contact {
        right: -280px;
        top: 50%;
    }

    .map-wrapper {
        height: 500px;
    }

    .map-overlay {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .location-info {
        width: 100%;
    }

    .view-map-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .advantage-grid {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        height: 400px;
    }

    .location-info .content h3 {
        font-size: 1.2rem;
    }

    .location-info .content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .map-wrapper {
        height: 300px;
    }

    .map-overlay {
        padding: 20px;
    }

    .advantage-item {
        padding: 30px 20px;
    }

    .advantage-item h3 {
        font-size: 1.2rem;
    }

    .advantage-item p {
        font-size: 0.9rem;
    }
}

/* 在线预订响应式优化 */
@media (max-width: 992px) {
    .booking-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .booking-card {
        padding: 30px 20px;
    }

    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .benefit-item {
        padding: 12px;
    }

    .benefit-item i {
        font-size: 16px;
    }

    .benefit-item span {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .qr-code img {
        width: 180px;
        height: 180px;
    }

    .booking-card h3 {
        font-size: 1.4rem;
    }

    .booking-card p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .booking {
        padding: 60px 0;
    }

    .booking-container {
        padding: 0 15px;
        gap: 20px;
    }

    .booking-card {
        padding: 25px 15px;
    }

    .benefits-grid {
        gap: 10px;
    }

    .benefit-item {
        padding: 10px;
    }

    .benefit-item span {
        font-size: 0.85rem;
    }

    .qr-code img {
        width: 160px;
        height: 160px;
    }
}

/* 悬浮联系信息基础样式 */
.floating-contact {
    position: fixed;
    right: -280px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    transition: all 0.4s ease;
    display: block !important;
    max-width: 100vw;
}

.floating-contact:hover {
    right: 0;
}

.floating-contact .contact-info {
    width: 280px;
    background: white;
    padding: 20px;
    border-radius: 20px 0 0 20px;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.15);
    position: relative;
}

.floating-contact .contact-info::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 100px;
    background: white;
    border-radius: 10px 0 0 10px;
    box-shadow: -5px 0 15px rgba(0, 102, 255, 0.1);
    cursor: pointer;
}

.floating-contact .contact-info::after {
    content: '联系我们';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    writing-mode: vertical-lr;
    text-orientation: upright;
    letter-spacing: 2px;
    cursor: pointer;
    text-align: center;
    padding: 10px 15px;
    z-index: 2;
}

/* 确保联系卡片内容样式正确 */
.contact-header {
    text-align: center;
    margin-bottom: 20px;
}

.contact-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.contact-item {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-10px);
}

.contact-item:hover * {
    color: white;
}

/* 页脚样式优化 */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: white;
    padding: 80px 0 30px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 102, 255, 0.3) 50%, 
        transparent 100%
    );
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    position: relative;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-section:first-child {
    padding-right: 40px;
}

.footer-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-section h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.footer-section:hover h4::after {
    width: 60px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.footer-section p:hover {
    color: white;
    transform: translateX(5px);
}

.footer-section i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-section p:hover i {
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    opacity: 0;
}

.footer-section ul a:hover {
    color: white;
    transform: translateX(10px);
}

.footer-section ul a:hover::before {
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 30px 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 50%, 
        transparent 100%
    );
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-bottom p:hover {
    color: white;
}

/* 页脚响应式优化 */
@media (max-width: 1200px) {
    .footer-content {
        gap: 40px;
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .footer {
        padding: 60px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
        padding-right: 0;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 20px;
        margin-top: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
        align-items: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section p {
        justify-content: center;
    }

    .footer-section ul {
        width: 100%;
    }

    .footer-section ul li {
        text-align: center;
    }

    .footer-section ul a {
        justify-content: center;
    }

    .footer-bottom {
        margin-top: 40px;
        padding: 20px 20px 0;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }

    .footer-content {
        padding: 0 15px;
        gap: 25px;
    }

    .footer-logo {
        width: 80px;
        height: 80px;
    }

    .footer-section h3 {
        font-size: 1.4rem;
    }

    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .footer-section p,
    .footer-section ul a {
        font-size: 0.95rem;
    }
} 
