body, html { margin: 0; padding: 0; overflow-x: hidden; }

/* 首页背景 */
header {
    position: relative;
    height: 75vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

.bg-single-snow {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.2)), url('../assets/images/schneeForst2nd.png');
    background-size: 100% auto;
    background-position: center 50%; /* 露出森林 */
    transform: scale(1); 
    transition: transform 0.8s ease;
}

header:hover .bg-single-snow { transform: scale(1.05); }

/* -----------------------------------
   全局背景与遮罩标准化 (Overlay System)
----------------------------------- */

/* 详情页专用图片背景（已去除硬编码的渐变色） */
.hero-bg-service {
    position: relative;
    background-image: url('../assets/images/schneeForst2nd.png');
    background-size: cover;
    background-position: center 40%;
    padding: 80px 0;
    color: white;
    overflow: hidden; /* 防止遮罩溢出 */
}

/* 首页标准遮罩 (50% 石墨黑) */
.hero-overlay-home {
    position: absolute;
    inset: 0;
    z-index: 10;
    background-color: rgba(15, 23, 42, 0.5); 
    pointer-events: none; /* 确保不阻挡鼠标交互 */
}

/* 子页面标准遮罩 (80% 石墨黑，确保文字清晰) */
.hero-overlay-page {
    position: absolute;
    inset: 0;
    z-index: 0; 
    background-color: rgba(15, 23, 42, 0.8);
    pointer-events: none;
}

/* 专家头像 */
.expert-img {
    background-image: url('../assets/images/ttt.jpg'); 
    width: 150px;
    height: 150px;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    object-fit: cover;
    border-radius: 50%;
}

/* i.G. 样式 */
.status-ig-style {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.8;
    font-style: italic;
    margin-left: 10px;
}

h1 { text-shadow: 0 4px 15px rgba(0,0,0,0.6); }

/* 页脚灰色修正 */
footer, footer p, footer span {
    color: #4b5563 !important;
    text-shadow: none !important;
}

/* 新增品牌强调色: 荧光绿科技边框 */
.expert-img {
    border-color: #34d399 !important; /* Tailwind emerald-400 */
    box-shadow: 0 4px 20px rgba(52, 211, 153, 0.2);
}

/* 导航栏平滑毛玻璃效果加强 */
nav {
    transition: all 0.3s ease-in-out;
}