/* 全局样式 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #000;
    --secondary-color: #fff;
    --accent-color: #f0f0f0;
    --text-color: #333;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 100px 5%;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* 头部样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    color: #fff;
}

header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}

.logo h1 span {
    display: inline-block;
    margin: 0 2px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    color: #fff;
}

nav ul li a:hover {
    color: #ccc;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.contact-button a {
    padding: 10px 20px;
    border: 1px solid #fff;
    color: #fff;
    font-weight: 500;
    transition: var(--transition);
}

.contact-button a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background-color: #000;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.discover-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.discover-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.3);
}

.arrow-down {
    position: absolute;
    bottom: 50px;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* 作品区域样式 */
.work {
    text-align: center;
    background-color: #fff;
}

.work h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-description {
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.work-image {
    overflow: hidden;
}

.work-image img {
    transition: var(--transition);
}

.work-item:hover .work-image img {
    transform: scale(1.05);
}

.work-info {
    padding: 20px;
    text-align: left;
    background-color: #fff;
}

.work-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.work-info p {
    color: #666;
    font-size: 0.9rem;
}

.more-work {
    margin-top: 30px;
}

.more-work a {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.more-work a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.drag-or-click {
    margin-top: 50px;
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.7;
}

.drag-or-click span {
    margin: 0 5px;
}

/* 关于我区域样式 */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background-color: #f9f9f9;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.resume-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 500;
    margin-top: 20px;
    transition: var(--transition);
}

.resume-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-image {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 分享区域样式 */
.insights {
    text-align: center;
    background-color: #fff;
}

.insights h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.insight-item {
    text-align: left;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: var(--transition);
}

.insight-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.insight-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.insight-item p {
    color: #666;
    margin-bottom: 20px;
}

.insight-item a {
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
}

.insight-item a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.insight-item a:hover::after {
    width: 100%;
}

.more-insights {
    margin-top: 30px;
}

.more-insights a {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.more-insights a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* 联系区域样式 */
.contact {
    text-align: center;
    background-color: #f9f9f9;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto 50px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-info {
    margin-top: 50px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 页脚样式 */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 50px 5% 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul li a:hover {
    opacity: 0.7;
}

.footer-social p {
    margin-bottom: 15px;
}

.footer-social .social-links {
    justify-content: flex-start;
}

.footer-social .social-links a {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .about {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-social .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    nav {
        display: none;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 70px 5%;
    }
    
    .work h2,
    .about-content h2,
    .insights h2,
    .contact h2 {
        font-size: 2rem;
    }
}

/* 添加到CSS文件末尾 */
.profile-image {
    background-color: #3498db;
    background-image: linear-gradient(45deg, #3498db, #2980b9);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.profile-image::before {
    content: "ZJZ";
} 