/* css/style.css - 全面覆盖 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #002b49; /* 更深邃的商务蓝 */
    --accent: #d93025;  /* Red Ventures 风格红 */
    --text-dark: #1a1a1a;
    --text-light: #5f6368;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

/* 全局动画 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* 初始隐藏 */
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif; /* 高级衬线体 */
    font-weight: 700;
    margin-top: 0;
}

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

a { text-decoration: none; transition: 0.3s; }

/* 导航栏 */
header {
    background: rgba(255, 255, 255, 0.98);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 20px; font-weight: 800; color: var(--primary); letter-spacing: 1px; text-transform: uppercase; font-family: 'Inter', sans-serif; }
nav ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
nav a { color: var(--text-dark); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
nav a:hover, nav a.active { color: var(--accent); }

/* 特效：红色手写下划线 */
.highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}
.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(217, 48, 37, 0.2); /* 半透明红 */
    z-index: -1;
    transform: skewX(-15deg);
    border-radius: 4px;
}

/* 巨型 Hero Section */
.hero-huge {
    min-height: 90vh; /* 占满整个屏幕高度 */
    background: linear-gradient(rgba(0, 43, 73, 0.7), rgba(0, 43, 73, 0.8)),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-attachment: fixed; /* 视差滚动效果 */
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}
.hero-content h1 { font-size: 64px; line-height: 1.1; margin-bottom: 30px; }
.hero-content p { font-size: 22px; max-width: 700px; margin: 0 auto 50px; font-family: 'Inter', sans-serif; font-weight: 300; opacity: 0.9; }

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    padding: 18px 50px;
    font-weight: 600;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(217, 48, 37, 0.3);
}
.btn-primary:hover { background-color: #b92b22; transform: translateY(-3px); }

/* 通用板块样式 */
.section { padding: 120px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

.section-header { margin-bottom: 80px; max-width: 800px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 42px; color: var(--primary); margin-bottom: 20px; }
.section-header p { font-size: 18px; color: var(--text-light); }

/* 图片+文字 左右布局 (模仿 Red Ventures) */
.split-layout { display: flex; align-items: center; gap: 80px; margin-bottom: 100px; }
.split-layout.reverse { flex-direction: row-reverse; }
.split-text { flex: 1; }
.split-image { flex: 1; height: 500px; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.split-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.split-image:hover img { transform: scale(1.05); }

/* 数字统计 */
.stats-bar { background: var(--primary); color: white; padding: 100px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-number { font-size: 56px; font-family: 'Playfair Display', serif; font-weight: 700; color: #fff; display: block; margin-bottom: 10px; }
.stat-label { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; opacity: 0.7; }

/* 价值观/文化卡片 */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.value-card { padding: 40px; background: white; border-top: 4px solid var(--accent); box-shadow: 0 10px 40px rgba(0,0,0,0.05); transition: 0.3s; }
.value-card:hover { transform: translateY(-10px); }
.value-card h3 { font-size: 24px; margin-bottom: 15px; }

/* 页脚 */
footer { background: #111; color: #666; padding: 80px 0 30px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 60px; border-bottom: 1px solid #333; padding-bottom: 60px; }
.footer-col h4 { color: white; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; font-size: 14px; }
.footer-col a { display: block; color: #888; margin-bottom: 12px; }
.footer-col a:hover { color: white; }

/* --- 追加到 style.css 末尾 --- */

/* 修复图片显示问题 */
img { max-width: 100%; height: auto; display: block; }

/* Contact 页面：左右分栏高级布局 */
.contact-wrapper {
    display: flex;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
    margin-top: -50px; /* 向上浮动盖住一点 Hero */
    background: #fff;
    position: relative;
    z-index: 10;
}
.contact-info-panel {
    flex: 2;
    background-color: var(--primary); /* 深蓝背景 */
    color: #fff;
    padding: 60px;
    position: relative;
    overflow: hidden;
}
/* 在深蓝背景加一点装饰纹理 */
.contact-info-panel::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.contact-form-panel {
    flex: 3;
    padding: 60px;
    background: #fff;
}

/* 美化输入框 */
.form-group { margin-bottom: 25px; }
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    background-color: #f9f9f9;
    transition: 0.3s;
    box-sizing: border-box; /* 防止撑破布局 */
}
.form-control:focus {
    border-color: var(--primary);
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 43, 73, 0.1);
}

/* About 页面：文化拼贴画布局 */
.culture-mosaic {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-bottom: 80px;
}
.mosaic-large {
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}
.mosaic-grid-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.mosaic-small {
    height: 235px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.mosaic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.mosaic-small:hover .mosaic-img, .mosaic-large:hover .mosaic-img {
    transform: scale(1.05);
}

/* 修复 About 页面文字过细的问题 */
.text-lead {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
    color: #444;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .contact-wrapper { flex-direction: column; }
    .culture-mosaic { grid-template-columns: 1fr; }
    .hero-huge h1 { font-size: 40px; }
}