/* 全局样式 */
:root {
    --wine-red: #722F37;
    --light-wine: #9E4B55;
    --beige: #F5E6D3;
    --dark-beige: #E6D5BC;
    --text-dark: #2C1810;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    color: var(--text-dark);
    background-color: var(--beige);
    line-height: 1.6;
}

/* 导航栏样式 */
.nav-bar {
    background-color: transparent;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s;
}

.nav-bar.scrolled {
    background-color: var(--wine-red);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    color: var(--beige);
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--beige);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--dark-beige);
}

/* 大图区域样式 */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--beige);
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(44, 24, 16, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    max-width: 1200px;
    margin-top: -4rem;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.8rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 内容区域样式 */
.main-content {
    position: relative;
    background-color: var(--beige);
    padding-top: 4rem;
}

.intro-section {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-section h2 {
    color: var(--wine-red);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.content-item {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.content-item:hover {
    transform: translateY(-5px);
}

.content-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.content-item h3 {
    color: var(--wine-red);
    margin-bottom: 1rem;
}

/* 页脚样式 */
.footer {
    background-color: var(--wine-red);
    color: var(--beige);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--beige);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--dark-beige);
}

/* 页面头部样式 */
.page-header {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--beige);
    overflow: hidden;
    margin-top: 4rem;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(44, 24, 16, 0.6);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
}

.header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 作品展示区域样式 */
.works-section {
    margin-bottom: 6rem;
}

.works-section h2 {
    color: var(--wine-red);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.works-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--wine-red);
    margin: 1rem auto;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 0 2rem;
}

.work-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.work-item:hover {
    transform: translateY(-10px);
}

.work-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.1);
}

.work-info {
    padding: 2rem;
}

.work-info h3 {
    color: var(--wine-red);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.work-date {
    color: var(--light-wine);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.work-info p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* 时间线样式 */
.timeline-section {
    padding: 4rem 0;
    position: relative;
}

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--wine-red);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    padding-left: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    padding-right: 3rem;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--wine-red);
    border-radius: 50%;
    top: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -40px;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -40px;
    transform: translateY(-50%);
}

.timeline-date {
    color: var(--wine-red);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.timeline-info h3 {
    color: var(--wine-red);
    margin-bottom: 1rem;
}

.timeline-info img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 1rem;
}

/* 生平详细介绍样式 */
.life-detail {
    padding: 4rem 2rem;
    background-color: white;
    margin-top: 4rem;
}

.life-detail h2 {
    color: var(--wine-red);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.detail-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.detail-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.detail-text p {
    margin-bottom: 1.5rem;
}

.detail-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline::before {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 90%;
        margin-left: auto;
        padding-left: 3rem;
    }

    .timeline-content::before {
        left: -40px !important;
    }

    .detail-content {
        grid-template-columns: 1fr;
    }
} 

/* 影响力卡片样式 */
.influence-section {
    padding: 4rem 0;
}

.influence-section h2 {
    color: var(--wine-red);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.influence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 0 2rem;
}

.influence-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.influence-card:hover {
    transform: translateY(-10px);
}

.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.influence-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    color: var(--wine-red);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.influence-list {
    list-style: none;
}

.influence-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.influence-list li::before {
    content: '•';
    color: var(--wine-red);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

/* 现代意义部分样式 */
.modern-significance {
    background-color: white;
    padding: 4rem 2rem;
    margin: 4rem 0;
}

.significance-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.significance-text h2 {
    color: var(--wine-red);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.significance-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.significance-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 名人评价部分样式 */
.quotes-section {
    padding: 4rem 2rem;
}

.quotes-section h2 {
    color: var(--wine-red);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.quote-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quote-card blockquote {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-style: italic;
}

.quote-card cite {
    color: var(--wine-red);
    font-style: normal;
    font-weight: bold;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .significance-content {
        grid-template-columns: 1fr;
    }

    .quotes-grid {
        grid-template-columns: 1fr;
    }
} 

/* 轮播图样式 */
.carousel-section {
    padding: 4rem 0;
    background-color: white;
}

.carousel-section h2 {
    color: var(--wine-red);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    border-radius: 0 0 12px 12px;
}

.carousel-caption h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(114, 47, 55, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.carousel-button:hover {
    background: var(--wine-red);
}

.carousel-button.prev {
    left: 1rem;
}

.carousel-button.next {
    right: 1rem;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background: white;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }

    .carousel-caption {
        padding: 1rem;
    }

    .carousel-caption h3 {
        font-size: 1.4rem;
    }

    .carousel-button {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
} 