2454 lines
47 KiB
CSS
2454 lines
47 KiB
CSS
/* 食品产业主题样式 - 现代高级风格 */
|
|
|
|
/* ========== CSS变量定义 ========== */
|
|
:root {
|
|
/* 主色调 - 清新自然的食品色系 */
|
|
--primary-green: #6B9F3C;
|
|
--primary-orange: #FF8C42;
|
|
--primary-yellow: #FFD166;
|
|
--primary-red: #EF476F;
|
|
--primary-blue: #118AB2;
|
|
|
|
/* 中性色 */
|
|
--white: #FFFFFF;
|
|
--off-white: #FAF9F6;
|
|
--light-gray: #F5F5F5;
|
|
--medium-gray: #B8B8B8;
|
|
--dark-gray: #4A4A4A;
|
|
--black: #1A1A1A;
|
|
|
|
/* 背景渐变 */
|
|
--gradient-primary: linear-gradient(135deg, #6B9F3C 0%, #FFD166 100%);
|
|
--gradient-warm: linear-gradient(135deg, #FF8C42 0%, #FFD166 100%);
|
|
--gradient-fresh: linear-gradient(135deg, #118AB2 0%, #6B9F3C 100%);
|
|
--gradient-soft: linear-gradient(135deg, #FAF9F6 0%, #F5F5F5 100%);
|
|
|
|
/* 间距系统 */
|
|
--space-xs: 0.5rem;
|
|
--space-sm: 1rem;
|
|
--space-md: 1.5rem;
|
|
--space-lg: 2rem;
|
|
--space-xl: 3rem;
|
|
--space-xxl: 5rem;
|
|
|
|
/* 字体系统 */
|
|
--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
|
|
--font-secondary: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
|
|
|
|
/* 动画 */
|
|
--transition-fast: 0.2s ease;
|
|
--transition-normal: 0.3s ease;
|
|
--transition-slow: 0.5s ease;
|
|
|
|
/* 阴影 */
|
|
--shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
|
|
--shadow-md: 0 4px 8px rgba(0,0,0,0.08);
|
|
--shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
|
|
--shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
|
|
--shadow-colored: 0 8px 32px rgba(107, 159, 60, 0.15);
|
|
}
|
|
|
|
/* ========== 全局样式 ========== */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-primary);
|
|
background-color: var(--off-white);
|
|
color: var(--dark-gray);
|
|
line-height: 1.6;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* ========== 导航栏样式 ========== */
|
|
.navbar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 1000;
|
|
padding: 1rem 0;
|
|
background: rgba(255, 255, 255, 0.95);
|
|
backdrop-filter: blur(10px);
|
|
transition: var(--transition-normal);
|
|
}
|
|
|
|
.navbar.scrolled {
|
|
padding: 0.75rem 0;
|
|
background: rgba(255, 255, 255, 0.98);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.nav-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 var(--space-lg);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
color: var(--primary-green);
|
|
}
|
|
|
|
.logo-icon {
|
|
font-size: 1.8rem;
|
|
animation: bounce 2s infinite;
|
|
}
|
|
|
|
.logo-text {
|
|
background: var(--gradient-primary);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.nav-menu {
|
|
display: flex;
|
|
list-style: none;
|
|
gap: var(--space-lg);
|
|
}
|
|
|
|
.nav-link {
|
|
color: var(--dark-gray);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
position: relative;
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
.nav-link::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -5px;
|
|
left: 0;
|
|
width: 0;
|
|
height: 2px;
|
|
background: var(--gradient-primary);
|
|
transition: width var(--transition-normal);
|
|
}
|
|
|
|
.nav-link:hover::after {
|
|
width: 100%;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: var(--primary-green);
|
|
}
|
|
|
|
.menu-toggle {
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.menu-toggle span {
|
|
width: 25px;
|
|
height: 3px;
|
|
background: var(--primary-green);
|
|
transition: var(--transition-fast);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.menu-toggle.active span:nth-child(1) {
|
|
transform: rotate(45deg) translateY(8px);
|
|
}
|
|
|
|
.menu-toggle.active span:nth-child(2) {
|
|
opacity: 0;
|
|
}
|
|
|
|
.menu-toggle.active span:nth-child(3) {
|
|
transform: rotate(-45deg) translateY(-8px);
|
|
}
|
|
|
|
/* ========== Hero Section ========== */
|
|
.hero {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
padding-top: 80px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero-bg {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: -1;
|
|
}
|
|
|
|
.food-pattern {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
opacity: 0.05;
|
|
background-image:
|
|
radial-gradient(circle at 20% 20%, var(--primary-green) 0%, transparent 50%),
|
|
radial-gradient(circle at 80% 80%, var(--primary-orange) 0%, transparent 50%),
|
|
radial-gradient(circle at 50% 50%, var(--primary-yellow) 0%, transparent 50%);
|
|
}
|
|
|
|
.gradient-overlay {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(135deg,
|
|
rgba(255, 255, 255, 0.9) 0%,
|
|
rgba(250, 249, 246, 0.8) 50%,
|
|
rgba(245, 245, 245, 0.9) 100%);
|
|
}
|
|
|
|
.hero-content {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 var(--space-lg);
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: var(--space-xxl);
|
|
align-items: center;
|
|
}
|
|
|
|
.hero-text {
|
|
animation: fadeInUp 1s ease;
|
|
}
|
|
|
|
.subtitle {
|
|
color: var(--primary-green);
|
|
font-size: 1.2rem;
|
|
font-weight: 500;
|
|
margin-bottom: var(--space-sm);
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: clamp(2.5rem, 5vw, 4rem);
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
margin-bottom: var(--space-md);
|
|
}
|
|
|
|
.name-highlight {
|
|
background: var(--gradient-primary);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.role-title {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
color: var(--dark-gray);
|
|
margin-bottom: var(--space-md);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.role-text {
|
|
color: var(--primary-orange);
|
|
}
|
|
|
|
.role-divider {
|
|
color: var(--medium-gray);
|
|
}
|
|
|
|
.hero-description {
|
|
font-size: 1.1rem;
|
|
line-height: 1.8;
|
|
color: var(--dark-gray);
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.hero-stats {
|
|
display: flex;
|
|
gap: var(--space-xl);
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
.stat-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.stat-number {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
color: var(--primary-green);
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.9rem;
|
|
color: var(--medium-gray);
|
|
}
|
|
|
|
.hero-actions {
|
|
display: flex;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.btn {
|
|
padding: var(--space-sm) var(--space-lg);
|
|
border: none;
|
|
border-radius: 50px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: var(--transition-normal);
|
|
text-decoration: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--gradient-primary);
|
|
color: var(--white);
|
|
box-shadow: var(--shadow-colored);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 12px 36px rgba(107, 159, 60, 0.25);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--white);
|
|
color: var(--primary-green);
|
|
border: 2px solid var(--primary-green);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: var(--primary-green);
|
|
color: var(--white);
|
|
}
|
|
|
|
.hero-visual {
|
|
position: relative;
|
|
animation: fadeInRight 1s ease;
|
|
}
|
|
|
|
.hero-image-container {
|
|
position: relative;
|
|
width: 100%;
|
|
max-width: 350px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.hero-portrait {
|
|
width: 100%;
|
|
height: auto;
|
|
max-width: 300px;
|
|
border-radius: 30% 70% 70% 30% / 60% 40% 60% 40%;
|
|
box-shadow: var(--shadow-xl);
|
|
background: var(--gradient-soft);
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.floating-badge {
|
|
position: absolute;
|
|
background: var(--white);
|
|
padding: var(--space-sm) var(--space-md);
|
|
border-radius: 50px;
|
|
box-shadow: var(--shadow-lg);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
animation: float 3s ease-in-out infinite;
|
|
}
|
|
|
|
.badge-1 {
|
|
top: 10%;
|
|
left: -10%;
|
|
animation-delay: 0s;
|
|
}
|
|
|
|
.badge-2 {
|
|
top: 50%;
|
|
right: -10%;
|
|
animation-delay: 1s;
|
|
}
|
|
|
|
.badge-3 {
|
|
bottom: 20%;
|
|
left: -5%;
|
|
animation-delay: 2s;
|
|
}
|
|
|
|
.badge-icon {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.badge-text {
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
color: var(--dark-gray);
|
|
}
|
|
|
|
.scroll-indicator {
|
|
position: absolute;
|
|
bottom: 2rem;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
text-align: center;
|
|
animation: bounce 2s infinite;
|
|
}
|
|
|
|
.scroll-text {
|
|
font-size: 0.9rem;
|
|
color: var(--medium-gray);
|
|
margin-bottom: var(--space-xs);
|
|
display: block;
|
|
}
|
|
|
|
.scroll-arrow {
|
|
width: 30px;
|
|
height: 30px;
|
|
margin: 0 auto;
|
|
border-right: 2px solid var(--primary-green);
|
|
border-bottom: 2px solid var(--primary-green);
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
/* ========== Project Modal ========== */
|
|
.project-modal {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1000;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.project-modal.active {
|
|
display: flex !important;
|
|
}
|
|
|
|
.modal-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.modal-content {
|
|
position: relative;
|
|
max-width: 95vw;
|
|
max-height: 95vh;
|
|
width: 1200px;
|
|
background: var(--white);
|
|
border-radius: 20px;
|
|
box-shadow:
|
|
0 25px 80px rgba(0, 0, 0, 0.3),
|
|
0 0 0 1px rgba(255, 255, 255, 0.1);
|
|
overflow: hidden;
|
|
animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
border: 1px solid rgba(107, 159, 60, 0.1);
|
|
}
|
|
|
|
@keyframes modalSlideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.8) translateY(-30px) rotateX(10deg);
|
|
filter: blur(10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1) translateY(0) rotateX(0deg);
|
|
filter: blur(0px);
|
|
}
|
|
}
|
|
|
|
.modal-close {
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 20px;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
border: none;
|
|
font-size: 20px;
|
|
color: var(--medium-gray);
|
|
cursor: pointer;
|
|
z-index: 1001;
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.modal-close:hover {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: #ef4444;
|
|
transform: scale(1.1) rotate(90deg);
|
|
box-shadow: 0 6px 25px rgba(239, 68, 68, 0.2);
|
|
}
|
|
|
|
.modal-close:active {
|
|
transform: scale(0.95) rotate(90deg);
|
|
}
|
|
|
|
.modal-header {
|
|
padding: 40px 40px 30px;
|
|
background: linear-gradient(135deg, var(--primary-green) 0%, #5a8a32 50%, #4a7429 100%);
|
|
color: var(--white);
|
|
text-align: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.modal-header::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.modal-title {
|
|
font-size: 2.2rem;
|
|
font-weight: 800;
|
|
margin: 0;
|
|
text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
|
|
position: relative;
|
|
z-index: 1;
|
|
letter-spacing: -0.02em;
|
|
background: linear-gradient(45deg, #ffffff, #f0f9ff);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.modal-info {
|
|
font-size: 1.1rem;
|
|
opacity: 0.95;
|
|
line-height: 1.6;
|
|
position: relative;
|
|
z-index: 1;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.process-nav {
|
|
display: flex;
|
|
background: linear-gradient(135deg, #f8fdf5 0%, #f0f7ed 100%);
|
|
border-bottom: 2px solid rgba(107, 159, 60, 0.1);
|
|
overflow-x: auto;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--primary-green) transparent;
|
|
padding: 8px 16px;
|
|
gap: 4px;
|
|
}
|
|
|
|
.process-nav::-webkit-scrollbar {
|
|
height: 6px;
|
|
}
|
|
|
|
.process-nav::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.process-nav::-webkit-scrollbar-thumb {
|
|
background: linear-gradient(135deg, var(--primary-green), #5a8a32);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.process-tab {
|
|
flex: 0 0 auto;
|
|
padding: 16px 24px;
|
|
background: rgba(255, 255, 255, 0.7);
|
|
border: 2px solid transparent;
|
|
border-radius: 12px;
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
color: var(--medium-gray);
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
min-width: 140px;
|
|
text-align: center;
|
|
position: relative;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.process-tab::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: linear-gradient(135deg, var(--primary-green), #5a8a32);
|
|
border-radius: 10px;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
z-index: -1;
|
|
}
|
|
|
|
.process-tab:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 25px rgba(107, 159, 60, 0.15);
|
|
color: var(--primary-green);
|
|
border-color: rgba(107, 159, 60, 0.3);
|
|
background: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.process-tab.active {
|
|
color: var(--white);
|
|
background: linear-gradient(135deg, var(--primary-green), #5a8a32);
|
|
border-color: var(--primary-green);
|
|
transform: translateY(-3px);
|
|
box-shadow:
|
|
0 10px 30px rgba(107, 159, 60, 0.3),
|
|
0 0 0 3px rgba(107, 159, 60, 0.1);
|
|
}
|
|
|
|
.process-tab.active::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.process-content {
|
|
padding: 40px;
|
|
max-height: 65vh;
|
|
overflow-y: auto;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--primary-green) transparent;
|
|
background: linear-gradient(135deg, #ffffff 0%, #fafffe 100%);
|
|
}
|
|
|
|
.process-content::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
|
|
.process-content::-webkit-scrollbar-track {
|
|
background: rgba(107, 159, 60, 0.05);
|
|
border-radius: 5px;
|
|
margin: 5px;
|
|
}
|
|
|
|
.process-content::-webkit-scrollbar-thumb {
|
|
background: linear-gradient(135deg, var(--primary-green), #5a8a32);
|
|
border-radius: 5px;
|
|
border: 2px solid transparent;
|
|
background-clip: content-box;
|
|
}
|
|
|
|
.process-content::-webkit-scrollbar-thumb:hover {
|
|
background: linear-gradient(135deg, #5a8a32, var(--primary-green));
|
|
background-clip: content-box;
|
|
}
|
|
|
|
.process-detail h3 {
|
|
font-size: 1.8rem;
|
|
font-weight: 700;
|
|
color: var(--primary-green);
|
|
margin: 0 0 var(--space-lg) 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.process-image {
|
|
width: 100%;
|
|
height: auto;
|
|
border-radius: 16px;
|
|
box-shadow:
|
|
0 20px 40px rgba(0, 0, 0, 0.1),
|
|
0 0 0 1px rgba(255, 255, 255, 0.5);
|
|
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.process-image::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: linear-gradient(135deg, rgba(107, 159, 60, 0.05), transparent);
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.process-image:hover {
|
|
transform: scale(1.02) translateY(-4px);
|
|
box-shadow:
|
|
0 25px 50px rgba(0, 0, 0, 0.15),
|
|
0 0 0 1px rgba(107, 159, 60, 0.2);
|
|
}
|
|
|
|
.process-image:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.process-description {
|
|
background: linear-gradient(135deg, #f8fdf5 0%, #e8f5e8 100%);
|
|
padding: 24px;
|
|
border-radius: 16px;
|
|
border: 2px solid rgba(107, 159, 60, 0.1);
|
|
margin-bottom: 24px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.process-description::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 4px;
|
|
height: 100%;
|
|
background: linear-gradient(135deg, var(--primary-green), #5a8a32);
|
|
border-radius: 0 2px 2px 0;
|
|
}
|
|
|
|
.process-description::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: -50%;
|
|
right: -50%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: radial-gradient(circle, rgba(107, 159, 60, 0.05) 0%, transparent 70%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.process-description h4 {
|
|
font-size: 1.4rem;
|
|
font-weight: 700;
|
|
color: var(--primary-green);
|
|
margin: 0 0 16px 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.process-description p {
|
|
font-size: 1.05rem;
|
|
line-height: 1.8;
|
|
color: var(--dark-gray);
|
|
margin: 0;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.work-content {
|
|
background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
|
|
border: 2px solid rgba(255, 140, 0, 0.1);
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.work-content::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 4px;
|
|
height: 100%;
|
|
background: linear-gradient(135deg, var(--primary-orange), #e67e22);
|
|
border-radius: 0 2px 2px 0;
|
|
}
|
|
|
|
.work-content::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: -50%;
|
|
right: -50%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: radial-gradient(circle, rgba(255, 140, 0, 0.03) 0%, transparent 70%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.work-content h4 {
|
|
font-size: 1.4rem;
|
|
font-weight: 700;
|
|
color: var(--primary-orange);
|
|
margin: 0 0 16px 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.work-content p {
|
|
font-size: 1.05rem;
|
|
line-height: 1.8;
|
|
color: var(--dark-gray);
|
|
margin: 0;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.work-content ul {
|
|
margin: 0;
|
|
padding-left: 24px;
|
|
list-style: none;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.work-content li {
|
|
font-size: 1.05rem;
|
|
line-height: 1.8;
|
|
color: var(--dark-gray);
|
|
margin-bottom: 12px;
|
|
position: relative;
|
|
padding-left: 16px;
|
|
}
|
|
|
|
.work-content li::before {
|
|
content: counter(list-counter);
|
|
counter-increment: list-counter;
|
|
position: absolute;
|
|
left: -24px;
|
|
top: 0;
|
|
width: 24px;
|
|
height: 24px;
|
|
background: linear-gradient(135deg, var(--primary-orange), #e67e22);
|
|
color: white;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
|
|
}
|
|
|
|
.work-content ul {
|
|
counter-reset: list-counter;
|
|
}
|
|
|
|
.process-details {
|
|
padding: var(--space-md) 0;
|
|
}
|
|
|
|
.process-title {
|
|
font-size: 1.8rem;
|
|
font-weight: 700;
|
|
color: var(--primary-green);
|
|
margin: 0 0 var(--space-lg) 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.process-work {
|
|
background: var(--white);
|
|
border: 1px solid var(--border-light);
|
|
border-radius: var(--border-radius-md);
|
|
padding: var(--space-lg);
|
|
}
|
|
|
|
.process-work h4 {
|
|
font-size: 1.3rem;
|
|
font-weight: 600;
|
|
color: var(--primary-orange);
|
|
margin: 0 0 var(--space-md) 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.process-work ul {
|
|
margin: 0;
|
|
padding-left: var(--space-lg);
|
|
list-style-type: decimal;
|
|
}
|
|
|
|
.process-work li {
|
|
font-size: 1rem;
|
|
line-height: 1.8;
|
|
color: var(--dark-gray);
|
|
margin-bottom: var(--space-xs);
|
|
}
|
|
|
|
.process-layout {
|
|
display: flex;
|
|
gap: 30px;
|
|
margin-top: 20px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.process-image-container {
|
|
flex: 0 0 48%;
|
|
position: sticky;
|
|
top: 20px;
|
|
}
|
|
|
|
.process-content-container {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.process-layout {
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.process-image-container {
|
|
flex: none;
|
|
position: static;
|
|
}
|
|
|
|
.process-content {
|
|
padding: 24px;
|
|
}
|
|
|
|
.process-nav {
|
|
padding: 6px 12px;
|
|
gap: 3px;
|
|
}
|
|
|
|
.process-tab {
|
|
padding: 12px 16px;
|
|
min-width: 120px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.modal-header {
|
|
padding: 30px 24px 20px;
|
|
}
|
|
|
|
.modal-title {
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
.process-description,
|
|
.work-content {
|
|
padding: 20px;
|
|
}
|
|
|
|
.process-description h4,
|
|
.work-content h4 {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.process-description p,
|
|
.work-content p,
|
|
.work-content li {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
/* Mobile Responsive for Modal */
|
|
@media (max-width: 768px) {
|
|
.project-modal {
|
|
padding: 10px;
|
|
}
|
|
|
|
.modal-content {
|
|
max-width: 100%;
|
|
max-height: 95vh;
|
|
width: 100%;
|
|
border-radius: 16px;
|
|
margin: 0;
|
|
}
|
|
|
|
.modal-close {
|
|
top: 15px;
|
|
right: 15px;
|
|
width: 40px;
|
|
height: 40px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.modal-title {
|
|
font-size: 1.6rem;
|
|
}
|
|
|
|
.modal-info {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.process-nav {
|
|
flex-wrap: nowrap;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.process-tab {
|
|
min-width: 110px;
|
|
padding: var(--space-sm) var(--space-md);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.process-content {
|
|
padding: 24px;
|
|
max-height: 70vh;
|
|
}
|
|
|
|
.process-detail h3 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.process-description h4,
|
|
.work-content h4 {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.process-description p,
|
|
.work-content p {
|
|
font-size: 0.95rem;
|
|
}
|
|
}
|
|
|
|
/* ========== About Section ========== */
|
|
.about-section {
|
|
padding: var(--space-xxl) 0;
|
|
background: var(--white);
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 var(--space-lg);
|
|
}
|
|
|
|
.section-header {
|
|
text-align: center;
|
|
margin-bottom: var(--space-xxl);
|
|
}
|
|
|
|
.section-tag {
|
|
display: inline-block;
|
|
padding: var(--space-xs) var(--space-md);
|
|
background: var(--gradient-primary);
|
|
color: var(--white);
|
|
border-radius: 50px;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
letter-spacing: 1px;
|
|
margin-bottom: var(--space-md);
|
|
}
|
|
|
|
.section-title {
|
|
font-size: clamp(2rem, 4vw, 3rem);
|
|
font-weight: 700;
|
|
color: var(--black);
|
|
}
|
|
|
|
/* 新的关于我信息网格 */
|
|
.about-info-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: var(--space-lg);
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
.info-card {
|
|
background: var(--light-gray);
|
|
padding: var(--space-xl);
|
|
border-radius: 20px;
|
|
transition: var(--transition-normal);
|
|
}
|
|
|
|
.info-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.info-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.info-icon {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.info-header h3 {
|
|
font-size: 1.3rem;
|
|
font-weight: 600;
|
|
color: var(--black);
|
|
}
|
|
|
|
.info-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.info-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.info-label {
|
|
font-weight: 600;
|
|
color: var(--primary-green);
|
|
min-width: 80px;
|
|
}
|
|
|
|
.info-value {
|
|
color: var(--dark-gray);
|
|
}
|
|
|
|
.personal-statement {
|
|
background: var(--gradient-soft);
|
|
padding: var(--space-xl);
|
|
border-radius: 20px;
|
|
margin-top: var(--space-xl);
|
|
}
|
|
|
|
.statement-title {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
color: var(--black);
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.statement-text {
|
|
color: var(--dark-gray);
|
|
line-height: 1.8;
|
|
margin-bottom: var(--space-md);
|
|
}
|
|
|
|
.statement-text:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.about-content {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: var(--space-lg);
|
|
margin-bottom: var(--space-xxl);
|
|
}
|
|
|
|
.about-card {
|
|
background: var(--light-gray);
|
|
padding: var(--space-xl);
|
|
border-radius: 20px;
|
|
transition: var(--transition-normal);
|
|
}
|
|
|
|
.about-card:hover {
|
|
transform: translateY(-10px);
|
|
box-shadow: var(--shadow-xl);
|
|
background: var(--white);
|
|
}
|
|
|
|
.card-icon {
|
|
width: 60px;
|
|
height: 60px;
|
|
background: var(--gradient-primary);
|
|
border-radius: 15px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: var(--space-md);
|
|
}
|
|
|
|
.icon-emoji {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 1.3rem;
|
|
font-weight: 600;
|
|
color: var(--black);
|
|
margin-bottom: var(--space-sm);
|
|
}
|
|
|
|
.card-text {
|
|
color: var(--dark-gray);
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.experience-timeline {
|
|
background: var(--gradient-soft);
|
|
padding: var(--space-xl);
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.timeline-title {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
color: var(--black);
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.timeline-items {
|
|
position: relative;
|
|
padding-left: var(--space-xl);
|
|
}
|
|
|
|
.timeline-items::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 10px;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 2px;
|
|
background: var(--gradient-primary);
|
|
}
|
|
|
|
.timeline-item {
|
|
position: relative;
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.timeline-item::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: -34px;
|
|
top: 5px;
|
|
width: 12px;
|
|
height: 12px;
|
|
background: var(--primary-green);
|
|
border-radius: 50%;
|
|
border: 3px solid var(--white);
|
|
}
|
|
|
|
.timeline-year {
|
|
display: inline-block;
|
|
padding: 2px 12px;
|
|
background: var(--primary-orange);
|
|
color: var(--white);
|
|
border-radius: 20px;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
margin-bottom: var(--space-xs);
|
|
}
|
|
|
|
.timeline-item h4 {
|
|
font-size: 1.1rem;
|
|
color: var(--black);
|
|
margin-bottom: var(--space-xs);
|
|
}
|
|
|
|
.timeline-item p {
|
|
color: var(--dark-gray);
|
|
}
|
|
|
|
/* ========== Skills Section ========== */
|
|
.skills-section {
|
|
padding: var(--space-xxl) 0;
|
|
background: var(--off-white);
|
|
}
|
|
|
|
/* 核心能力样式 */
|
|
.core-skills {
|
|
margin-bottom: var(--space-xxl);
|
|
}
|
|
|
|
.skills-subtitle {
|
|
font-size: 1.8rem;
|
|
font-weight: 600;
|
|
color: var(--black);
|
|
margin-bottom: var(--space-lg);
|
|
padding-bottom: var(--space-sm);
|
|
border-bottom: 2px solid var(--primary-green);
|
|
}
|
|
|
|
.core-skills-list {
|
|
display: grid;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.core-skill-item {
|
|
display: flex;
|
|
align-items: start;
|
|
gap: var(--space-md);
|
|
padding: var(--space-md);
|
|
background: var(--white);
|
|
border-radius: 12px;
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
.core-skill-item:hover {
|
|
transform: translateX(10px);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.skill-number {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
background: var(--gradient-primary);
|
|
color: var(--white);
|
|
border-radius: 50%;
|
|
font-weight: 600;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.core-skill-item p {
|
|
color: var(--dark-gray);
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
}
|
|
|
|
.skills-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
|
gap: var(--space-lg);
|
|
margin-bottom: var(--space-xxl);
|
|
}
|
|
|
|
.skill-category {
|
|
background: var(--white);
|
|
padding: var(--space-lg);
|
|
border-radius: 20px;
|
|
box-shadow: var(--shadow-sm);
|
|
transition: var(--transition-normal);
|
|
}
|
|
|
|
.skill-category:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.category-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
margin-bottom: var(--space-md);
|
|
}
|
|
|
|
.category-icon {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.category-title {
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
color: var(--black);
|
|
}
|
|
|
|
.skill-description {
|
|
color: var(--dark-gray);
|
|
line-height: 1.6;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.skill-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-xs);
|
|
}
|
|
|
|
.skill-tag {
|
|
padding: 6px 14px;
|
|
background: var(--light-gray);
|
|
color: var(--dark-gray);
|
|
border-radius: 20px;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
.skill-tag:hover {
|
|
background: var(--gradient-primary);
|
|
color: var(--white);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.skill-bars {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.skill-bars-title {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
margin-bottom: var(--space-lg);
|
|
color: var(--black);
|
|
}
|
|
|
|
.skill-bar-item {
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.skill-bar-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: var(--space-xs);
|
|
}
|
|
|
|
.skill-name {
|
|
font-weight: 500;
|
|
color: var(--dark-gray);
|
|
}
|
|
|
|
.skill-percent {
|
|
font-weight: 600;
|
|
color: var(--primary-green);
|
|
}
|
|
|
|
.skill-bar-progress {
|
|
height: 8px;
|
|
background: var(--light-gray);
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.skill-bar-fill {
|
|
height: 100%;
|
|
background: var(--gradient-primary);
|
|
border-radius: 10px;
|
|
position: relative;
|
|
animation: none;
|
|
}
|
|
|
|
@keyframes fillBar {
|
|
from {
|
|
width: 0;
|
|
}
|
|
}
|
|
|
|
/* ========== Projects Section ========== */
|
|
.projects-section {
|
|
padding: var(--space-xxl) 0;
|
|
background: var(--white);
|
|
}
|
|
|
|
.projects-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: var(--space-xl);
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
.project-card {
|
|
background: var(--white);
|
|
border-radius: 20px;
|
|
overflow: hidden;
|
|
box-shadow: var(--shadow-md);
|
|
transition: var(--transition-normal);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.project-card:hover {
|
|
box-shadow: var(--shadow-xl);
|
|
}
|
|
|
|
.project-image {
|
|
position: relative;
|
|
height: 280px;
|
|
overflow: hidden;
|
|
background: var(--gradient-soft);
|
|
border-radius: 20px 20px 0 0;
|
|
}
|
|
|
|
.project-image img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: var(--transition-slow);
|
|
}
|
|
|
|
.project-card:hover .project-image img {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.project-image-placeholder {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--gradient-fresh);
|
|
}
|
|
|
|
.placeholder-icon {
|
|
font-size: 4rem;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.project-overlay {
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 20px;
|
|
}
|
|
|
|
.project-category {
|
|
padding: 6px 16px;
|
|
background: var(--white);
|
|
color: var(--primary-green);
|
|
border-radius: 20px;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.project-content {
|
|
padding: var(--space-xl);
|
|
}
|
|
|
|
.project-title {
|
|
font-size: 1.3rem;
|
|
font-weight: 600;
|
|
color: var(--black);
|
|
margin-bottom: var(--space-sm);
|
|
}
|
|
|
|
.project-description {
|
|
color: var(--dark-gray);
|
|
line-height: 1.7;
|
|
margin-bottom: var(--space-lg);
|
|
font-size: 1rem;
|
|
text-align: justify;
|
|
}
|
|
|
|
.project-info {
|
|
background: linear-gradient(135deg, #f8fdf5, #e8f5e8);
|
|
border-radius: var(--border-radius-md);
|
|
padding: var(--space-md);
|
|
margin-bottom: var(--space-md);
|
|
border-left: 4px solid var(--primary-green);
|
|
}
|
|
|
|
.info-row {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: var(--space-xs);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.info-row:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.info-label {
|
|
font-weight: 600;
|
|
color: var(--primary-green);
|
|
min-width: 90px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.info-text {
|
|
color: var(--dark-gray);
|
|
flex: 1;
|
|
}
|
|
|
|
.view-detail {
|
|
text-align: center;
|
|
margin-top: var(--space-md);
|
|
padding-top: var(--space-md);
|
|
border-top: 1px solid var(--border-light);
|
|
}
|
|
|
|
.view-detail span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
color: var(--primary-green);
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
transition: var(--transition-normal);
|
|
}
|
|
|
|
.project-card:hover .view-detail span {
|
|
color: var(--primary-orange);
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
.project-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-xs);
|
|
margin-bottom: var(--space-md);
|
|
}
|
|
|
|
.tag {
|
|
padding: 4px 12px;
|
|
background: var(--light-gray);
|
|
color: var(--dark-gray);
|
|
border-radius: 15px;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.project-results {
|
|
display: flex;
|
|
gap: var(--space-md);
|
|
padding-top: var(--space-md);
|
|
border-top: 1px solid var(--light-gray);
|
|
}
|
|
|
|
.result-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
}
|
|
|
|
.result-icon {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.result-text {
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
color: var(--primary-green);
|
|
}
|
|
|
|
.projects-more {
|
|
text-align: center;
|
|
}
|
|
|
|
.btn-more {
|
|
padding: var(--space-md) var(--space-xl);
|
|
background: var(--gradient-primary);
|
|
color: var(--white);
|
|
border: none;
|
|
border-radius: 50px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
transition: var(--transition-normal);
|
|
}
|
|
|
|
.btn-more:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-colored);
|
|
}
|
|
|
|
/* ========== Contact Section ========== */
|
|
.contact-section {
|
|
padding: var(--space-xxl) 0;
|
|
background: var(--gradient-soft);
|
|
}
|
|
|
|
.contact-content {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: var(--space-xxl);
|
|
align-items: start;
|
|
}
|
|
|
|
.contact-subtitle {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
color: var(--black);
|
|
margin-bottom: var(--space-md);
|
|
}
|
|
|
|
.contact-description {
|
|
color: var(--dark-gray);
|
|
line-height: 1.8;
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.contact-items {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.contact-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.contact-icon {
|
|
width: 50px;
|
|
height: 50px;
|
|
background: var(--gradient-primary);
|
|
color: var(--white);
|
|
border-radius: 15px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.contact-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.contact-label {
|
|
font-size: 0.85rem;
|
|
color: var(--medium-gray);
|
|
}
|
|
|
|
.contact-value {
|
|
font-weight: 500;
|
|
color: var(--dark-gray);
|
|
text-decoration: none;
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
.contact-value:hover {
|
|
color: var(--primary-green);
|
|
}
|
|
|
|
.social-links {
|
|
display: flex;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.social-link {
|
|
width: 50px;
|
|
height: 50px;
|
|
background: var(--white);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-decoration: none;
|
|
transition: var(--transition-normal);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.social-link:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: var(--shadow-lg);
|
|
background: var(--gradient-primary);
|
|
}
|
|
|
|
.social-icon {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.contact-form-wrapper {
|
|
background: var(--white);
|
|
padding: var(--space-xl);
|
|
border-radius: 20px;
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.contact-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.form-input {
|
|
padding: var(--space-md);
|
|
border: 2px solid var(--light-gray);
|
|
border-radius: 12px;
|
|
font-size: 1rem;
|
|
font-family: inherit;
|
|
transition: var(--transition-fast);
|
|
background: var(--white);
|
|
}
|
|
|
|
.form-input:focus {
|
|
outline: none;
|
|
border-color: var(--primary-green);
|
|
}
|
|
|
|
.form-textarea {
|
|
resize: vertical;
|
|
min-height: 120px;
|
|
}
|
|
|
|
.form-submit {
|
|
padding: var(--space-md) var(--space-lg);
|
|
background: var(--gradient-primary);
|
|
color: var(--white);
|
|
border: none;
|
|
border-radius: 50px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-sm);
|
|
transition: var(--transition-normal);
|
|
}
|
|
|
|
.form-submit:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-colored);
|
|
}
|
|
|
|
/* ========== New Contact Layout ========== */
|
|
.contact-content-new {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.contact-intro {
|
|
margin-bottom: var(--space-xxl);
|
|
}
|
|
|
|
.contact-title {
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
color: var(--black);
|
|
margin-bottom: var(--space-md);
|
|
background: linear-gradient(135deg, var(--primary-green), #5a8a32);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.contact-subtitle {
|
|
font-size: 1.2rem;
|
|
color: var(--dark-gray);
|
|
line-height: 1.8;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.contact-cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: var(--space-xl);
|
|
margin-bottom: var(--space-xxl);
|
|
}
|
|
|
|
.contact-card {
|
|
background: var(--white);
|
|
padding: var(--space-xl);
|
|
border-radius: 20px;
|
|
box-shadow: var(--shadow-md);
|
|
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
border: 2px solid transparent;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.contact-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 4px;
|
|
background: linear-gradient(135deg, var(--primary-green), #5a8a32);
|
|
}
|
|
|
|
.contact-card:hover {
|
|
transform: translateY(-8px);
|
|
box-shadow: var(--shadow-xl);
|
|
border-color: rgba(107, 159, 60, 0.2);
|
|
}
|
|
|
|
.contact-card-icon {
|
|
width: 70px;
|
|
height: 70px;
|
|
background: linear-gradient(135deg, var(--primary-green), #5a8a32);
|
|
border-radius: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 auto var(--space-lg);
|
|
font-size: 1.8rem;
|
|
box-shadow: 0 8px 25px rgba(107, 159, 60, 0.3);
|
|
}
|
|
|
|
.contact-card-content h4 {
|
|
font-size: 1.3rem;
|
|
font-weight: 700;
|
|
color: var(--black);
|
|
margin-bottom: var(--space-sm);
|
|
}
|
|
|
|
.contact-card-content p {
|
|
color: var(--medium-gray);
|
|
margin-bottom: var(--space-lg);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.contact-btn {
|
|
display: inline-block;
|
|
padding: var(--space-sm) var(--space-lg);
|
|
background: linear-gradient(135deg, #f8fdf5, #e8f5e8);
|
|
color: var(--primary-green);
|
|
text-decoration: none;
|
|
border-radius: 30px;
|
|
font-weight: 600;
|
|
border: 2px solid rgba(107, 159, 60, 0.2);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.contact-btn:hover {
|
|
background: var(--primary-green);
|
|
color: var(--white);
|
|
transform: scale(1.05);
|
|
box-shadow: 0 4px 15px rgba(107, 159, 60, 0.3);
|
|
}
|
|
|
|
.contact-location {
|
|
display: inline-block;
|
|
padding: var(--space-sm) var(--space-lg);
|
|
background: linear-gradient(135deg, #f8fdf5, #e8f5e8);
|
|
color: var(--primary-green);
|
|
border-radius: 30px;
|
|
font-weight: 600;
|
|
border: 2px solid rgba(107, 159, 60, 0.2);
|
|
}
|
|
|
|
.contact-cta {
|
|
background: linear-gradient(135deg, var(--primary-green), #5a8a32);
|
|
padding: var(--space-xxl);
|
|
border-radius: 25px;
|
|
color: var(--white);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.contact-cta::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -50%;
|
|
right: -50%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.contact-cta-content {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.contact-cta h4 {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
margin-bottom: var(--space-md);
|
|
}
|
|
|
|
.contact-cta p {
|
|
font-size: 1.1rem;
|
|
opacity: 0.9;
|
|
margin-bottom: var(--space-xl);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.contact-actions {
|
|
display: flex;
|
|
gap: var(--space-lg);
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.contact-action-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-md) var(--space-xl);
|
|
border-radius: 50px;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
font-size: 1.1rem;
|
|
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
border: 2px solid transparent;
|
|
}
|
|
|
|
.contact-action-btn.primary {
|
|
background: var(--white);
|
|
color: var(--primary-green);
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.contact-action-btn.primary:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
|
|
background: #f8fff8;
|
|
}
|
|
|
|
.contact-action-btn.secondary {
|
|
background: transparent;
|
|
color: var(--white);
|
|
border-color: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.contact-action-btn.secondary:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-color: var(--white);
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.btn-icon {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
/* ========== Footer ========== */
|
|
.footer {
|
|
padding: var(--space-xl) 0;
|
|
background: var(--black);
|
|
color: var(--white);
|
|
text-align: center;
|
|
}
|
|
|
|
.footer-content {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 var(--space-lg);
|
|
}
|
|
|
|
.footer-brand {
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.footer-logo {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
margin-bottom: var(--space-sm);
|
|
display: block;
|
|
}
|
|
|
|
.footer-tagline {
|
|
color: var(--medium-gray);
|
|
font-style: italic;
|
|
}
|
|
|
|
.footer-copyright {
|
|
padding-top: var(--space-lg);
|
|
border-top: 1px solid rgba(255,255,255,0.1);
|
|
}
|
|
|
|
.footer-copyright p {
|
|
color: var(--medium-gray);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* ========== 返回顶部按钮 ========== */
|
|
.back-to-top {
|
|
position: fixed;
|
|
bottom: 30px;
|
|
right: 30px;
|
|
width: 50px;
|
|
height: 50px;
|
|
background: var(--gradient-primary);
|
|
color: var(--white);
|
|
border: none;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: var(--transition-normal);
|
|
box-shadow: var(--shadow-lg);
|
|
z-index: 999;
|
|
}
|
|
|
|
.back-to-top.visible {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
.back-to-top:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: var(--shadow-xl);
|
|
}
|
|
|
|
/* ========== 动画定义 ========== */
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes fadeInRight {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
@keyframes bounce {
|
|
0%, 100% {
|
|
transform: translateY(0);
|
|
}
|
|
50% {
|
|
transform: translateY(-10px);
|
|
}
|
|
}
|
|
|
|
@keyframes float {
|
|
0%, 100% {
|
|
transform: translateY(0);
|
|
}
|
|
50% {
|
|
transform: translateY(-20px);
|
|
}
|
|
}
|
|
|
|
.animated {
|
|
animation: fadeInUp 0.8s ease forwards;
|
|
}
|
|
|
|
/* ========== 响应式设计 ========== */
|
|
@media (max-width: 768px) {
|
|
.menu-toggle {
|
|
display: flex;
|
|
}
|
|
|
|
.nav-menu {
|
|
position: fixed;
|
|
top: 0;
|
|
right: -100%;
|
|
width: 70%;
|
|
height: 100vh;
|
|
background: var(--white);
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
transition: var(--transition-normal);
|
|
box-shadow: -5px 0 15px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.nav-menu.active {
|
|
right: 0;
|
|
}
|
|
|
|
.hero-content {
|
|
grid-template-columns: 1fr;
|
|
text-align: center;
|
|
}
|
|
|
|
.hero-stats {
|
|
justify-content: center;
|
|
}
|
|
|
|
.hero-actions {
|
|
justify-content: center;
|
|
}
|
|
|
|
.hero-visual {
|
|
order: -1;
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.hero-image-container {
|
|
max-width: 250px;
|
|
}
|
|
|
|
.hero-portrait {
|
|
max-width: 220px;
|
|
}
|
|
|
|
.floating-badge {
|
|
display: none;
|
|
}
|
|
|
|
.contact-content {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.projects-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: var(--space-lg);
|
|
}
|
|
}
|
|
|
|
/* 中等屏幕优化 */
|
|
@media (max-width: 1024px) and (min-width: 769px) {
|
|
.projects-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: var(--space-lg);
|
|
}
|
|
|
|
.project-image {
|
|
height: 250px;
|
|
}
|
|
|
|
.project-content {
|
|
padding: var(--space-lg);
|
|
}
|
|
|
|
.project-title {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.project-description {
|
|
font-size: 0.95rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.skills-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.about-content {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
/* New Contact Layout Mobile */
|
|
.contact-title {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.contact-subtitle {
|
|
font-size: 1.1rem;
|
|
padding: 0 var(--space-md);
|
|
}
|
|
|
|
.contact-cards {
|
|
grid-template-columns: 1fr;
|
|
gap: var(--space-lg);
|
|
}
|
|
|
|
.contact-card {
|
|
padding: var(--space-lg);
|
|
}
|
|
|
|
.contact-card-icon {
|
|
width: 60px;
|
|
height: 60px;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.contact-cta {
|
|
padding: var(--space-xl);
|
|
margin: 0 var(--space-md);
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.contact-cta h4 {
|
|
font-size: 1.6rem;
|
|
}
|
|
|
|
.contact-cta p {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.contact-actions {
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.contact-action-btn {
|
|
padding: var(--space-md) var(--space-lg);
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
/* ========== 弹窗视觉增强 ========== */
|
|
.process-detail {
|
|
animation: fadeInUp 0.6s ease-out;
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.process-content-container > * {
|
|
animation: slideInRight 0.5s ease-out;
|
|
}
|
|
|
|
@keyframes slideInRight {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
.process-image-container {
|
|
animation: slideInLeft 0.5s ease-out;
|
|
}
|
|
|
|
@keyframes slideInLeft {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(-30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
/* 加载状态和过渡效果 */
|
|
.modal-content {
|
|
transform-origin: center center;
|
|
}
|
|
|
|
.project-modal {
|
|
transition: opacity 0.3s ease-out;
|
|
}
|
|
|
|
.project-modal:not(.active) {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* 改进的滚动条样式 */
|
|
.process-content::-webkit-scrollbar-corner {
|
|
background: transparent;
|
|
}
|
|
|
|
/* 悬浮效果增强 */
|
|
.process-description:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 30px rgba(107, 159, 60, 0.15);
|
|
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
}
|
|
|
|
.work-content:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 30px rgba(255, 140, 0, 0.15);
|
|
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
}
|
|
|
|
/* 标题下划线动画 */
|
|
.process-description h4 {
|
|
position: relative;
|
|
}
|
|
|
|
.work-content h4 {
|
|
position: relative;
|
|
}
|
|
|
|
.process-description h4::after,
|
|
.work-content h4::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -4px;
|
|
left: 0;
|
|
width: 0;
|
|
height: 2px;
|
|
background: currentColor;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.process-description:hover h4::after {
|
|
width: 60px;
|
|
}
|
|
|
|
.work-content:hover h4::after {
|
|
width: 60px;
|
|
}
|
|
|
|
/* 数字列表样式增强 */
|
|
.work-content li {
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.work-content li:hover {
|
|
transform: translateX(8px);
|
|
color: var(--primary-orange);
|
|
}
|
|
|
|
.work-content li:hover::before {
|
|
transform: scale(1.1);
|
|
box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
|
|
}
|
|
|
|
/* 图片容器增强 */
|
|
.process-image-container::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: linear-gradient(45deg, transparent 49%, rgba(107, 159, 60, 0.1) 50%, transparent 51%);
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
pointer-events: none;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.process-image-container:hover::after {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* 标签页切换动画 */
|
|
.process-tab {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.process-tab::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 0;
|
|
height: 0;
|
|
background: rgba(255, 255, 255, 0.3);
|
|
border-radius: 50%;
|
|
transform: translate(-50%, -50%);
|
|
transition: width 0.6s ease, height 0.6s ease;
|
|
}
|
|
|
|
.process-tab:active::after {
|
|
width: 300px;
|
|
height: 300px;
|
|
}
|
|
|
|
/* 弹窗打开时的背景动画 */
|
|
@keyframes backgroundFadeIn {
|
|
from {
|
|
backdrop-filter: blur(0px);
|
|
-webkit-backdrop-filter: blur(0px);
|
|
}
|
|
to {
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
}
|
|
}
|
|
|
|
.modal-overlay {
|
|
animation: backgroundFadeIn 0.4s ease-out;
|
|
} |