@font-face {
    font-family: myFont;
    src: url('../fonts/RZ Regular.ttf');
}
html,
.uk-h1,
.uk-h2,
.uk-h3,
.uk-h4,
.uk-h5,
.uk-h6,
.uk-heading-2xlarge,
.uk-heading-large,
.uk-heading-medium,
.uk-heading-small,
.uk-heading-xlarge,
.uk-button,
.uk-navbar-nav>li>a,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
a,
span {
    font-family: myFont!important; letter-spacing:1px;
}

body {
    margin: 0 auto;
    min-width: 1400px;
    background: #1d160e;
}

html {
    scroll-behavior: smooth;
}

.uk-font-01 {
    font-family: myFont!important;
}

.my-radius {
    border-radius: 15px;
}

.my-radius2 {
    border-radius: 50px;
}

.my-radius3 {
    border-radius: 30px;
}

.z_download {
    width: 640px;
    line-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c5bb46;
    color: white;
    font-size: 3.2rem;
    text-decoration: none;
    font-weight: bold;
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
    border: solid 6px #FFF;
    font-family: myFont !important;
}

.z_download:hover {
    background: #918934;
    color: white;
    text-decoration: none;
}

.uk-navbar-nav {
    gap: 0
}
.uk-text-white{ color: white;}
.uk-navbar-nav>li {
    border-right: solid 1px hsl(37, 6%, 28%);
    padding: 10px 20px;
}

.uk-navbar-nav>li>a {
    color: #FFF;
    font-family: myFont !important;
    font-size: 0.825rem;
}

.uk-navbar-nav>li>a:hover {
    color: hsl(0, 0%, 73%);
}

.uk-navbar-nav>li:first-child {
    border-left: solid 1px hsl(37, 6%, 28%);
}

.uk-tab>*>a {
    width: 200px;
    height: 80px;
    background: #4a6b30;
    display: flex;
    align-items: center;
    column-gap: .25em;
    justify-content: center;
    padding: 5px 10px;
    color: #FFF;
    border-bottom: 1px solid transparent;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all .1s ease-in-out
}
.uk-tab>*>a:hover{ background: #6d9e48;
    border: none;
    color: #FFF; }
.uk-tab::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 0;
    border-bottom: none;
}

.uk-tab>.uk-active>a {
    background: #6d9e48;
    border: none;
    color: #FFF;
}

.x-slider-btn {
    display: block;
    width: 180px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    background: url(../img/g_slide_btn.svg) center/contain no-repeat;
    transform: rotate(90deg) skewX(0deg);
    /* 旋转元素以显示背景图像 */
    transform-origin: center center;
    /* 设置旋转的起点 */
    color: #FFF;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
    font-family: myFont !important; letter-spacing: 1px;
}

.x-slider-btn:hover {
    text-decoration: none;
    background: url(../img/g_tab_active.svg) center/contain no-repeat;
    transform: rotate(90deg) skewX(0deg);
    /* 旋转元素以显示背景图像 */
    transform-origin: center center;
    /* 设置旋转的起点 */
    color: #FFF;
}

.uk-slider .x-slider-btn:first-of-type {
    transform: rotate(-90deg) skewX(0deg);
    /* 旋转元素以显示背景图像 */
}

.x-switcher-bg {
    background: url(../img/g_switcher_bg.svg) center 68% no-repeat;
    background-size: 70%;
}

.gm-bg {
    background: #324820;
}

.x-color {
    color: #d19844;
}


.info-btn {
    display: block;
    width: 220px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    margin: 0 auto;
    background: #4a6b30;
    color: #FFF;
    border: solid 4px #b38137;
    border-radius: 50px;
    padding: 0 30px;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.info-btn:hover {
    text-decoration: none;
    background: #416129;
    color: #FFF;
}

.x-modal-bg {
    background: #324820;
    border: solid 5px #b38137;
    border-radius: 15px;
    color: #FFF;
}

.x-modal-bg h1,
h2,
h3,
h4,
h5,
h6 {
    color: #FFF;
}

.x-modal-bg img {
    border: solid 3px #b38137;
    border-radius: 15px;
}

.x-close {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    background-color: #725223;
    color: #FFF;
    border: solid 4px #b38137;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.x-close:hover {
    background-color: #b38137;
}

/* 自定义滚动条样式 */


.uk-modal-body::-webkit-scrollbar {
    width: 10px;
}

.uk-modal-body::-webkit-scrollbar-track {
    background: #8a642b;
    border-radius: 10px;
}

.uk-modal-body::-webkit-scrollbar-thumb {
    background: #b38137;
    border-radius: 10px;
    border: solid 1px #8a642b;
}

.uk-modal-body::-webkit-scrollbar-thumb:hover {
    background: #f6e7d0;
}

.g-article {
    background: #152d0f;
    padding: 80px 120px;
}

.g-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.g-scrollbar::-webkit-scrollbar-track {
    background: #8a642b;
    border-radius: 10px;
}

.g-scrollbar::-webkit-scrollbar-thumb {
    background: #b38137;
    border-radius: 10px;
    border: solid 1px #8a642b;
}

.g-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #f6e7d0;
}
/* 百叶窗图片切换样式 */
.blinds-slider {
    position: relative;
    overflow: hidden;
}

.blinds-container {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: 1fr;
    height: 100%;
}

.blinds-container .imgitem {
    width: 100%;
    height: 100%;
    object-fit: cover;
    grid-column: 1 / -1;
    grid-row: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.blinds-container .imgitem.cur-img {
    opacity: 1;
}

/* 百叶窗动画 */
@keyframes blindOpen {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    100% {
        transform: scaleY(1);
        transform-origin: top;
    }
}

.blinds-container {
    animation: blindOpen 0.8s ease-out;
}

/* 按钮样式 */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.slider-controls button {
    background: #c5bb46;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-controls button:hover {
    background: #918934;
}

/* 百叶窗图片切换样式 */
.blinds-gallery {
    position: relative;
    margin-bottom: 30px;
}

.blinds-viewport {
    position: relative;
    border: 3px solid #c5bb46;
    border-radius: 10px;
    background: #1d160e;
    overflow: hidden;
    height: 450px;
}

.blinds-strip {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.blinds-item {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

/* 百叶窗效果 */
.blinds-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s ease;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.blinds-item.active::after {
    transform: scaleY(1);
}

/* 控制按钮样式 */
.blinds-controls {
    gap: 20px;
    margin-top: 20px;
}

.blinds-prev,
.blinds-next {
    background: #c5bb46;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.blinds-prev:hover,
.blinds-next:hover {
    background: #918934;
}
