/* ===== CSS Variables ===== */
:root {
    --primary-color: #1B7965;
    --secondary-color: #4CAF50;
    --accent-yellow: #FFD700;
    --accent-pink: #FF69B4;
    --accent-blue: #4A90E2;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    --font-primary: 'M PLUS Rounded 1c', 'Noto Sans TC', sans-serif;
    --font-secondary: 'Noto Sans TC', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-white);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 50px;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex !important;
    align-items: center;
    visibility: visible;
    opacity: 1;
}

.company-name-zh {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
    line-height: 1.2;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    color: var(--text-dark);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    padding: 80px 20px 40px;  /* 進一步減少上下內距 */
    background: linear-gradient(135deg, #e0f7f4 0%, #fff9e6 100%);
    position: relative;
    overflow: hidden;
    min-height: 60vh;  /* 進一步減少最小高度 */
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;  /* 從80px減少到60px */
    align-items: center;
    padding: 20px 0;  /* 添加上下內距 */
}

/* 桌面版默認就是並排 */

.hero-text {
    order: 1; /* 確保文字在左側 */
}

.hero-image {
    order: 2; /* 確保圖片在右側 */
}

.hero-text h1 {
    font-family: var(--font-primary);
    font-size: 42px;  /* 從48px減小 */
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;  /* 從20px減少 */
    line-height: 1.2;
    text-align: left;
}

.hero-subtitle {
    font-size: 20px;  /* 從24px減小 */
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 12px;  /* 從15px減少 */
    text-align: left;
}

.hero-description {
    font-size: 16px;  /* 從18px減小 */
    color: var(--text-light);
    margin-bottom: 20px;  /* 從30px減少 */
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* 強制桌面版並排顯示 - 重要！ */
@media (min-width: 1024px) {
    .hero-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 80px !important;
    }
    
    .hero-text {
        text-align: left !important;
        padding-right: 20px !important;
    }
    
    .hero-image {
        text-align: right !important;
    }
    
    .hero-title {
        text-align: left !important;
    }
    
    .hero-subtitle {
        text-align: left !important;
    }
    
    .hero-description {
        text-align: left !important;
    }
    
    .hero-buttons {
        justify-content: flex-start !important;
    }
}

.btn {
    display: inline-block;
    padding: 12px 28px;  /* 從15px 35px減小 */
    border-radius: 40px;  /* 從50px減小 */
    font-family: var(--font-primary);
    font-weight: 600;  /* 從700減小 */
    font-size: 15px;  /* 從16px減小 */
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(27, 121, 101, 0.3);
}

.btn-primary:hover {
    background: #156854;
    transform: translateY(-1px);  /* 從-2px減少 */
    box-shadow: 0 4px 15px rgba(27, 121, 101, 0.4);  /* 減少陰影 */
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);  /* 從-2px減少 */
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    max-width: 100%;
    height: auto;
}

.hero-image img:hover {
    transform: scale(1.02) rotate(1deg);
}

/* 桌面版優化 - 並排顯示 */
@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
    
    .hero-text {
        text-align: left;
        padding-right: 20px;
    }
    
    .hero-image {
        text-align: right;
    }
    
    .hero-title {
        font-size: 52px;
        text-align: left;
    }
    
    .hero-subtitle {
        font-size: 26px;
        text-align: left;
    }
    
    .hero-description {
        font-size: 20px;
        text-align: left;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
}

/* 平板版適配 */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .hero-title {
        font-size: 42px;
        text-align: left;
    }
    
    .hero-subtitle {
        font-size: 22px;
        text-align: left;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
}

/* 手機版保持垂直佈局 */
@media (max-width: 767px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-image {
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 20px;
        text-align: center;
    }
    
    .hero-description {
        font-size: 16px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

.floating-icon {
    position: absolute;
    font-size: 40px;
    color: var(--primary-color);
    opacity: 0.2;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===== Section Titles ===== */
.section-title {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 900;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}



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

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

/* ===== About Section - 長方形橫向設計 ===== */
.about {
    padding: 60px 0;
    background: var(--bg-light);
}

/* 新版長方形區塊設計 - 左右 50:50 */
.about-box {
    max-width: 1200px;
    margin: 40px auto 0;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
}

.about-left {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-intro {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-left p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.about-left p:last-child {
    margin-bottom: 0;
}

/* 右側三個圖標橫向排列 */
.about-right {
    padding: 50px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 30px;
}

.feature-col {
    flex: 1;
    text-align: center;
    transition: var(--transition);
}

.feature-col:hover {
    transform: translateY(-5px);
}

.feature-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(27, 121, 101, 0.15);
}

.feature-col:hover .feature-icon-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(27, 121, 101, 0.25);
}

.feature-icon-circle i {
    font-size: 36px;
    color: white;
}

.feature-col h4 {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-col p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* 舊版樣式保留 */
.about-feature-card {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

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

.feature-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(27, 121, 101, 0.1);
    transition: var(--transition);
}

.about-feature-card:hover .feature-icon-large {
    box-shadow: 0 8px 25px rgba(27, 121, 101, 0.2);
    transform: scale(1.1);
}

.feature-icon-large i {
    font-size: 48px;
    color: var(--primary-color);
}

.about-feature-card h4 {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.about-feature-card p {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* 保持舊的 CSS 類名以防某些地方還在使用 */
.about-content {
    max-width: 1200px;
    margin: 40px auto 0;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
    padding: 60px;
}

.about-text {
    padding-right: 40px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-item i {
    font-size: 56px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}



/* 桌面版優化 */
@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-box {
        grid-template-columns: 1fr 1fr;
    }
}

/* 平板和手機版 */
/* 平板和手機版 (768px 以下改為單列) */
@media (max-width: 768px) {
    /* Hero 區塊手機版優化 - 移除最小高度限制 */
    .hero {
        min-height: auto;  /* 移除 60vh 的限制 */
        padding: 60px 20px 30px;  /* 減少下方 padding */
    }
    
    .about-content {
        grid-template-columns: 1fr;
        padding: 40px 30px;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .about-features {
        padding-left: 0;
        gap: 25px;
    }
    
    .feature-item i {
        font-size: 48px;
    }
    
    /* 新版響應式 - 只修正空白問題 */
    .about {
        padding: 40px 0;  /* 減少 section 的上下 padding */
    }
    
    .about-box {
        grid-template-columns: 1fr;
        margin: 20px 15px 0;  /* 減少左右邊距 */
    }
    
    .about-left {
        padding: 25px 20px 15px;  /* 大幅減少 padding */
    }
    
    .about-right {
        padding: 15px 20px 25px;  /* 大幅減少 padding */
        min-height: auto;  /* 移除可能的最小高度 */
        align-items: flex-start;  /* 改為頂部對齊，避免垂直居中造成空白 */
    }
    
    /* 保持原有的圖標排版，不改變 */
    .about-feature-horizontal {
        flex-direction: column;
        gap: 30px;
    }
    
    .feature-icon-circle {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon-circle i {
        font-size: 32px;
    }
    
    .feature-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .feature-icon-large i {
        font-size: 40px;
    }
    
    /* 聯絡區塊手機版也改為單列 */
    .contact-content {
        grid-template-columns: 1fr;
    }
}











/* ===== Products Section ===== */
.products {
    padding: 60px 20px;
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    max-width: 260px;
    max-height: 260px;
}

/* Image Gallery Styles */
.product-image-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-images {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 280px;
    max-height: 280px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.gallery-image.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(27, 121, 101, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gallery-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

.gallery-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(27, 121, 101, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.indicator:hover {
    background: rgba(27, 121, 101, 0.6);
}

.indicator.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 5px;
}

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

.product-info {
    padding: 25px;
}

.product-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-pink);
    margin-bottom: 15px;
}

.product-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.subject-tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.product-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.product-features {
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.8;
}

/* ===== Values Section ===== */
.values {
    padding: 60px 20px;
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(27, 121, 101, 0.1) 0%, transparent 70%);
    transition: var(--transition);
    transform: scale(0);
}

.value-card:hover::before {
    transform: scale(1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: rotate(360deg);
}

.value-icon i {
    font-size: 35px;
    color: white;
}

.value-card h3 {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-card p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===== Contact Section - 簡化版 ===== */
.contact {
    padding: 60px 20px;
    background: white;
}

.contact-content {
    max-width: 1200px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(27, 121, 101, 0.1) 0%, rgba(27, 121, 101, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 40px;
    color: var(--primary-color);
}

.whatsapp-card .contact-icon {
    background: rgba(255, 255, 255, 0.2);
}

.whatsapp-card .contact-icon i {
    color: white;
}

.contact-card h3 {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-card p,
.contact-card a {
    font-size: 18px;
    color: var(--text-dark);
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.contact-card a:hover {
    color: #156854;
}

.whatsapp-card {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-color: #25D366;
}

.whatsapp-card i,
.whatsapp-card h3 {
    color: white;
}

.email-card {
    background: white;
    border: 2px solid var(--bg-light);
}

.email-card i {
    color: var(--primary-color);
}

.whatsapp-card .btn-whatsapp {
    background: white;
    color: #25D366;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    margin-top: 10px;
    min-height: 60px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.whatsapp-card .btn-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.whatsapp-btn-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
}

/* 移除舊的 whatsapp-logo 類 */
.whatsapp-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* ===== Footer - 橫向三行設計 ===== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 20px 20px;
}

.footer-row {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-row:last-of-type {
    border-bottom: none;
}

/* 第一行：Logo 和公司名 */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-logo span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* 第二行：快速連結 */
.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* 第三行：聯絡資訊 */
.footer-contact {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .logo-text {
        display: none !important;
    }
    
    .logo {
        gap: 10px;
    }
}

/* 確保桌面版一定顯示 */
@media (min-width: 969px) {
    .logo-text {
        display: flex !important;
    }
    
    .company-name-zh {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}