@charset "utf-8";
/* CSS Document */

@font-face {
    font-family: xingshu;
    src: url("fonts/HongLeiXingShuJianTi-2.otf");
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "宋体";
    line-height: 1.6;
    background-color: #ffffff;
}
.custom-red-bg {
    background-color: rgba(165, 42, 42, 0.8);
}

/* 头部样式 */
header {
    background-color: #c78181;
    padding: 1.5rem 0;
    margin-top: 0; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; 
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2em;
}
.logo {
    display: flex;
    align-items: center;
    gap: 1em;
}
.logo img {
    width: 60px;
    height: 60px;
}
header .logo h1 {
    color: white;
    font-size: 2em;
    font-family: xingshu;
    letter-spacing: 2px;
}
.search-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.search-icon {
    width: 24px;
    height: 24px;
}
.search-box {
    display: flex;
    align-items: center;
    background-color:white;
    border-radius: 20px;
}
.search-box input {
    padding: 0.4em 1.2em;
    border: none;
    background: none;
    width: 250px;
    outline: none;
    font-size: 0.9em;
}
.search-box button {
    display: none;
}

/* 导航菜单 */
nav {
    position: fixed;
    z-index: 999;
    top: 120px;
    left:0;
    width: 100%;
    align-items: center;
}

.nav-container {
	background-color: #a74f41;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 40px;
    padding: 0.4em;
	
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 4em;
    margin: 0;
    padding: 0.4em 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    padding: 0.4em 2em;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.nav-menu a:hover,.nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.3);
}
main {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    margin-top: 160px; 
}
.hero {
    margin-top: -52px;
    padding: 5em 0;
    width: 100%;
    background-color: #C36252;
	height: 800px;
}
.hero-video {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 600px;
    overflow: hidden;
    border-radius: 0;
    background-color: #000;
}
.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-video video::-webkit-media-controls {
    opacity: 0;
    transition: opacity 0.3s;
}
.hero-video video:hover::-webkit-media-controls {
    opacity: 1;
}
.hero-video video {
    -moz-control-opacity: 0;
    transition: -moz-control-opacity 0.3s;
}
.hero-video video:hover {
    -moz-control-opacity: 1;
}
.hero-text {
    position: absolute;
    bottom: 5em;
    left: 5em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-text h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5em;
    font-family: "宋体";
    letter-spacing: 4px;
}
.hero-text p {
    font-size: 1.4em;
    opacity: 0.9;
    letter-spacing: 2px;
}
.video-caption {
    position: relative;
    max-width: 1200px;
    margin: -2px auto 0;
    background-color: transparent;
    padding: 15px 30px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.video-caption p {
    color: transparent;
    margin: 0;
    transition: color 0.3s ease;
    font-size: 1.1em;
}
.video-caption:hover {
    background-color: rgba(167, 143, 157, 0.8);
}
.video-caption:hover p {
    color: white;
}
.intro {
	margin-top: -100px;
	margin-left: 4em;
    text-align: center;
    max-width: 1800px;
   
    background-color: #ffffff;
}
.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}
.intro h2 {
    color: #8B4513;
    font-size: 1.8em;
    margin-bottom: 1em;
    font-family: "宋体";
    position: relative;
    display: inline-block;
    font-weight: bold;
}
.intro h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 6px;
    background-color: #8B4513;
}
.intro p {
    color: #333;
    font-size: 1.2em;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-family: "宋体";
}
.gallery {
    display: flex;
    gap: 1.5em;
    max-width: 1200px;
    margin: 2em auto;
    padding: 2em;
    background-color: rgb(188, 113, 113);
    border-radius: 20px;
}
.gallery-item {
    flex: 1;
    height: 280px;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}
.description {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    color: #000;
    font-size: 1.1em;
    line-height: 2;
    opacity: 0.9;
    background-color: #ffffff;
    border-radius: 20px;
}
.description p {
    margin-bottom: 1em;
}
.description p:last-child {
    margin-bottom: 0;
}
/* 流程部分样式 */
.process-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
    background-color: #ffffff;
}

.process-header {
    text-align: center;
    margin-bottom: 3rem;
}

.process-header h2 {
    color: #8B4513;
    font-size: 2.2em;
    margin-bottom: 1rem;
    font-family: "宋体";
    position: relative;
    display: inline-block;
    font-weight: bold;
}

.process-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 6px;
    background-color: #8B4513;
}

.process-header p {
    color: #666;
    font-size: 1.2em;
    margin-top: 1.5rem;
}

.process-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.process-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    border: 2px solid #ccc;
    align-items: center;
    padding-left: 20px;
}

.process-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 40%;
    height: 200px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.card-image h3 {
    color: #d2691e;
    font-size: 1.2em;
    margin-bottom: 1rem;
    font-weight: bold;
    font-family: "宋体";
    margin-top: 20px;
}

.card-image img {
    width: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.card-content {
    padding: 1.5rem;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-content p {
    text-indent: 2em;
    color: #333;
    line-height: 1.5;
    font-size: 0.9em;
    text-align: justify;
}

.meaning-section {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.meaning-section > h2 {
    color: #d4af37;
    font-size: 2.8em;
    text-align: center;
    font-weight: bold;
    max-width: 1200px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.meaning-section > h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 6px;
    background-color: #d4af37;
}

.meaning-content {

    max-width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.meaning-image {
    flex: 1;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.meaning-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.meaning-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meaning-text {
    width: 100%;
    height: 438px;
    display: inline-block;
    flex: 1;
    border: 2px solid #ccc;
    box-sizing: border-box;
    padding: 16px;
}

.meaning-text p {
    color: #333;
    line-height: 1.8;
    font-size: 1.1em;
    text-indent: 2em;
    margin-bottom: 15px;
    text-align: justify;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .process-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .meaning-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-header h2,
    .meaning-text h2 {
        font-size: 1.8em;
    }
    
    .process-section,
    .meaning-content {
        padding: 1rem;
    }
}

footer {
    background-color: #d16b5c;
    color: white;
    text-align: center;
    padding: 0.8em 0;
}
footer p {
    font-size: 0.9em;
    opacity: 0.8;
}