/* 全局样式 */
@font-face {
    font-family: 'Alibaba PuHuiTi';
    src: url('fonts/AlibabaPuHuiTi-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alibaba PuHuiTi';
    src: url('fonts/AlibabaPuHuiTi-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alibaba PuHuiTi';
    src: url('fonts/AlibabaPuHuiTi-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #ff7bac; /* 粉色作为主色调 */
    --secondary-color: #a5d8ff; /* 浅蓝色作为辅助色 */
    --accent-color: #ffde7d; /* 浅黄色作为强调色 */
    --text-color: #333333;
    --light-text: #ffffff;
    --background-color: #ffffff;
    --light-background: #f5f5f7; /* 更接近苹果的浅灰色背景 */
    --border-radius: 8px; /* 更小的圆角，更现代 */
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* 更柔和的阴影 */
    --transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); /* 苹果风格的过渡效果 */
    --heading-font: 'Alibaba PuHuiTi', 'Source Han Serif SC', 'Source Han Serif TC', 'Noto Serif CJK SC', 'Noto Serif CJK TC', serif; /* 阿里巴巴普惠体用于标题 */
    --body-font: 'Alibaba PuHuiTi', 'Source Han Sans SC', 'Source Han Sans TC', 'Noto Sans CJK SC', 'Noto Sans CJK TC', sans-serif; /* 阿里巴巴普惠体用于正文 */
}

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

body {
    font-family: var(--body-font); /* 使用思源黑体作为正文字体 */
    color: var(--text-color);
    line-height: 1.5;
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased; /* 字体平滑渲染 */
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font); /* 使用思源宋体作为标题字体 */
    font-weight: 600;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

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

a:hover {
    color: #e05a8a; /* 深一点的粉色 */
}

ul {
    list-style: none;
}

.section-title {
    text-align: center;
    margin-bottom: 50px; /* 增加间距 */
    font-size: 2.5rem; /* 更大的标题 */
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    font-weight: 600; /* 苹果风格字重 */
    letter-spacing: -0.02em; /* 苹果风格字间距 */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 1px;
}

section {
    padding: 100px 0; /* 增加内边距，更宽敞 */
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600; /* 苹果风格字重 */
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: -0.01em; /* 苹果风格字间距 */
}

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

.btn-primary:hover {
    background-color: #e05a8a;
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 123, 172, 0.3);
}

.btn-secondary {
    background-color: rgba(165, 216, 255, 0.8); /* 半透明效果 */
    backdrop-filter: blur(10px); /* 毛玻璃效果 */
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: rgba(139, 196, 245, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(165, 216, 255, 0.3);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.95rem;
}

/* 头部样式 */
header {
    background-color: rgba(255, 255, 255, 0.8); /* 半透明背景 */
    backdrop-filter: blur(20px); /* 毛玻璃效果 */
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05); /* 更细的阴影 */
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

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

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

.logo img {
    height: 80px; /* 更大的logo */
    margin-right: 15px;
}

.logo h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: bold; /* 使用更粗的字重 */
    letter-spacing: -0.02em; /* 苹果风格字间距 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* 添加轻微阴影增加立体感 */
    font-family: 'Alibaba PuHuiTi', sans-serif; /* 直接指定阿里巴巴普惠体 */
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px; /* 增加间距 */
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500; /* 苹果风格字重 */
    position: relative;
    font-size: 1.05rem; /* 稍微大一点的导航字体 */
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 180px 0; /* 更大的高度 */
    text-align: center;
}

.hero-content {
    max-width: 800px; /* 更宽的内容区 */
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3.5rem; /* 更大的标题 */
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 600; /* 苹果风格字重 */
    letter-spacing: -0.02em; /* 苹果风格字间距 */
    line-height: 1.2; /* 更紧凑的行高 */
}

.hero-content p {
    font-size: 1.4rem; /* 更大的段落文字 */
    margin-bottom: 40px;
    color: #555; /* 稍微淡一点的颜色 */
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

/* 特色区域样式 */
.features {
    background-color: var(--light-background);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; /* 增加间距 */
}

.feature-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 40px; /* 增加内边距 */
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 3.5rem; /* 更大的图标 */
    color: var(--primary-color);
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 1.6rem; /* 更大的标题 */
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600; /* 苹果风格字重 */
}

.feature-card p {
    font-size: 1.1rem; /* 更大的文字 */
    color: #555; /* 稍微淡一点的颜色 */
}

/* 服务预览区域样式 */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px; /* 增加间距 */
}

.service-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 240px; /* 更高的图片 */
    object-fit: cover;
    transition: transform 0.5s ease; /* 添加过渡效果 */
}

.service-card:hover img {
    transform: scale(1.05); /* 悬停时图片放大 */
}

.service-card h3 {
    font-size: 1.6rem; /* 更大的标题 */
    margin: 25px 25px 15px; /* 增加边距 */
    color: var(--primary-color);
    font-weight: 600; /* 苹果风格字重 */
}

.service-card p {
    margin: 0 25px 20px; /* 增加边距 */
    font-size: 1.1rem; /* 更大的文字 */
    color: #555; /* 稍微淡一点的颜色 */
}

.service-card .btn {
    margin: 0 25px 25px; /* 增加边距 */
}

.services-more {
    text-align: center;
    margin-top: 50px; /* 增加间距 */
}

/* 商品预览区域样式 */
.products-preview {
    background-color: var(--light-background);
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px; /* 增加间距 */
}

.product-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 220px; /* 更高的图片 */
    object-fit: cover;
    transition: transform 0.5s ease; /* 添加过渡效果 */
}

.product-card:hover img {
    transform: scale(1.05); /* 悬停时图片放大 */
}

.product-card h3 {
    font-size: 1.4rem; /* 更大的标题 */
    margin: 25px 25px 10px; /* 增加边距 */
    color: var(--primary-color);
    font-weight: 600; /* 苹果风格字重 */
}

.product-card p {
    margin: 0 25px 10px; /* 增加边距 */
    font-size: 1.05rem; /* 更大的文字 */
    color: #555; /* 稍微淡一点的颜色 */
}

.product-card .price {
    display: block;
    margin: 0 25px 20px; /* 增加边距 */
    font-weight: 600; /* 苹果风格字重 */
    color: var(--primary-color);
    font-size: 1.3rem; /* 更大的价格 */
}

.product-card .btn {
    margin: 0 25px 25px; /* 增加边距 */
}

.products-more {
    text-align: center;
    margin-top: 50px; /* 增加间距 */
}

/* 客户评价区域样式 */
.testimonials {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('images/testimonial-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 视差滚动效果 */
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px; /* 增加间距 */
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.8); /* 半透明背景 */
    backdrop-filter: blur(10px); /* 毛玻璃效果 */
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 40px; /* 增加内边距 */
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding: 0 25px;
    font-size: 1.1rem; /* 更大的文字 */
    color: #555; /* 稍微淡一点的颜色 */
    line-height: 1.6;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 2.5rem; /* 更大的引号 */
    color: var(--primary-color);
    position: absolute;
    opacity: 0.5; /* 半透明 */
}

.testimonial-content p::before {
    left: 0;
    top: -15px;
}

.testimonial-content p::after {
    right: 0;
    bottom: -30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 70px; /* 更大的头像 */
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid rgba(255, 123, 172, 0.3); /* 添加边框 */
}

.author-info h4 {
    font-size: 1.2rem; /* 更大的名字 */
    margin-bottom: 5px;
    font-weight: 600; /* 苹果风格字重 */
}

.stars {
    color: var(--accent-color);
    font-size: 1.1rem; /* 更大的星星 */
}

/* 预约CTA区域样式 */
.booking-cta {
    background: linear-gradient(135deg, var(--primary-color), #ff9ac7);
    color: var(--light-text);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.booking-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.cta-content {
    max-width: 800px; /* 更宽的内容区 */
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.8rem; /* 更大的标题 */
    margin-bottom: 25px;
    font-weight: 600; /* 苹果风格字重 */
    letter-spacing: -0.02em; /* 苹果风格字间距 */
}

.cta-content p {
    margin-bottom: 40px;
    font-size: 1.3rem; /* 更大的文字 */
    opacity: 0.9;
}

.cta-content .btn {
    background-color: var(--light-text);
    color: var(--primary-color);
    font-weight: 600; /* 苹果风格字重 */
    padding: 15px 35px; /* 更大的按钮 */
    font-size: 1.1rem; /* 更大的文字 */
}

.cta-content .btn:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 页脚样式 */
footer {
    background-color: #222; /* 更深的背景色 */
    color: var(--light-text);
    padding: 80px 0 20px; /* 增加内边距 */
    font-family: 'Noto Sans SC', sans-serif; /* 确保页脚字体统一 */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px; /* 增加间距 */
    margin-bottom: 50px;
}

.footer-logo img {
    height: 80px; /* 更大的logo */
    margin-bottom: 20px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600; /* 苹果风格字重 */
    letter-spacing: -0.02em; /* 苹果风格字间距 */
    font-family: 'Noto Sans SC', sans-serif; /* 确保字体统一 */
}

.footer-logo p {
    opacity: 0.8;
    font-size: 1.05rem; /* 更大的文字 */
    font-family: 'Noto Sans SC', sans-serif; /* 确保字体统一 */
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.3rem; /* 更大的标题 */
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 600; /* 苹果风格字重 */
    font-family: 'Noto Sans SC', sans-serif; /* 确保字体统一 */
}

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

.footer-links ul li a {
    color: var(--light-text);
    opacity: 0.8;
    font-size: 1.05rem; /* 更大的文字 */
    transition: var(--transition);
    font-family: 'Noto Sans SC', sans-serif; /* 确保字体统一 */
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    opacity: 1;
    padding-left: 5px; /* 悬停时的移动效果 */
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    opacity: 0.8;
    font-size: 1.05rem; /* 更大的文字 */
    font-family: 'Noto Sans SC', sans-serif; /* 确保字体统一 */
}

.footer-contact p i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem; /* 更大的图标 */
    min-width: 20px; /* 确保图标对齐 */
    text-align: center; /* 确保图标居中 */
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px; /* 更大的图标 */
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-text);
    transition: var(--transition);
    font-size: 1.2rem; /* 更大的图标 */
    text-decoration: none; /* 确保没有下划线 */
    overflow: hidden; /* 确保内容不溢出 */
}

.social-icons a i, 
.social-icons a img {
    display: block; /* 确保图标正确显示 */
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.05rem; /* 更大的文字 */
    opacity: 0.7;
    font-family: 'Noto Sans SC', sans-serif; /* 确保字体统一 */
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .cta-content h2 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .language-toggle {
        position: absolute;
        right: 70px;
        top: 25px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 70px 0;
    }
    
    .hero {
        padding: 120px 0;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .feature-card,
    .service-card,
    .product-card,
    .testimonial {
        padding: 25px;
    }
}

/* 微信图标悬停效果 */
.wechat-icon {
    position: relative;
}

.wechat-icon:after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background: url('images/wechat.jpg') no-repeat center center;
    background-size: cover;
    border: 5px solid white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.wechat-icon:hover:after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 10px);
}

/* 语言切换图标样式 */
.language-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 20px;
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background-color: rgba(255, 123, 172, 0.1);
}

.language-toggle i {
    color: var(--primary-color);
    font-size: 1.2rem;
} 