/* 同里古镇农文旅宣传片策划案 - 视觉设计订单班电影琥珀设计系统 */ /* ========== 设计变量 ========== */ :root { /* 电影琥珀主题 - 视觉设计风格 */ --bg-dark: #fef3c7; /* 浅琥珀背景 */ --bg-semi-dark: rgba(254, 243, 199, 0.95); /* 半透明浅琥珀 */ --bg-overlay: rgba(255, 255, 255, 0.85); /* 白色遮罩 */ --bg-card: rgba(255, 255, 255, 0.9); /* 卡片背景 */ --primary-dark: #78350f; /* 主色深琥珀 */ --primary-amber: #d97706; /* 主色琥珀金 - 视觉设计专业 */ --accent-slate: #64748b; /* 石板灰强调 - 古镇瓦片主题 */ --accent-amber-light: #fbbf24; /* 浅琥珀色 */ --text-light: #78350f; /* 深色文字 */ --text-gray: #6b7280; /* 灰色文字 */ --border-light: rgba(217, 119, 6, 0.2); /* 琥珀色边框 */ --hover-bg: rgba(217, 119, 6, 0.15); /* 悬停背景 */ --active-bg: rgba(217, 119, 6, 0.2); /* 激活背景 */ /* 间距系统 - 紧凑布局优化 */ --spacing-xs: 0.5rem; /* 8px */ --spacing-sm: 0.875rem; /* 14px */ --spacing-md: 1.25rem; /* 20px */ --spacing-lg: 2rem; /* 32px */ --spacing-xl: 2.5rem; /* 40px */ --spacing-2xl: 3.5rem; /* 56px */ --spacing-3xl: 5rem; /* 80px */ /* 字体系统 */ --font-primary: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif; --font-display: 'Inter', sans-serif; /* 字体大小 - 针对大屏幕优化 */ --text-xs: 0.875rem; /* 14px */ --text-sm: 1rem; /* 16px */ --text-base: 1.125rem; /* 18px */ --text-lg: 1.375rem; /* 22px */ --text-xl: 1.625rem; /* 26px */ --text-2xl: 2rem; /* 32px */ --text-3xl: 2.5rem; /* 40px */ --text-4xl: 3rem; /* 48px */ --text-5xl: 4rem; /* 64px */ /* 字重 */ --font-light: 300; --font-normal: 400; --font-medium: 500; --font-semibold: 600; --font-bold: 700; /* 圆角 */ --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.75rem; --radius-xl: 1rem; --radius-2xl: 1.5rem; --radius-full: 9999px; /* 阴影 - 电影感专业主题 */ --shadow-sm: 0 1px 2px rgba(0,0,0,0.05); --shadow-md: 0 2px 4px rgba(0,0,0,0.08); --shadow-lg: 0 4px 8px rgba(0,0,0,0.1); --shadow-xl: 0 8px 16px rgba(0,0,0,0.12); --shadow-amber: 0 2px 8px rgba(217, 119, 6, 0.15); /* 过渡 */ --transition-fast: 150ms ease; --transition-base: 250ms ease; --transition-slow: 350ms ease; /* 布局 */ --container-max: 1600px; /* 增加最大宽度适配1920屏幕 */ } /* ========== 深色主题 - 深邃琥珀配色 ========== */ body.dark-theme { --bg-dark: #78350f; /* 深邃琥珀背景 */ --bg-semi-dark: rgba(120, 53, 15, 0.95); /* 深琥珀半透明 */ --bg-overlay: rgba(217, 119, 6, 0.85); /* 深琥珀遮罩层 */ --bg-card: rgba(217, 119, 6, 0.9); /* 深琥珀卡片背景 */ --primary-dark: #78350f; /* 深邃琥珀 */ --primary-amber: #fbbf24; /* 明亮琥珀 */ --accent-slate: #94a3b8; /* 亮石板灰 */ --accent-amber-light: #fcd34d; /* 超亮琥珀色 */ --text-light: #fef3c7; /* 浅色文字 */ --text-gray: #fde68a; /* 灰色文字 */ --border-light: rgba(251, 191, 36, 0.25); /* 琥珀色边框 */ --hover-bg: rgba(217, 119, 6, 0.15); /* 悬停背景 */ --active-bg: rgba(251, 191, 36, 0.2); /* 激活背景 */ --shadow-sm: 0 1px 2px rgba(0,0,0,0.4); --shadow-md: 0 2px 4px rgba(0,0,0,0.5); --shadow-lg: 0 4px 8px rgba(0,0,0,0.6); --shadow-xl: 0 8px 16px rgba(0,0,0,0.7); --shadow-amber: 0 2px 8px rgba(217, 119, 6, 0.25); } /* ========== 重置样式 ========== */ * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } body { font-family: var(--font-primary); font-size: var(--text-base); line-height: 1.6; color: var(--text-light); background-color: var(--bg-dark); overflow-x: hidden; } /* ========== Hero 区域 - 全屏图片背景 ========== */ .hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(254, 243, 199, 0.9) 0%, rgba(253, 230, 138, 0.95) 100%), url('../images/同里古建筑航拍.jpg'); background-size: cover; background-position: center; background-attachment: fixed; position: relative; overflow: hidden; } /* 深色主题下的Hero渐变 */ body.dark-theme .hero { background: linear-gradient(135deg, rgba(120, 53, 15, 0.9) 0%, rgba(217, 119, 6, 0.8) 100%), url('../images/同里古建筑航拍.jpg'); background-size: cover; background-position: center; background-attachment: fixed; } .hero::before { content: ''; position: absolute; width: 100%; height: 100%; background-image: radial-gradient(circle at 20% 50%, rgba(217, 119, 6, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(120, 53, 15, 0.05) 0%, transparent 50%); pointer-events: none; animation: glow 8s ease-in-out infinite; } @keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } } .hero-content { text-align: center; color: var(--text-light); z-index: 1; position: relative; padding: var(--spacing-xl); max-width: 900px; } .hero-badge { display: inline-block; padding: var(--spacing-md) var(--spacing-xl); background: rgba(217, 119, 6, 0.15); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: var(--radius-full); font-size: var(--text-lg); font-weight: var(--font-semibold); letter-spacing: 0.1em; margin-bottom: var(--spacing-xl); border: 3px solid var(--primary-amber); box-shadow: var(--shadow-amber); text-transform: uppercase; transition: all var(--transition-base); } .hero-badge:hover { background: rgba(217, 119, 6, 0.25); transform: translateY(-2px); } .hero-title { font-size: clamp(3.5rem, 10vw, 6.5rem); font-weight: var(--font-bold); margin-bottom: var(--spacing-lg); letter-spacing: -0.02em; line-height: 1.1; color: var(--accent-amber-light); text-shadow: 0 6px 30px rgba(0,0,0,0.8), 0 0 60px rgba(217, 119, 6, 0.4); } .hero-subtitle { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: var(--font-light); opacity: 0.95; margin-bottom: var(--spacing-xl); color: var(--text-light); } .hero-description { font-size: var(--text-xl); opacity: 0.85; max-width: 800px; margin: 0 auto; line-height: 1.8; } /* ========== 导航 - 深色玻璃态 ========== */ .nav { position: sticky; top: 0; z-index: 100; background: var(--bg-semi-dark); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-light); padding: var(--spacing-md) 0; box-shadow: var(--shadow-md); } .nav-container { display: flex; justify-content: center; gap: var(--spacing-sm); flex-wrap: wrap; padding: 0 var(--spacing-md); } .nav-item { padding: var(--spacing-sm) var(--spacing-lg); background: var(--bg-overlay); backdrop-filter: blur(10px); border: 1px solid var(--border-light); border-radius: var(--radius-lg); cursor: pointer; transition: all var(--transition-base); font-weight: var(--font-medium); display: flex; align-items: center; gap: var(--spacing-xs); color: var(--text-gray); } .nav-item i { width: 20px; height: 20px; stroke-width: 2; } .nav-item span { font-size: var(--text-base); } .nav-item:hover { background: var(--hover-bg); color: var(--primary-amber); transform: translateY(-2px); box-shadow: var(--shadow-amber); } .nav-item.active { background: var(--active-bg); color: var(--primary-amber); border-color: var(--primary-amber); box-shadow: var(--shadow-amber); } /* ========== 内容区块 - 图片背景 ========== */ .section { padding: var(--spacing-2xl) 0; background: var(--bg-dark); position: relative; } /* 浅色图片背景 - 每个区块使用不同图片 */ .section:nth-child(1) { background-image: linear-gradient(to bottom, rgba(254, 243, 199, 0.9) 0%, rgba(253, 230, 138, 1) 100%), url('../images/配色表.jpg'); background-size: cover; background-position: center; background-attachment: fixed; } .section:nth-child(2) { background-image: linear-gradient(to bottom, rgba(254, 243, 199, 0.9) 0%, rgba(253, 230, 138, 1) 100%), url('../images/电影风格参考图.jpg'); background-size: cover; background-position: center; background-attachment: fixed; } .section:nth-child(3) { background-image: linear-gradient(to bottom, rgba(254, 243, 199, 0.9) 0%, rgba(253, 230, 138, 1) 100%), url('../images/地面拍摄视角.jpg'); background-size: cover; background-position: center; background-attachment: fixed; } .section:nth-child(4) { background-image: linear-gradient(to bottom, rgba(254, 243, 199, 0.9) 0%, rgba(253, 230, 138, 1) 100%), url('../images/稻田航拍.jpg'); background-size: cover; background-position: center; background-attachment: fixed; } /* 通用奇偶区块(当超过4个section时) */ .section:nth-child(n+5):nth-child(odd) { background-image: linear-gradient(to bottom, rgba(254, 243, 199, 0.9) 0%, rgba(253, 230, 138, 1) 100%), url('../images/古镇夜景.jpg'); background-size: cover; background-position: center; background-attachment: fixed; } .section:nth-child(n+5):nth-child(even) { background-image: linear-gradient(to bottom, rgba(254, 243, 199, 0.9) 0%, rgba(253, 230, 138, 1) 100%), url('../images/同里公园航拍.jpg'); background-size: cover; background-position: center; background-attachment: fixed; } /* 深色主题下的区块背景 - 每个区块使用对应图片 */ body.dark-theme .section:nth-child(1) { background-image: linear-gradient(to bottom, rgba(120, 53, 15, 0.92) 0%, rgba(217, 119, 6, 0.88) 100%), url('../images/配色表.jpg'); background-size: cover; background-position: center; background-attachment: fixed; } body.dark-theme .section:nth-child(2) { background-image: linear-gradient(to bottom, rgba(217, 119, 6, 0.90) 0%, rgba(120, 53, 15, 0.88) 100%), url('../images/电影风格参考图.jpg'); background-size: cover; background-position: center; background-attachment: fixed; } body.dark-theme .section:nth-child(3) { background-image: linear-gradient(to bottom, rgba(120, 53, 15, 0.92) 0%, rgba(217, 119, 6, 0.88) 100%), url('../images/地面拍摄视角.jpg'); background-size: cover; background-position: center; background-attachment: fixed; } body.dark-theme .section:nth-child(4) { background-image: linear-gradient(to bottom, rgba(217, 119, 6, 0.90) 0%, rgba(120, 53, 15, 0.88) 100%), url('../images/稻田航拍.jpg'); background-size: cover; background-position: center; background-attachment: fixed; } /* 通用奇偶区块(当超过4个section时) */ body.dark-theme .section:nth-child(n+5):nth-child(odd) { background-image: linear-gradient(to bottom, rgba(120, 53, 15, 0.92) 0%, rgba(217, 119, 6, 0.88) 100%), url('../images/古镇夜景.jpg'); background-size: cover; background-position: center; background-attachment: fixed; } body.dark-theme .section:nth-child(n+5):nth-child(even) { background-image: linear-gradient(to bottom, rgba(217, 119, 6, 0.90) 0%, rgba(120, 53, 15, 0.88) 100%), url('../images/同里公园航拍.jpg'); background-size: cover; background-position: center; background-attachment: fixed; } /* 深色主题下的特定元素调整 */ body.dark-theme .stat-item { background: rgba(217, 119, 6, 0.8); backdrop-filter: blur(5px); } body.dark-theme .stat-item:hover { background: rgba(251, 191, 36, 0.15); border-color: var(--primary-amber); } body.dark-theme .stat-value { color: var(--accent-amber-light); } body.dark-theme th { background: rgba(251, 191, 36, 0.12); color: var(--accent-amber-light); } body.dark-theme tr:hover { background: rgba(251, 191, 36, 0.08); } .container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--spacing-md); } .section-header { display: flex; align-items: center; gap: var(--spacing-lg); margin-bottom: var(--spacing-xl); padding: var(--spacing-lg); background: var(--bg-card); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-radius: var(--radius-xl); border: 2px solid var(--border-light); box-shadow: var(--shadow-md); } .agent-avatar { width: 100px; height: 100px; border-radius: var(--radius-xl); object-fit: cover; border: 3px solid var(--primary-amber); box-shadow: var(--shadow-md); transition: all var(--transition-base); } .agent-avatar:hover { transform: scale(1.05); box-shadow: var(--shadow-lg); border-color: var(--accent-slate); } .agent-info { flex: 1; } .agent-name { font-size: var(--text-lg); color: var(--primary-amber); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--spacing-sm); font-weight: var(--font-semibold); } .section-title { font-size: var(--text-4xl); font-weight: var(--font-bold); color: var(--text-light); letter-spacing: -0.01em; text-shadow: none; position: relative; padding-bottom: var(--spacing-sm); } .section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 180px; height: 4px; background: linear-gradient(90deg, var(--primary-amber), transparent); border-radius: 2px; } .section-content { max-width: 100%; margin: 0 auto; } .expert-intro { background: var(--bg-card); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-radius: var(--radius-xl); padding: var(--spacing-lg); margin-bottom: var(--spacing-xl); border: 2px solid var(--border-light); box-shadow: var(--shadow-md); } .expert-intro h3 { font-size: var(--text-2xl); color: var(--primary-amber); margin-bottom: var(--spacing-lg); display: flex; align-items: center; gap: var(--spacing-md); } .expert-intro p { color: var(--text-gray); line-height: 1.8; font-size: var(--text-lg); } /* ========== 网格布局 - 针对大屏幕优化,更大气的布局 ========== */ .grid { display: grid; gap: var(--spacing-2xl); } .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(3, 1fr); } /* ========== 卡片 - 图片优先布局 ========== */ .card { background: var(--bg-card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: var(--radius-2xl); overflow: hidden; border: 2px solid var(--border-light); transition: all var(--transition-base); box-shadow: var(--shadow-md); padding: 0; display: flex; flex-direction: column; } .card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl), var(--shadow-amber); border-color: var(--primary-amber); } .card-header { padding: var(--spacing-xl); background: var(--bg-semi-dark); border-bottom: 2px solid var(--border-light); order: 2; } .card-title { font-size: var(--text-2xl); font-weight: var(--font-semibold); color: var(--primary-amber); margin-bottom: var(--spacing-sm); } .card-body { padding: var(--spacing-xl); order: 3; flex: 1; } /* ========== 图片容器 - 突出展示 - 超大气布局 ========== */ .image-container { width: 100%; aspect-ratio: 3/2; overflow: hidden; border-radius: 0; margin-bottom: 0; background: rgba(0,0,0,0.5); position: relative; box-shadow: none; border: none; transition: all var(--transition-base); order: 1; flex-shrink: 0; } .image-container img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); filter: brightness(0.9); } .image-container:hover img { transform: scale(1.1); filter: brightness(1.1); } .image-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--spacing-md); background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); color: var(--text-light); font-size: var(--text-sm); font-weight: var(--font-medium); text-align: center; transform: translateY(100%); transition: transform var(--transition-base); } .image-container:hover .image-caption { transform: translateY(0); } /* ========== 列表 ========== */ .feature-list { list-style: none; padding: 0; } .feature-list li { padding: var(--spacing-sm) 0; border-bottom: 1px solid var(--border-light); color: var(--text-gray); transition: all var(--transition-fast); } .feature-list li:hover { color: var(--primary-amber); padding-left: var(--spacing-sm); } .feature-list li:last-child { border-bottom: none; } /* ========== 统计数据 ========== */ .stats { display: flex; gap: var(--spacing-md); padding: var(--spacing-lg); background: var(--bg-overlay); backdrop-filter: blur(10px); border-radius: var(--radius-lg); border: 1px solid var(--border-light); } .stat-item { flex: 1; text-align: center; padding: var(--spacing-md); border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid transparent; transition: all var(--transition-base); } .stat-item:hover { background: var(--hover-bg); transform: translateY(-4px); border-color: var(--border-light); box-shadow: var(--shadow-md); } .stat-label { font-size: var(--text-sm); color: var(--text-gray); margin-bottom: var(--spacing-xs); } .stat-value { font-size: var(--text-2xl); font-weight: var(--font-bold); color: var(--primary-amber); text-shadow: none; } /* ========== 表格 ========== */ .table-container { overflow-x: auto; margin: var(--spacing-xl) 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); } table { width: 100%; border-collapse: collapse; background: var(--bg-card); backdrop-filter: blur(10px); border-radius: var(--radius-lg); overflow: hidden; } th { background: var(--active-bg); color: var(--primary-amber); padding: var(--spacing-md); text-align: left; font-weight: var(--font-semibold); border-bottom: 2px solid var(--primary-amber); } td { padding: var(--spacing-md); border-bottom: 1px solid var(--border-light); color: var(--text-gray); } tr:last-child td { border-bottom: none; } tr:hover { background: var(--hover-bg); } /* ========== 响应式 ========== */ @media (max-width: 768px) { :root { --spacing-sm: 0.625rem; /* 10px */ --spacing-md: 0.875rem; /* 14px */ --spacing-lg: 1.25rem; /* 20px */ --spacing-xl: 1.5rem; /* 24px */ --spacing-2xl: 2.25rem; /* 36px */ --spacing-3xl: 3rem; /* 48px */ } .hero { background-attachment: scroll; } .section:nth-child(odd), .section:nth-child(even) { background-attachment: scroll; } .hero-content { padding: var(--spacing-lg); } .nav-container { gap: var(--spacing-xs); } .nav-item { padding: var(--spacing-xs) var(--spacing-md); font-size: var(--text-sm); } .section { padding: var(--spacing-2xl) 0; } .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section-header { flex-direction: column; text-align: center; } .stats { flex-direction: column; } } /* ========== 动画 ========== */ @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } } @keyframes shimmer { 0% { background-position: -1000px 0; } 100% { background-position: 1000px 0; } } .fade-in { animation: fadeIn 0.6s ease forwards; } .slide-in { animation: slideIn 0.6s ease forwards; } /* ========== 工具类 ========== */ .text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; } .mt-sm { margin-top: var(--spacing-sm); } .mt-md { margin-top: var(--spacing-md); } .mt-lg { margin-top: var(--spacing-lg); } .mt-xl { margin-top: var(--spacing-xl); } .mb-sm { margin-bottom: var(--spacing-sm); } .mb-md { margin-bottom: var(--spacing-md); } .mb-lg { margin-bottom: var(--spacing-lg); } .mb-xl { margin-bottom: var(--spacing-xl); } .hidden { display: none; } .block { display: block; } .flex { display: flex; } .grid { display: grid; } .gap-sm { gap: var(--spacing-sm); } .gap-md { gap: var(--spacing-md); } .gap-lg { gap: var(--spacing-lg); } /* ========== 图片加载状态 ========== */ img { transition: opacity var(--transition-base); } img.loaded { opacity: 1; } img.error { opacity: 0.5; filter: grayscale(1); } /* ========== SVG图标尺寸统一管理 ========== */ .hero-description i[data-lucide] { width: 24px !important; height: 24px !important; display: inline-block !important; vertical-align: middle !important; margin-right: 8px !important; } .agent-name i[data-lucide] { width: 20px !important; height: 20px !important; display: inline-block !important; vertical-align: middle !important; margin-right: 8px !important; } .expert-intro h3 i[data-lucide] { width: 40px !important; height: 40px !important; display: inline-block !important; vertical-align: middle !important; margin-right: 10px !important; } .feature-list li i[data-lucide] { width: 18px !important; height: 18px !important; display: inline-block !important; vertical-align: middle !important; margin-right: 8px !important; } .nav-item i[data-lucide] { width: 20px !important; height: 20px !important; display: block !important; margin: 0 auto 4px !important; } /* ========== 主题切换按钮 ========== */ .theme-toggle { position: fixed; top: 24px; right: 24px; z-index: 1000; } .theme-toggle-btn { position: relative; width: 64px; height: 32px; background: var(--bg-card); border: 2px solid var(--border-light); border-radius: var(--radius-full); cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 6px; transition: all var(--transition-base); box-shadow: var(--shadow-md); } .theme-toggle-btn:hover { transform: scale(1.05); box-shadow: var(--shadow-lg); } .theme-toggle-btn:active { transform: scale(0.95); } .theme-icon { width: 18px !important; height: 18px !important; transition: all var(--transition-base); color: var(--text-gray); } body:not(.dark-theme) .theme-icon-light { color: var(--primary-amber); transform: scale(1.2); } body:not(.dark-theme) .theme-icon-dark { opacity: 0.5; } body.dark-theme .theme-icon-dark { color: var(--primary-amber); transform: scale(1.2); } body.dark-theme .theme-icon-light { opacity: 0.5; } /* ========== Section 1: Alternating Layout (左右交替布局) ========== */ .alternating-layout { display: flex; gap: var(--spacing-2xl); align-items: center; margin-bottom: var(--spacing-3xl); } .alternating-layout:nth-child(even) { flex-direction: row-reverse; /* 偶数项反向 */ } .alternating-layout .image-container { flex: 0 0 45%; /* 图片占45% */ aspect-ratio: 16/9; } .alternating-layout .content { flex: 1; /* 内容占剩余空间 */ } /* Bento Grid 不规则网格 */ .bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: var(--spacing-xl); } .bento-item:first-child { grid-row: 1 / 3; /* 第1项占2行 */ } .bento-item:last-child { grid-column: 2 / 4; /* 最后1项占2列 */ } /* 响应式 - Alternating Layout */ @media (max-width: 768px) { .alternating-layout { flex-direction: column !important; } .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; } .bento-item:first-child, .bento-item:last-child { grid-row: auto; grid-column: auto; } } /* ========== Section 2: Featured Grid (高亮第一项布局) ========== */ .featured-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: var(--spacing-xl); } .featured-item:first-child { grid-column: 1 / 2; /* 占第1列 */ grid-row: 1 / 3; /* 跨2行 */ background: linear-gradient(135deg, var(--primary-amber) 0%, var(--accent-slate) 100%); } .featured-item:first-child .image-container { aspect-ratio: 3/4; /* 竖向比例 */ } .featured-item:first-child .card-title { font-size: var(--text-3xl); color: var(--text-light); } .featured-item:first-child .card-header { background: rgba(0, 0, 0, 0.2); } .featured-item:first-child .card-body { color: var(--text-light); } .featured-item:first-child .feature-list li { color: var(--text-light); border-bottom-color: rgba(255, 255, 255, 0.2); } /* 其他项目正常尺寸 */ .featured-item:not(:first-child) .image-container { aspect-ratio: 4/3; } /* Progress Bars - 进度条样式 */ .progress-stats { display: flex; flex-direction: column; gap: var(--spacing-md); background: var(--bg-card); backdrop-filter: blur(10px); padding: var(--spacing-xl); border-radius: var(--radius-lg); border: 2px solid var(--border-light); box-shadow: var(--shadow-md); } .progress-item { display: flex; align-items: center; gap: var(--spacing-md); } .progress-label { flex: 0 0 100px; font-weight: var(--font-semibold); color: var(--text-light); } .progress-bar { flex: 1; height: 12px; background: var(--bg-muted); border-radius: var(--radius-full); overflow: hidden; background: rgba(0, 0, 0, 0.1); } .progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary-amber), var(--accent-amber-light)); border-radius: var(--radius-full); transition: width 1s ease; } .progress-value { flex: 0 0 80px; text-align: right; font-weight: var(--font-bold); color: var(--primary-amber); } /* 响应式 - Featured Grid */ @media (max-width: 1024px) { .featured-grid { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 768px) { .featured-grid { grid-template-columns: 1fr; } .featured-item:first-child { grid-column: auto; grid-row: auto; } .featured-item:first-child .image-container { aspect-ratio: 16/9; } } /* ========== Section 3: Timeline Layout (垂直时间线布局) ========== */ .timeline-container { position: relative; padding-left: var(--spacing-3xl); } .timeline-container::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient( to bottom, var(--primary-amber) 0%, var(--accent-amber-light) 100% ); } .timeline-item { position: relative; margin-bottom: var(--spacing-2xl); background: var(--bg-card); backdrop-filter: blur(10px); padding: 0; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); border: 2px solid var(--border-light); transition: all var(--transition-base); overflow: hidden; } .timeline-item:hover { transform: translateX(8px) translateY(-4px); box-shadow: var(--shadow-xl), var(--shadow-amber); border-color: var(--primary-amber); } .timeline-item::before { content: ''; position: absolute; left: calc(-1 * var(--spacing-3xl) - 8px); top: var(--spacing-lg); width: 20px; height: 20px; background: var(--primary-amber); border: 3px solid white; border-radius: 50%; box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.3); z-index: 10; } .timeline-header { display: flex; align-items: center; gap: var(--spacing-md); padding: var(--spacing-lg); background: var(--bg-semi-dark); border-bottom: 2px solid var(--border-light); } .timeline-badge { display: inline-block; padding: var(--spacing-xs) var(--spacing-md); background: var(--primary-amber); color: white; border-radius: var(--radius-full); font-weight: var(--font-bold); font-size: var(--text-sm); } .timeline-duration { color: var(--text-gray); font-size: var(--text-sm); font-weight: var(--font-semibold); } .timeline-content { display: flex; flex-direction: column; gap: var(--spacing-md); } .timeline-thumbnail { width: 100%; aspect-ratio: 16/9; border-radius: 0; overflow: hidden; background: rgba(0, 0, 0, 0.1); position: relative; } .timeline-thumbnail img { width: 100%; height: 100%; object-fit: cover; } .timeline-description { padding: var(--spacing-lg); } .timeline-title { font-size: var(--text-xl); font-weight: var(--font-semibold); margin-bottom: var(--spacing-md); color: var(--primary-amber); } .timeline-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--spacing-sm); font-size: var(--text-sm); color: var(--text-gray); padding: var(--spacing-md) 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); margin-bottom: var(--spacing-md); } .timeline-detail-item { display: flex; flex-direction: column; } .timeline-detail-label { font-weight: var(--font-semibold); color: var(--primary-amber); margin-bottom: var(--spacing-xs); } .timeline-detail-value { color: var(--text-gray); } .timeline-remark { font-size: var(--text-sm); color: var(--text-gray); line-height: 1.6; } /* Icon Grid (图标网格) */ .icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-lg); margin-top: var(--spacing-2xl); } .icon-card { text-align: center; padding: var(--spacing-xl); background: var(--bg-card); backdrop-filter: blur(10px); border-radius: var(--radius-lg); border: 2px solid var(--border-light); transition: all 0.3s ease; } .icon-card:hover { border-color: var(--primary-amber); transform: translateY(-5px); box-shadow: var(--shadow-lg); } .icon-card-icon { font-size: 3rem; margin-bottom: var(--spacing-md); } .icon-card-title { font-size: var(--text-lg); font-weight: var(--font-semibold); margin-bottom: var(--spacing-xs); color: var(--primary-amber); } .icon-card-value { color: var(--text-gray); font-size: var(--text-sm); } /* 响应式 - Timeline */ @media (max-width: 768px) { .timeline-container { padding-left: var(--spacing-xl); } .timeline-content { flex-direction: column; } .timeline-thumbnail { flex: 0 0 auto; width: 100%; } .icon-grid { grid-template-columns: repeat(2, 1fr); } } /* ========== Section 4: Accordion Layout (手风琴折叠面板) ========== */ .accordion-container { display: flex; flex-direction: column; gap: var(--spacing-md); margin-top: var(--spacing-xl); } .accordion-item { background: var(--bg-card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: var(--radius-lg); border: 2px solid var(--border-light); overflow: hidden; transition: all var(--transition-base); box-shadow: var(--shadow-md); } .accordion-item.active { border-color: var(--primary-amber); box-shadow: var(--shadow-xl), 0 0 0 3px rgba(217, 119, 6, 0.15); } .accordion-header { display: flex; align-items: center; justify-content: space-between; padding: var(--spacing-lg) var(--spacing-xl); background: var(--bg-semi-dark); cursor: pointer; transition: all var(--transition-base); user-select: none; } .accordion-header:hover { background: var(--hover-bg); } .accordion-title { display: flex; align-items: center; gap: var(--spacing-md); font-size: var(--text-xl); font-weight: var(--font-semibold); color: var(--text-light); } .accordion-icon { font-size: 1.5rem; } .accordion-toggle { font-size: 1.5rem; color: var(--text-gray); transition: transform var(--transition-base); width: 24px; height: 24px; } .accordion-item.active .accordion-toggle { transform: rotate(180deg); } .accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.5s ease; padding: 0 var(--spacing-xl); } .accordion-item.active .accordion-content { max-height: none; /* 移除高度限制,确保所有内容可见 */ overflow: visible; /* 允许内容完全显示 */ padding: var(--spacing-xl); padding-top: 0; } .accordion-content-inner { padding-top: var(--spacing-lg); } /* 预算饼图样式 */ .budget-chart { display: flex; flex-direction: column; gap: var(--spacing-md); margin-top: var(--spacing-lg); } .chart-item { display: flex; align-items: center; gap: var(--spacing-md); } .chart-label { flex: 0 0 150px; font-size: var(--text-sm); color: var(--text-light); font-weight: var(--font-medium); } .chart-bar { flex: 1; height: 12px; background: rgba(0, 0, 0, 0.1); border-radius: var(--radius-full); overflow: hidden; } .chart-fill { height: 100%; background: linear-gradient(90deg, var(--primary-amber), var(--accent-amber-light)); border-radius: var(--radius-full); transition: width 1s ease; } .chart-value { flex: 0 0 60px; text-align: right; font-weight: var(--font-bold); color: var(--primary-amber); font-size: var(--text-sm); } /* 团队卡片网格 */ .team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-lg); margin-top: var(--spacing-lg); } .team-card { text-align: center; padding: var(--spacing-lg); background: rgba(217, 119, 6, 0.05); border-radius: var(--radius-md); border: 1px solid var(--border-light); transition: all var(--transition-base); } .team-card:hover { background: var(--hover-bg); transform: translateY(-2px); box-shadow: var(--shadow-md); } .team-icon { font-size: 2rem; margin-bottom: var(--spacing-sm); } .team-role { font-weight: var(--font-semibold); margin-bottom: var(--spacing-xs); color: var(--primary-amber); } .team-count { color: var(--text-gray); font-size: var(--text-sm); } /* 响应式 - Accordion */ @media (max-width: 768px) { .accordion-header { padding: var(--spacing-md); } .accordion-title { font-size: var(--text-lg); } .team-grid { grid-template-columns: repeat(2, 1fr); } .chart-label { flex: 0 0 100px; } } /* ========== 图片对比滑动器 (Image Comparison Slider) ========== */ .comparison-container { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); background: rgba(0, 0, 0, 0.1); cursor: ew-resize; user-select: none; } .comparison-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; } .comparison-image-before { z-index: 1; } .comparison-image-after { z-index: 2; clip-path: polygon(0 0, var(--position, 50%) 0, var(--position, 50%) 100%, 0 100%); } .comparison-slider { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--position, 50%); width: 4px; background: var(--primary-amber); transform: translateX(-50%); cursor: ew-resize; box-shadow: 0 0 20px rgba(217, 119, 6, 0.5); } .comparison-slider::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; background: var(--primary-amber); border-radius: 50%; border: 4px solid white; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); transition: all var(--transition-base); } .comparison-slider::after { content: '⬌'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 24px; font-weight: bold; pointer-events: none; } .comparison-container:hover .comparison-slider::before { width: 56px; height: 56px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4); } .comparison-labels { position: absolute; top: var(--spacing-md); left: var(--spacing-md); right: var(--spacing-md); z-index: 4; display: flex; justify-content: space-between; pointer-events: none; } .comparison-label { padding: var(--spacing-xs) var(--spacing-md); background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(10px); color: white; font-size: var(--text-sm); font-weight: var(--font-semibold); border-radius: var(--radius-md); text-transform: uppercase; letter-spacing: 0.05em; } .comparison-label-before { background: rgba(217, 119, 6, 0.9); } .comparison-label-after { background: rgba(100, 116, 139, 0.9); } /* 分镜网格布局 */ .storyboard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(450px, 1fr)); gap: var(--spacing-2xl); margin-top: var(--spacing-xl); } .storyboard-item { background: var(--bg-card); backdrop-filter: blur(10px); border-radius: var(--radius-xl); overflow: hidden; border: 2px solid var(--border-light); box-shadow: var(--shadow-md); transition: all var(--transition-base); } .storyboard-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--primary-amber); } .storyboard-meta { padding: var(--spacing-lg); background: var(--bg-semi-dark); } .storyboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--spacing-md); } .storyboard-number { display: inline-block; padding: var(--spacing-xs) var(--spacing-md); background: var(--primary-amber); color: white; border-radius: var(--radius-full); font-weight: var(--font-bold); font-size: var(--text-sm); } .storyboard-duration { color: var(--text-gray); font-size: var(--text-sm); font-weight: var(--font-semibold); } .storyboard-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--spacing-sm); font-size: var(--text-sm); color: var(--text-gray); margin-top: var(--spacing-md); padding-top: var(--spacing-md); border-top: 1px solid var(--border-light); } .storyboard-detail-item { display: flex; flex-direction: column; } .storyboard-detail-label { font-weight: var(--font-semibold); color: var(--primary-amber); margin-bottom: var(--spacing-xs); } .storyboard-detail-value { color: var(--text-gray); } .storyboard-description { margin-top: var(--spacing-md); padding-top: var(--spacing-md); border-top: 1px solid var(--border-light); font-size: var(--text-sm); color: var(--text-gray); line-height: 1.6; } /* 响应式 - 分镜网格 */ @media (max-width: 768px) { .storyboard-grid { grid-template-columns: 1fr; } .comparison-labels { flex-direction: column; gap: var(--spacing-xs); align-items: flex-start; } } /* ========== 图片放大Lightbox模态框 ========== */ .lightbox-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: center; z-index: 9999; opacity: 0; visibility: hidden; transition: opacity var(--transition-slow), visibility var(--transition-slow); padding: var(--spacing-xl); cursor: zoom-out; } .lightbox-modal.active { opacity: 1; visibility: visible; } .lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; transform: scale(0.9); transition: transform var(--transition-slow); cursor: default; } .lightbox-modal.active .lightbox-content { transform: scale(1); } .lightbox-image { max-width: 100%; max-height: 90vh; width: auto; height: auto; border-radius: var(--radius-xl); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 3px var(--primary-amber); object-fit: contain; } .lightbox-close { position: fixed; top: var(--spacing-xl); right: var(--spacing-xl); width: 60px; height: 60px; background: var(--primary-amber); border: 3px solid white; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition-base); box-shadow: var(--shadow-xl); z-index: 10000; } .lightbox-close:hover { background: var(--accent-amber-light); transform: rotate(90deg) scale(1.1); box-shadow: 0 8px 24px rgba(217, 119, 6, 0.6); } .lightbox-close::before, .lightbox-close::after { content: ''; position: absolute; width: 30px; height: 3px; background: white; border-radius: 2px; } .lightbox-close::before { transform: rotate(45deg); } .lightbox-close::after { transform: rotate(-45deg); } /* 图片信息标签 */ .lightbox-label { position: fixed; bottom: var(--spacing-xl); left: 50%; transform: translateX(-50%); padding: var(--spacing-md) var(--spacing-xl); background: rgba(217, 119, 6, 0.95); backdrop-filter: blur(10px); color: white; font-size: var(--text-lg); font-weight: var(--font-semibold); border-radius: var(--radius-full); box-shadow: var(--shadow-xl); text-transform: uppercase; letter-spacing: 0.1em; z-index: 10000; } /* 响应式 - Lightbox */ @media (max-width: 768px) { .lightbox-modal { padding: var(--spacing-md); } .lightbox-close { top: var(--spacing-md); right: var(--spacing-md); width: 48px; height: 48px; } .lightbox-close::before, .lightbox-close::after { width: 24px; } .lightbox-label { font-size: var(--text-base); padding: var(--spacing-sm) var(--spacing-lg); bottom: var(--spacing-md); } }