/* --- 1. 变量定义 --- */
:root {
    --primary: #333333;       
    --text-sub: #666666;      
    --accent: #657A72;        
    --accent-hover: #4A5D56;
    --accent-light: #EFF2F1;  
    --bg-body: #FFFFFF;
    --bg-light: #FAFAFA;      
    --bg-contact: #F4F6F6;    
    --border: #EEEEEE;        
    --white: #FFFFFF;
    --radius-leaf: 12px 0 12px 0;
    --radius-box: 8px;            
    --shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* --- 2. 基础重置 --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Noto Sans SC', 'Lato', sans-serif; 
    color: var(--primary); 
    line-height: 1.7; 
    background: var(--bg-body); 
    overflow-x: hidden;
    user-select: none; /* 禁止文字选中 */ 
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; object-fit: cover; pointer-events: none; /* 禁止拖拽图片 */ }
ul { list-style: none; }
.hidden { display: none !important; }

/* --- 3. 布局工具 --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative; }
.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.bg-contact { background-color: var(--bg-contact); }
.center { text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.layout-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- 4. 导航栏 --- */
.site-header { 
    position: fixed; top: 0; width: 100%; height: 75px; 
    background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); 
    z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.03);
}
.header-inner { 
    height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; 
    display: flex; justify-content: space-between; align-items: center; 
}
.logo-area { display: flex; align-items: center; gap: 10px; }
.header-logo { height: 45px; width: auto; pointer-events: auto; }
.logo-text { font-weight: 700; font-size: 1.1rem; color: var(--primary); letter-spacing: 1px; }

.nav-wrapper { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; gap: 25px; }
.nav-link { font-size: 0.9rem; color: var(--text-sub); font-weight: 500; position: relative; }
.nav-link:hover { color: var(--accent); }
.nav-link::after { content:''; position: absolute; bottom:-4px; left:0; width:0; height:2px; background:var(--accent); transition: width 0.3s; }
.nav-link:hover::after { width: 100%; }

.actions-area { display: flex; align-items: center; gap: 15px; }
.lang-selector { font-size: 0.8rem; font-weight: 600; color: #999; cursor: pointer; }
.lang-btn.active { color: var(--accent); }
.menu-toggle { display: none; background:none; border:none; font-size: 1.3rem; cursor: pointer; color: var(--primary); }

/* --- 5. Hero Section --- */
.hero-section { height: 85vh; display: flex; align-items: center; position: relative; }
.hero-section::before { 
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%; 
    background: url('images/1.jpg') center/cover no-repeat; z-index: -2; 
}
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.25); z-index: -1; }
.hero-content { color: var(--white); text-align: center; max-width: 800px; text-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.hero-title { font-size: 3.5rem; font-weight: 300; margin-bottom: 20px; letter-spacing: 2px; }
.hero-subtitle { font-size: 1.2rem; font-weight: 300; opacity: 0.95; margin-bottom: 40px; }
.btn-primary { 
    display: inline-block; padding: 12px 35px; background: var(--accent); 
    color: var(--white); border-radius: 50px; font-weight: 500; letter-spacing: 1px;
    transition: all 0.3s; 
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* --- 6. Services & About --- */
.section-header .sub-title { display: block; color: var(--accent); font-weight: 700; font-size: 0.85rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; }
.section-header h2 { font-size: 2rem; font-weight: 400; color: var(--primary); }

.service-card { background: var(--white); padding: 40px 30px; border: 1px solid var(--border); border-radius: var(--radius-leaf); transition: 0.3s; }
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-5px); }
.icon-box { font-size: 2rem; color: var(--accent); margin-bottom: 20px; }
.service-card h3 { margin-bottom: 10px; font-size: 1.2rem; font-weight: 500; }
.service-card p { color: var(--text-sub); font-size: 0.9rem; }

.split-img img { border-radius: var(--radius-leaf); width: 100%; box-shadow: var(--shadow); pointer-events: none; }
.feature-list { margin-top: 25px; }
.feature-list li { margin-bottom: 12px; color: var(--primary); display: flex; gap: 10px; font-size: 0.95rem; }
.feature-list i { color: var(--accent); }

/* --- 7. Clients Grid --- */
.clients-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
    gap: 1px; background-color: var(--border); border: 1px solid var(--border); margin-top: 40px;
}
.client-item {
    background-color: var(--white); padding: 25px 20px; 
    display: flex; flex-direction: column; justify-content: center; 
    position: relative; overflow: hidden; height: 110px; transition: 0.3s;
}
.client-item:hover { background-color: var(--accent-light); }
.client-item::before {
    content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 3px;
    background-color: var(--accent); transform: scaleY(0); transition: transform 0.3s ease;
}
.client-item:hover::before { transform: scaleY(1); }
.client-project { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.client-unit { font-size: 0.75rem; color: #888; font-weight: 300; line-height: 1.4; }
.leaf-deco { position: absolute; right: -10px; bottom: -10px; font-size: 3rem; color: rgba(101, 122, 114, 0.08); transform: rotate(-20deg); pointer-events: none; }
.more-item { align-items: center; cursor: pointer; }
.more-item:hover .client-project { text-decoration: underline; }

/* --- 8. Projects Slider (水印与灯箱) --- */
.slider-container { 
    position: relative; max-width: 800px; margin: 40px auto; 
    border-radius: var(--radius-box); overflow: hidden; box-shadow: var(--shadow); 
}
.slider-wrapper { display: flex; transition: transform 0.5s ease-in-out; }
.slide { min-width: 100%; position: relative; cursor: pointer; } /* 增加手型光标 */

.img-protect { position: relative; width: 100%; height: 600px; overflow: hidden; }
.img-protect img { 
    width: 100%; height: 100%; object-fit: cover; 
    pointer-events: none; /* 禁止直接拖拽图片 */
    transition: transform 0.5s;
}
.slide:hover .img-protect img { transform: scale(1.05); }

/* 缩略图水印 */
.watermark {
    position: absolute; bottom: 80px; right: 20px;
    color: rgba(255,255,255,0.6); font-size: 0.85rem; font-weight: 700;
    pointer-events: none; user-select: none; z-index: 10;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.slide-info { 
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; 
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: var(--white); 
}
.slider-arrow { 
    position: absolute; top: 50%; transform: translateY(-50%); 
    background: rgba(255,255,255,0.3); border: none; color: var(--white); 
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer; 
    backdrop-filter: blur(5px); transition: 0.3s; z-index: 20;
}
.slider-arrow:hover { background: var(--white); color: var(--accent); }
.prev { left: 20px; } 
.next { right: 20px; }
.slider-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 20; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--white); transform: scale(1.2); }

/* --- 9. Lightbox (全屏看图) --- */
.lightbox {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0;
    width: 100%; height: 100%; overflow: hidden;
    background-color: rgba(0,0,0,0.9);
    align-items: center; justify-content: center;
}
.lightbox-content-wrapper { position: relative; max-width: 90%; max-height: 90%; }
.lightbox-content {
    width: auto; height: auto; max-width: 100%; max-height: 90vh;
    border: 2px solid var(--white); border-radius: 4px;
    object-fit: contain; pointer-events: none; /* 禁止全屏模式下拖拽 */
}
/* 全屏大水印 */
.lightbox-watermark {
    position: absolute; bottom: 20px; right: 20px;
    color: rgba(255,255,255,0.5); font-size: 1.5rem; font-weight: 700;
    transform: rotate(-5deg); pointer-events: none;
}
.close-lightbox {
    position: absolute; top: 20px; right: 30px; color: #f1f1f1;
    font-size: 40px; font-weight: bold; transition: 0.3s; cursor: pointer;
    z-index: 2001;
}
.close-lightbox:hover { color: var(--accent); }

/* --- 10. Contact Form --- */
.contact-info-side { padding-right: 30px; }
.icon-circle { width: 40px; height: 40px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); box-shadow: 0 4px 10px rgba(0,0,0,0.05); flex-shrink: 0; }
.contact-item { display: flex; gap: 20px; margin-bottom: 25px; align-items: flex-start; }
.contact-item label { font-size: 0.8rem; color: #999; display: block; margin-bottom: 3px; }
.highlight-text { font-size: 1.1rem; font-weight: 700; color: var(--accent); }

.contact-form-card { background: var(--white); padding: 40px; border-radius: var(--radius-leaf); box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.form-input { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: var(--radius-box); font-family: inherit; font-size: 0.95rem; transition: 0.3s; background: #fafafa; }
.form-input:focus { outline: none; border-color: var(--accent); background: #fff; }
.fake-file-input { border: 2px dashed #ccc; padding: 15px; text-align: center; border-radius: var(--radius-box); background: #fdfdfd; color: #888; font-size: 0.85rem; }
.btn-submit { width: 100%; padding: 15px; background: var(--accent); color: var(--white); border: none; border-radius: 50px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-submit:hover { background: var(--accent-hover); box-shadow: 0 5px 15px rgba(101, 122, 114, 0.3); }

/* Footer */
.site-footer { padding: 30px; border-top: 1px solid var(--border); color: #999; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 768px) {
    .layout-split { grid-template-columns: 1fr; }
    .nav-list { display: none; position: absolute; top: 75px; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
    .nav-list.active { display: flex; }
    .menu-toggle { display: block; }
    .hero-title { font-size: 2.5rem; }
    .contact-info-side { padding-right: 0; margin-bottom: 40px; }
    .contact-form-card { padding: 25px; }
    .img-protect { height: 350px; } /* 手机端高度减小 */
}