﻿@charset "UTF-8";

        /* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            font-family: 'Microsoft JhengHei', 'PingFang TC', 'Noto Sans TC', Arial, sans-serif;
            line-height: 1.7;
            color: #2c3e50;
            background-color: #f8f9fa;
            font-size: 16px;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header Styles */
        header {
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            color: white;
            padding: 3rem 0;
            text-align: center;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            position: relative;
        }
        
        header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grain" width="100" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="white" opacity="0.05"/><circle cx="30" cy="5" r="1" fill="white" opacity="0.03"/><circle cx="70" cy="15" r="1.2" fill="white" opacity="0.04"/></pattern></defs><rect width="100" height="20" fill="url(%23grain)"/></svg>');
            pointer-events: none;
        }
        
        h1 {
            font-size: 2.8rem;
            margin-bottom: 1rem;
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            position: relative;
            z-index: 1;
        }
        
        .subtitle {
            font-size: 1.3rem;
            opacity: 0.95;
            margin-bottom: 1.5rem;
            font-weight: 300;
            position: relative;
            z-index: 1;
        }
        
        .contact-info {
            background: rgba(255,255,255,0.15);
            backdrop-filter: blur(10px);
            padding: 1.5rem 2rem;
            border-radius: 15px;
            display: inline-block;
            margin-top: 1rem;
            border: 1px solid rgba(255,255,255,0.2);
            position: relative;
            z-index: 1;
        }
        
        .contact-info p {
            margin: 0.5rem 0;
            font-size: 1.15rem;
            font-weight: 500;
        }
        
        .contact-info .phone {
            font-size: 1.4rem;
            font-weight: bold;
            color: #ffd700;
        }
        
        /* Navigation */
        nav {
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .nav-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
        }
        
        .nav-links a {
            color: #1e3c72;
            text-decoration: none;
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            transition: all 0.3s ease;
        }
        
        .nav-links a:hover {
            background: #1e3c72;
            color: white;
            transform: translateY(-2px);
        }
        
        /* Main Content */
        main {
            padding: 4rem 0;
        }
        
        .section {
            background: white;
            margin: 3rem 0;
            padding: 3rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            border: 1px solid rgba(0,0,0,0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .section:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.12);
        }
        
        h2 {
            color: #1e3c72;
            font-size: 2.2rem;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 4px solid #2a5298;
            position: relative;
            font-weight: 700;
        }
        
        h2::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, #ff6b6b, #ee5a24);
            border-radius: 2px;
        }
        
        h3 {
            color: #2a5298;
            font-size: 1.6rem;
            margin: 2rem 0 1.2rem 0;
            font-weight: 600;
        }
        
        h4 {
            color: #1e3c72;
            font-size: 1.3rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }
        
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
            color: #34495e;
        }
        
        /* Services Grid */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2.5rem;
            margin: 3rem 0;
        }
        
        .service-card {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 2.5rem;
            border-radius: 15px;
            border-left: 6px solid #2a5298;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }
        
        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100px;
            height: 100px;
            background: linear-gradient(45deg, rgba(42,82,152,0.1), transparent);
            border-radius: 50%;
            transform: translate(30px, -30px);
        }
        
        .service-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 40px rgba(42,82,152,0.15);
            border-left-color: #ff6b6b;
        }
        
        .service-card h4 {
            font-size: 1.4rem;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .service-card ul {
            margin: 1.5rem 0;
            padding-left: 1.5rem;
        }
        
        .service-card li {
            margin: 0.8rem 0;
            color: #495057;
            position: relative;
        }
        
        .service-card li::marker {
            color: #2a5298;
        }
        
        /* Features Grid */
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
        
        .feature-item {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 2rem;
            border-radius: 15px;
            text-align: center;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }
        
        .feature-item::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        .feature-item:hover::before {
            opacity: 1;
        }
        
        .feature-item:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        
        .feature-item h4 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: white;
            position: relative;
            z-index: 1;
        }
        
        .feature-item p {
            color: rgba(255,255,255,0.9);
            position: relative;
            z-index: 1;
            margin-bottom: 0;
        }
        
        /* Special Info Boxes */
        .location-info {
            background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
            padding: 2.5rem;
            border-radius: 15px;
            border-left: 6px solid #28a745;
            position: relative;
        }
        
        .why-choose {
            background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
            padding: 2.5rem;
            border-radius: 15px;
            border-left: 6px solid #ffc107;
            position: relative;
        }
        
        /* Process Steps */
        .process-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
        
        .step-item {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            text-align: center;
            border: 2px solid #e9ecef;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .step-item:hover {
            border-color: #2a5298;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(42,82,152,0.15);
        }
        
        .step-number {
            background: linear-gradient(135deg, #2a5298, #1e3c72);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: bold;
            margin: 0 auto 1rem;
        }
        
        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
            color: white;
            text-align: center;
            padding: 4rem 2rem;
            border-radius: 20px;
            margin: 4rem 0;
            position: relative;
            overflow: hidden;
        }
        
        .cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
        }
        
        .cta-section h2 {
            color: white;
            border-bottom: 4px solid rgba(255,255,255,0.3);
            margin-bottom: 2rem;
            position: relative;
            z-index: 1;
        }
        
        .cta-section h2::after {
            background: rgba(255,255,255,0.5);
        }
        
        .cta-section p {
            position: relative;
            z-index: 1;
            margin-bottom: 0;
        }
        
        .cta-button {
            background: white;
            color: #ee5a24;
            padding: 1.2rem 2.5rem;
            border: none;
            border-radius: 50px;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.4s ease;
            text-decoration: none;
            display: inline-block;
            margin: 1.5rem 1rem;
            position: relative;
            z-index: 1;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .cta-button:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 10px 25px rgba(0,0,0,0.3);
            background: #f8f9fa;
        }
        
        /* Lists */
        ul {
            line-height: 1.8;
        }
        
        li {
            margin: 0.5rem 0;
            color: #495057;
        }
        
        /* Footer */
        footer {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: white;
            text-align: center;
            padding: 3rem 0;
            margin-top: 4rem;
        }
        
        footer h3 {
            color: #ecf0f1;
            margin-bottom: 2rem;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .footer-section h4 {
            color: #3498db;
            margin-bottom: 1rem;
        }
        
        .disclaimer {
            font-size: 0.9rem;
            opacity: 0.8;
            margin-top: 2rem;
            line-height: 1.6;
            background: rgba(0,0,0,0.2);
            padding: 2rem;
            border-radius: 10px;
            border-left: 4px solid #e74c3c;
        }
        
        .disclaimer p {
            margin-bottom: 0.5rem;
        }
        
        /* Responsive Design */
        @media (max-width: 1024px) {
            .container {
                padding: 0 15px;
            }
            
            .services-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }
        }
        
        @media (max-width: 768px) {
            h1 {
                font-size: 2.2rem;
            }
            
            h2 {
                font-size: 1.8rem;
            }
            
            .section {
                padding: 2rem;
                margin: 2rem 0;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .features {
                grid-template-columns: 1fr;
            }
            
            .nav-links {
                gap: 1rem;
            }
            
            .nav-links a {
                font-size: 0.9rem;
                padding: 0.4rem 0.8rem;
            }
            
            .contact-info {
                padding: 1rem 1.5rem;
            }
            
            .cta-section {
                padding: 3rem 1.5rem;
            }
            
            .cta-button {
                padding: 1rem 2rem;
                font-size: 1.1rem;
                margin: 1rem 0.5rem;
            }
        }
        
        @media (max-width: 480px) {
            h1 {
                font-size: 1.8rem;
            }
            
            .subtitle {
                font-size: 1.1rem;
            }
            
            .section {
                padding: 1.5rem;
            }
            
            .service-card {
                padding: 2rem;
            }
            
            .contact-info p {
                font-size: 1rem;
            }
            
            .contact-info .phone {
                font-size: 1.2rem;
            }
        }
        
        /* Accessibility */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
            
            html {
                scroll-behavior: auto;
            }
        }
        
        /* Focus styles for accessibility */
        a:focus, button:focus {
            outline: 2px solid #3498db;
            outline-offset: 2px;
        }
        
        /* Print styles */
        @media print {
            .cta-section, nav, footer {
                display: none;
            }
            
            body {
                font-size: 12pt;
                line-height: 1.4;
            }
            
            h1, h2, h3 {
                break-after: avoid;
            }
            
            .section {
                break-inside: avoid;
                box-shadow: none;
                border: 1px solid #ccc;
            }
        }

        /* 左圖右文區塊樣式特效 */
        .image-text-block {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            margin: 40px 0;
            background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            padding: 30px;
            gap: 40px;
        }
        .image-text-block.reverse {
            flex-direction: row-reverse;
        }
        .image-text-block .image-container {
            flex: 1;
            min-width: 300px;
            max-width: 50%;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }
        .image-text-block .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }
        .image-text-block .image-container:hover img {
            transform: scale(1.05);
        }
        .image-text-block .text-container {
            flex: 1;
            min-width: 300px;
            padding: 20px;
            box-sizing: border-box;
        }
        .image-text-block h3 {
            color: #1a365d;
            margin-top: 0;
            font-size: 1.2em;
            margin-bottom: 20px;
            padding-left: 0;
            border-left: none;
        }
        .image-text-block h3::before {
            display: none;
        }
        .image-text-block p {
            line-height: 1.8;
            font-size: 0.8em;
            margin-bottom: 20px;
        }
        .image-text-block .btn {
            display: inline-block;
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            font-size: 0.9em;
            color: white;
            padding: 12px 25px;
            border-radius: 5px;
            margin-top: 15px;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        .image-text-block .btn:hover {
            background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
            text-decoration: none;
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.15);
        }
        
        /* 新增：圖片說明文字樣式 */
        .image-caption {
            text-align: center;
            font-style: italic;
            color: #718096;
            margin-top: 10px;
            font-size: 0.6em;
            padding: 5px 10px;
            background-color: rgba(0,0,0,0.03);
            border-radius: 0 0 5px 5px;
        }
        
        /* 新增：圖片載入動畫 */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* 響應式設計 */
        @media (max-width: 768px) {
            .image-text-block {
                flex-direction: column;
                gap: 25px;
                padding: 20px;
            }
            
            .image-text-block.reverse {
                flex-direction: column;
            }
            
            .image-text-block .image-container,
            .image-text-block .text-container {
                min-width: 100%;
                max-width: 100%;
            }
            
            .image-text-block .image-container {
                max-height: 300px;
            }
            
            .image-text-block .text-container {
                padding: 15px 10px;
            }
        }

