/* CSS变量定义 */
/* :root {
    --primary-green: #1a4d2e;
    --secondary-green: #2d5a3d;
    --accent-gold: #e9c758;
    --accent-gold-light: #f0d080;
    --text-dark: #1a4d2e;
    --text-medium: #475569;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg-light: #f8fafc;
    --bg-lighter: #f1f5f9;
    --border-light: #f1f5f9;
    --shadow-light: rgba(26, 77, 46, 0.08);
    --shadow-medium: rgba(26, 77, 46, 0.15);
    --shadow-heavy: rgba(26, 77, 46, 0.3);
} */

body {
    background-color: #fff;
}

.small-logo {
    width: 80px;
    margin-left: -180px;
}

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

/* 輪播圖樣式 */
.hero-slider {
    position: relative;
    height: 93vh;
    max-height: 100vh;
    overflow: hidden;
}

.layui-carousel {
    width: 100%;
    height: 100%;
}

.layui-carousel .slide-1 {
    background-image: url('/assets/images/bg-4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.layui-carousel .slide-2 {
    background-image: url('/assets/images/bg-3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.layui-carousel .slide-3 {
    background-image: url('/assets/images/bg-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-text {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 30px;
    z-index: 2;
}

.slide-text h1 {
    font-size: 80px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 8px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 0.5s forwards;
}

.slide-text h2 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 4px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 0.5s forwards;
}

.slide-text p {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 0.7s forwards;
}

.slide-btn {
    display: inline-block;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 0.9s forwards;
}

.slide-btn:hover {
    background: #fff;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Layui輪播導航按鈕樣式 */
.layui-carousel-arrow {
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.layui-carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

/* Layui輪播指示器樣式 */
.layui-carousel-ind {
    bottom: 20px;
}

.layui-carousel-ind ul li {
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.layui-carousel-ind ul li.layui-this {
    background-color: #fff;
    border-color: #fff;
}

/* 暫停自動播放樣式 */
.pause-autoplay .layui-carousel-item {
    animation-play-state: paused;
}

.pause-autoplay .layui-carousel-ind ul li {
    animation-play-state: paused;
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 主題內容 */
.main-container {
    margin: 0 auto;
}

/* 通用樣式 */
.section-title {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
    padding: 0 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* 公司簡介區塊 */
.company-intro {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    padding: 0 30px;
    margin: 0 auto;
}

.intro-text h2 {
    font-size: 48px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.intro-text p {
    font-size: 20px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 40px;
    text-indent: 2em;
}

.intro-stats {
    display: flex;
    gap: 50px;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    display: block;
}

.intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 37, 24, 0.1);
}

/* 大LOGO展示區 */
.logo-showcase {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d5a3d 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.logo-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.logo-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.logo-content {
    margin-bottom: 50px;
}

.logo-image {
    margin-bottom: 30px;
}

.main-logo {
    width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.logo-image:hover .main-logo {
    transform: scale(1.05);
    opacity: 1;
}

.logo-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.logo-text-container {
    text-align: left;
}

.logo-main .logo-text {
    font-size: 120px;
    font-weight: 900;
    margin: 0;
    background: linear-gradient(45deg, #e9c758, #f0d080, #e9c758);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(233, 199, 88, 0.3);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.logo-subtitle {
    font-size: 18px;
    color: #cbd5e1;
    margin: 15px 0 0 0;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.logo-description {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 30px;
}

.description-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.description-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.description-item i {
    font-size: 24px;
    color: #e9c758;
}

.description-item p {
    font-size: 18px;
    color: #e2e8f0;
    margin: 0;
    opacity: 0.9;
    font-weight: 500;
}

.logo-visual {
    position: relative;
    height: 250px;
}

.logo-circle {
    width: 150px;
    height: 150px;
    border: 4px solid #e9c758;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(233, 199, 88, 0.1);
    animation: logoRotate 10s linear infinite;
    position: relative;
    overflow: hidden;
}

.logo-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    z-index: 2;
}

.logo-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border: 2px solid rgba(233, 199, 88, 0.3);
    border-radius: 50%;
    animation: logoPulse 4s ease-in-out infinite;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(233, 199, 88, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.dot-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.dot-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.dot-3 {
    bottom: 30%;
    left: 25%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 25px rgba(233, 199, 88, 0.5));
    }

    100% {
        filter: drop-shadow(0 0 50px rgba(233, 199, 88, 0.8));
    }
}

@keyframes logoRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes logoPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

/* 三大業務線介紹 */
.business-lines {
    padding: 100px 30px;
    max-width: 1400px;
    margin: 0 auto;
    background: white;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.business-card {
    background: white;
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 37, 24, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.business-card:hover::before {
    transform: scaleX(1);
}

.business-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 37, 24, 0.15);
}

.card-icon {
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
    color: white;
}

.card-icon svg {
    transition: all 0.3s ease;
}

.business-card:hover .card-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 37, 24, 0.3);
}

.business-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.business-card p {
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 18px;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.feature-tag {
    background: #f8fafc;
    color: var(--light-text);
    padding: 6px 15px;
    border-radius: 25px;
    font-size: 14px;
    border: 1px solid #e2e8f0;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    font-size: 16px;
}

.card-link:hover {
    color: var(--accent-color);
}

/* 產品展示區 */
.featured-products {
    padding: 80px 30px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 60px auto;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 37, 24, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.product-card:hover {
    transform: translateY(-8px);
    /* box-shadow: 0 25px 50px rgba(0, 37, 24, 0.15); */
}

.product-card .product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-detail {
    color: white;
    text-decoration: none;
    padding: 10px 30px;
    border: 2px solid white;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 16px;
}

.view-detail:hover {
    background: white;
    color: var(--primary-color);
}

.product-info {
    padding: 30px;
}

.product-info h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.product-info p {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 16px;
}

.product-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: var(--accent-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.view-all-products {
    text-align: center;
    margin-top: 50px;
}

.btn-view-all {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 50px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 37, 24, 0.3);
}

.btn-view-all:hover {
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 12px 25px rgba(0, 37, 24, 0.4);
}

/* 公司優勢區塊 */
.company-advantages {
    padding: 100px 30px;
    max-width: 1400px;
    margin: 0 auto;
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.advantage-item {
    text-align: center;
    padding: 40px 25px;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-8px);
}

.advantage-icon {
    width: 90px;
    height: 90px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    transition: all 0.3s ease;
}

.advantage-icon svg {
    transition: all 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(233, 199, 88, 0.3);
}

.advantage-item h4 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.advantage-item p {
    color: var(--light-text);
    line-height: 1.7;
    font-size: 16px;
}

/* Instagram 聯繫 */
.instagram-section {
    padding: 80px 0;
    background: white;
    margin-top: 50px;
}

.instagram-content {
    margin-top: 60px;
}

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

.instagram-intro p {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.instagram-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 37, 24, 0.2);
}

.instagram-btn:hover {
    background: linear-gradient(135deg, #2d5a3d, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 37, 24, 0.3);
    color: #fff;
}

.digital-books {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.digital-books a {
    background: white;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 37, 24, 0.1);
    transition: all 0.3s ease;
    max-width: 220px;
    border: 1px solid #f1f5f9;
}

.digital-book {
    transition: all 0.3s ease;
}

.digital-books a:hover {
    box-shadow: 0 15px 30px rgba(0, 37, 24, 0.15);
    transform: translateY(-5px);
}

.digital-book img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.digital-book h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary-color);
    margin: 20px;
    text-align: center;
}

/* 最新資訊 */
.news-preview {
    padding: 80px 30px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.news-section {
    padding: 80px 0;
}

.news-swiper-container {
    position: relative;
    max-width: 1200px;
    margin: 60px auto 0;

}

.news-swiper {
    padding: 20px 0;
    max-width: 1400px;
}

.swiper-slide {
    height: auto;
}

.news-card {
    cursor: pointer;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    box-shadow: 0 5px 15px rgba(0, 37, 24, 0.08);
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.news-content h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
    flex: 1;
}

.news-tags {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.news-more {
    text-align: center;
    margin-top: 50px;
}

.read-more-btn {
    display: inline-block;
    padding: 12px 40px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 37, 24, 0.2);
}

.read-more-btn:hover {
    background: linear-gradient(135deg, #2d5a3d, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 37, 24, 0.3);
    color: #fff;
}

/* Swiper導航按鈕樣式 */
.news-prev,
.news-next {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 37, 24, 0.1);
}

.news-next {
    right: -100px;
}

.news-prev {
    left: -100px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 37, 24, 0.2);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.news-pagination {
    display: none;
}

/* 響應式設計 */
@media (max-width: 1024px) {
    .news-swiper-container {
        max-width: 900px;
    }

    .news-image {
        height: 200px;
    }

    .news-content h3 {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .news-swiper-container {
        max-width: 600px;
        width: 100%;
        margin: 30px auto;
    }

    .news-swiper {
        padding: 0 20px 0px 20px;
    }

    .news-next,
    .news-prev {
        display: none;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }

    .news-image {
        height: 180px;
    }

    .news-content {
        padding: 20px;
    }

    .news-content h3 {
        font-size: 16px;
    }

    .news-pagination {
        display: block;
        bottom: -30px !important;
    }

    .news-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: var(--primary-color);
    }

    .read-more-btn {
        padding: 10px 40px;
        font-size: 16px;
    }

    .instagram-section {
        padding: 40px 20px;
        margin-top: 0;
    }

    .instagram-content {
        margin-top: 30px;
    }

    .instagram-intro {
        margin-bottom: 30px;
    }

    .digital-books {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .news-image {
        height: 160px;
    }

    .news-content {
        padding: 15px;
    }

    .news-content h3 {
        font-size: 14px;
    }
}

/* 響應式設計 */
@media (max-width: 1024px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 20px;
    }

    .logo-main .logo-text {
        font-size: 6rem;
    }

    .logo-main {
        flex-direction: column;
        gap: 20px;
    }

    .logo-description {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .business-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        padding: 0 20px;
        gap: 30px;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .company-intro,
    .logo-showcase,
    .business-lines,
    .featured-products,
    .company-advantages,
    .news-preview {
        padding: 60px 0;
    }

    .intro-stats {
        gap: 10px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 15px;
    }


    .logo-main .logo-text {
        font-size: 4rem;
    }

    .logo-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .logo-description {
        gap: 20px;
    }

    .description-item {
        padding: 15px 20px;
    }

    .products-grid,
    .news-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        margin-top: 40px;
        margin-bottom: 30px;
        gap: 30px;
    }

    .advantages-grid {
        gap: 20px;
    }

    .advantage-item {
        padding: 20px;
    }

    .product-info {
        padding: 20px 10px 0 10px;
    }

    .news-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }


    .layui-carousel .slide-1 {
        background-image: url('/assets/images/m-bg-4.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .layui-carousel .slide-2 {
        background-image: url('/assets/images/m-bg-3.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .layui-carousel .slide-3 {
        background-image: url('/assets/images/m-bg-2.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .intro-text h2 {
        font-size: 30px;
    }

    .section-title::after {
        width: 60px;
        bottom: -10px;
    }

    .intro-text p {
        font-size: 16px;
        text-align: left;
        width: 100%;
    }

    .intro-image img {
        height: 260px;
        width: 100%;
        border-radius: 5px;
    }

    .product-image {
        height: 260px;
    }

    .view-all-products {
        margin-top: 30px;
    }

    .btn-view-all {
        padding: 10px 40px;
        font-size: 16px;
    }

    .intro-text {
        width: 100%;
    }

    .intro-content {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 30px;
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .company-intro,
    .logo-showcase,
    .business-lines,
    .featured-products,
    .company-advantages,
    .news-preview {
        padding: 40px 0;
    }

    .logo-main .logo-text {
        font-size: 3rem;
    }

    .business-card,
    .product-card,
    .news-card {
        padding: 20px;
        box-shadow: 0 0 10px rgba(0, 37, 24, 0.08);
        border-radius: 10px;
    }

    .news-card {
        padding: 0;
        height: auto;
    }

    .card-icon,
    .advantage-icon {
        width: 60px;
        height: 60px;
    }

    .card-icon i,
    .advantage-icon i {
        font-size: 1.5rem;
    }
}

/* 額外動畫效果 */
.company-intro,
.logo-showcase,
.business-lines,
.featured-products,
.company-advantages,
.news-preview {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.company-intro.animate-in,
.logo-showcase.animate-in,
.business-lines.animate-in,
.featured-products.animate-in,
.company-advantages.animate-in,
.news-preview.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 載入狀態 */
body.loading {
    overflow: hidden;
}

body.loaded .company-intro {
    animation: slideInFromLeft 1s ease 0.2s forwards;
}

body.loaded .logo-showcase {
    animation: slideInFromRight 1s ease 0.4s forwards;
}

body.loaded .business-lines {
    animation: slideInFromBottom 1s ease 0.6s forwards;
}

body.loaded .featured-products {
    animation: slideInFromLeft 1s ease 0.8s forwards;
}

body.loaded .company-advantages {
    animation: slideInFromRight 1s ease 1s forwards;
}

body.loaded .news-preview {
    animation: slideInFromBottom 1s ease 1.2s forwards;
}

/* 滑入動畫 */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 懸停效果增強 */
.business-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.product-card:hover .product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(233, 199, 88, 0.1), rgba(240, 208, 128, 0.1));
    pointer-events: none;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(233, 199, 88, 0.3);
}

/* 統計數字特殊效果 */
.stat-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item:hover .stat-number {
    text-shadow: 0 0 20px rgba(0, 37, 24, 0.1);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 37, 24, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.stat-item:hover::before {
    width: 100px;
    height: 100px;
}

/* 滾動進度條 */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #e9c758, #f0d080);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* 響應式優化 */
@media (max-width: 768px) {

    .small-logo {
        margin-left: -10px;
        width: 50px;
        padding-top: 5px;
    }

    .intro-stats {
        justify-content: center;
    }

    .stat-item {
        min-width: 120px;
    }

    .logo-visual {
        height: 150px;
    }

    .logo-circle {
        width: 100px;
        height: 100px;
    }

    .logo-letter {
        font-size: 2.5rem;
    }
}

/* 打印樣式 */
@media print {

    .hero-slider,
    .scroll-progress-bar,
    .card-link,
    .view-detail,
    .btn-view-all {
        display: none !important;
    }

    .company-intro,
    .logo-showcase,
    .business-lines,
    .featured-products,
    .company-advantages,
    .news-preview {
        opacity: 1 !important;
        transform: none !important;
        page-break-inside: avoid;
    }
}


/* 移动端滑动优化 */
@media (max-width: 768px) {
    .layui-carousel {
        overflow: visible !important;
        /* 完全允許頁面滾動，不攔截任何觸摸事件 */
        touch-action: pan-y;
        pointer-events: none;
    }

    .layui-carousel-list {
        /* 允許垂直滾動 */
        touch-action: pan-y;
        pointer-events: none;
    }

    /* 輪播內容區域不攔截觸摸事件 */
    .layui-carousel-item {
        pointer-events: none;
    }

    /* 輪播文字和按鈕可以正常點擊 */
    .slide-text,
    .slide-btn,
    .layui-carousel-arrow,
    .layui-carousel-ind {
        pointer-events: auto;
    }

    /* 防止内容被裁剪 */
    .slide-content {
        padding-bottom: 20px;
    }
}

/* 悬停暂停动画 */
#heroCarousel.pause-autoplay .layui-carousel-list {
    animation-play-state: paused !important;
}

.big-logo {
    display: flex;
    justify-content: center;
    width: 140px;
    height: auto;
    margin: 0 auto;
}

.big-logo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.header-utils {
    justify-content: space-between;
    width: 100%;
}

.header {
    border: none;
    box-shadow: none;
}

.language-switcher {
    margin-left: 0;
}

.header-utils .contact-btn {
    display: flex;
}

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

.left-utils button {
    display: flex;
    align-items: center;
    width: auto;
    height: auto;
    gap: 10px;
}

.left-utils button .layui-icon {
    font-size: 16px;
    padding-top: 1px;
}

.left-utils button span {
    font-size: 16px;
}

.product-categories-section {
    padding: 30px 0;
}

.product-categories-section .container {
    max-width: 1400px;
}

.contact-section {
    padding: 70px 15px;
    /* background-image: url('/assets/images/bg-map.png');
    background-size: cover;
    background-position: center; */
}

.contact-section .big-logo {
    display: flex;
}

.contact-section .fashion__map {
    margin: 0 auto;
}

.country-list {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.country-item {
    border: 2px solid #cccccc;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px;
    transition: all 0.3s ease;
    /* width: calc(20% - 18px);
    max-width: 308px; */
    border-radius: 5px;
}

.country-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #387b63);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.country-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 37, 24, 0.12);
    border-color: rgba(0, 37, 24, 0.15);
}

.country-item:hover::before {
    transform: scaleX(1);
}

.country-item .country-image {
    width: 40px;
    height: auto;
}

.country-item .country-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.country-item .email-image {
    width: 28px;
    height: auto;
}

.country-item .email-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* .contact-info {
    max-width: 1400px;
    margin: 0 auto 30px;
    display: none;
} */

.contact-info p {
    font-size: 16px;
    text-align: center;
}

.contact-section .big-logo {
    width: 150px;
    margin-bottom: 30px;
}

.contact-section .section-title {
    width: 100%;
    font-size: 30px;

}

.news-preview,
.featured-products {
    background: #fff;
}

.products-grid {
    display: flex;
    gap: 20px;
    padding: 0 15px;
    justify-content: space-between;
}

.products-grid .product-card {
    width: calc(20% - 18px);
}

.product-card .product-image {
    height: 200px;
    padding: 10px;
    border: 1px solid #cccccc;
}

.product-card:hover .product-image::after {

    display: none;
}

.product-info {
    padding: 10px;
}

.product-info p {
    font-size: 14px;
    text-align: center;
    font-weight: 400;
    margin-bottom: 0;
    color: #333;
}

.product-card {
    border-radius: 5px;
    box-shadow: none;
    border: none;

}

/* .country-item:hover {
    opacity: 0.7;
} */

.main-container>.big-logo {
    display: none;
}

.news-swiper-container {
    max-width: 1400px;
}

.recommendation-swiper-container {
    max-width: 1400px;
    margin: 0 auto;
}

.test-menu {
    font-size: 16px;
    position: relative;
}

.test-menu ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 10px;
    width: 200px;
}

.test-menu ul li {
    list-style: none;
    padding: 10px 0;
}

.test-menu ul li a {
    text-decoration: none;
    color: #333;
}

@media screen and (max-width: 768px) {
    .header-utils .big-logo {
        display: none;
    }

    .main-container .big-logo {
        display: flex;
    }

    .country-item .country-image {
        width: 15%;
    }

    .country-item {
        width: calc(50% - 6px);
        padding: 7px;
    }

    .country-info {
        font-size: 10px;
        text-decoration: underline;
    }

    .country-item .email-image {
        width: 16px;
    }

    .country-list {
        gap: 10px;
        justify-content: space-between;
    }

    .products-grid {
        flex-wrap: wrap;
    }

    .products-grid .product-card {
        width: calc(50% - 10px);
        padding: 0;
    }

    .big-logo {
        width: 160px;
    }
}

/* 產品推薦輪播樣式 */
.product-recommendation-section {
    padding: 80px 0;
    background: #fff;
}

.recommendation-swiper-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.recommendation-swiper {
    padding: 20px 0;
    max-width: 1400px;
}

.recommendation-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); */
    border-color: #e0e0e0;
}

.star-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #ffd700;
    z-index: 2;
    transition: all 0.3s ease;
}

.recommendation-card:hover .star-icon {
    transform: scale(1.1);
    color: #ffed4e;
}

.recommendation-image {
    width: 100%;
    height: 200px;
    /* border-radius: 8px; */
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.recommendation-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.recommendation-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.recommendation-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.recommendation-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
    flex: 1;
}

.recommendation-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.feature-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}


.more-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: #999;
    transition: all 0.3s ease;
}

.recommendation-card:hover .more-icon {
    color: #333;
    transform: translateX(3px);
}

.more-icon:hover{
    color: #fff !important;
}

/* Swiper導航按鈕樣式 */
.recommendation-next,
.recommendation-prev {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333;
    transition: all 0.3s ease;
}

.recommendation-next:hover,
.recommendation-prev:hover {
    /* background: #f8f9fa; */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.recommendation-next::after,
.recommendation-prev::after {
    font-size: 16px;
    font-weight: bold;
}

/* Swiper分頁器樣式 */
.recommendation-pagination {
    position: relative;
    margin-top: 30px;
}

.recommendation-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ddd;
    opacity: 1;
    transition: all 0.3s ease;
}

.recommendation-pagination .swiper-pagination-bullet-active {
    background: #333;
    transform: scale(1.2);
}

/* 響應式設計 */
@media screen and (max-width: 1024px) {
    .recommendation-swiper-container {
        padding: 0 10px;
    }

    .recommendation-card {
        padding: 15px;
    }

    .recommendation-image {
        height: 180px;
    }

    .recommendation-content h3 {
        font-size: 16px;
    }

    .recommendation-content p {
        font-size: 13px;
    }
}

@media screen and (max-width: 768px) {
    .product-recommendation-section {
        padding: 30px 0;
    }

    .recommendation-swiper-container {
        padding: 0 15px;
    }

    .recommendation-card {
        padding: 12px;
    }

    .recommendation-image {
        height: 280px;
        margin-bottom: 12px;
    }

    .recommendation-content {
        padding: 15px;
    }

    .recommendation-content h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .recommendation-content p {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .recommendation-features {
        gap: 4px;
        margin-bottom: 12px;
    }

    .feature-tag {
        font-size: 10px;
        padding: 3px 6px;
    }

    .recommendation-next,
    .recommendation-prev {
        width: 35px;
        height: 35px;
        display: none;
    }

    .recommendation-next::after,
    .recommendation-prev::after {
        font-size: 14px;
    }
}







.contact-section .section-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
}


.contact-section {
    padding: 70px 15px;
    /* background-image: url('/assets/images/bg-map.png');
    background-size: cover;
    background-position: center; */
}

.contact-section .big-logo {
    display: flex;
}

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

.contact-section .fashion__map {
    margin: 0 auto;
}

.country-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
    padding: 0;
}

.country-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0, 37, 24, 0.08);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 37, 24, 0.04);
    text-decoration: none;
    color: var(--text-color);
}

.country-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #387b63);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.country-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 37, 24, 0.12);
    border-color: rgba(0, 37, 24, 0.15);
}

.country-item:hover::before {
    transform: scaleX(1);
}

.country-item .country-image {
    width: 35px;
    height: auto;
    flex-shrink: 0;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-item .country-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.country-item .country-info {
    flex: 1;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.4;
    text-align: center;
}

.country-item .email-image {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-item .email-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.8);
}

.country-item:hover .email-image {
    opacity: 1;
    transform: scale(1.1);
}

.country-item:hover .email-image img {
    filter: brightness(1);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .contact-section {
        padding: 30px 15px;
    }

    .country-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
        justify-content: space-between;
        margin-top: 30px;
    }

    .country-item {
        padding: 16px;
        gap: 12px;
    }

    .country-item .country-image {
        width: 24px;
    }

    .country-item .country-info {
        font-size: 10px;
        text-decoration: underline;
        flex: auto;
        text-align: center;
    }

    .country-item .email-image {
        width: 15px;
        height: auto;
    }


    a.country-item {
        padding: 10px 7px;
        gap: 0;
        width: calc(50% - 6px);
        text-decoration: none;
    }
}