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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #ffffff;
    font-weight: 400;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    color: #1a1a1a;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 35px;
    width: auto;
    transition: all 0.3s ease;
}

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

.header-contact .whatsapp-btn {
    background: #10b981;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.header-contact .whatsapp-btn:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.whatsapp-icon {
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    color: #1a1a1a;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2310b981" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></svg>');
    pointer-events: none;
}

.hero-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 60vh;
}

.hero-content {
    text-align: left;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #10b981;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #6b7280;
    line-height: 1.6;
}

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

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image img:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    display: inline-block;
    padding: 16px 24px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: auto;
    letter-spacing: 0.025em;
    text-align: center;
}

.cta-primary {
    background: #10b981;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.cta-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.cta-secondary {
    background: transparent;
    color: #10b981;
    border: 2px solid #10b981;
}

.cta-secondary:hover {
    background: #10b981;
    color: white;
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2310b981" fill-opacity="0.02"><circle cx="20" cy="20" r="1.5"/></g></svg>');
    pointer-events: none;
}

.services h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.services-description {
    text-align: center;
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(16, 185, 129, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 600;
}

.service-card p {
    margin-bottom: 2rem;
    color: #6b7280;
    line-height: 1.7;
    font-size: 1rem;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 0.75rem 0;
    color: #4b5563;
    position: relative;
    padding-left: 2rem;
    font-size: 0.95rem;
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 4rem 0;
    background: #ffffff;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 2.5rem;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.feature:hover .feature-icon {
    transform: scale(1.1);
    color: #059669;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    color: #10b981;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
    font-weight: 600;
    position: relative;
}

.feature h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #10b981;
    border-radius: 1px;
    opacity: 0;
    transition: all 0.3s ease;
}

.feature:hover h3::after {
    opacity: 1;
    width: 40px;
}

.feature p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* Service Areas Section */
.service-areas {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid rgba(16, 185, 129, 0.1);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.service-areas h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 4rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.area-column {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.area-column:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(16, 185, 129, 0.2);
}

.area-column h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #10b981;
    font-weight: 600;
    text-align: center;
}

.area-column ul {
    list-style: none;
}

.area-column li {
    padding: 0.75rem 0;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    padding-left: 2rem;
    font-size: 0.95rem;
}

.area-column li:before {
    content: "📍";
    position: absolute;
    left: 0;
}

.area-column li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    color: #1a1a1a;
    text-align: center;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2310b981" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></svg>');
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.contact-method {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.15);
}

.contact-method h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.contact-method p {
    margin-bottom: 1.5rem;
    color: #6b7280;
}

.contact-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #10b981;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.contact-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.quote-cta {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 4rem 3rem;
    border-radius: 24px;
    margin-top: 4rem;
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.quote-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.quote-cta p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #6b7280;
}

.cta-primary.large {
    font-size: 1.2rem;
    padding: 16px 40px;
    border-radius: 12px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3,
.footer-contact h4,
.footer-services h4 {
    margin-bottom: 1.5rem;
    color: #10b981;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-info p,
.footer-contact p {
    margin-bottom: 0.75rem;
    color: #d1d5db;
    line-height: 1.6;
}

.footer-services ul {
    list-style: none;
}

.footer-services li {
    padding: 0.5rem 0;
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-services li:hover {
    color: #10b981;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-whatsapp a:hover {
    background: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.floating-whatsapp .whatsapp-icon {
    font-size: 1.5rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        justify-content: space-between;
    }
    
    .header-contact .whatsapp-btn {
        padding: 8px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        min-width: auto;
    }
    
    .header-contact .whatsapp-btn .whatsapp-icon {
        font-size: 1.2rem;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .floating-whatsapp {
        display: none;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        min-height: auto;
    }
    
    .hero-content {
        text-align: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-image img {
        max-width: 400px;
    }
    
    .services h2,
    .why-choose-us h2,
    .service-areas h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .service-card,
    .contact-method,
    .quote-cta {
        padding: 1.5rem;
    }
    
    .services-grid,
    .features-grid,
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-whatsapp {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-whatsapp a {
        width: 50px;
        height: 50px;
    }
    
    .floating-whatsapp .whatsapp-icon {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-img {
        height: 25px;
    }
    
    .header-contact .whatsapp-btn {
        padding: 8px 16px;
        border-radius: 16px;
        font-size: 0.75rem;
        min-width: auto;
    }
    
    .header-contact .whatsapp-btn .whatsapp-icon {
        font-size: 1rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-wrapper {
        gap: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-image img {
        max-width: 300px;
    }
    
    .services,
    .why-choose-us,
    .service-areas,
    .contact {
        padding: 3rem 0;
    }
    
    .cta-primary,
    .cta-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
}

/* Print Styles */
@media print {
    .floating-whatsapp,
    .header-contact {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    .hero,
    .contact {
        background: white;
        color: black;
    }
}
