/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #C9A961;
    --dark-gold: #A08647;
    --light-gold: #E5D4A8;
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
    --gray-bg: #f5f5f5;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Banner区域 */
.banner-section {
/*    margin-top: 70px;*/
    width: 100%;
/*    height: 600px;*/
    overflow: hidden;
    background: var(--gray-bg);
    margin-top: -10px;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* 通用区块样式 */
section {
    padding: 80px 0;
/*    padding: 80px 0;*/
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 300;
}

.title-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
    margin: 0 auto 15px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* 关于朴拙 */
.about-section {
    background: var(--gray-bg);
}

.about-main-content {
    max-width:1600px;
    margin: 0 auto;
/*    background: var(--white);*/
/*    padding: 50px 60px;*/
    border-radius: 8px;
/*    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);*/
}

.about-main-content p {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 2;
    text-align: justify;
    margin-bottom: 25px;
    text-indent: 2em;
}

.about-main-content p:last-child {
    margin-bottom: 0;
}

/* 投资企业 */
.portfolio-section {
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(201, 169, 97, 0.3);
}

.portfolio-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 正方形比例 */
    overflow: hidden;
    background: var(--gray-bg);
    cursor: pointer;
}

.portfolio-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(201, 169, 97, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-image-wrapper:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-image-wrapper:hover .portfolio-image {
    transform: scale(1.1);
}

.view-icon {
    font-size: 48px;
    color: #6a6a6a;
}

.portfolio-label {
    padding: 25px;
    background: var(--white);
    text-align: center;
}

.portfolio-label h3 {
    font-size: 24px;
    color: var(--primary-gold);
    margin-bottom: 10px;
    font-weight: 500;
}

.portfolio-label p {
    color: var(--text-light);
    font-size: 14px;
}

/* 朴拙洞见 */
.insights-section {
    background: var(--gray-bg);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-gold);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary-gold);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--gray-bg);
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 500;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.8;
    text-align: justify;
}

/* 页脚 */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary-gold);
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-section strong {
    color: var(--white);
}

.qr-code {
    width: 150px;
    height: 150px;
    background: var(--white);
    padding: 10px;
    border-radius: 8px;
    display: block;
}

.qr-label {
    margin-top: 10px;
    font-size: 14px;
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-bottom a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--primary-gold);
}

/* 图片弹窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: auto;
}

.modal-content {
    display: block;
    margin: 50px auto;
    max-width: 90%;
/*    max-height: 90vh;*/
    object-fit: contain;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: fixed;
    top: 30px;
    right: 50px;
    color: var(--white);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10000;
}

.modal-close:hover {
    color: var(--primary-gold);
}

/* 响应式设计 */
@media (max-width: 968px) {
    .nav-menu {
        gap: 20px;
    }
    
    .about-content,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .banner-section {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }
    .banner-image{
        margin-top: 6%;
    }
    .nav-menu {
        gap: 15px;
        font-size: 14px;
        display: none;
    }
    
    .banner-section {
        height: 300px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .modal-close {
        top: 20px;
        right: 30px;
        font-size: 40px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

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

.about-card,
.portfolio-item,
.timeline-item {
    animation: fadeInUp 0.6s ease-out;
}
