/* ===== CSS Variables & Reset ===== */
:root {
    --green-dark: #1B5E20;
    --green-primary: #2E7D32;
    --green-light: #4CAF50;
    --green-pale: #E8F5E9;
    --gold-primary: #C8A44E;
    --gold-light: #D4B96A;
    --gold-dark: #A68A3E;
    --dark: #1a1a1a;
    --dark-gray: #2c2c2c;
    --gray: #555;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Montserrat', 'Noto Sans TC', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.gold-text {
    color: var(--gold-primary);
    font-style: italic;
    font-weight: 800;
}

.chinese-text {
    font-family: 'Noto Sans TC', sans-serif;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--green-primary);
    color: var(--white);
    border-color: var(--green-primary);
}

.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-email {
    background: #D44638;
    color: var(--white);
    border-color: #D44638;
}

.btn-email:hover {
    background: #B23121;
    border-color: #B23121;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--green-primary);
    border-color: var(--green-primary);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

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

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

.logo-img {
    height: 44px;
    width: auto;
    border-radius: 6px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-primary);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--green-primary);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--green-pale);
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    transition: all var(--transition);
}

.lang-toggle:hover {
    background: #C8E6C9;
}

.lang-option {
    color: var(--gray);
    transition: color var(--transition);
}

.lang-option.active {
    color: var(--green-primary);
}

.lang-divider {
    color: #ccc;
    font-weight: 300;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all var(--transition);
    border-radius: 2px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--green-dark) 0%, #1a4a1f 40%, #0d2e10 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(200, 164, 78, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(46, 125, 50, 0.2) 0%, transparent 60%);
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: drift 30s linear infinite;
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-block;
    background: rgba(200, 164, 78, 0.2);
    border: 1px solid rgba(200, 164, 78, 0.4);
    color: var(--gold-light);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.hero-m {
    color: var(--gold-primary);
    font-style: italic;
    font-weight: 800;
    font-size: 1.2em;
}

.hero-chinese {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 4px;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 16px 32px;
    font-size: 1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.4);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--dark);
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.05rem;
}

.stars {
    color: var(--gold-primary);
    font-size: 1.2em;
    letter-spacing: 2px;
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-light);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--green-primary);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-card p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.5;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 8px;
}

.about-chinese-name {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.3rem;
    color: var(--green-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #ddd;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--green-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 380px;
    width: 100%;
}

.about-logo-img {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.about-card .chinese-text {
    font-size: 1.3rem;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 24px;
}

.about-card-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.about-card-services span {
    background: var(--green-pale);
    color: var(--green-primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== Reviews Section ===== */
.reviews {
    padding: 100px 0;
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.review-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.review-stars {
    color: var(--gold-primary);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.review-text {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 12px;
}

.review-source {
    font-size: 0.75rem;
    color: #aaa;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reviews-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--green-dark) 0%, #0d2e10 100%);
    color: var(--white);
}

.contact .section-header h2 {
    color: var(--white);
}

.contact .section-subtitle {
    color: rgba(255,255,255,0.7);
}

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

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold-light);
}

.contact-icon.email-icon {
    background: rgba(212, 70, 56, 0.2);
    color: #D44638;
}

.contact-item h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-item p,
.contact-item a {
    color: var(--white);
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--gold-light);
}

.closed-text {
    color: rgba(255,255,255,0.5) !important;
    font-size: 0.85rem !important;
    margin-top: 2px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-buttons .btn-primary {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
}

.contact-buttons .btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
}

.contact-buttons .btn-outline {
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.contact-buttons .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: rgba(255,255,255,0.05);
}

.contact-map iframe {
    display: block;
    width: 100%;
    border-radius: var(--radius-lg);
}

/* ===== Why Choose Us Section ===== */
.why-us {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
}

.why-us .section-header h2 {
    color: var(--white);
}

.why-us .section-subtitle {
    color: rgba(255,255,255,0.6);
}

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

.why-card {
    text-align: center;
    padding: 32px 20px;
}

.why-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--gold-primary);
}

.why-icon svg {
    width: 100%;
    height: 100%;
}

.why-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--white);
}

.why-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* ===== Process / How It Works ===== */
.process {
    padding: 80px 0;
    background: var(--gold-primary);
    color: var(--dark);
}

.process .section-header h2 {
    color: var(--dark);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.process-step {
    text-align: center;
    flex: 1;
    max-width: 220px;
    padding: 0 12px;
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 16px;
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.85rem;
    color: rgba(26, 26, 26, 0.7);
    line-height: 1.5;
}

.process-connector {
    display: flex;
    align-items: center;
    padding-top: 22px;
    color: var(--dark);
    flex-shrink: 0;
    width: 40px;
}

.process-connector svg {
    width: 40px;
    height: 12px;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 100px 0;
    background: var(--light-gray);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: var(--green-light);
}

.faq-item[open] {
    border-color: var(--green-primary);
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--dark);
    transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--green-primary);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item[open] summary {
    color: var(--green-primary);
}

.faq-item p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    margin-bottom: 4px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

.footer-chinese {
    font-family: 'Noto Sans TC', sans-serif;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
    font-weight: 500;
}

.footer-address {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-links a,
.footer-services span,
.footer-contact a,
.footer-contact p {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}


/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid #eee;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .nav-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-card {
        padding: 20px;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .process-connector {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .process-step {
        max-width: 280px;
    }

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

    .about-stats {
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

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

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-chinese {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .about-card {
        padding: 32px 24px;
    }

    .about-stats {
        flex-direction: column;
        gap: 16px;
    }

    .review-card {
        padding: 20px;
    }

}
