@charset "utf-8";

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big,
cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd,
ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details,
embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section,
summary, time, mark, audio, video, hr {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	font-size: 100%;
	vertical-align: baseline;
}

body {
	color: #33383c;
    font-family: "微軟正黑體", "Microsoft JhengHei", Arial, "LiHei Pro", "新細明體", sans-serif;
	font-size: 18px;
    margin: 0 auto;
    max-width: 100%;
}

#news-content a, #events-content a {
    color: #33383c;
    text-decoration: none;
    display: block;
    padding: 15px 0;
}
#news-content a:hover, #events-content a:hover {
    background-color: #e5e5e5;
}
.box-page {
    margin-bottom: 5rem;
}
.pagination > li > a {
   border: 1px solid #33383c;
   border-radius: 0px!important;
}
.pagination, .page-link {
    color: #33383c;
}
.pagination .page-item.active .page-link {
    background: #33383c;
    border-color: #33383c;
    color: #fff;
}
.pagination .page-item.disabled .page-link {
    border-radius: 0 !important;
    background: transparent;
    color: #33383c;
    border-color: #33383c;
}
.pagination > li > a:hover {
    border: 1px solid #33383c;
    background: #33383c;
    color: #FFF;
}


.dealer-number{color:#9aa0ab;font-weight:500;font-size:1.75rem; margin-bottom: 1rem;}
.dealer-title{font-weight:600;font-size:1.35rem;margin:.35rem 0 .75rem}
.dealer-text{color:#6c757d}
.dealer-text a {
    color: #002365;
    text-decoration: none;
}

.box-contact-icon {
    border: 1px solid #33383c;
    padding: 7px 10px;
    margin-right: 15px;
    vertical-align: middle;
}
.box-contact-icon i .fa-map-location-dot {
    width: 36px;
}
.contact-form input, .contact-form textarea, .contact-form button {
    border-radius: 0;
}

.box-footer {
    color: #000;
}
.footer-item-logo {
    padding: 5rem 0;
    border-right: 1px solid #000;
    border-top: 1px solid #000;
}
.footer-item-link {
    padding: 5rem;
    border-right: 1px solid #000;
    border-top: 1px solid #000;
}

.footer-item-link h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: -10px;
}
.footer-item-link a {
    color: #000;
    line-height: 1.65rem;
}
.footer-item-link p {
    padding-bottom: 12px;
}

/*
.footer-item-link div p a {
    color: #000;
    line-height: 2.3rem;
}
.footer-item-link h3 {
    font-size: 1.25rem;
    font-weight: bold;
}
*/
.footer-item-saxo-lt {
    padding: 5rem;
    border-top: 1px solid #000;
}
.footer-item-saxo-lt h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: -10px;
}
.footer-item-saxo-lt a, .footer-item-saxo-rt a {
    color: #000;
    line-height: 1.65rem;
}
.footer-item-saxo-lt p, .footer-item-saxo-rt p {
    padding-bottom: 12px;
}
.footer-item-saxo-rt {
    padding: 5rem;
    border-top: 1px solid #000;
}
.footer-item-saxo-rt div p:first-child {
    margin-top: 10px;
}
.footer-item-copy {
    border-top: 1px solid #000;
}




/* 自定義動畫效果 */

@keyframes lineAnimation {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

@keyframes circleAnimation {
    0% {
        top: 50%;
        left: 50%;
    }
    100% {
        top: -30%;
        left: 95%;
    }
}

/* 社交圖標懸停效果 */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

/* 漸變按鈕懸停效果 */
.gradient-btn:hover {
    background: linear-gradient(45deg, #007bff 0%, #0056b3 100%) !important;
    color: white !important;
}

/* 頁尾連結懸停效果 */
.footer-link {
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #002365 !important;
}

/* 图片懒加载占位符 */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[data-src].loaded {
    opacity: 1;
}

/* 加載動畫 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column !important;
    }

    .social-icon {
        width: 28px !important;
        height: 28px !important;
    }

    .footer-item-copy .row {
        justify-content: center !important;
        text-align: center;
        gap: 1rem;
    }

    .footer-item-copy .row .col-auto {
        flex: 0 0 100%;
        text-align: center !important;
    }

    .footer-item-copy .row .col-auto img {
        margin: 0 auto;
        display: block;
    }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 确保图片路径正确 */
img {
    max-width: 100%;
    height: auto;
}

/* 卡片悬停效果 */
.artist-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* 按钮悬停效果增强 */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* 导航链接悬停效果 */
.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #002365 !important;
}

/* 确保字体加载 */
body {
    font-display: swap;
}

/* 侧边栏菜单样式 */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1,1,1, 0.25);
    backdrop-filter: blur(25px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-menu {
    position: fixed;
    top: 16px;
    bottom: 16px;
    left: 16px;
    width: 0;
    background-color: #f8f9fa;
    z-index: 9999;
    transition: width 0.3s ease;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
}

.sidebar-menu.active {
    width: 400px;
}

.sidebar-main {
    height: 100%;
}

.sidebar-header {
    padding: 10px 16px;
    flex: none;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.sidebar-close:hover {
    color: #666;
}

.sidebar-separator {
    height: 1px;
    background-color: #dee2e6;
    margin: 0 20px;
    flex: none;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav:hover .sidebar-link, .sidebar-nav:hover .sidebar-link .fa-chevron-right {
    color: #aaa;
}

.sidebar-item {
    margin: 0;
    opacity: 0; /* 初始状态设为透明，等待动画触发 */
}

/* 确保动画完成后保持可见并设置动画持续时间 */
.sidebar-item.animate__fadeIn {
    opacity: 1;
    animation-duration: 0.4s;
    animation-fill-mode: forwards; /* 确保动画结束后保持最终状态 */
}

/* 确保移除动画类后回到初始状态 */
.sidebar-item:not(.animate__fadeIn) {
    opacity: 0;
}

.menu-toggle.animate__flipOutX,
.menu-toggle.animate__flipInX,
.sidebar-close.animate__flipInX,
.sidebar-close.animate__flipOutX {
    animation-duration: 0.8s;
}

.sidebar-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 16px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    color: #333;
}

.sidebar-link:hover, .sidebar-link:hover .fa-chevron-right {
    color: #333 !important;
}

.sidebar-link span {
    flex: 1;
}

.sidebar-link i {
    font-size: 12px;
    color: #666;
}

/* 自定义滚动条 */
.sidebar-content::-webkit-scrollbar {
    width: 2px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 子菜单样式 */
.sidebar-submenu {
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1000;
}

.sidebar-submenu.active {
    display: block;
}

/* 子菜单头部样式 */
.sidebar-submenu-header {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    flex: none;
}

/* 子菜单内容样式 */
.sidebar-submenu .sidebar-nav {
    padding: 0;
}

.sidebar-submenu .sidebar-item {
    margin: 0;
    opacity: 0; /* 初始状态设为透明，等待动画触发 */
}

/* 确保子菜单动画完成后保持可见并设置动画持续时间 */
.sidebar-submenu .sidebar-item.animate__fadeInLeft {
    opacity: 1;
    animation-duration: 0.4s;
    animation-fill-mode: forwards;
}

/* 确保子菜单移除动画类后回到初始状态 */
.sidebar-submenu .sidebar-item:not(.animate__fadeInLeft) {
    opacity: 0;
}

.sidebar-submenu .sidebar-link {
    padding: 12px 20px;
    font-size: 14px;
    color: #666;
}

.sidebar-back {
    background: none;
    border: none;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.sidebar-back:hover {
    color: #666;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

/* 子菜单触发器样式 */
.sidebar-submenu-trigger {
    cursor: pointer;
}

/* 侧边栏响应式设计 */
@media (max-width: 768px) {
    .sidebar-menu {
        width: 0;
        left: 0;
    }

    .sidebar-menu.active {
        width: 100%;
    }
}

/* Swiper 自定义样式 */
.box-banner {
    height: 320px;
}

.banner-swiper {
    height: 100%;
}

.banner-swiper .swiper-slide {
    position: relative;
    height: 100%;
}

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

/* Banner Swiper 分页器样式 */
.banner-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.banner-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255,255,255,0.5);
    opacity: 1;
    margin: 0 5px;
    transition: background-color 0.3s ease;
}

.banner-pagination .swiper-pagination-bullet-active {
    background-color: rgba(255,255,255,1);
}

.banner-pagination .swiper-pagination-bullet:hover {
    background-color: rgba(255,255,255,0.8);
}

/* Banner Swiper 导航按钮样式 */
.banner-button-prev,
.banner-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-button-prev:hover,
.banner-button-next:hover {
    background-color: rgba(255,255,255,0.5);
}

.banner-button-prev::after,
.banner-button-next::after {
    font-size: 16px;
    color: white;
    font-weight: bold;
}

.banner-button-prev {
    left: 20px;
}

.banner-button-next {
    right: 20px;
}

/* News样式 */
.tab-btns {
    display: flex;
    margin-bottom: 20px;
}

.tab-btn {
    cursor: pointer;
    color: #33383c;
    border: 1px solid #33383c;
    padding: 5px 50px;
    font-size: 16px;
}

.tab-btn.active {
    cursor: default;
    background-color: #33383c;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content-item {
    color: #33383c;
    border-bottom: 1px solid #e5e5e5;
    overflow: hidden;
}

.tab-content-item,
.tab-content-item a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    padding-top: 2rem;
}

.tab-content-list {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.tab-content-list p {
    margin: 0;
}

.news-detail-card {
    background-color: #fff;
    border: 1px solid #e5e5e5;
    padding: 3rem 2.5rem;
    margin-bottom: 4rem;
}

.news-detail-category {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    background-color: #33383c;
    color: #fff;
    padding: 0.25rem 0.85rem;
    margin-bottom: 1rem;
}

.news-detail-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #33383c;
}

.news-detail-date {
    color: #6c757d;
    margin-top: 1rem;
}

.news-detail-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}


.grid-cell {
    border: 1px solid #e5e5e5;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    height: 100%;
    box-sizing: border-box;
}
/* Product 样式 */
.more-btn {
    display: inline-block;
    color: #444;
    border: 1px solid #444;
    padding: 10px 20px;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    margin-top: 100px;
}
.more-btn:hover {
    color: #fff;
    background-color: #444;
}

/* Product Swiper 样式 */
.product-swiper {
    position: relative;
}

.product-swiper .swiper-slide {
    height: auto;
    width: 80% !important;
}

/* Product Swiper 导航按钮样式 */
.product-button-prev,
.product-button-next {
    position: absolute;
    top: 50%;
    left: auto;
    width: 20px;
    height: 40px;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-button-prev:hover,
.product-button-next:hover {
    transform: scale(1.1);
}

.product-button-prev::after,
.product-button-next::after {
    font-size: 16px;
    color: #6c757d;
    font-weight: bold;
}

.product-button-prev {
    right: 40px;
}

.product-button-next {
    right: 10px;
}

/* 响应式 Swiper 样式 */
@media (max-width: 768px) {
    .tab-btns {
        justify-content: center;
    }

    .box-left-news,
    .box-right-video {
        padding-top: 2rem;
    }


    .banner-button-prev,
    .banner-button-next {
        width: 35px;
        height: 35px;
    }

    .banner-button-prev {
        left: 10px;
    }

    .banner-button-next {
        right: 10px;
    }

    .banner-pagination {
        bottom: 15px;
    }

    .banner-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }

    .product-swiper {
        padding: 0 40px;
    }

    .product-button-prev,
    .product-button-next {
        width: 35px;
        height: 35px;
    }

    .product-swiper .swiper-slide {
        width: 100% !important;
    }

    .product-swiper .swiper-slide img {
        width: 100%;
        height: auto;
    }

    .product-button-prev {
        left: 0;
    }

    .product-button-next {
        right: 0;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .box-left-news,
    .box-right-video {
        padding-top: 2rem;
    }
}

@media (max-width: 991.98px) {
    .grid-cell {
        aspect-ratio: auto;
    }
}

@media (max-width: 560px) {
    .product-swiper .swiper-slide {
        position: relative;
    }

    .product-swiper .swiper-slide .position-relative {
        position: static !important;
    }

    .product-button-prev,
    .product-button-next {
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background-color: rgba(0, 0, 0, 0.35);
        color: #fff;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        z-index: 20;
    }

    .product-button-prev::after,
    .product-button-next::after {
        color: #fff;
    }

    .product-button-prev {
        left: 12px;
        right: auto;
    }

    .product-button-next {
        right: 12px;
        left: auto;
    }
}

/* Artists Section */
.artists-section {
    position: relative;
    overflow: hidden;
}
.artists-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40vw;
    height: 40vw;
    transform: translate(-50%, -50%);
    background-color: #03328c;
    border-radius: 50%;
    animation: circleAnimation 3s ease-in-out infinite;
}

/* Artists Swiper */
.artists-swiper {
    padding: 0 10px;
}

.artists-swiper .swiper-slide {
    height: auto;
    width: 400px;
    position: relative;
    border: none;
    padding: 30px 0 80px 0;
}

.artist-item {
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.artist-item .artist-item-img {
    height: 530px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.artist-item:hover .artist-item-img {
    transform: scale(1.25);
}

.artist-item .artist-item-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
}

.artist-item .artist-item-text p {
    margin: 0;
    font-weight: 500;
    color: #fff;
    line-height: 2.5;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
}
/* Artists 页面响应式样式 */
@media (min-width: 1200px) {
    .artists-content .artist-item:nth-child(even) {
        top: 50px;
    }
}
@media (min-width: 576px) and (max-width: 767px) {
    .artists-content .artist-item:nth-child(even) {
        top: 50px;
    }
}

@media (min-width: 767px) and (max-width: 1199px) {
    .artists-content .artist-item:nth-child(3n+2) {
        top: 50px;
    }
}

/* Artists Swiper 响应式样式 */
@media (max-width: 575px) {
    .artists-swiper {
        padding: 0 5px;
    }

    .artists-swiper .artist-item {
        margin: 0 5px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .artists-swiper {
        padding: 0 15px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .artists-swiper {
        padding: 0 20px;
    }
}

@media (min-width: 992px) {
    .artists-swiper {
        padding: 0 30px;
    }
}

/* Artists Section 滚动动画样式 */
.artist-item {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.artist-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}


.box-dealers{
    padding: 2rem;
    margin-bottom: 5rem;
}


/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    .hd-logo {
        height: 50px;
    }
    .box-dealers{
        padding-top: 4rem;
    }
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .hd-logo {
        height: 56px;
    }
    .box-dealers{
        padding-top: 4rem;
    }
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    .hd-logo {
        height: 66px;
    }
    .hd-social {
        width: 40px; height: 40px; cursor: pointer;
    }
    .grid-cell{
        border-top:1px solid #e5e5e5;
        border-left:1px solid #e5e5e5;
        border-right:0;
        border-bottom:0;
        height:100%;
        aspect-ratio: auto;
    }
    .grid-first-row{ border-top:0 }   /* 第一列不畫上邊 */
    .grid-first-col{ border-left:0 }  /* 第一欄不畫左邊 */

    .box-dealers{
        padding: 4rem;
    }
}

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    .hd-logo {
        height: 76px;
    }
    .box-banner {
        height: 500px;
    }
    .box-left-news {
        padding: 4rem;
        border-right: 1px solid #e5e5e5;
    }
    .box-right-video {
        padding: 4rem;
    }
    .box-dealers{
        padding: 4rem;
    }
    .box-footer {
        padding: 0 4rem;
    }
}
/*xxl and up)*/
@media (min-width: 1400px) {
    .hd-logo {
        height: 80px;
    }
    .box-left-news {
        padding: 4rem 5rem;
        border-right: 1px solid #e5e5e5;
    }
    .box-right-video {
        padding: 4rem 5rem;
    }
    .box-dealers{
        padding: 4rem 5rem;
    }
    .box-footer {
        padding: 0 5rem;
    }
}
@media (min-width: 1560px) {
    .box-left-news {
        padding: 4rem 5.5rem;
        border-right: 1px solid #e5e5e5;
    }
    .box-right-video {
        padding: 4rem 5.5rem;
    }
    .box-dealers{
        padding: 4rem 5.5rem;
    }
    .box-footer {
        padding: 0 5.5rem;
    }
}
@media (min-width: 1800px) {

}
