/* 基礎樣式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 變數定義 */
:root {
    --primary-color: #ff7946;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe066;
    --dark-color: #2c2c2c;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --gradient-bg: linear-gradient(135deg, #ff7946 0%, #ff7946 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* 基礎樣式 */
body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* 按鈕樣式 */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    text-align: center;
}

.btn.primary {
    background: var(--gradient-bg);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn.secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn.full-width {
    width: 100%;
}

/* 導航欄 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo h2 {
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 24px;
}

/* Logo 圖片樣式 */
.nav-logo-link {
    display: inline-flex;
    align-items: center;
    height: 70px;
}

.logo-img {
    display: block;
    height: 20px;
    max-height: 40px;
    width: auto;
}

.footer-logo .logo-img {
    height: 20px;
    max-height: 20px;
    margin-bottom: 12px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-bg);
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* 主要展示區 */
.hero {
    min-height: 50vh;
    background: linear-gradient(135deg, rgba(255, 121, 70, 0.1) 0%, rgba(255, 121, 70, 0.1) 100%);
    align-items: center;
    padding-top: 70px;
}

.hero-content {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 10px 30px;
}

/* 首頁產品圖片輪播 */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-slider .slides {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background: var(--white);
    min-height: 550px;
    aspect-ratio: 4 / 3;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    object-fit: cover;
    background: var(--light-color);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-slider .slide.active {
    opacity: 1;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    box-shadow: var(--shadow);
    cursor: pointer;
    z-index: 2;
}

.slider-arrow.prev { left: 10px; }
.slider-arrow.next { right: 10px; }

.slider-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
}

.slider-dots .dot.active {
    background: var(--primary-color);
    transform: scale(1.1);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.product-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
}

.product-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.product-image-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
}

.product-image-placeholder.large {
    width: 400px;
    height: 400px;
    border-radius: var(--border-radius);
}

.product-image-placeholder.large i {
    font-size: 6rem;
}

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

/* 區段標題 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



/* 王牌產品展示 */
.featured-products {
    padding: 50px 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.product-image:hover {
    transform: scale(1.05);
}

/* 查看更多按鈕 */
.view-more-section {
    text-align: center;
    margin-top: 40px;
    padding: 30px 0;
}

.view-more-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8f6b 100%);
    color: var(--white);
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.view-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.view-more-btn:hover::before {
    left: 100%;
}

.view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 121, 70, 0.3);
    background: linear-gradient(135deg, #ff8f6b 0%, var(--primary-color) 100%);
}

.view-more-btn i {
    font-size: 1rem;
    transition: var(--transition);
}

.view-more-btn:hover i {
    transform: translateX(3px);
}







/* 品牌故事 */
.about {
    padding: 50px 0;
    background: var(--white);
}

.about-hero {
    display: block;
    text-align: center;
    margin-bottom: 40px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-desc {
    color: var(--text-light);
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.about-contact-left {
    background: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: fit-content;
}

.about-contact-left h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.contact-info-item {
    margin-bottom: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-info-item strong {
    display: block;
    color: var(--dark-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-info-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-item a:hover {
    text-decoration: underline;
    color: var(--dark-color);
}

.about-description-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.brand-story-chinese {
    padding: 25px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
    text-align: justify;
}

.brand-story-english {
    padding: 25px;
    background: rgba(255, 121, 70, 0.05);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
    text-align: justify;
}

.brand-story-english h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}
.brand-story-chinese h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.brand-story-chinese p,
.brand-story-english p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
    text-justify: inter-ideograph;
}

.brand-story-chinese p:last-child,
.brand-story-english p:last-child {
    margin-bottom: 0;
}

/* 產品保用條款 */
.warranty {
    padding: 50px 0;
    background: var(--light-color);
}

.warranty-content {
    max-width: 1000px;
    margin: 0 auto;
}

.warranty-intro {
    margin-bottom: 40px;
}

.warranty-highlight {
    background: linear-gradient(135deg, rgba(255, 121, 70, 0.1), rgba(255, 121, 70, 0.05));
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.warranty-highlight h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.warranty-highlight h3 i {
    font-size: 2rem;
}

.warranty-highlight p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0;
}

.warranty-sections {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.warranty-section {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.warranty-section:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.warranty-section h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid rgba(255, 121, 70, 0.2);
    padding-bottom: 10px;
}

.warranty-section h4 i {
    font-size: 1.2rem;
}

.warranty-section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

.warranty-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.warranty-section li {
    position: relative;
    padding: 10px 0 10px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    line-height: 1.7;
    color: var(--text-color);
    text-align: justify;
    text-justify: inter-ideograph;
}

.warranty-section li:last-child {
    border-bottom: none;
}

.warranty-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.warranty-section li strong {
    color: var(--primary-color);
    font-weight: 600;
}

.warranty-notice {
    background: linear-gradient(135deg, rgba(255, 121, 70, 0.08), rgba(255, 121, 70, 0.03));
    border-left: 4px solid var(--primary-color);
}

.warranty-notice h4 {
    color: var(--dark-color);
}

/* 重要提示星號列表 */
.important-notices {
    margin-top: 20px;
}

.notice-item {
    margin-bottom: 12px;
    padding: 8px 0;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 0.95rem;
    text-align: justify;
    text-justify: inter-ideograph;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.notice-item:last-child {
    margin-bottom: 0;
}

.notice-item .star {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.warranty-footer {
    margin-top: 30px;
}

.warranty-contact {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 2px solid rgba(255, 121, 70, 0.2);
}

.warranty-contact h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.warranty-contact p {
    margin-bottom: 12px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.warranty-contact p:last-child {
    margin-bottom: 0;
}

.warranty-contact i {
    color: var(--primary-color);
    width: 20px;
    font-size: 1.1rem;
}

.warranty-contact a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.warranty-contact a:hover {
    color: var(--dark-color);
    text-decoration: underline;
}

.warranty-contact strong {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* 聯絡資訊 */
.contact {
    padding: 50px 0;
    background: var(--white);
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}



/* 頁腳 */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #aaa;
}

.footer-links h4,
.footer-support h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul,
.footer-support ul {
    list-style: none;
}

.footer-links li,
.footer-support li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-support a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-support a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #aaa;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        padding: 10px 10px 30px;
    }

    .hero-slider {
        max-width: 100%;
    }

    .hero-slider .slides {
        min-height: 400px;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-contact-left {
        order: 2;
    }
    
     .about-description-right {
         order: 1;
     }
     
     .warranty-contact p {
         flex-direction: column;
         gap: 5px;
     }
     
     .warranty-highlight h3 {
         flex-direction: column;
         gap: 8px;
         font-size: 1.6rem;
     }
     
     .view-more-section {
         margin-top: 35px;
         padding: 25px 20px;
     }
     
     .view-more-btn {
         padding: 15px 28px;
         font-size: 1.05rem;
     }
     
     .notice-item {
         font-size: 0.9rem;
         padding: 6px 0;
         margin-bottom: 10px;
     }
     
     .notice-item .star {
         font-size: 1rem;
     }



    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .product-image-placeholder {
        width: 250px;
        height: 250px;
    }

    .product-image-placeholder.large {
        width: 300px;
        height: 300px;
    }

    .product-image-placeholder i {
        font-size: 3rem;
    }

    .product-image-placeholder.large i {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content {
        padding: 10px 10px 30px;
    }

    .hero-slider .slides {
        min-height: 260px;
    }

    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }



    .feature-card {
        padding: 30px 20px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-image-placeholder {
        width: 200px;
        height: 200px;
    }

     .product-image-placeholder.large {
         width: 250px;
         height: 250px;
     }
     
     .warranty-highlight {
         padding: 20px;
     }
     
     .warranty-highlight h3 {
         font-size: 1.4rem;
     }
     
     .warranty-section {
         padding: 20px;
         margin: 10px;
     }
     
     .warranty-section h4 {
         font-size: 1.2rem;
     }
     
     .warranty-contact {
         padding: 20px;
         margin: 10px;
     }
     
     .warranty-contact h4 {
         font-size: 1.3rem;
     }
     
     .view-more-section {
         margin-top: 30px;
         padding: 20px 15px;
     }
     
     .view-more-btn {
         padding: 14px 24px;
         font-size: 1rem;
         width: 100%;
         max-width: 300px;
         justify-content: center;
     }
     
     .notice-item {
         font-size: 0.85rem;
         padding: 5px 0;
         margin-bottom: 8px;
         gap: 6px;
     }
     
     .notice-item .star {
         font-size: 0.95rem;
     }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滾動條樣式 */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-bg);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
