/* 项目页面样式 */

/* CSS 变量定义 */
:root {
    --color-primary: #E36325;
    --color-indicator-active: #D70C19;
    --color-text-white: #FFFFFF;
    --color-text-black: #333333;
    --color-bg-white: #FFFFFF;
    --header-height: 96px;
    --nav-spacing: 43px;
    --container-padding: 134px;
    --font-size-nav: 18px;
    --transition-duration: 0.3s;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--color-text-black);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* 初始状态：透明 + 下移 */
}


[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}
@font-face {
    font-family: 'SemiBold';
    src: url('/public/home/font/SemiBold.otf')
}
/* 顶部导航栏 - 白色背景 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  transition: background-color var(--transition-duration) ease;
  z-index: 1000;
}
.header:hover{
  background-color: var(--color-bg-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 滚动后的导航栏样式 */
.header--scrolled {
  background-color: var(--color-bg-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header__container {
  display: flex;
  align-items: center;
  height: 100%;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}

.header__logo-img {
  width: 290px;
  height: 60px;
  display: block;
}

/* 导航菜单 */
.xinnav{
        height: 100%;
    margin-right: 50px;
}
.xinnav ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-content: center;
    gap: 70px;
    height: 100%;
}
.xinnav ul li{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    color: rgba(255, 255, 255, 1);
    font-size: 20.5px;
    line-height: 18px;
}

.xinnav ul li.nav_ce{
    color: rgba(227,99,37,1);
}
.xinnav ul li.nav_ce a{
    position: relative;
}
.header:hover .xinnav ul li{
    color: rgba(0,0,0,1);
}
.header:hover .xinnav ul li.nav_ce{
    color: rgba(227,99,37,1) !important;
}
.header__container .xinnav ul li{
    color: rgba(0,0,0,1);
}
.header__container .xinnav ul li.nav_ce{
    color: rgba(227,99,37,1) !important;
}
.header .xinnav ul li:hover{
    color: rgba(227,99,37,1) !important;
}
/*.xinnav ul li.nav_ce>a::after{*/
/*    content: "";*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    height: 2px;*/
/*    left: 0;*/
/*    bottom:-2px;*/
/*    background-color:rgba(227,99,37,1) ;*/
/*    z-index: 999;*/
    
/*}*/
.erji{
    position: absolute;
    width: 120px;
    height: 0px;
    top: 100%;
    background-color: rgba(255, 255, 255, 1);
    opacity: 0;
    overflow: hidden;
    color: rgba(0, 0, 0, 1);
    transition: 0.5s;
}
.erji dl{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13.5px;
    gap: 10px;
    
}
.xinnav ul li:hover .erji{
    height: auto;
    opacity: 1;
    padding: 10px 0;
    
}
.xinnav ul li .erji dl dd:hover{
    color: rgba(227,99,37,1) !important;
}

/* 滚动后导航链接颜色变化 */
.header--scrolled .header__nav-link {
  color: var(--color-text-black);
}

.header--scrolled .header__nav-link:hover,
.header--scrolled .header__nav-link--active {
  color: var(--color-primary);
}
.about__statxin{
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* 分隔线 */
.header__divider {
  width: 1px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.5);
  margin-right: 47px;
  flex-shrink: 0;
}

.header--scrolled .header__divider {
  background-color: rgba(0, 0, 0, 0.2);
}
.header:hover .header__divider {
  background-color: rgba(0, 0, 0, 0.2);
}
/* 搜索框 */
.header__search {
  display: flex;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.header__search-input {
  width: 180px;
  height: 45px;
  padding: 0 40px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  background-color: transparent;
  color: var(--color-text-white);
  font-size: 14px;
  outline: none;
  transition: all var(--transition-duration) ease;
}

.header__search-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.header__search-input:focus {
  border-color: var(--color-text-white);
  background-color: rgba(255, 255, 255, 0.1);
}

/* 滚动后搜索框样式 */
.header--scrolled .header__search-input {
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--color-text-black);
}
.header:hover .header__search-input {
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--color-text-black);
}
.header--scrolled .header__search-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.header:hover .header__search-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.header--scrolled .header__search-input:focus {
  border-color: var(--color-text-black);
  background-color: rgba(0, 0, 0, 0.05);
}
.header:hover .header__search-input:focus {
  border-color: var(--color-text-black);
  background-color: rgba(0, 0, 0, 0.05);
}
.header__search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.header__search-icon {
  color: var(--color-text-white);
  transition: color var(--transition-duration) ease;
}
.header:hover .header__search-icon {
  color: var(--color-text-black);
}

.header--scrolled .header__search-icon {
  color: var(--color-text-black);
}

.header__search-btn:hover .header__search-icon {
  color: var(--color-primary);
}

.projects {
    padding: 80px 0;
    background-color: transparent;
}

.projects__container {
    max-width: 100%;
}

/* 标题和更多按钮 */
.projects__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.projects__title {
    font-size: 38px;
    font-weight: bold;
    color: #000000;
    margin: 0;
}

.projects__more {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333333;
    font-size: 16px;
    text-decoration: none;
    transition: color var(--transition-duration) ease;
}

.projects__more:hover {
    color: var(--color-primary);
}

.projects__more-text {
    font-size: 24px;
}

.projects__more-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* 项目卡片网格 */
.projects__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.projects__card {
    width: 100%;
    height: 453px;
    overflow: hidden;
    position: relative;
    display: none;
}

.projects__card.show {
    display: block;
}

#showMoreBtn {
    margin-top: 40px;
    padding: 8px 16px;
    color: #666666;
    cursor: pointer;
    border-radius: 4px;
    text-align: center;
    user-select: none;
}
#showMoreBtn span{
    font-size: 22px;
}


#showMoreBtn.hidden {
    display: none !important;
}

.pro_title {
    position: absolute;
    left: 40px;
    bottom: 20px;
    font-size: 18px;
    line-height: 24px;
    color: rgba(255, 255, 255, 1);
}

.projects__card-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.projects__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-duration) ease;
}

.projects__card-link:hover .projects__card-img {
    transform: scale(1.05);
}

/* 滚动后的导航栏样式 - 保持一致，不需要变化 */
/* .header--scrolled 样式已移除，因为导航栏始终保持白色背景 */

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
    :root {
        --container-padding: 60px;
        --nav-spacing: 30px;
        --font-size-nav: 16px;
    }

    .header__logo-img {
        width: 140px;
        height: 27px;
    }

    .header__nav {
        margin-right: 30px;
    }

    .header__divider {
        margin-right: 30px;
    }

    .projects {
        padding: 60px 0;
    }

    .projects__header {
        padding-left: 60px;
        padding-right: 60px;
    }

    .projects__title {
        font-size: 32px;
    }

    .projects__more-text {
        font-size: 20px;
    }

    .projects__header {
        margin-bottom: 40px;
    }

    .projects__grid {
        gap: 15px;
    }

    .projects__card {
        height: auto;
        aspect-ratio: 735 / 343;
    }
}

/* 响应式设计 - 移动端 */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --container-padding: 20px;
        --nav-spacing: 20px;
        --font-size-nav: 14px;
    }

    .header__logo-img {
        width: 120px;
        height: 23px;
    }

    .header__nav-list {
        gap: 20px;
    }

    .header__nav {
        margin-right: 20px;
    }

    .header__divider {
        margin-right: 20px;
        height: 20px;
    }

    .header__search-input {
        width: 100px;
        height: 32px;
        font-size: 12px;
    }

    .projects {
        padding: 40px 0;
    }

    .projects__header {
        padding-left: 20px;
        padding-right: 20px;
    }

    .projects__title {
        font-size: 24px;
    }

    .projects__more-text {
        font-size: 16px;
    }

    .projects__more-icon {
        width: 18px;
        height: 18px;
    }

    .projects__header {
        margin-bottom: 30px;
    }

    .projects__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .projects__card {
        height: auto;
        aspect-ratio: 735 / 343;
    }
}

/* 轮播图区域 */
.banner {
    width: 100%;
    height: 704px;
    position: relative;
    overflow: hidden;

}

.banner__slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner__slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner__slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner__slide--active {
    opacity: 1;
    z-index: 1;
}

.banner__slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 标题 */
.banner__title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    font-weight: bold;
    color: #FFFFFF;
    margin: 0;
    z-index: 10;
    text-align: center;
}

/* 文字指示器 */
.banner__text-indicators {
    position: absolute;
    bottom: 40px;
    left: 134px;
    display: flex;
    gap: 30px;
    z-index: 10;
}

.banner__text-indicator {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.6);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.banner__text-indicator:hover {
    color: rgba(255, 255, 255, 0.9);
}

.banner__text-indicator--active {
    color: #FFFFFF;
    font-weight: bold;
}

/* 项目列表区域 */
.project-list {
    width: 100%;
    padding: 80px 134px;
    display: flex;
    flex-direction: column;
}

.project-item {
    display: flex;
    width: 100%;
    background-color: #F6F6F6;
    overflow: hidden;
}

.project-item__link {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

/* 左图右文布局 */
.project-item--left {
    flex-direction: row;
}

.project-item--left .project-item__link {
    flex-direction: row;
}

/* 右图左文布局 */
.project-item--right {
    flex-direction: row-reverse;
}

.project-item--right .project-item__link {
    flex-direction: row-reverse;
}

.project-item__image {
    width: 50%;
    flex-shrink: 0;
    overflow: hidden;
}

.project-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.project-item:hover .project-item__img {
    transform: scale(1.05);
}

.project-item__content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
}

.project-item__title {
    font-size: 32px;
    font-weight: bold;
    color: #333333;
    margin: 0 0 15px 0;
}

.project-item__subtitle {
    font-size: 18px;
    color: #666666;
    margin: 0 0 20px 0;
}

.project-item__desc {
    font-size: 16px;
    color: #666666;
    line-height: 1.8;
    margin: 0;
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
    .banner {
        height: 500px;
        margin-top: 60px;
    }

    .banner__title {
        font-size: 48px;
    }

    .banner__text-indicators {
        left: 60px;
        bottom: 30px;
        gap: 20px;
    }

    .banner__text-indicator {
        font-size: 18px;
    }

    .project-list {
        padding: 60px 60px;
        gap: 40px;
    }

    .project-item {
        flex-direction: column;
    }

    .project-item__link {
        flex-direction: column;
    }

    .project-item--right {
        flex-direction: column;
    }

    .project-item--right .project-item__link {
        flex-direction: column;
    }

    .project-item__image {
        width: 100%;
        height: 400px;
    }

    .project-item__content {
        width: 100%;
        padding: 40px 60px;
    }

    .project-item__title {
        font-size: 28px;
    }

    .project-item__subtitle {
        font-size: 16px;
    }

    .project-item__desc {
        font-size: 14px;
    }
}

/* 响应式设计 - 移动端 */
@media (max-width: 768px) {
    .banner {
        height: 400px;
        margin-top: 60px;
    }

    .banner__title {
        font-size: 36px;
    }

    .banner__text-indicators {
        left: 20px;
        bottom: 20px;
        gap: 15px;
        flex-wrap: wrap;
    }

    .banner__text-indicator {
        font-size: 16px;
    }

    .project-list {
        padding: 40px 20px;
        gap: 30px;
    }

    .project-item__image {
        height: 300px;
    }

    .project-item__content {
        padding: 30px 20px;
    }

    .project-item__title {
        font-size: 24px;
    }

    .project-item__subtitle {
        font-size: 14px;
    }

    .project-item__desc {
        font-size: 14px;
    }
}

/* 底部区域 */
.footer {
    background-color: #FFFFFF;
    padding: 60px 0 30px 0;
}

.footer__container {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* 顶部区域 */
.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #E5E5E5;
}

/* 左侧：Logo 和联系方式 */
.footer__left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__logo {
    width: 162px;
    height: 31px;
    display: block;
}

.footer__contact {
    display: flex;
    align-items: center;
    gap: 15px;

}

.footer__phone-icon {
    width: auto;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-sizing: border-box;
}

.footer__phone-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__phone {
    font-size: 36px;
    color: #D70C19;
    font-weight: bold;
    font-family: "SemiBold";
}
/* 右侧：关注我们 */
.footer__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.footer__follow {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer__follow-title {
    font-size: 20px;
    color: #333333;
    margin: 0;
    font-weight: normal;
}

.footer__social {
    display: flex;
    gap: 15px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #EAEAEA;
    border-radius: 20px;
}

.footer__social-icon {
    width: 20px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* 二维码区域 */
.footer__qrcodes {
    display: flex;
    gap: 30px;
}

.footer__qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer__qrcode-img {
    width: 100px;
    height: 100px;
    display: block;
    border: 1px solid #E5E5E5;
}

.footer__qrcode-text {
    font-size: 14px;
    color: #666666;
    margin: 0;
    text-align: center;
}

/* 导航链接区域 */
.footer__nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer__nav-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__nav-title {
    font-size: 20px;
    color: #333333;
    margin: 0;
    font-weight: bold;
}

.footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__nav-item {
    font-size: 16px;
    color: #666666;
    line-height: 1.6;
}

.footer__nav-link {
    color: #666666;
    transition: color var(--transition-duration) ease;
}

.footer__nav-link:hover {
    color: var(--color-primary);
}

/* 版权信息 */
.footer__copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #E5E5E5;
}

.footer__copyright-text {
    font-size: 14px;
    color: #999999;
    margin: 5px 0;
    line-height: 1.6;
}

/* Footer 响应式设计 - 平板 */
@media (max-width: 1024px) {
    .footer__container {
        padding-left: 60px;
        padding-right: 60px;
    }

    .footer__top {
        flex-direction: column;
        gap: 40px;
    }

    .footer__right {
        align-items: flex-start;
    }

    .footer__nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer__qrcodes {
        gap: 20px;
    }

    .footer__qrcode-img {
        width: 80px;
        height: 80px;
    }
}

/* Footer 响应式设计 - 移动端 */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px 0;
    }

    .footer__container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer__top {
        margin-bottom: 40px;
    }

    .footer__logo {
        width: 120px;
        height: 23px;
    }

    .footer__phone-icon {
        width: 36px;
        height: 36px;
    }

    .footer__phone {
        font-size: 20px;
    }

    .footer__follow-title {
        font-size: 18px;
    }

    .footer__social-link {
        width: 32px;
        height: 32px;
    }

    .footer__qrcodes {
        flex-direction: column;
        gap: 15px;
    }

    .footer__qrcode-img {
        width: 60px;
        height: 60px;
    }

    .footer__nav {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer__nav-title {
        font-size: 18px;
    }

    .footer__nav-item {
        font-size: 14px;
    }

    .footer__copyright-text {
        font-size: 12px;
    }
}