:root {
    --primary-color: #00b894;
    --secondary-color: #2d3436;
    --accent-color: #55efc4;
    --text-color: #2d3436;
    --light-text: #636e72;
    --white: #ffffff;
    --bg-color: #f9f9f9;
    --border-color: #dfe6e9;
}

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

body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Icon 通用樣式 */
.icon {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
    stroke-width: 2;
    fill: none;
    display: inline-block;
    vertical-align: middle;
}

.icon-lg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}

.feature-icon, .service-icon, .about-icon, .step-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

/* 導航列 */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 50px;
    transition: background-color 0.3s;
}

.btn-nav:hover {
    background-color: #00a884;
}

/* 主視覺區 */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('images/hero.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #00a884;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

.section-header p {
    color: var(--light-text);
}

/* 服務項目 (卡片式) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
    text-align: left;
}

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

.service-card.featured {
    border: 2px solid var(--primary-color);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 700;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--light-text);
    font-size: 0.9rem;
}

.service-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 價格方案 */
.pricing {
    background-color: var(--white);
}

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

.pricing-card {
    background-color: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.pricing-card.featured {
    transform: scale(1.05);
    z-index: 1;
    border: 2px solid var(--primary-color);
    background-color: var(--white);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-header {
    background-color: var(--white);
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.pricing-card.featured .pricing-header {
    background-color: var(--primary-color);
    color: var(--white);
}

.pricing-header h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.pricing-card.featured .price {
    color: var(--white);
}

.unit {
    font-size: 1rem;
    font-weight: 400;
    color: var(--light-text);
}

.pricing-card.featured .unit {
    color: rgba(255,255,255,0.8);
}

.pricing-body {
    padding: 30px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    display: flex;
    align-items: center;
}

.check {
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    display: flex;
    align-items: center;
}

.pricing-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--light-text);
    background-color: #eee;
    padding: 5px;
    border-radius: 4px;
}

.pricing-card .btn {
    display: block;
    margin: 0 30px 30px;
    text-align: center;
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 坪數計價表 */
.pricing-table-wrapper {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 10px;
}

.table-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    display: table;
}

.table-row {
    display: table-row;
    background-color: var(--white);
}

.table-row:nth-child(even) {
    background-color: #f2f2f2;
}

.table-header {
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 700;
}

.table-cell {
    display: table-cell;
    padding: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.table-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--light-text);
}

/* 工作實景 */
.gallery {
    padding: 0;
    background: var(--bg-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    z-index: 1;
    position: relative;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid img {
        height: 220px;
    }
}

/* 關於阿惠 */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

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

.about-text {
    flex: 1;
}

.about-intro {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* 服務地區 */
.service-area {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
}

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

.section-header.light p {
    color: rgba(255,255,255,0.7);
}

.area-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.area-tag {
    background-color: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 1.1rem;
}

.area-tag.primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.area-note {
    color: rgba(255,255,255,0.6);
}

/* LINE CTA 區塊 */
.booking {
    background-color: var(--white);
}

.line-cta-block {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.line-cta-desc {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.9;
    margin-bottom: 35px;
}

.btn-line-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #06c755;
    color: white;
    padding: 18px 44px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(6,199,85,0.35);
    transition: all 0.3s;
    margin-bottom: 20px;
}

.btn-line-cta i {
    font-size: 1.8rem;
}

.btn-line-cta:hover {
    background-color: #05b84d;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(6,199,85,0.45);
}

.line-cta-id {
    color: var(--light-text);
    font-size: 0.95rem;
    margin-top: 8px;
}

/* 浮動 LINE 按鈕 */
.float-line {
    position: fixed;
    bottom: 92px;
    right: 30px;
    width: 56px;
    height: 56px;
    background-color: #06c755;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(6,199,85,0.4);
    z-index: 998;
    transition: all 0.3s;
    text-decoration: none;
}

.float-line:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(6,199,85,0.5);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: #bdc3c7;
    margin-top: 10px;
}

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

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

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* 回到頂端按鈕 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: none;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: #00a884;
}

/* RWD */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        gap: 0;
    }

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

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 15px;
        width: 100%;
    }

    .btn-nav {
        display: inline-block;
        width: auto;
        margin-top: 10px;
    }

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

    .hero-features {
        flex-direction: column;
        gap: 20px;
    }

    .about-content {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* 步驟進度條 */
.step-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
}
.step-progress::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}
.step-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e0e0e0;
    color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    position: relative;
    z-index: 1;
    margin: 0 40px;
}
.step-indicator.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}
.step-indicator.finished {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

/* 服務選擇卡片 */
.service-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}
.select-card {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.select-card:hover {
    border-color: var(--primary-color);
    background: #f0fffa;
}
.select-card.selected {
    border-color: var(--primary-color);
    background: #e3fdf5;
    box-shadow: 0 4px 10px rgba(0,184,148,0.2);
}
.select-card i {
    font-size: 2rem;
    color: var(--light-text);
    margin-bottom: 10px;
}
.select-card.selected i {
    color: var(--primary-color);
}

/* 隱藏/顯示控制 */
.form-step {
    display: none;
    animation: fadeIn 0.4s;
}
.form-step.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 按鈕群組 */
.step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.btn-prev {
    background: #ccc;
    color: #666;
}

/* 條款區塊 */
.terms-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 18px;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #495057;
    margin-bottom: 20px;
    max-height: 220px;
    overflow-y: auto;
}
.terms-box > strong {
    display: block;
    font-size: 0.95rem;
    color: #2d3436;
    margin-bottom: 10px;
}
.terms-content p {
    margin-bottom: 8px;
    line-height: 1.6;
}
.terms-content ul {
    padding-left: 18px;
    margin: 4px 0 10px;
}
.terms-content li {
    margin-bottom: 3px;
}

/* Checkbox label */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.92rem;
    line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--primary-color);
}

/* 時間選擇列 */
.time-group {
    background: #f8f9fa;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 12px;
}
.time-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}
.time-row input[type="date"] {
    flex: 2;
}
.time-row select {
    flex: 1;
}

/* 選填標籤 */
.optional {
    font-size: 0.82rem;
    color: #aaa;
    font-weight: 400;
}

/* 特殊清潔拍照提示 */
.photo-notice {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1565c0;
    margin: 0;
}

/* ── FAQ 區塊 ─────────────────────────────────────────── */
.faq {
    padding: 80px 0;
    background: var(--bg-color);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 20px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary-color);
    user-select: none;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--primary-color);
    line-height: 1;
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.25s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item[open] summary {
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
}

.faq-item > p {
    padding: 16px 20px;
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}
