* {
    padding: 0;
    margin: 0;
}






:root {
    --imperial-blue: #d28a39;
    --gold: #4f5f96;
}

@font-face {
    font-family: '鼎猎珠海体';
    src: url('../字体/鼎猎珠海体.ttf') format('truetype');
    font-weight: normal;
    /* 字体粗细 */
    font-style: normal;
    /* 字体样式（斜体） */
}

a {
    font-family: '鼎猎珠海体';
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

/* 消除 li 元素的默认样式 */
ul li {
    list-style-type: none;
    /* 如果需要去除列表项的内边距和外边距，可以添加以下两行 */
    margin: 0;
    padding: 0;
}

/* 其他样式保持不变 */

/* 添加固定导航栏的样式 */
.nav-container.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* 确保导航栏在其他元素之上 */
}

@font-face {
    font-family: '峄山碑篆体';
    /* 自定义字体名称 */
    src: url('../字体/峄山碑篆体.ttf') format('truetype');
    /* 兼容旧浏览器 */
    font-weight: normal;
    /* 字体粗细（根据实际文件调整） */
    font-style: normal;
    /* 字体样式（斜体等） */
}

span {
    font-family: '峄山碑篆体';
    font-size: 32px;
    letter-spacing: 5px;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
}

.nav-container {
    background-color: var(--imperial-blue);
    /* padding: 10px 20px; */
    background-color: #77201f;
    background-size: cover;
}

.nav-bar {
    font-family: '鼎猎珠海体';
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}



/* 调整图片样式 */
.brand img {
    width: 70px;
    /* 根据实际情况调整宽度 */
    height: auto;
    /* 保持图片比例 */
}

.nav-menu {
    font-family: '鼎猎珠海体';
    display: flex;
    list-style: none;
    position: relative;
    transition: opacity 0.3s;
}

.nav-item {
    margin-left: 15px;
    position: relative;
}

.nav-link {
    font-family: '鼎猎珠海体';
    color: white;
    text-decoration: none;
    padding: 0px 30px;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 24px;
}

.nav-link:hover {
    background-color: #77201f;
    border-radius: 4px;
}

.dropdown-menu {

    display: none;
    list-style: none;
    position: absolute;
    top: 124%;
    left: 0;
    background-color: #77201f;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(119, 181, 186, 0.2);
    opacity: 0;
    transform: translateY(-10px);
    transition:
        opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    min-height: 40px;
}

.dropdown-menu.visible {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.dropdown-item {
    padding: 12px 16px;
    transition: 0.2s;
}

.dropdown-item a {
    color: #ffffff;
}

.dropdown-item a:active {
    color: #4f5f96;
}

.dropdown-item:hover {
    background-color: #77201f;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 32px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--imperial-blue);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: #77201f;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown-menu.visible {
        max-height: 500px;
    }

    .hamburger {
        display: block;
    }
}







@font-face {
    font-family: '鼎猎珠海体';
    src: url('../字体/鼎猎珠海体.ttf') format('truetype');
    font-weight: normal;
    /* 字体粗细 */
    font-style: normal;
    /* 字体样式（斜体） */
}

/* 消除 li 元素的默认样式 */
ul li {
    list-style-type: none;
    /* 如果需要去除列表项的内边距和外边距，可以添加以下两行 */
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: '余思源颜黄体';
    src: url('../字体/余思源颜黄体.ttf') format('truetype');
    font-weight: normal;
    /* 字体粗细 */
    font-style: normal;
    /* 字体样式（斜体） */
}

p {
    font-family: '鼎猎珠海体';
    font-size: 1.5em;
}

h3 {
    font-family: '鼎猎珠海体';
}

body {
    background: url(../img/culture-4/背景1.png) top center;
    height: 2000px;
    overflow-x: hidden;
}

.shell {
    width: 100%;
    display: flex;
    flex-direction: column;
}

header {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0 100%);
    transition: clip-path 0.5s ease;
    position: relative;
}

.nav {
    display: flex;
    background-image: url(../img/culture-4/供养人图像-1.png);

}

.nav ul {
    display: flex;
    height: 100%;
    margin-top: 10px;
}

.nav ul li {
    width: 8%;
    height: 100%;
    margin-top: 4px;
    margin-bottom: 4px;
    list-style: none;
}

.nav ul li a {
    padding: 2px;
    text-decoration: none;
    color: #081869;
    font-size: 22px;
    font-weight: bold;
}

.nav ul li a:hover {
    border: medium solid #081869;
}

@media (max-width: 1600px) {
    .nav ul li a {
        font-size: 18px;
    }
}

@media (max-width: 1300px) {
    .nav ul li a {
        font-size: 14px;
    }
}

@media (max-width: 1020px) {
    .nav ul li a {
        font-size: 10px;
    }
}

.nav ul:first-child {
    width: 20%;
}

.nav ul:first-child li {
    width: 20%;
    margin-left: 10%;
}

.nav ul:last-child {
    width: 80%;
    margin-left: -9%;
    justify-content: center;
}

.daping {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: url(../img/culture-4/供养人背景.png);
    background-size: cover;
    transform: scale(1);
    transition: transform 0.5s ease;
}

.main {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}

.main h1 {
    margin-bottom: 40px;
    font-family: '余思源颜黄体';
    font-size: 3rem;
    font-weight: 500;
}

.main span {
    padding: 0 100px;
    font-size: 30px;
}

@import url('https://fonts.googleapis.com/css?family=Lato:700,900');

@font-face {
    font-family: Arno Pro;
    src: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/4273/ArnoPro-Regular.otf);
    font-style: normal;
}

@font-face {
    font-family: Arno Pro;
    src: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/4273/ArnoPro-Italic.otf);
    font-style: italic;
}

p {
    font-size: 20px;
    line-height: 38px;
    font-weight: 350;
}

p.credits {
    font-style: italic;
    text-indent: 0 !important;
    margin: 1rem 0;
}

p a {
    font-weight: bolder;
    color: #000;
    text-decoration: none;
}

@supports (font-variant-caps: small-caps) {
    .multicol:first-of-type p:first-of-type {
        font-variant-caps: small-caps;
    }
}

p:not(:first-of-type) {
    text-indent: 1.4rem;
}

.multicol {
    column-count: 4;
    column-gap: 2rem;
}

.multicol+img {
    margin: 2rem 0;
}

article {
    width: 70%;
    margin: auto;
}

article img {
    width: 100%;
}

article header {
    margin-bottom: 2.5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.8);
}

article h1 {
    margin-top: 0;
    font-size: 3rem;
}

article h2 {
    break-after: column;
    font-size: 1.5rem;
}

h1,
h2 {
    font-family: Lato, sans-serif;
}

@media all and (max-width: 1600px) {
    .multicol {
        column-count: 3;
    }
}

@media all and (max-width: 1000px) {
    .multicol {
        column-count: 2;
    }
}

@media all and (max-width:800px) {
    article h2 {
        break-after: avoid;
    }

    .multicol {
        column-count: 1;
    }
}

@media all and (max-width:600px) {
    body {
        margin: 0;
    }

    article {
        width: 100%;
    }

    .multicol {
        padding: 0 1rem;
    }

    article header {
        margin-bottom: 2.5rem;
        padding-bottom: 0;
        border-bottom: none;
    }

    h1 {
        margin-bottom: 0;
    }
}

/* 发展脉络 */
.shell h2 {
    font-size: 3em;
    margin-bottom: 10px;
    font-family: '余思源颜黄体';
    font-weight: 400;
    text-align: center;
}

/* 滑入文字 */
.text-container {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.text-container1 {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.text-container1 h2 {
    color: #fff;
}

.title-1 {
    margin-bottom: 50px;
}

.text-item {
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.text-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* 时间轴容器 */
.timeline-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-header {
    text-align: center;
    margin-bottom: 30px;
}

.timeline-header h2 {
    color: #2c3e50;
    font-size: 2.2em;
    border-bottom: 3px solid #3498db;
    display: inline-block;
    padding-bottom: 5px;
}

.timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    position: relative;
    margin-bottom: 40px;
}

.timeline::before {
    content: "";
    position: absolute;
    height: 2px;
    background-color: #78201f;
    width: 80%;
    max-width: 800px;
    left: 50%;
    top: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.time-point {
    flex: 1 0 calc(25% - 20px);
    /* 小屏幕自动调整 */
    max-width: 200px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-point:hover {
    transform: translateY(-5px);
}

.time-point .circle {
    background-color: #70a68f;
    border-radius: 15px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
}

.time-point.active .circle {
    background-color: #78201f;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.time-point .label {
    color: #555;
    font-size: 1.1em;
}

.content-area {
    text-align: left;
    line-height: 1.8;
    color: #333;
}

.content-area h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.8em;
    border-bottom: 2px solid #78201f;
    padding-bottom: 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline::before {
        width: 90%;
    }

    .time-point {
        flex: 1 0 calc(50% - 20px);
        /* 移动端两行显示 */
        max-width: none;
    }
}

@media (max-width: 480px) {
    .timeline {
        flex-direction: column;
        align-items: center;
    }

    .timeline::before {
        width: 2px;
        height: 80%;
        left: 50%;
        top: 10%;
        transform: translateX(-50%);
    }

    .time-point {
        flex: none;
        margin: 20px 0;
    }
}

/* 宗教荣耀 */
.title-1 {
    background: url(../img/culture-4/中间.png);
}

.title-1 p {
    font-size: 1em;
    color: #fff;
    font-weight: 300;
    font-size: 18px;
    line-height: 200%;
    width: 80%;
    margin: auto;
    padding-bottom: 30px;
}


.title-box-1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0% 7% 0 7%;
    max-height: 300px;
}

.title-box-1__text {
    padding: 5%;
    flex-grow: 1;

    >h2 {
        padding: 2rem;
        padding-top: 5%;
    }
}

.title-box-1__text p {
    font-size: 18px;
    line-height: 40px;
    text-indent: 2em;
}

.title-box-1__image {
    /* padding: 20px; */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 0 0 30%;
}

.title-box-1__image img {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
    width: 80%;
    object-fit: cover;
    max-height: 250px;
}

.title-box-1--reverse {
    flex-direction: row-reverse;
}

/* 代表作品 */
.title-2 {
    display: flex;
    flex-wrap: wrap;
    font-size: 3rem;
    font-weight: 500;
    margin: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    max-width: 800px;
    min-height: 450px;
    margin: auto;
}

.box {
    position: relative;
    width: 60vw;
    height: 40vw;
    max-width: 380px;
    max-height: 250px;
    margin: 0;
    color: white;
    perspective: 1000px;
    transform-origin: center;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: translateZ(-30vw) rotateY(0);
    will-change: transform;
    transition: transform 0.5s ease;
}

.item {
    position: absolute;
    width: 60vw;
    height: 40vw;
    max-width: 380px;
    max-height: 250px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    background-size: cover;
    -webkit-box-reflect: below 25px -webkit-linear-gradient(transparent 50%, rgba(255, 255, 255, 0.3));
}

.item:nth-child(1) {
    background-image: url(../img/culture-4/代表作品1.png);
    transform: rotateY(0) translateZ(35vw);
}

.item:nth-child(2) {
    background-image: url(../img/culture-4/代表作品2.png);
    transform: rotateY(120deg) translateZ(35vw);
}

.item:nth-child(3) {
    background-image: url(../img/culture-4/代表作品3.png);
    transform: rotateY(240deg) translateZ(35vw);
}

.text-container-1 {
    margin-top: 40px;
    color: rgb(0, 0, 0);
    font-size: 20px;
    font-weight: 400;
    line-height: 2;
    text-indent: 2em;
}

.button-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    gap: 100px;
    /* 设置按钮之间的间距 */
}

.button {
    background-color: rgba(208, 199, 199, 0.5);
    color: rgb(82, 78, 78);
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.footer {
    background-image: url('../img/yuewu/footer2.png');
    /* 替换为实际的图片路径 */
    background-size: cover;
    /* 使背景图覆盖整个容器，保持比例且不变形 */
    background-position: center;
    /* 背景图居中显示 */
    background-repeat: no-repeat;
    /* 防止背景图重复 */
    color: white;
    text-align: center;
    padding: 20px 0;
}

.footer_box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer_content {
    width: 100%;
}

.footer_title {
    font-family: '鼎猎珠海体';
    margin-bottom: 10px;
}

.footer_data {
    list-style-type: none;
    padding: 0;
}

.footer_data li {
    font-family: '鼎猎珠海体';
    margin-bottom: 5px;
}