/* --- 1. 基础设置 --- */
:root {
    --primary: #c07858;
    --primary-light: #e8d0c6;
    --secondary: #2c3e50;
    --bg-cream: #f9f7f2;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: #333;
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* 语言切换控制 */
body.lang-cn .en-content { display: none !important; }
body.lang-en .cn-content { display: none !important; }

/* 动画 */
@keyframes textJump {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.animate-title span { display: inline-block; opacity: 0; animation: textJump 0.8s ease-out forwards; margin-right: 2px; }
.fade-in-up { animation: textJump 1s ease-out 1s forwards; opacity: 0; }

/* --- 2. 导航栏 --- */
nav {
    display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 5%;
    position: absolute; width: 100%; top: 0; z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}
.logo { color: white; font-size: 1.4rem; font-family: var(--font-heading); z-index: 1001; }
.nav-right { display: flex; align-items: center; gap: 20px; z-index: 1001; }
.lang-switch-box { color: white; font-size: 0.9rem; font-weight: bold; }
.l-btn { background: none; border: none; color: rgba(255,255,255,0.6); cursor: pointer; font-size: 1rem; font-weight: bold; padding: 5px; transition: 0.3s; }
.l-btn.active, .l-btn:hover { color: #ffd1b3; transform: scale(1.1); }
.book-btn { background: white; color: var(--secondary); padding: 10px 24px; border-radius: 30px; font-size: 0.85rem; font-weight: bold; transition: 0.3s; }
.book-btn:hover { background: #ffd1b3; }

/* --- 3. Hero --- */
.hero { height: 85vh; background: url('hero.jpg') no-repeat center center/cover; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; }
.hero::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.3); }
.hero-content { position: relative; z-index: 10; color: white; max-width: 900px; padding: 0 20px; }
.hero h1 { font-family: var(--font-heading); font-size: 3.5rem; line-height: 1.2; margin-bottom: 2rem; text-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.subtitle { display: block; font-family: var(--font-body); letter-spacing: 4px; text-transform: uppercase; margin-bottom: 1.5rem; opacity: 0.9; }

/* --- 4. 通用排版 --- */
.section-padding { padding: 6rem 5%; }
.bg-cream { background-color: var(--bg-cream); }
.text-center { text-align: center; }
.container { max-width: 1100px; margin: 0 auto; }
.section-tag { color: var(--primary); text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.section-header h2 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--secondary); margin-bottom: 1rem; }

/* --- 5. 关于我 --- */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image-wrapper img { width: 100%; border-radius: 200px 200px 20px 20px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.about-text h2 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--secondary); margin-bottom: 1.5rem; }
.about-text p { color: #666; margin-bottom: 1rem; }

/* --- 6. 价格表 --- */
.rates-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-bottom: 3rem; }
.rate-card { background: white; padding: 2.5rem 2rem; border-radius: 8px; text-align: center; border-top: 3px solid transparent; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; }
.rate-card:hover { transform: translateY(-10px); border-top-color: var(--primary); }
.icon-box i { font-size: 2rem; color: var(--primary); margin-bottom: 1.5rem; }
.rate-card h3 { font-size: 1.1rem; color: var(--secondary); margin-bottom: 0.5rem; }
.rate-card .desc { font-size: 0.9rem; color: #777; margin-bottom: 1.5rem; min-height: 45px; }
.price-tag { font-family: var(--font-heading); font-size: 2rem; color: var(--secondary); }
.price-tag small { font-size: 0.9rem; font-family: var(--font-body); color: #999; }
.rates-cta { margin-top: 2rem; }
.outline-btn { display: inline-block; border: 2px solid var(--primary); color: var(--primary); padding: 15px 40px; border-radius: 50px; font-weight: bold; font-size: 1rem; transition: 0.3s; }
.outline-btn:hover { background: var(--primary); color: white; }

/* --- 7. 日常护理 --- */
.routine-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.routine-info h2 { font-family: var(--font-heading); font-size: 2.2rem; color: var(--secondary); }
.routine-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 2rem; }
.r-item { display: flex; align-items: flex-start; }
.r-icon { width: 50px; height: 50px; background: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: var(--primary); font-size: 1.2rem; margin-right: 20px; flex-shrink: 0; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.r-text strong { display: block; color: var(--secondary); font-size: 1.1rem; margin-bottom: 5px; }
.r-text p { font-size: 0.95rem; color: #666; }
.routine-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.g-col { display: flex; flex-direction: column; gap: 15px; }
.g-col.down { margin-top: 40px; }
.routine-gallery img { width: 100%; border-radius: 10px; object-fit: cover; box-shadow: 0 10px 20px rgba(0,0,0,0.1); transition: 0.3s; }

/* --- 8. 其他萌宠与绿植 (终极美化版) --- */
#other-pets {
    position: relative;
    background-color: #fff;
    overflow: hidden;
    z-index: 1;
    padding-bottom: 8rem; /* 增加底部空间 */
}

/* 背景水彩光斑 - 调整得更浓郁一点，增加氛围 */
#other-pets::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle at center, rgba(232, 208, 198, 0.6) 0%, rgba(192, 120, 88, 0.15) 60%, transparent 80%);
    top: -20%;
    right: -20%;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.8;
}

#other-pets::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(244, 241, 238, 0.8) 0%, rgba(200, 210, 220, 0.2) 60%, transparent 80%);
    bottom: -10%;
    left: -10%;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}

.other-pets-layout { 
    display: grid; 
    grid-template-columns: 1fr 1.1fr; /* 调整比例 */
    gap: 3rem; 
    align-items: center; 
    margin-top: 3rem; 
}

.other-pets-list { 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem; /* 增加间距，不那么拥挤 */
}

/* 列表卡片 - 增加高级感 */
.op-item { 
    display: flex; 
    align-items: center; 
    background: rgba(255, 255, 255, 0.7); /* 半透明白 */
    padding: 20px 30px; 
    border-radius: 50px; /* 变成完全的胶囊形状 */
    transition: all 0.3s ease; 
    border: 1px solid rgba(0,0,0,0.03); /* 极细的边框 */
    box-shadow: 0 5px 15px rgba(192, 120, 88, 0.05); /* 淡淡的暖色阴影 */
    cursor: default;
}

.op-item:hover { 
    transform: translateX(10px) scale(1.02); 
    background: #fff;
    box-shadow: 0 8px 25px rgba(192, 120, 88, 0.15); /* 悬停阴影加深 */
    border-color: rgba(192, 120, 88, 0.2);
}

.op-item i { 
    color: #c07858; 
    font-size: 1.4rem; 
    margin-right: 20px; 
    width: 30px; 
    text-align: center; 
}

.op-item strong { 
    color: #4a4a4a; 
    font-size: 1.05rem; 
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 图片区域 - 边缘羽化黑科技 */
.other-pets-img-box { 
    position: relative; 
    height: auto; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.other-pets-img-box img { 
    width: 100%; 
    height: auto; 
    object-fit: contain; 
    
    /* 关键代码：把图片的白底跟背景混合，或者边缘羽化 */
    /* 1. 混合模式：让白底变透明 (如果背景不是纯白，这招最管用) */
    mix-blend-mode: multiply; 
    
    /* 2. 边缘遮罩：让图片边缘柔和消失，像云雾一样 */
    -webkit-mask-image: radial-gradient(circle at center, black 50%, transparent 100%);
    mask-image: radial-gradient(circle at center, black 50%, transparent 100%);
    
    opacity: 0.95; /* 稍微调低透明度，更像水彩画 */
    transform: scale(1.1); /* 稍微放大一点填补空间 */
}

/* 手机端调整 */
@media (max-width: 768px) {
    .other-pets-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    /* 手机上取消混合模式，防止变黑 */
    .other-pets-img-box img {
        mix-blend-mode: normal;
        -webkit-mask-image: radial-gradient(circle at center, black 60%, transparent 95%);
        mask-image: radial-gradient(circle at center, black 60%, transparent 95%);
    }
}/* --- 9. 重构：入住须知 --- */
.req-split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }
.req-column { background: white; padding: 2.5rem; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
/* 右边栏纯白 */
.host-col { background: #ffffff; color: #2c3e50; } 
.req-title { font-size: 1.3rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #eee; display: flex; align-items: center; gap: 10px; }
/* 右边栏分割线颜色 */
.host-col .req-title { border-bottom-color: #eee; }
.req-list-new { list-style: none; }
.req-list-new li { margin-bottom: 1.2rem; display: flex; flex-direction: column; }
.req-list-new li strong { font-size: 1.05rem; margin-bottom: 3px; }
/* 右边栏小标题颜色 */
.host-col .req-list-new li strong { color: #c07858; }

/* --- 10. Footer & Social (这里是你之前缺失的部分) --- */
.footer { background-color: #f4eee5; text-align: center; padding: 4rem 2rem; }
.footer-btn { background: var(--secondary); color: white; padding: 15px 40px; border-radius: 50px; font-weight: bold; display: inline-block; margin-top: 20px; }
.copyright { margin-top: 3rem; font-size: 0.8rem; color: #999; }

/* 社交媒体容器 */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* 按钮样式 */
.social-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    background: white;
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-decoration: none;
}

.social-item i { font-size: 1.2rem; }

/* 品牌色 */
.social-item.instagram i { color: #e1306c; }
.social-item.redbook i { color: #ff2442; }

/* 悬停效果 */
.social-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* --- 手机适配 (修正版：修复异宠板块文字看不清的问题) --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    
    /* 1. 让所有网格变单列 */
    .about-layout, .routine-layout, .other-pets-layout, .req-split-layout { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }
    
    .about-image-wrapper img { width: 85%; margin: 0 auto; display: block; }
    
    /* 2. 修复日常护理照片墙 */
    .routine-gallery { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 10px;
        margin-top: 20px;
    }
    .g-col.down { margin-top: 0; }

    /* 3. ⚠️ 重点修复：异宠板块的按钮 */
    .other-pets-list {
        gap: 1rem; /* 稍微缩小间距 */
    }

    .op-item {
        /* 手机上不要半透明，改用实心的暖米灰色，保证看清 */
        background: #f4f1ee !important; 
        box-shadow: none !important; /* 手机上去掉阴影，看起来更平整 */
        border: 1px solid rgba(0,0,0,0.05); /* 加个淡淡的边框防止撞色 */
        padding: 15px 20px; /* 稍微调小内边距 */
    }

    .op-item strong {
        color: #333 !important; /* 强制文字变成深黑灰色 */
        font-weight: 700;
    }

    .op-item i {
        font-size: 1.2rem;
        margin-right: 15px;
    }

    /* 4. 修复异宠图片的混合模式 */
    .other-pets-img-box img {
        mix-blend-mode: normal; /* 手机上取消混合模式，防止变暗 */
        /* 保留边缘羽化，但稍微减弱一点，防止图片太小看不清 */
        -webkit-mask-image: radial-gradient(circle at center, black 65%, transparent 100%);
        mask-image: radial-gradient(circle at center, black 65%, transparent 100%);
        transform: scale(1);
    }
    
    .other-pets-img-box { height: auto; margin-top: -20px; }
}