/* 在 :root 伪类中定义CSS变量 */
:root {
    --main-color: #e73724;
    --font-color: #333333;
    --font-family: Helvetica;
}

body {
    position: relative;
    font-family: var(--font-family);
}

.flex {
    display: flex;
}

.flex-justify-center {
    display: flex;
    justify-content: center;
}

.flex-justify-left {
    display: flex;
    justify-content: flex-start;
}

.flex-justify-right {
    display: flex;
    justify-content: end;
}

.flex-col {
    display: flex;
    flex-flow: column;
}

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

.blue-txt {
    color: var(--main-color);
}

html {
    overflow-x: hidden;
}

body {
    margin: 0px;
    overflow-x: hidden;
}

a,
div {
    text-decoration: none;
}

input,
textarea {
    outline: none;
}

.w-100 {
    width: 100%;
}

.pc {
    display: block;
}

.mb {
    display: none;
}

#indexBody,
#hallDesignBody,
#exhibitWorkBody {
    position: relative;
    overflow-x: hidden;
}

#headerNav {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #D6D6D6;
    background: linear-gradient( 121deg, #F5F9FC 0%, #FFF5EE 49%, #EAF8F9 97%);

}

@media (min-width: 1180px) {
    #headerNav {
        display: flex;
        justify-content: center;
    }

    #headerNav.fix2 {
        position: fixed;
        z-index: 9999;
    }
}

#navContainer {
    width: 1300px;
    height: 92px;
    display: flex;
    position: relative;
    justify-content: space-between;
	padding:0px 15px;
	max-width:100%;
}

#navLeft {
    display: flex;
    justify-content: end;
    align-items: center;
}

#navMid {
    color: #646464;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logoImg {
    width: 90px;
}

#navMid ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

#navMid ul li {
    list-style: none;
    padding-left: 42px;
}

#navMid ul li :first-child {
    padding-left: 0px;
}

#navMid li a {
    /* font-family: Microsoft YaHei, Microsoft YaHei; */
    font-weight: 400;
    font-size: 18px;
    color: #646464;
    line-height: 21px;
}

.page-en #navMid li a{
	padding-bottom:3px;
}

#navMid li a:hover,
#navMid li.active a {
    font-weight: bold;
    color: var(--main-color);
    position: relative;
}

#navMid li a:hover::after,
#navMid li.active a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    border-radius: 22px;
    background-color: var(--main-color);
}

#navRight {
    display: flex;
    align-items: center;
}

#navRight .lan-btn {
    /* font-family: Microsoft YaHei, Microsoft YaHei; */
    font-size: 16px;
    color: var(--font-color);
    line-height: 22px;
    padding-right: 12px;
    cursor: pointer;
}

#navRight .lan-btn:first-child {
    padding-left: 12px;
}

#navRight .lan-btn.active {
    font-weight: bold;
}

#navRight .btn-wrapper {
    height: fit-content;
}

#navRight .btn-wrapper:first-child {
    margin-left: 50px;
}

#navRight .btn-wrapper .search-icon {
    width: 32px;
    height: 32px;
    margin-left: 18px;
}

#navRight .btn-wrapper:last-child {
    margin-left: 16px;
}

.sec-blue-title {
    /* font-family: PingFangTC, PingFangTC; */
    font-size: 28px;
    font-weight: 500;
    color: #008CBE;
    line-height: 40px;
    padding-top: 100px;
    padding-bottom: 11px;
    text-transform: uppercase;
}

.sec-title {
    /* font-family: PingFangTC, PingFangTC; */
    font-size: 28px;
    font-weight: 500;
    color: var(--main-color);
    line-height: 40px;
    padding-bottom: 32px;
}

.horizontal-divider {
    width: 135px;
    border-bottom: 1px solid var(--main-color);
    ;
}

.sec-detail-txt {
    /* font-family: PingFangTC, PingFangTC; */
    font-weight: 400;
    font-size: 16px;
    color: #3E3E3E;
    line-height: 32px;
    padding: 32px 0px;
    width: 38%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

main {
    margin-top: 93px;
}

#footerContainer {
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    border-top: 1px solid #C6C6C6;
}

#mobileFooter {
    display: none;
}

#footerContainer .footer-container {
    width: 1300px;
    padding: 60px 15px;
	 
}

#footerContainer .footer-container .top-wrapper {
    display: flex;
    justify-content: space-between;
    padding-bottom: 60px;
}

#footerContainer .footer-container .f-col {
    display: flex;
    flex-flow: column;
    padding-left: 84px;
}

#footerContainer .footer-container .f-col .f-nav-list .f-nav a {
    /* font-family: Microsoft YaHei, Microsoft YaHei; */
    font-weight: 400;
    font-size: 14px;
    color: #333333;
    line-height: 16px;
    position: relative;
}

#footerContainer .footer-container .f-col.f-col-3 {
    padding-left: 48px;
}

#footerContainer .footer-container .f-col.f-col-4 {
    width: 306px;
}

#footerContainer .footer-container .f-col.f-col-5 {
    width: 246px;
}

#footerContainer .footer-container .f-col:first-child {
    padding-left: 0;
}

#footerContainer .footer-container .f-col .logo-big-icon {
    width: 263px;
}

#footerContainer .footer-container .f-col .f-title {
    /* font-family: Microsoft YaHei, Microsoft YaHei; */
    font-weight: bold;
    font-size: 18px;
    color: var(--font-color);
    line-height: 21px;
    padding-bottom: 34px;
}

#footerContainer .footer-container .f-col .t-title {
    /* font-family: Microsoft YaHei, Microsoft YaHei; */
    font-weight: bold;
    font-size: 16px;
    color: var(--font-color);
    line-height: 16px;
    padding-bottom: 14px;
}

#footerContainer .footer-container .f-col .t-detail a {
    /* font-family: Microsoft YaHei, Microsoft YaHei; */
    font-weight: 400;
    font-size: 14px;
    color: var(--font-color);
    line-height: 28px;
    text-align: left;
    padding-bottom: 34px;
}

#footerContainer .footer-container .f-col .t-detail.email {
    padding-bottom: 0;
    border-bottom: 1px solid #ffffff;
    margin-bottom: 34px;
}

#footerContainer .footer-container .f-col .t-detail.mobile {
    /* font-family: Archivo, Archivo; */
    font-weight: bold;
    font-size: 20px;
    color: var(--font-color);
    line-height: 20px;
    padding-bottom: 5px;
}

#footerContainer .footer-container .f-col .t-detail.mobile-tip {
    padding-bottom: 0;
}

#footerContainer .footer-container .f-col .f-nav-list {
    display: flex;
    flex-flow: column;
}

#footerContainer .footer-container .f-col .f-nav-list .f-nav {
    color: var(--font-color);
    padding-left: 18px;
    margin-bottom: 22px;
    position: relative;
}

#footerContainer .footer-container .f-col .f-nav-list .f-nav::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--font-color);
    border-radius: 3px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

#footerContainer .footer-container .f-col .contact-wrapper {
    display: flex;
    align-items: flex-start;
    padding-bottom: 27px;
}

#footerContainer .footer-container .f-col .contact-wrapper img {
    width: 46px;
    margin-right: 22px;
}

#footerContainer .footer-container .f-col .contact-wrapper .t-title {
    /* font-family: Microsoft YaHei, Microsoft YaHei; */
    font-weight: bold;
    font-size: 16px;
    color: #333333;
    line-height: 16px;
    padding-bottom: 10px;
}

#footerContainer .footer-container .f-col .contact-wrapper .t-txt {
    /* font-family: Archivo, Archivo; */
    font-weight: 400;
    font-size: 14px;
    color: #333333;
    line-height: 20px;
}

.social-btns {
    display: flex;
    align-items: center;
    padding-top: 18px;
}

.social-btn {
    width: 44px;
    height: 44px;
}

.ig-btn {
    margin-left: 12px;
}


#copyright,
#copyright a {
    /* font-family: Microsoft YaHei, Microsoft YaHei; */
    font-weight: 400;
    font-size: 14px;
    color: #E73724;
    line-height: 20px;
    text-align: center;
}

body {
    box-sizing: border-box;
}

.header {
    display: none;
}

.nav-modal {
    display: none;
}

@keyframes shake-vertical {

    0%,
    100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-5px);
    }

    50% {
        transform: translateY(5px);
    }

    75% {
        transform: translateY(-5px);
    }
}

#footerContainer .blue-wrapper .txt-wrapper,
#footerContainer .black-wrapper .txt-wrapper {
    width: 90% !important;
    max-width: 1200px !important;
}

.base-right-btn {
    background-color: var(--main-color) !important;
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 20px !important;
    color: white !important;
    position: fixed;
    z-index: 98;
}

#all-whatsapp {
    bottom: 130px;
}

#all-top {
    bottom: 70px;
    display: none;
}

#all-top.cur {
    display: flex !important;
}

.my-section {
    display: flex;
    justify-content: center;
}

.my-container {
    width: 1300px; padding:0px 15px;
}

/* 去除 Chrome, Safari, Opera 的上下箭头 */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 去除 Firefox 的上下箭头 */
input[type=number] {
    -moz-appearance: textfield;
}

.hidden {
    display: none;
}

.layui-progress-big {
    width: 76%;
}

.layui-progress-big， .layui-progress-big .layui-progress-bar {
    height: 19px;
}

.layui-progress-big .layui-progress-bar {
    background-color: var(--main-color);
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(231, 55, 36, 0.6);
    display: none;
    top: -100%;
    z-index: 10000;
    transition: top 0.3s ease;
  }

  .search-overlay.active {
    top: 0;
  }
  
  .search-modal {
    position: fixed;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 32px;
    display: none;
    z-index: 10001;
    border-radius: 16px;
    top: -100%;
    transition: top 0.5s ease;
  }

  .search-modal.active {
    top: 32%;
  }

  .search-modal .search-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
  }

  .search-modal .search-wrapper .input-wrapper {
    width: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #e6e6e6;
    border-radius: 18px;
  }

  .search-modal .search-wrapper input {
    width: 100%;
    height: 36px;
    border-radius: 8px;
    padding: 0 8px;
    border: none;
  }

  .search-modal .search-wrapper .search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--main-color);
    padding: 8px;
    border-radius: 16px;
    margin-left: 12px;
    min-width: 62px;
    cursor: pointer;
  }

  .search-modal .search-wrapper .search-btn .btn-txt {
    color: #ffffff;
    font-size: 16px;
  }

  .search-modal .search-wrapper .search-btn .right-arrow {
    width: 12px;
    margin-left: 8px;
  }
  
  
.pages {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    flex-wrap: wrap; /* 允許在小螢幕上換行 */
	margin-top:35px !important;
}

.pages a, .pages span {
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pages a:hover {
    background-color: var(--main-color);
}

.pages span {
    background-color: var(--main-color);
    color: white;
    border-color: var(--main-color);
}

.pages .a1 {
    /* 特殊樣式（如「上一頁」「下一頁」「3條」） */
    background-color: #f8f9fa;
}




/* 基础分页样式（保持原有ID和类名） */
#demo-laypage-theme-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    gap: 5px;
}

#demo-laypage-theme-1 a,
#demo-laypage-theme-1 span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    background: white;
}

/* 当前页样式 */
#demo-laypage-theme-1 span {
    background-color: #E73724;
    color: white;
    border-color: #E73724;
    font-weight: bold;
}

/* 上一页/下一页特殊样式 */
#demo-laypage-theme-1 .a1 {
    padding: 0 15px;
    background-color: #f7fafc;
}

/* 数量统计样式 */
#demo-laypage-theme-1 a:first-child.a1 {
    border: none;
    background: transparent;
    color: #666;
    padding-right: 20px;
}

/* 悬停效果 */
#demo-laypage-theme-1 a:not(:first-child):hover {
    background-color: #ebf8ff;
    border-color: #90cdf4;
    color:#E73724;
}

/* 移动端适配 */
@media (max-width: 768px) {
    #demo-laypage-theme-1 {
        gap: 3px;
    }
    
    #demo-laypage-theme-1 a,
    #demo-laypage-theme-1 span {
        min-width: 30px;
        height: 30px;
        padding: 0 8px;
        font-size: 13px;
    }
    
    #demo-laypage-theme-1 .a1 {
        padding: 0 10px;
    }
    
    #demo-laypage-theme-1 a:first-child.a1 {
        display: none; /* 手机端隐藏数量统计 */
    }
}

/* 保持原有动画 */
.wow.fadeInUp {
    animation: fadeInUp 0.5s;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}





/* 手機端優化（螢幕寬度小於 600px 時） */
@media (max-width: 650px) {
    .pages {
        gap: 5px; /* 減少間距 */
    }
    .pages a, .pages span {
        padding: 6px 10px; /* 縮小按鈕 */
        font-size: 14px; /* 字體稍小 */
    }
}