/* 全局样式 */
:root {
    font-size: 16px; /* 基础字体大小 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f5f0;
    overflow-x: auto;
    font-size: 1rem; /* 继承root字体大小 */
}

h1, h2, h3, .section-title, .nav-cn {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

a {
    text-decoration: none;
    color: #8c1c13;
    transition: color 0.3s ease;
}

a:hover {
    color: #d62828;
}

/* 标准化字体大小 - 标题系统 */
h1, .main-title {
    font-size: 3.5rem; /* 与hero-title一致 */
}

h2, .section-title {
    font-size: 2.5rem;
}

h3, .sub-title {
    font-size: 1.8rem;
}

h4, .small-title {
    font-size: 1.4rem; /* 与hero-subtitle一致 */
}

/* 标准化字体大小 - 正文系统 */
p, .text-normal {
    font-size: 1.1rem; /* 与hero-description-ch一致 */
    line-height: 1.8;
}

.text-small {
    font-size: 0.9rem; /* 与hero-description-en一致 */
    line-height: 1.6;
}

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

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

.logo-text {
    display: inline-block;
    margin-left: 10px;
    font-size: 1.5rem;
    color: #8c1c13;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: #8c1c13;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #d62828;
    color: #fff;
}

.section-title {
    text-align: center;
    margin: 2.5rem 0;
    color: #8c1c13;
    font-size: 2.5rem; /* 统一大标题字体大小 */
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 3.75rem;
    height: 0.1875rem;
    background-color: #8c1c13;
    margin: 0.625rem auto;
}

/* 头部和导航 */
header {
    background-color: #252a2e;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    border-bottom: 0.0625rem solid #646464;  /* 1px -> 0.0625rem */
}

.logo {
    padding: 0.625rem 1.25rem;  /* 10px 20px -> 0.625rem 1.25rem */
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    max-width: 5rem;  /* 80px -> 5rem */
    height: auto;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    margin-left: 0.9375rem;  /* 15px -> 0.9375rem */
}

.logo-title {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    font-size: 2rem;
    color: #ffffff;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.9rem; /* 与hero-description-en一致 */
    color: #cccccc;
    font-weight: normal;
}

.logo-en {
    font-size: 0.7rem;
    color: #aaaaaa;
    font-weight: normal;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    height: 100%;
    margin: 0;
}

.nav-menu li {
    position: relative;
    margin: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0.9375rem 1.875rem;  /* 15px 30px -> 0.9375rem 1.875rem */
    background-color: #252a2e;
    transition: background-color 0.3s;
    text-decoration: none;
}

.nav-menu li:last-child .nav-item {
    background-color: #8c1c13;
}

.nav-item.active, .nav-item:hover {
    background-color: #313a42;
}

.nav-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nav-cn {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0.125rem;
}

.nav-en {
    color: #aaaaaa;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
}

.dropdown-menu, .sub-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #252a2e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1;
}

.sub-dropdown-menu {
    left: 100%;
    top: 0;
}

.dropdown:hover > .dropdown-menu,
.sub-dropdown:hover > .sub-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li, .sub-dropdown-menu li {
    margin: 0;
    width: 100%;
}

.dropdown-menu li a, .sub-dropdown-menu li a {
    padding: 12px 20px;
    color: #ffffff;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-menu li a:hover, .sub-dropdown-menu li a:hover {
    background-color: #313a42;
    color: #ffffff;
}

/* 移动设备菜单按钮 */
.menu-toggle {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    margin-right: 20px;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #8c1c13;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
    top: 0px;
}

.menu-toggle span:nth-child(2) {
    top: 8px;
}

.menu-toggle span:nth-child(3) {
    top: 16px;
}

.menu-toggle.active span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* 下拉箭头 */
.dropdown-arrow {
    display: none;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown-arrow.active {
    transform: rotate(180deg);
}

/* 图片查看器 */
.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-viewer img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-viewer {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

/* 幻灯片区域 */
.hero-slider {
    position: relative;
    height: 37.5rem;  /* 600px -> 37.5rem */
    overflow: hidden;
    background-color: #171717 !important;
    display: flex;
    align-items: center;
}

.hero-banner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 5%;
    position: relative;
}

.hero-image {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    height: 90%;
    max-height: 31.25rem;  /* 500px -> 31.25rem */
    object-fit: contain;
}

.hero-content {
    flex: 1;
    padding: 0 1.875rem;  /* 30px -> 1.875rem */
    color: #ffffff;
}

.hero-title {
    font-size: 3.5rem;
    color: #e94e38;
    margin-bottom: 0.9375rem;  /* 15px -> 0.9375rem */
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #aaaaaa;
    margin-bottom: 2.5rem;  /* 40px -> 2.5rem */
    font-weight: normal;
    letter-spacing: 0.0625rem;  /* 1px -> 0.0625rem */
}

.hero-description {
    margin-top: 1.875rem;  /* 30px -> 1.875rem */
}

.hero-description-ch {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.9375rem;  /* 15px -> 0.9375rem */
    color: #dddddd;
}

.hero-description-en {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #999999;
}

/* 保留原有的幻灯片样式，但不再使用 */
.slider-container {
    height: 100%;
    display: none;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.slide-caption {
    position: absolute;
    bottom: 80px;
    left: 10%;
    max-width: 600px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 20px 30px;
    border-left: 5px solid #8c1c13;
}

.slide-caption h2 {
    font-size: 2.2rem;
    margin-bottom: 0.625rem;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    display: none;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: #fff;
}

/* 精选作品区域 */
.featured-works {
    padding: 80px 7%;
    background-color: #faf6f0;
    margin: 0 auto;
}

.works-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.work-item {
    display: flex;
    align-items: center;
    gap: 40px;
}

.work-item:nth-child(even) {
    flex-direction: row-reverse;
}

.work-image {
    flex: 1.5;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.work-image img {
    transition: transform 0.5s ease;
    width: 100%;
    display: block;
    max-height: 450px;
    object-fit: contain;
}

.work-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-image:hover .image-overlay {
    opacity: 1;
}

.view-details {
    background-color: #8c1c13;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.work-image:hover .view-details {
    transform: translateY(0);
}

.work-info {
    flex: 1;
    padding: 0 20px;
}

.work-info h3 {
    font-size: 1.8rem; /* 统一子标题大小 */
    color: #8c1c13;
    margin-bottom: 0.9375rem;
}

.work-info p, .video-description p, .footer-info p, .footer-contact p {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    font-size: 1.1rem; /* 与hero-description-ch一致 */
    line-height: 1.8;
}

/* 视频展示区 */
.video-showcase {
    background-color: #f0e6d8;
    padding: 3.75rem 0;  /* 60px -> 3.75rem */
    text-align: center;
    width: 100%;
}

.video-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 1.875rem;  /* 30px -> 1.875rem */
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-description {
    max-width: 43.75rem;  /* 700px -> 43.75rem */
    margin: 1.875rem auto 0;  /* 30px -> 1.875rem */
    padding: 0 1.25rem;  /* 20px -> 1.25rem */
}

.video-description p {
    margin-bottom: 1.25rem;  /* 20px -> 1.25rem */
}

/* 页脚 */
footer {
    background-color: #2b2b2b;
    color: #fff;
    padding: 50px 5% 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-info, .footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-info h3, .footer-contact h3 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

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

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-banner, 
    .hero-image, 
    .hero-content,
    .hero-title,
    .hero-subtitle,
    .hero-slider,
    .work-item, 
    .work-item:nth-child(even),
    .work-image, 
    .work-info,
    .work-image img,
    .work-info,
    .slide-caption,
    .history-container,
    .innovation-container,
    .innovation-item,
    .team-member,
    .member-image,
    .member-info,
    .inheritor-card,
    .inheritor-image,
    .inheritor-info,
    .inheritor-description {
        width: 100%;
        flex-direction: initial;
        flex-basis: initial;
        position: initial;
        margin: initial;
        padding: initial;
        transform: none;
        max-width: none;
    }
}

@media (max-width: 768px) {
    header,
    .menu-toggle,
    .logo,
    nav,
    nav.active,
    .nav-menu,
    .nav-menu li,
    .dropdown-menu, 
    .sub-dropdown-menu,
    .dropdown-menu.show, 
    .sub-dropdown-menu.show,
    .dropdown-arrow,
    .hero-slider,
    .slide-caption,
    .slide-caption h2,
    .section-subtitle h3,
    .inheritor-name,
    .inheritor-description {
        display: initial;
        flex-direction: initial;
        position: initial;
        width: 100%;
        height: auto;
        overflow: initial;
        transform: none;
        font-size: initial;
        margin: initial;
        padding: initial;
        opacity: initial;
        visibility: initial;
    }
}

@media (max-width: 576px) {
    .hero-slider,
    .section-title,
    .work-info h3,
    .footer-content,
    .innovation-item {
        padding: initial;
        margin: initial;
        font-size: initial;
        flex-basis: initial;
    }
}

/* 页脚版权与免责声明区域 */
.copyright-section {
    background-color: #171717;
    color: #ffffff;
    text-align: center;
    padding: 2.5rem 1.25rem;  /* 40px 20px -> 2.5rem 1.25rem */
}

.copyright-title {
    font-size: 1.8rem; /* 统一子标题大小 */
    margin-bottom: 0.625rem;
    font-weight: normal;
    color: #ffffff;
}

.copyright-subtitle {
    font-size: 1.4rem; /* 与hero-subtitle一致 */
    margin-bottom: 0.9375rem;
    font-weight: normal;
    color: #ffffff;
}

.copyright-divider {
    width: 18.75rem;  /* 300px -> 18.75rem */
    height: 0.0625rem;  /* 1px -> 0.0625rem */
    background-color: #646464;
    margin: 1.25rem auto 1.875rem;  /* 20px auto 30px -> 1.25rem auto 1.875rem */
}

.funding-info {
    display: flex;
    justify-content: center;
    margin: 1.875rem 0 1.25rem;  /* 30px 0 20px -> 1.875rem 0 1.25rem */
    flex-wrap: wrap;
}

.funding-item {
    margin: 0 1.875rem;
    color: #aaaaaa;
    font-size: 1rem;
}

.copyright-contact {
    margin-top: 1.25rem;
    color: #aaaaaa;
    font-size: 1rem;
}

.email-contact {
    display: block;
    margin-top: 0.625rem;
    color: #aaaaaa;
    font-size: 1rem;
}

.hero-decoration {
    position: absolute;
    bottom: 1.25rem;  /* 20px -> 1.25rem */
    right: 1.875rem;  /* 30px -> 1.875rem */
    width: 7.5rem;  /* 120px -> 7.5rem */
    height: auto;
    opacity: 0.8;
}

.hero-decoration img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 绒花历史部分 */
.history-section {
    padding: 5rem 5%;
    background-color: #f9f5f0;
}

.history-title {
    text-align: center;
    font-size: 1.75rem; /* 从2.5rem减小到1.75rem */
    margin-bottom: 3.125rem;
    color: #333;
}

.history-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.history-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.history-image img {
    width: 100%;
    border-radius: 0.3125rem;
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.1);
    height: auto;
    object-fit: cover;
}

.history-image-title {
    text-align: center;
    font-size: 1.5rem;
    margin: 0.9375rem 0;
    color: #8c1c13;
}

.history-image-desc {
    line-height: 1.7;
    color: #555;
    text-align: justify;
}

.history-content {
    flex: 1;
    min-width: 300px;
}

.history-subtitle {
    font-size: 1rem; /* 从1.8rem减小到1rem */
    color: #333;
    margin-bottom: 1.25rem;
    border-left: 0.25rem solid #8c1c13;
    padding-left: 0.9375rem;
}

.history-text {
    margin-bottom: 1.875rem;
}

.history-text h3 {
    font-size: 0.875rem; /* 从1.4rem减小到0.875rem */
    color: #8c1c13;
    margin-bottom: 0.625rem;
}

.history-text p {
    font-size: 0.75rem; /* 从1.1rem减小到0.75rem */
    line-height: 1.6;
    margin-bottom: 0.9375rem;
    color: #444;
    text-align: justify;
}

.history-item {
    font-size: 0.75rem; /* 从1.1rem减小到0.75rem */
    margin-bottom: 0.9375rem;
}

/* 绒花创新与跨界部分 */
.innovation-section {
    padding: 5rem 5%;  /* 80px -> 5rem */
    background-color: #fff;
}

.innovation-title {
    text-align: center;
    font-size: 2.5rem; /* 统一大标题字体大小 */
    margin-bottom: 3.125rem;
    color: #333;
}

.innovation-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;  /* 20px -> 1.25rem */
    max-width: 1400px;
    margin: 0 auto;
}

.innovation-item {
    flex: 1;
    min-width: 15.625rem;  /* 250px -> 15.625rem */
    max-width: 17.5rem;  /* 280px -> 17.5rem */
    margin-bottom: 1.875rem;  /* 30px -> 1.875rem */
    transition: transform 0.3s ease;
}

.innovation-item:hover {
    transform: translateY(-0.625rem);  /* -10px -> -0.625rem */
}

.innovation-image {
    overflow: hidden;
    border-radius: 0.3125rem;  /* 5px -> 0.3125rem */
    margin-bottom: 0.9375rem;  /* 15px -> 0.9375rem */
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.1);  /* 5px 15px -> 0.3125rem 0.9375rem */
    height: 18.75rem;  /* 300px -> 18.75rem */
}

.innovation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.innovation-image.video-container {
    position: relative;
    padding-bottom: 0;
    height: 18.75rem;  /* 300px -> 18.75rem */
    overflow: hidden;
}

.innovation-image.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.innovation-item:hover .innovation-image img {
    transform: scale(1.05);
}

.innovation-name {
    text-align: center;
    font-size: 1.3rem;
    margin-top: 0.625rem;
    color: #333;
}

/* 关于我们页面样式 */
.about-intro {
    padding: 80px 5%;
    background-color: #f9f5f0;
}

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

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.intro-content p {
    font-size: 1.1rem; /* 与hero-description-ch一致 */
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.team-section, .executive-team {
    padding: 60px 5%;
    background-color: #fff;
}

.team-intro {
    text-align: center;
    margin-bottom: 50px;
}

.team-intro h3 {
    font-size: 1.8rem; /* 统一子标题大小 */
    color: #666;
    font-weight: normal;
    margin-top: -1.25rem;
}

.team-members {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.team-member {
    width: 100%;
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.member-image {
    flex: 0 0 400px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-image:hover img {
    transform: scale(1.05);
}

.member-info {
    flex: 1;
    padding-right: 30px;
}

.member-name {
    font-size: 1.8rem; /* 统一子标题大小 */
    color: #8c1c13;
    margin-bottom: 1.25rem;
}

.member-description {
    font-size: 1.1rem; /* 与hero-description-ch一致 */
    line-height: 1.8;
    color: #555;
}

.team-photo {
    margin: 0 auto 60px;
    max-width: 1000px;
    text-align: center;
}

.team-photo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.photo-caption {
    margin-top: 20px;
    text-align: center;
}

.photo-caption p {
    font-size: 1.1rem;
    color: #666;
}

/* 顾问团队部分样式 */
.consultation-team {
    padding: 80px 5%;
    background-color: #f9f5f0;
}

.consultation-team .team-member {
    background-color: #fff;
    margin-bottom: 40px;
}

.consultation-team .member-name {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 25px;
}

.consultation-team .member-description {
    font-size: 1.2rem;
    line-height: 2;
    text-align: justify;
}

/* 页面整体布局 */
main {
    min-height: 100vh;
}

/* 分隔线样式 */
.section-divider {
    width: 60px;
    height: 3px;
    background-color: #8c1c13;
    margin: 15px auto 40px;
}

/* 背景交替效果 */
section:nth-child(even) {
    background-color: #fff;
}

section:nth-child(odd) {
    background-color: #f9f5f0;
}

/* 优化标题间距 */
.section-title {
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #8c1c13;
}

/* 优化卡片hover效果 */
.team-member {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 图片hover效果 */
.member-image img {
    transition: transform 0.5s ease;
}

.member-image:hover img {
    transform: scale(1.05);
}

/* 传承谱系页面样式 */
.genealogy-section {
    padding: 80px 5%;
    background-color: #f9f5f0;
}

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

.section-subtitle h3 {
    font-size: 1.8rem;
    color: #666;
    font-weight: normal;
    margin-top: 10px;
    text-transform: uppercase;
}

.inheritor-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.inheritor-card {
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inheritor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.inheritor-image {
    flex: 0 0 400px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.inheritor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.inheritor-image:hover img {
    transform: scale(1.05);
}

.inheritor-info {
    flex: 1;
}

.inheritor-name {
    font-size: 1.8rem; /* 统一子标题大小 */
    color: #8c1c13;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.inheritor-description {
    font-size: 1.1rem; /* 与hero-description-ch一致 */
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

@media (max-width: 992px) {
    .inheritor-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .inheritor-image {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }

    .inheritor-info {
        margin-top: 25px;
    }

    .inheritor-description {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .section-subtitle h3 {
        font-size: 1.5rem;
    }

    .inheritor-name {
        font-size: 1.5rem;
    }

    .inheritor-description {
        font-size: 1rem;
    }
}

/* 添加自动缩放脚本支持的CSS */
.scale-container {
    transform-origin: top left;
}

/* 恢复导航栏始终显示 */
.nav-menu {
    margin-right: 0;
    display: flex !important;
    flex-direction: row !important;
}

/* 隐藏移动菜单按钮 */
.menu-toggle {
    display: none !important;
}

/* 移动端样式优化 - 保持结构一致但缩小显示大小 */
@media screen and (max-width: 768px) {
    /* history部分字体缩小 */
    .history-title {
        font-size: 1.5rem;
    }
    
    .history-subtitle {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .history-text h3 {
        font-size: 0.65rem;
        margin-bottom: 0.375rem;
    }
    
    .history-text p {
        font-size: 0.5rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    .history-item {
        font-size: 0.5rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
}

/* 更小屏幕设备的进一步缩小 */
@media screen and (max-width: 480px) {
    .history-title {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .history-subtitle {
        font-size: 0.625rem;
        margin-bottom: 0.625rem;
    }
    
    .history-text h3 {
        font-size: 0.55rem;
        margin-bottom: 0.25rem;
    }
    
    .history-text p {
        font-size: 0.45rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .history-item {
        font-size: 0.45rem;
        line-height: 1.3;
        margin-bottom: 0.375rem;
    }
}

/* 移动设备响应式样式 */
.mobile-device .nav-menu {
    display: none;
}

@media (max-width: 992px) {
    body {
        font-size: 0.95rem;
    }
    
    .logo-title {
        font-size: 1.5rem;
    }
    
    .logo-en {
        font-size: 0.6rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 0.9rem;
    }
    
    .logo img {
        max-width: 3.5rem;
    }
    
    .logo-title {
        font-size: 1.2rem;
    }
    
    h1, .main-title {
        font-size: 2.5rem;
    }
    
    h2, .section-title {
        font-size: 1.8rem;
    }
    
    h3, .sub-title {
        font-size: 1.4rem;
    }
    
    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #252a2e;
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 0.85rem;
    }
    
    .logo-title {
        font-size: 1rem;
    }
    
    h1, .main-title {
        font-size: 2rem;
    }
    
    h2, .section-title {
        font-size: 1.5rem;
    }
    
    h3, .sub-title {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
} 